/* ═══════════════════════════════════════════════════════════════
   FAD LOGISTIC — styles.css
   Producción · Capa de estilos separada
═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   VARIABLES
───────────────────────────────────────── */
:root {
    --navy:        #071e3d;
    --blue-mid:    #163b70;
    --blue-soft:   #2d5f9e;
    --cyan:        #0ea5e9;
    --cyan-bright: #38bdf8;
    --cyan-glow:   rgba(14, 165, 233, 0.40);
    --gold:        #c9a84c;
    --gold-light:  #e8c97a;
    --text-dark:   #071e3d;
    --text-mid:    #1e4068;
    --text-soft:   #3d6491;
    --glass-bg:    rgba(255, 255, 255, 0.55);
    --glass-bd:    rgba(255, 255, 255, 0.70);
    --shadow-sky:  rgba(40, 100, 180, 0.12);
    --nav-h:       64px;
}

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    background:
        radial-gradient(ellipse 220% 50% at 95% 0%,
            rgba(255, 248, 200, 0.22) 0%, transparent 52%),
        radial-gradient(ellipse 170% 40% at 12% 6%,
            rgba(255, 255, 255, 0.20) 0%, transparent 50%),
        linear-gradient(180deg,
            #1a4a9a  0%,   #2e6bbf  3%,   #4180cc  7%,
            #5898d8  12%,  #72b0e8  19%,  #92c4f2  26%,
            #b0d6f8  34%,  #c8e4fb  42%,  #daeef9  51%,
            #e8f4fb  60%,  #f0f8fd  69%,  #f6faff  78%,
            #fafcff  87%,  #fdfdff  94%,  #ffffff  100%
        );
    background-attachment: fixed;
    color: var(--text-dark);
    overflow-x: hidden;
    font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
}

/* Cirros decorativos */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.noise-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 260% 30% at 52% 4%,  rgba(255,255,255,0.38) 0%, transparent 56%),
        radial-gradient(ellipse 140% 20% at 5% 16%,  rgba(255,255,255,0.24) 0%, transparent 52%),
        radial-gradient(ellipse 120% 16% at 90% 26%, rgba(255,255,255,0.16) 0%, transparent 48%);
}

.noise-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
}

@supports (-webkit-touch-callout: none) {
    body { background-attachment: scroll; }
}

/* ─────────────────────────────────────────
   LIQUID GLASS NAV
───────────────────────────────────────── */
#main-nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 6px 8px;
    border-radius: 100px;
    gap: 2px;
    /* Estado inicial: transparente sobre el Hero */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px) saturate(160%);
    -webkit-backdrop-filter: blur(8px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    max-width: calc(100vw - 24px);
    white-space: nowrap;
    will-change: background, box-shadow, border-color, backdrop-filter;
    transition:
        background     0.55s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow     0.55s cubic-bezier(0.4, 0, 0.2, 1),
        border-color   0.55s cubic-bezier(0.4, 0, 0.2, 1),
        backdrop-filter 0.55s ease,
        -webkit-backdrop-filter 0.55s ease;
}

/* Línea dorada debajo del nav */
#main-nav::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    border-radius: 100px;
    transition: opacity 0.55s ease;
}

/* Estado scrolled — sólido y compacto */
#main-nav.nav-scrolled {
    background: rgba(7, 24, 52, 0.82);
    backdrop-filter: blur(60px) saturate(220%) brightness(118%);
    -webkit-backdrop-filter: blur(60px) saturate(220%) brightness(118%);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow:
        0 10px 45px rgba(0, 10, 40, 0.38),
        0 2px 12px rgba(0, 10, 40, 0.22),
        inset 0 2.5px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0  rgba(60, 140, 240, 0.15);
}

#main-nav.nav-scrolled::after { opacity: 0.5; }

