/* ══════════════════════════════════════════════════════════════
   SISTERMAIR — Sistema de diseño
   Marca preservada: navy #1C2870 · cyan #29BEE8 · orange #F5A31A
   Tipografía: Plus Jakarta Sans (variable, self-hosted)
══════════════════════════════════════════════════════════════ */

/* ── FUENTE ─────────────────────────────────────── */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('../fonts/pjs-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                   U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('../fonts/pjs-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                   U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                   U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ══════════════════════════════════════════════════════════════
   TOKENS
   Los colores de marca son fijos. Los tokens semánticos cambian
   entre modo claro y oscuro.
══════════════════════════════════════════════════════════════ */
:root {
    /* Marca (invariable) */
    --navy:       #1C2870;
    --navy-dk:    #111852;
    --navy-xl:    #0B1138;
    --cyan:       #29BEE8;
    --cyan-lt:    #67D4F2;
    --orange:     #F5A31A;
    --orange-lt:  #F8BE52;

    /* Variantes accesibles sobre fondo claro (AA >= 4.5:1)
       El cyan y el orange puros no pasan contraste como texto sobre blanco. */
    --cyan-ink:   #0E7FA3;   /* 4.6:1 sobre blanco */
    --orange-ink: #8A5300;   /* 5.2:1 sobre blanco */

    /* WhatsApp accesible: el #25D366 con texto blanco da 2:1 (falla AA) */
    --wa:         #0F7A40;
    --wa-hover:   #0C6835;

    /* Superficies y texto — modo claro */
    --bg:         #FFFFFF;
    --bg-alt:     #F6F8FC;
    --surface:    #FFFFFF;
    --line:       #E4E8F2;
    --line-soft:  rgba(28,40,112,0.07);
    --text:       #0F1640;
    --text-mute:  #5D6896;   /* 5.1:1 sobre --bg-alt */
    --accent:     var(--cyan-ink);
    --on-dark:            rgba(255,255,255,0.94);
    --on-dark-mute:       rgba(255,255,255,0.66);  /* 6.4:1 sobre navy */
    --on-dark-faint:      rgba(255,255,255,0.52);  /* 4.6:1 sobre navy — mínimo AA */
    --dark-surface:       var(--navy);
    --dark-surface-deep:  var(--navy-xl);
    --dark-line:          rgba(255,255,255,0.12);

    /* Forma: una sola escala en toda la página */
    --r-1:   10px;   /* controles: botones, inputs, chips */
    --r-2:   16px;   /* contenedores: cards, fotos */
    --r-pill: 999px; /* píldoras: badges */

    /* Movimiento */
    --ease:  cubic-bezier(0.22, 1, 0.36, 1);
    --dur:   0.3s;

    --shadow-card: 0 18px 48px rgba(28,40,112,0.10);
    --shadow-lift: 0 24px 64px rgba(28,40,112,0.16);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg:        #0B1138;
        --bg-alt:    #111852;
        --surface:   #161E5C;
        --line:      rgba(255,255,255,0.10);
        --line-soft: rgba(255,255,255,0.06);
        --text:      #F2F4FF;
        --text-mute: rgba(255,255,255,0.66);
        --accent:    var(--cyan-lt);
        --dark-surface:      #141C55;
        --dark-surface-deep: #080D2B;
        --shadow-card: 0 18px 48px rgba(0,0,0,0.45);
        --shadow-lift: 0 24px 64px rgba(0,0,0,0.55);
    }
}

/* ══════════════════════════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Foco visible consistente en toda la página */
:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Salto al contenido para lectores de pantalla y teclado */
.skip {
    position: absolute; left: 12px; top: -60px; z-index: 500;
    background: var(--navy); color: #fff;
    padding: 12px 18px; border-radius: var(--r-1);
    font-size: 0.875rem; font-weight: 700;
    transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

/* ── BARRA DE PROGRESO ──
   Animación conducida por scroll en CSS. Sin listeners de scroll en JS. */
#progress {
    position: fixed; inset: 0 0 auto 0; z-index: 300;
    height: 3px; pointer-events: none;
    background: var(--cyan);
    transform-origin: 0 50%;
    transform: scaleX(0);
}
@supports (animation-timeline: scroll()) {
    @media (prefers-reduced-motion: no-preference) {
        #progress {
            animation: progress-grow linear both;
            animation-timeline: scroll(root block);
        }
    }
}
@keyframes progress-grow { to { transform: scaleX(1); } }