/* Links en estado transparente (sobre hero) */
.nav-link {
    font-size: clamp(0.58rem, 1.8vw, 0.72rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.90);
    text-decoration: none;
    padding: clamp(5px, 1.2vw, 7px) clamp(8px, 2.8vw, 18px);
    border-radius: 100px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.40s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

/* Links en estado scrolled */
#main-nav.nav-scrolled .nav-link {
    color: rgba(200, 225, 255, 0.85);
}

.nav-link:hover,
.nav-link.is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    box-shadow:
        0 3px 16px rgba(14, 100, 200, 0.22),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.35);
}

#main-nav.nav-scrolled .nav-link:hover,
#main-nav.nav-scrolled .nav-link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 3px 16px rgba(14, 100, 200, 0.30),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.22);
}

@media (max-width: 380px) { .nav-link { letter-spacing: 0.02em; } }

/* ─────────────────────────────────────────
   SEPARADORES ENTRE SECCIONES
───────────────────────────────────────── */
.section-divider {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(14,165,233,0.15) 15%,
        rgba(14,165,233,0.55) 35%,
        rgba(201,168,76,0.70) 50%,
        rgba(14,165,233,0.55) 65%,
        rgba(14,165,233,0.15) 85%,
        transparent 100%
    );
    z-index: 10;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
}

/* ─────────────────────────────────────────
   GLASS CARD
───────────────────────────────────────── */
.glass {
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(32px) saturate(180%) brightness(105%);
    -webkit-backdrop-filter: blur(32px) saturate(180%) brightness(105%);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 1.6rem;
    box-shadow:
        0 8px 48px rgba(30, 90, 180, 0.10),
        0 2px 12px rgba(30, 90, 180, 0.06),
        inset 0 2px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(200, 220, 255, 0.20);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.glass::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
}

/* ─────────────────────────────────────────
   SECCIONES BASE
───────────────────────────────────────── */
section {
    min-height: 100vh;
    padding: clamp(90px, 12vh, 130px) clamp(1.4rem, 6%, 7%) clamp(60px, 9vh, 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

#nosotros  { background: rgba(245, 251, 255, 0.18); }
#servicios { background: rgba(235, 248, 255, 0.22); }
#contacto  { background: rgba(230, 245, 255, 0.28); }

.section-wrap {
    width: min(94%, 1280px);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ─────────────────────────────────────────
   ENCABEZADOS DE SECCIÓN
───────────────────────────────────────── */
.section-heading {
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    font-weight: 800;
    text-align: center;
    color: var(--navy);
    letter-spacing: -0.03em;
    line-height: 1.1;
    position: relative;
    padding-bottom: 1.2rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--gold));
    border-radius: 10px;
}

.section-eyebrow {
    display: block;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 0.6rem;
}

/* ═══════════════════════════════════════════════════════════════
   SECCIÓN INICIO — HERO
═══════════════════════════════════════════════════════════════ */
#inicio {
    padding: 0 !important;
    background: transparent;
}

.hero-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Identidad: logo + tagline */
.hero-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: clamp(72px, 11vh, 130px) clamp(1.5rem, 8%, 4rem) clamp(1.4rem, 3vh, 3rem);
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-identity::before {
    content: '';
    position: absolute;
    width: 640px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(14, 165, 233, 0.08) 0%, transparent 68%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

#main-logo {
    width: 100%;
    max-width: clamp(220px, 32vw, 520px);
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 6px 32px rgba(14, 100, 200, 0.20));
}

/* Tagline */
.hero-tagline-wrap {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
    flex-direction: column;
}

.hero-title {
    font-size: clamp(0.72rem, 1.3vw, 0.96rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 16px rgba(7, 30, 61, 0.35);
    line-height: 1.4;
    text-align: center;
    max-width: 560px;
}

.hero-sub-line {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.3rem;
}

.hero-line {
    width: 36px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan-bright));
}
.hero-line.right {
    background: linear-gradient(90deg, var(--cyan-bright), transparent);
}