/* ══════════════════════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════════════════════ */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.pad  { padding: 104px 0; }

.section-h2 {
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    font-weight: 800; line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text);
    text-transform: uppercase;
}
.section-h2.on-navy { color: #fff; }
.section-lead {
    font-size: 1rem; line-height: 1.7;
    color: var(--text-mute);
    max-width: 58ch; margin-top: 18px;
}
.section-lead.on-navy { color: var(--on-dark-mute); }

/* Sobre fondo claro se usan las variantes oscuras del cyan y el naranja:
   los tonos puros de marca no alcanzan 4.5:1 como texto sobre blanco.
   Sobre fondo navy (banda oscura o modo oscuro) se usan los tonos claros. */
.c-cyan   { color: var(--cyan-ink); }
.c-orange { color: var(--orange-ink); }
.on-navy .c-cyan,
.c-cyan.on-navy   { color: var(--cyan-lt); }
.on-navy .c-orange,
.c-orange.on-navy { color: var(--orange-lt); }
@media (prefers-color-scheme: dark) {
    .c-cyan   { color: var(--cyan-lt); }
    .c-orange { color: var(--orange-lt); }
}

/* Eyebrow: máximo 2 en toda la página (hero + servicios) */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
.eyebrow::before {
    content: ''; width: 22px; height: 3px; border-radius: 2px;
    background: currentColor; flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   BOTONES
   Contraste verificado: naranja lleva texto navy (8.4:1), no blanco (2.1:1).
══════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 9px; white-space: nowrap;
    padding: 15px 28px; border-radius: var(--r-1);
    font-size: 0.9rem; font-weight: 700;
    transition: background var(--dur) var(--ease),
                transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
    background: var(--orange);
    color: #0F1640;
    box-shadow: 0 8px 24px rgba(245,163,26,0.30);
}
.btn-primary:hover { background: var(--orange-lt); transform: translateY(-2px); }
.btn-primary svg { color: #0F1640; }

.btn-ghost {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.30);
    color: #fff;
    backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.48); }

.btn-sm { padding: 11px 20px; font-size: 0.82rem; }

/* ══════════════════════════════════════════════════════════════
   TOPBAR
══════════════════════════════════════════════════════════════ */
.topbar {
    background: var(--dark-surface-deep);
    padding: 9px 40px;
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase;
}
.topbar-items { display: flex; gap: 26px; color: var(--on-dark-mute); }
.topbar-right { display: flex; align-items: center; gap: 8px; color: var(--on-dark-faint); }

/* ══════════════════════════════════════════════════════════════
   NAV — una sola línea, 78px
══════════════════════════════════════════════════════════════ */
#nav-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }

#nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    transition: box-shadow var(--dur) var(--ease);
}
#nav.scrolled { box-shadow: 0 2px 28px rgba(28,40,112,0.14); }

.nav-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 40px;
    height: 78px;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; color: var(--text); }
.logo .logo-svg { height: 46px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
    display: block; padding: 9px 14px; border-radius: var(--r-1);
    font-size: 0.85rem; font-weight: 600;
    color: var(--text-mute);
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--line-soft); }

.menu-btn { display: none; padding: 6px; color: var(--text); border-radius: var(--r-1); }

#mob-menu {
    display: none; flex-direction: column;
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 12px 24px 22px;
}
#mob-menu.open { display: flex; }
#mob-menu a {
    padding: 14px 4px;
    font-size: 1rem; font-weight: 600; color: var(--text);
    border-bottom: 1px solid var(--line-soft);
}
#mob-menu .btn { margin-top: 16px; }