.hero-sub {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(0.80rem, 1.45vw, 1.02rem);
    font-weight: 400;
    color: rgba(86, 174, 247, 0.88);
    font-style: italic;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 8px rgba(7, 30, 61, 0.30);
}

/* Vídeo */
.hero-video-wrap {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 14%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 14%);
}

.hero-video-wrap video {
    width: 100%;
    flex: 1;
    display: block;
    object-fit: cover;
    object-position: 65% center;
    height: 100%;
    min-height: 160px;
}

.hero-video-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(30, 90, 180, 0.06) 0%,
        transparent 25%,
        transparent 75%,
        rgba(7, 30, 61, 0.05) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   HAMBURGER MENU
═══════════════════════════════════════════════════════════════ */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px; height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 50px;
    transition: background 0.3s;
    flex-shrink: 0;
}
.nav-hamburger:hover { background: rgba(255, 255, 255, 0.20); }

.nav-hamburger span {
    display: block;
    width: 17px; height: 2px;
    background: rgba(255, 255, 255, 0.90);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.35s cubic-bezier(0.4,0,0.2,1);
}

#main-nav.nav-scrolled .nav-hamburger span {
    background: rgba(200, 225, 255, 0.90);
}

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú desplegable móvil */
.nav-mobile-menu {
    position: fixed;
    top: 64px;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(7, 18, 42, 0.88);
    backdrop-filter: blur(44px) saturate(210%) brightness(110%);
    -webkit-backdrop-filter: blur(44px) saturate(210%) brightness(110%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.2rem;
    box-shadow:
        0 14px 50px rgba(0, 10, 40, 0.40),
        inset 0 2px 0  rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(60, 140, 240, 0.12);
    z-index: 998;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 190px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}
.nav-mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}
.nav-mobile-menu .nav-link {
    font-size: 0.72rem;
    padding: 11px 24px;
    border-radius: 0.85rem;
    text-align: center;
    display: block;
    color: rgba(200, 225, 255, 0.85);
}
.nav-mobile-menu .nav-link:hover,
.nav-mobile-menu .nav-link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

@media (min-width: 601px) {
    .nav-mobile-menu { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   NOSOTROS — Layout horizontal expandido
═══════════════════════════════════════════════════════════════ */
#nosotros {
    min-height: unset !important;
    padding: clamp(72px, 10vh, 110px) clamp(1.4rem, 5%, 5%) clamp(44px, 7vh, 72px) !important;
}

#nosotros .section-wrap {
    width: min(96%, 1100px);
    gap: 1.4rem;
}

.about-box {
    padding: clamp(1.4rem, 2.5vw, 2.2rem) clamp(1.8rem, 4vw, 3.2rem);
    /* Fuerza el recuadro a ocupar todo el ancho disponible */
    width: 100%;
}

.about-text {
    font-size: clamp(0.84rem, 1.18vw, 0.98rem);
    font-weight: 400;
    color: var(--text-mid);
    line-height: 1.80;
    font-family: 'Raleway', sans-serif;
    /* Columnas en desktop para aprovechar el ancho */
    column-count: 1;
}

@media (min-width: 860px) {
    .about-text {
        column-count: 2;
        column-gap: 3rem;
        column-rule: 1px solid rgba(14, 100, 200, 0.08);
    }
}