/* ══════════════════════════════════════════════════════════════
   HERO — split asimétrico sobre fotografía real
══════════════════════════════════════════════════════════════ */
.hero {
    position: relative; overflow: hidden;
    background: var(--navy);
    display: flex; align-items: center;
}
.hero-photo {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover;
    object-position: 70% 40%;
}
/* Velo de marca: garantiza contraste del texto sobre la foto */
.hero-scrim {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        linear-gradient(100deg,
            rgba(11,17,56,0.96) 0%,
            rgba(11,17,56,0.90) 32%,
            rgba(17,24,82,0.68) 52%,
            rgba(28,40,112,0.42) 100%),
        radial-gradient(ellipse 60% 70% at 78% 30%, rgba(41,190,232,0.14) 0%, transparent 60%);
}

.hero-inner {
    position: relative; z-index: 2;
    width: 100%; max-width: 1280px; margin: 0 auto;
    padding: 88px 40px;
    display: grid; grid-template-columns: 1fr 408px;
    gap: 72px; align-items: center;
}

.hero-badge {
    display: inline-flex; align-items: center;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: var(--r-pill);
    padding: 8px 16px;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.13em; text-transform: uppercase;
    color: var(--on-dark);
    margin-bottom: 26px;
}

.hero-h1 {
    font-size: clamp(2.9rem, 5.4vw, 5.2rem);
    font-weight: 800; line-height: 1.02;
    letter-spacing: -0.04em;
    color: #fff;
    margin-bottom: 24px;
}
.txt-cyan   { color: var(--cyan-lt); }
.txt-orange { color: var(--orange-lt); }

.hero-desc {
    font-size: 1.0625rem; line-height: 1.7;
    color: var(--on-dark-mute);
    max-width: 46ch; margin-bottom: 34px;
}
.hero-desc strong { color: #fff; font-weight: 700; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Entrada escalonada del hero */
@media (prefers-reduced-motion: no-preference) {
    .hero-badge, .hero-h1, .hero-desc, .hero-actions, .hero-form-wrap {
        opacity: 0;
        animation: fade-up 0.8s var(--ease) forwards;
    }
    .hero-badge   { animation-delay: 0.08s; }
    .hero-h1      { animation-delay: 0.16s; }
    .hero-desc    { animation-delay: 0.26s; }
    .hero-actions { animation-delay: 0.36s; }
    .hero-form-wrap { animation-delay: 0.30s; }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}

/* ── FORMULARIO ── */
.form-card {
    background: var(--surface);
    border-radius: var(--r-2);
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.38), 0 0 0 1px rgba(28,40,112,0.10);
}
.form-head {
    background: var(--navy-dk);
    border-bottom: 3px solid var(--cyan);
    padding: 22px 28px 19px;
}
.form-title {
    font-size: 0.95rem; font-weight: 800;
    color: #fff; text-transform: uppercase; letter-spacing: -0.01em;
    margin-bottom: 4px;
}
.form-sub { font-size: 0.75rem; font-weight: 600; color: var(--on-dark-mute); }

.form-body { padding: 22px 28px 26px; }

.f-lbl {
    display: block; margin-bottom: 6px;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-mute);
}
.f-input, .f-select, .f-textarea {
    width: 100%; margin-bottom: 14px;
    padding: 12px 14px;
    background: var(--bg-alt);
    border: 1.5px solid var(--line);
    border-radius: var(--r-1);
    font-family: inherit; font-size: 0.875rem; font-weight: 500;
    color: var(--text);
    outline: none; appearance: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.f-select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235D6896' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 38px;
}
.f-input:focus, .f-select:focus, .f-textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(41,190,232,0.22);
}
.f-input::placeholder, .f-textarea::placeholder { color: var(--text-mute); opacity: 1; }
.f-textarea { height: 84px; resize: vertical; }

.btn-submit {
    width: 100%; margin-top: 4px;
    padding: 15px; border-radius: var(--r-1);
    background: var(--navy); color: #fff;
    font-family: inherit; font-size: 0.875rem; font-weight: 700;
    letter-spacing: 0.05em; text-transform: uppercase;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn-submit:hover:not(:disabled) {
    background: var(--navy-xl);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(28,40,112,0.30);
}
.btn-submit:active:not(:disabled) { transform: translateY(1px) scale(0.99); }
.btn-submit:disabled { opacity: 0.7; cursor: progress; }

.spinner {
    width: 14px; height: 14px; flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #fff; border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .spinner { animation: none; border-top-color: rgba(255,255,255,0.9); }
}

.form-alert {
    display: none;
    align-items: flex-start; gap: 10px;
    margin-top: 14px; padding: 12px 14px;
    border-radius: var(--r-1);
    font-size: 0.82rem; font-weight: 600; line-height: 1.5;
}
.form-alert.show { display: flex; }
.form-alert.success { background: rgba(13,144,101,0.10); color: #0A6F4E; border: 1px solid rgba(13,144,101,0.30); }
.form-alert.error   { background: rgba(192,57,43,0.09);  color: #A32E20; border: 1px solid rgba(192,57,43,0.28); }
.form-alert svg { flex-shrink: 0; margin-top: 2px; }
@media (prefers-color-scheme: dark) {
    .form-alert.success { color: #5FE0B0; }
    .form-alert.error   { color: #FF9E92; }
}

.form-note {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin-top: 12px;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--text-mute);
}

/* ══════════════════════════════════════════════════════════════
   BANDA DE CIFRAS + PAGO
   Las estadísticas viven aquí, fuera del hero.
══════════════════════════════════════════════════════════════ */
.band {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
}
.band-inner {
    max-width: 1280px; margin: 0 auto; padding: 26px 40px;
    display: grid; grid-template-columns: 1fr auto;
    gap: 32px; align-items: center;
}
.band-stats { display: flex; gap: 44px; flex-wrap: wrap; }
.band-stat { display: flex; align-items: baseline; gap: 10px; }
.stat-n {
    font-size: 2rem; font-weight: 800;
    line-height: 1; letter-spacing: -0.04em;
    color: var(--text);
}
.stat-n.is-cyan   { color: var(--cyan-ink); }
.stat-n.is-orange { color: var(--orange-ink); }
@media (prefers-color-scheme: dark) {
    .stat-n.is-cyan   { color: var(--cyan-lt); }
    .stat-n.is-orange { color: var(--orange-lt); }
    .proj-icon.p-cyan   { background: var(--cyan-ink); }
    .proj-icon.p-orange { background: var(--orange-ink); }
}
.stat-lbl {
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-mute);
}
.band-pay {
    display: flex; align-items: center; gap: 14px;
    padding-left: 32px; border-left: 1px solid var(--line);
}
.band-pay-txt { text-align: right; }
.band-pay-lbl { font-size: 0.875rem; font-weight: 700; color: var(--text); }
.band-pay-sub {
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--text-mute); margin-top: 2px;
}
.band-pay img { width: 92px; height: auto; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════
   SERVICIOS — bento de 3 celdas (1 destacada + 2 apiladas)
══════════════════════════════════════════════════════════════ */
#servicios { background: var(--bg); }
.svc-head { margin-bottom: 48px; max-width: 60ch; }

.svc-bento {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-auto-rows: minmax(0, auto);
    gap: 18px;
}
.svc-feature { grid-row: span 2; }

/* Celda destacada: fotografía real + velo de marca */
.svc-feature {
    position: relative; overflow: hidden;
    border-radius: var(--r-2);
    background: var(--navy);
    min-height: 460px;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 36px 34px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.svc-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.svc-feature img {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;
}
.svc-feature .svc-veil {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg,
        rgba(11,17,56,0.35) 0%,
        rgba(11,17,56,0.82) 52%,
        rgba(11,17,56,0.97) 100%);
}
.svc-feature-content { position: relative; z-index: 2; }
.svc-feature .svc-title { color: #fff; font-size: 1.5rem; }
.svc-feature .svc-body  { color: var(--on-dark-mute); max-width: 40ch; }
.svc-feature .svc-check { color: var(--on-dark); }
.svc-feature .svc-check svg { color: var(--cyan-lt); }

.svc-badge {
    position: absolute; top: 26px; left: 34px; z-index: 3;
    width: fit-content;
    background: var(--orange); color: #0F1640;
    padding: 6px 14px; border-radius: var(--r-pill);
    font-size: 0.65rem; font-weight: 800;
    letter-spacing: 0.10em; text-transform: uppercase;
}

.svc-card {
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--r-2);
    padding: 30px 28px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.svc-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow-card);
}

.svc-icon {
    width: 44px; height: 44px; border-radius: var(--r-1);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.i-cold { background: rgba(41,190,232,0.12);  color: var(--cyan-ink);   border: 1px solid rgba(41,190,232,0.30); }
.i-hot  { background: rgba(245,163,26,0.12);  color: var(--orange-ink); border: 1px solid rgba(245,163,26,0.34); }
.i-glass {
    background: rgba(255,255,255,0.12); color: var(--cyan-lt);
    border: 1px solid rgba(255,255,255,0.24);
    backdrop-filter: blur(6px);
}
@media (prefers-color-scheme: dark) {
    .i-cold { color: var(--cyan-lt); }
    .i-hot  { color: var(--orange-lt); }
}

.svc-title {
    font-size: 1.1rem; font-weight: 800;
    color: var(--text); text-transform: uppercase;
    letter-spacing: -0.01em; margin-bottom: 10px;
}
.svc-body {
    font-size: 0.9rem; line-height: 1.7;
    color: var(--text-mute); margin-bottom: 20px;
}
.svc-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.svc-check {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.82rem; font-weight: 600; color: var(--text);
}
.svc-check svg { flex-shrink: 0; color: var(--cyan-ink); }
@media (prefers-color-scheme: dark) { .svc-check svg { color: var(--cyan-lt); } }
.svc-card.is-hot .svc-check svg { color: var(--orange-ink); }
@media (prefers-color-scheme: dark) { .svc-card.is-hot .svc-check svg { color: var(--orange-lt); } }

/* ══════════════════════════════════════════════════════════════
   TESTIMONIOS — filas editoriales, no tarjetas
══════════════════════════════════════════════════════════════ */
#testimonios {
    background: var(--dark-surface-deep);
    position: relative; overflow: hidden;
}
#testimonios::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 46% 60% at 4% 20%,  rgba(41,190,232,0.10) 0%, transparent 60%),
        radial-gradient(ellipse 46% 60% at 96% 80%, rgba(245,163,26,0.08) 0%, transparent 60%);
}
#testimonios .wrap { position: relative; z-index: 1; }

.testi-head { margin-bottom: 12px; max-width: 46ch; }

.testi-rows { display: flex; flex-direction: column; }
.testi-row {
    display: grid; grid-template-columns: 260px 1fr;
    gap: 48px; align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--dark-line);
    transition: padding-left 0.35s var(--ease);
}
.testi-row:first-child { border-top: 1px solid var(--dark-line); }
.testi-row:hover { padding-left: 10px; }