.about-text strong {
    color: var(--cyan);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

/* ─────────────────────────────────────────
   CARRUSELES
───────────────────────────────────────── */
.slider-wrap {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.slider-track  { display: flex; gap: 0.75rem; width: max-content; }
.track-left    { animation: go-left  55s linear infinite; }
.track-right   { animation: go-right 55s linear infinite; }

.slide-item {
    flex-shrink: 0;
    width:  clamp(110px, 13vw, 185px);
    height: clamp(68px,  8vw, 112px);
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.70);
    box-shadow:
        0 4px 20px rgba(30, 90, 180, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.8);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.slide-item:hover {
    transform: scale(1.04) translateY(-3px);
    box-shadow: 0 10px 32px rgba(14, 100, 200, 0.18);
}

.slide-item img { width: 100%; height: 100%; object-fit: cover; }

.slider-wrap:hover .track-left,
.slider-wrap:hover .track-right { animation-play-state: paused; }

/* ─── KEYFRAMES CARRUSELES ─── */
@keyframes go-left  { from { transform: translateX(0);    } to { transform: translateX(-50%); } }
@keyframes go-right { from { transform: translateX(-50%); } to { transform: translateX(0);    } }

/* ═══════════════════════════════════════════════════════════════
   SERVICIOS
═══════════════════════════════════════════════════════════════ */
#servicios .section-wrap { text-align: center; }

.services-intro {
    padding: clamp(1.2rem, 2.5vw, 2rem) clamp(1.8rem, 5vw, 3.5rem);
    max-width: 620px;
    margin: 0 auto;
}

.services-intro p {
    font-size: clamp(0.90rem, 1.6vw, 1.05rem);
    font-weight: 400;
    color: var(--text-soft);
    font-family: 'Raleway', sans-serif;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.svc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(1.8rem, 3.5vw, 3rem) clamp(1rem, 2vw, 1.5rem);
    text-align: center;
    cursor: default;
    transition:
        transform  0.50s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.50s ease;
    gap: 1rem;
}

.svc-card:hover {
    transform: translateY(-10px) scale(1.025);
    box-shadow:
        0 24px 60px rgba(30, 100, 200, 0.15),
        0 8px 24px rgba(30, 100, 200, 0.10),
        inset 0 2px 0 rgba(255,255,255,0.98);
}

.svc-icon-wrap {
    width: clamp(64px, 8vw, 80px);
    height: clamp(64px, 8vw, 80px);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(14,165,233,0.12) 0%, rgba(14,165,233,0.06) 100%);
    border: 1.5px solid rgba(14, 165, 233, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    box-shadow: 0 4px 18px rgba(14,165,233,0.12);
}

.svc-card:hover .svc-icon-wrap {
    background: linear-gradient(135deg, rgba(14,165,233,0.22) 0%, rgba(14,165,233,0.10) 100%);
    box-shadow: 0 8px 30px rgba(14,165,233,0.28);
    border-color: rgba(14,165,233,0.45);
}

.svc-icon {
    font-size: clamp(1.7rem, 2.8vw, 2.2rem);
    color: var(--cyan);
    filter: drop-shadow(0 2px 8px var(--cyan-glow));
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.svc-card:hover .svc-icon { transform: scale(1.15) rotate(-5deg); }

.svc-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--navy);
}

.svc-desc {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-soft);
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    max-width: 220px;
}

.svc-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 20%; right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 100px;
}

.svc-card:hover::after { opacity: 1; }

/* Badge en tarjeta de servicio */
.svc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.60rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyan);
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.20);
    border-radius: 100px;
    padding: 3px 10px;
    margin-top: -0.3rem;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACTO
═══════════════════════════════════════════════════════════════ */
#contacto .section-wrap { align-items: center; }

.contact-card {
    padding: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 6vw, 5rem);
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.contact-title {
    font-size: clamp(1.8rem, 3.8vw, 2.8rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.contact-sub {
    font-size: clamp(0.84rem, 1.4vw, 0.96rem);
    color: var(--text-soft);
    margin-bottom: 0.4rem;
    font-weight: 400;
    font-family: 'Raleway', sans-serif;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.80rem, 1.3vw, 0.92rem);
    font-weight: 600;
    color: var(--blue-soft);
    margin-bottom: 2.6rem;
    letter-spacing: 0.01em;
    font-family: 'Montserrat', sans-serif;
}

.contact-email i { font-size: 0.9rem; color: var(--cyan); }

.contact-divider {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--gold));
    border-radius: 10px;
    margin: 0 auto 2.4rem;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: clamp(2.2rem, 5.5vw, 4.5rem);
}