.testi-who { display: flex; align-items: center; gap: 14px; }
.testi-av {
    width: 46px; height: 46px; flex-shrink: 0;
    border-radius: var(--r-pill);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 800;
    color: var(--cyan-lt);
    background: rgba(41,190,232,0.14);
    border: 1px solid rgba(41,190,232,0.38);
}
.testi-name { font-size: 0.95rem; font-weight: 700; color: #fff; }
.testi-role {
    font-size: 0.68rem; font-weight: 700; margin-top: 3px;
    letter-spacing: 0.10em; text-transform: uppercase;
    color: var(--cyan-lt);
}
.testi-quote {
    font-size: 1.125rem; line-height: 1.65;
    color: var(--on-dark);
    max-width: 62ch;
}
.testi-stars { display: flex; gap: 3px; margin-top: 12px; color: var(--orange-lt); }

/* ══════════════════════════════════════════════════════════════
   PROYECTOS — split texto + galería masonry
══════════════════════════════════════════════════════════════ */
#proyectos { background: var(--bg); }
.proj-layout {
    display: grid; grid-template-columns: 1fr 1.05fr;
    gap: 72px; align-items: center;
}
.proj-list { margin-top: 36px; display: flex; flex-direction: column; }
.proj-item {
    display: flex; gap: 18px; align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left 0.3s var(--ease);
}
.proj-item:first-child { border-top: 1px solid var(--line); }
.proj-item:hover { padding-left: 8px; }
.proj-icon {
    width: 42px; height: 42px; flex-shrink: 0;
    border-radius: var(--r-1);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    transition: transform 0.3s var(--ease);
}
.proj-item:hover .proj-icon { transform: scale(1.08); }
.proj-icon.p-navy   { background: var(--navy); }
.proj-icon.p-cyan   { background: var(--cyan-ink); }
.proj-icon.p-orange { background: var(--orange-ink); }
.proj-name {
    font-size: 0.95rem; font-weight: 800;
    color: var(--text); text-transform: uppercase;
    letter-spacing: -0.01em; margin-bottom: 4px;
}
.proj-desc { font-size: 0.9rem; line-height: 1.65; color: var(--text-mute); }

.proj-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.proj-col { display: flex; flex-direction: column; gap: 12px; }
.proj-col:last-child { padding-top: 28px; }
.proj-photo {
    border-radius: var(--r-2); overflow: hidden;
    background: var(--bg-alt);
}
.proj-photo img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.proj-photo:hover img { transform: scale(1.05); }
.proj-col:first-child .proj-photo:nth-child(1) { height: 190px; }
.proj-col:first-child .proj-photo:nth-child(2) { height: 250px; }
.proj-col:last-child  .proj-photo:nth-child(1) { height: 250px; }
.proj-col:last-child  .proj-photo:nth-child(2) { height: 190px; }

/* ══════════════════════════════════════════════════════════════
   CTA
══════════════════════════════════════════════════════════════ */
.cta-band {
    background: var(--dark-surface);
    padding: 76px 0;
    position: relative; overflow: hidden;
}
.cta-band::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 50% 100% at 0% 50%,   rgba(41,190,232,0.12) 0%, transparent 55%),
        radial-gradient(ellipse 50% 100% at 100% 50%, rgba(245,163,26,0.10) 0%, transparent 55%);
}
.cta-inner {
    position: relative; z-index: 1;
    max-width: 1280px; margin: 0 auto; padding: 0 40px;
    display: flex; justify-content: space-between; align-items: center;
    gap: 48px; flex-wrap: wrap;
}
.cta-h2 {
    font-size: clamp(1.8rem, 3.1vw, 2.8rem);
    font-weight: 800; line-height: 1.08;
    color: #fff; letter-spacing: -0.03em; text-transform: uppercase;
}
.cta-right { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-phone {
    display: block;
    font-size: 1.6rem; font-weight: 800;
    color: var(--cyan-lt); letter-spacing: -0.03em;
}
.cta-phone:hover { color: #fff; }
.cta-phone-lbl {
    font-size: 0.68rem; font-weight: 700; margin-top: 3px;
    letter-spacing: 0.10em; text-transform: uppercase;
    color: var(--on-dark-mute);
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
footer { background: var(--dark-surface-deep); }
.footer-top {
    max-width: 1280px; margin: 0 auto;
    padding: 64px 40px 48px;
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px;
    border-bottom: 1px solid var(--dark-line);
}

.footer-tagline {
    font-size: 0.9rem; line-height: 1.7;
    color: var(--on-dark-mute);
    max-width: 34ch; margin-bottom: 24px;
}
.footer-contacts { display: flex; flex-direction: column; gap: 12px; }
.footer-ci {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.9rem; font-weight: 500;
    color: var(--on-dark-mute);
    transition: color 0.2s;
}
a.footer-ci:hover { color: #fff; }
.footer-ci svg { color: var(--cyan-lt); flex-shrink: 0; }

.footer-col-h {
    font-size: 0.65rem; font-weight: 700; margin-bottom: 18px;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--on-dark-faint);
}
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-list li { font-size: 0.9rem; font-weight: 500; color: var(--on-dark-mute); }

.footer-bottom {
    max-width: 1280px; margin: 0 auto;
    padding: 20px 40px;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.footer-copy {
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--on-dark-faint);
}

/* ══════════════════════════════════════════════════════════════
   WHATSAPP FLOTANTE
══════════════════════════════════════════════════════════════ */
.wa-btn {
    position: fixed; right: 24px; bottom: 24px; z-index: 90;
    width: 58px; height: 58px;
    display: flex; align-items: center; justify-content: center;
    background: var(--wa); color: #fff;
    border-radius: var(--r-pill);
    box-shadow: 0 10px 30px rgba(15,122,64,0.42);
    transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.wa-btn:hover { background: var(--wa-hover); transform: scale(1.06); }
@media (prefers-reduced-motion: no-preference) {
    .wa-btn { animation: wa-pulse 3s var(--ease) infinite; }
    @keyframes wa-pulse {
        0%, 100% { box-shadow: 0 10px 30px rgba(15,122,64,0.42), 0 0 0 0 rgba(15,122,64,0.45); }
        50%      { box-shadow: 0 10px 30px rgba(15,122,64,0.42), 0 0 0 14px rgba(15,122,64,0); }
    }
}

/* ══════════════════════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0; transform: translateY(22px);
        transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    }
    .reveal.in { opacity: 1; transform: none; }
    .d1 { transition-delay: 0.08s; }
    .d2 { transition-delay: 0.18s; }
    .d3 { transition-delay: 0.28s; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .pad { padding: 76px 0; }

    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-form-wrap { max-width: 480px; }
    .hero-photo { object-position: 60% 35%; }

    .band-inner { grid-template-columns: 1fr; gap: 20px; }
    .band-pay { padding-left: 0; border-left: none; padding-top: 18px; border-top: 1px solid var(--line); width: 100%; justify-content: space-between; }
    .band-pay-txt { text-align: left; }

    .svc-bento { grid-template-columns: 1fr; }
    .svc-feature { grid-row: auto; min-height: 380px; }

    .testi-row { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }

    .proj-layout { grid-template-columns: 1fr; gap: 44px; }

    .cta-inner { flex-direction: column; align-items: flex-start; }

    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-top > *:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .topbar { display: none; }
    .nav-links { display: none; }
    .nav-inner > .btn { display: none; }
    .menu-btn { display: flex; }
    .nav-inner { height: 74px; }
    .logo .logo-svg { height: 42px; }

    .wrap,
    .nav-inner, .band-inner, .cta-inner,
    .footer-top, .footer-bottom { padding-left: 20px; padding-right: 20px; }

    .hero-inner { padding: 56px 20px 64px; }
    .hero-actions .btn { flex: 1 1 auto; }

    .band-stats { gap: 22px 28px; }
    .stat-n { font-size: 1.7rem; }

    /* La galería no se oculta en móvil: pasa a carrusel con scroll-snap */
    .proj-gallery {
        display: flex; gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin: 0 -20px; padding: 4px 20px 12px;
        scrollbar-width: none;
    }
    .proj-gallery::-webkit-scrollbar { display: none; }
    .proj-col {
        flex-direction: row; gap: 12px;
        padding-top: 0 !important;
    }
    .proj-photo {
        flex: 0 0 78vw; max-width: 320px;
        height: 220px !important;
        scroll-snap-align: center;
    }

    .footer-top { grid-template-columns: 1fr; gap: 34px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .testi-quote { font-size: 1.0625rem; }

    .wa-btn { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