.contact-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
}

.contact-icon-circle {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.70);
    border: 1.5px solid rgba(255,255,255,0.85);
    box-shadow: 0 4px 20px rgba(30,90,180,0.10), inset 0 1px 0 rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: var(--blue-soft);
    transition: color 0.35s, transform 0.50s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s, background 0.35s;
}

.contact-icon-wrap:hover .contact-icon-circle {
    color: var(--cyan);
    background: rgba(14,165,233,0.08);
    border-color: rgba(14,165,233,0.35);
    transform: scale(1.18) translateY(-5px);
    box-shadow: 0 12px 32px rgba(14,165,233,0.22);
}

.contact-icon-label {
    font-size: 0.60rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-soft);
    transition: color 0.3s;
}

.contact-icon-wrap:hover .contact-icon-label { color: var(--cyan); }

.footer-note {
    margin-top: 2.5rem;
    font-size: 0.64rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(9, 83, 168, 0.4);
    font-family: 'Montserrat', sans-serif;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — PC monitors
═══════════════════════════════════════════════════════════════ */

/* Laptop / monitor pequeño (1025-1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
    section { padding: clamp(72px,9vh,100px) clamp(1.8rem,5%,5%) clamp(48px,7vh,72px); min-height: 100vh; }
    .section-wrap { width: min(92%, 1060px); gap: 1.4rem; }
    #nosotros .section-wrap { width: min(96%, 980px); gap: 1rem; }
    .section-heading { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
    #main-logo { max-width: clamp(160px,18vw,260px); margin-bottom: 0.7rem; }
    .hero-sub { font-size: clamp(0.70rem,0.95vw,0.84rem); }
    .hero-identity { padding: clamp(58px,8.5vh,86px) clamp(1.5rem,6%,3.5rem) clamp(1rem,2vh,1.8rem); }
    .hero-wrap { height: 100svh; max-height: 820px; }
    .svc-card { padding: clamp(1.4rem,2.5vw,2rem) clamp(0.8rem,1.5vw,1.2rem); }
    .svc-icon-wrap { width: clamp(52px,5.5vw,64px); height: clamp(52px,5.5vw,64px); }
    .svc-icon { font-size: clamp(1.4rem,2vw,1.8rem); }
    .contact-card { padding: clamp(2rem,4.5vw,3.5rem) clamp(1.5rem,4.5vw,3.5rem); max-width: 480px; }
    .contact-title { font-size: clamp(1.5rem,2.8vw,2.1rem); }
    .about-text { font-size: clamp(0.78rem,1.05vw,0.88rem); }
    .slide-item { width: clamp(100px,10vw,150px); height: clamp(60px,6.5vw,92px); }
    #main-nav { padding: 5px 7px; }
    .nav-link { font-size: clamp(0.56rem,1.1vw,0.66rem); padding: clamp(4px,0.9vw,6px) clamp(7px,1.8vw,14px); }
}

/* Monitor mediano (1367-1680px) */
@media (min-width: 1367px) and (max-width: 1680px) {
    .section-wrap { width: min(90%, 1140px); }
    #nosotros .section-wrap { width: min(94%, 1060px); }
    section { padding: clamp(84px,10vh,120px) clamp(2rem,5.5%,6%) clamp(56px,8vh,88px); }
    .hero-wrap { max-height: 920px; }
    #main-logo { max-width: clamp(200px,22vw,360px); }
}

/* Monitor grande (1681-1920px) */
@media (min-width: 1681px) and (max-width: 1920px) {
    .section-wrap { width: min(86%, 1240px); gap: 2.2rem; }
    #nosotros .section-wrap { width: min(90%, 1140px); }
    section { padding: clamp(96px,11vh,136px) clamp(2.5rem,6%,7%) clamp(64px,9vh,100px); }
    #main-logo { max-width: clamp(260px,26vw,440px); }
    .hero-identity { padding: clamp(84px,11vh,120px) clamp(1.5rem,6%,4rem) clamp(1.8rem,3.5vh,3rem); }
    .section-heading { font-size: clamp(2rem,3.2vw,2.8rem); }
}

/* Monitor XL / 4K (1921px+) */
@media (min-width: 1921px) {
    .section-wrap { width: min(78%, 1440px); gap: 2.8rem; }
    #nosotros .section-wrap { width: min(84%, 1300px); }
    section { padding: clamp(110px,12vh,160px) 8% clamp(72px,10vh,120px); }
    #main-logo { max-width: clamp(300px,24vw,520px); }
    .hero-identity { padding: clamp(96px,11.5vh,140px) clamp(2rem,6%,5rem) clamp(2rem,3.5vh,3.5rem); }
    .section-heading { font-size: clamp(2.2rem,3vw,3.2rem); }
    .hero-sub { font-size: clamp(1rem,1.4vw,1.22rem); }
    .about-text { font-size: clamp(0.90rem,1vw,1.02rem); line-height: 1.82; }
    .svc-icon-wrap { width: clamp(80px,5.5vw,96px); height: clamp(80px,5.5vw,96px); }
    .svc-icon { font-size: clamp(2rem,2.2vw,2.6rem); }
    .svc-label { font-size: 0.88rem; }
    .svc-desc { font-size: 0.92rem; max-width: 240px; }
    .slide-item { width: clamp(170px,11vw,240px); height: clamp(100px,7vw,148px); }
    .contact-card { padding: clamp(3.5rem,5vw,5.5rem) clamp(3rem,5vw,6rem); max-width: 640px; }
    .contact-title { font-size: clamp(2.2rem,3vw,3rem); }
    #main-nav { padding: 8px 10px; }
    .nav-link { font-size: clamp(0.66rem,0.80vw,0.80rem); padding: clamp(7px,0.7vw,9px) clamp(14px,1.4vw,22px); }
    .contact-icon-circle { width: 66px; height: 66px; font-size: 1.7rem; }
}

/* Tablet horizontal (861-1024px) */
@media (min-width: 861px) and (max-width: 1024px) {
    .section-wrap { width: min(94%, 920px); }
    section { padding: clamp(80px,10vh,110px) clamp(1.5rem,4%,4%) clamp(52px,7vh,80px); }
    #nosotros .section-wrap { width: min(96%, 860px); }
    #main-logo { max-width: clamp(220px,32vw,400px); }
    .services-grid { gap: 1rem; }
}

/* Tablet vertical y móvil grande (601-860px) */
@media (max-width: 860px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .svc-card:last-child { grid-column: 1 / -1; max-width: 300px; margin: 0 auto; width: 100%; }
    .about-text { column-count: 1; }
}

/* Móvil (≤600px) */
@media (max-width: 600px) {
    .hero-identity { padding: clamp(72px,12vh,110px) 1.2rem clamp(2rem,5vw,3rem); }
    .hero-video-wrap video { max-height: 60vw; min-height: 180px; }

    #main-nav {
        top: 10px;
        padding: 5px 6px;
        gap: 2px;
        -webkit-transform: translateX(-50%) translateZ(0);
        transform: translateX(-50%) translateZ(0);
        will-change: transform;
        background: rgba(7, 18, 48, 0.78);
        min-width: 52px;
    }

    #main-nav .nav-link { display: none; }
    .nav-hamburger { display: flex; }
    section { min-height: unset; }
    .services-grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
    .svc-card:last-child { grid-column: unset; max-width: unset; }
    .about-text { column-count: 1; }
}

@media (max-width: 400px) {
    #main-nav { top: 8px; padding: 4px 5px; }
}

/* ─────────────────────────────────────────
   UTILIDADES DE ANIMACIÓN
───────────────────────────────────────── */
.anim-target  { will-change: opacity, transform, filter; }
.fade-section { will-change: opacity, transform; }