/* ================================================================
   IN-DI Ingeniería — Precision Engineering · High-Contrast Editorial
   ================================================================ */

:root {
    /* ── Brand (immutable) ── */
    --grad-teal:  #022B32;
    --grad-green: #27411E;
    --accent:     #f59e0b;

    /* ── Extended palette ── */
    --accent-dim:  rgba(245,158,11,0.14);
    --accent-glow: rgba(245,158,11,0.38);
    --accent-light:#fcd34d;

    /* ── Dark section ── */
    --dk-bg:     #011a1e;
    --dk-bg-2:   #082028;
    --dk-text:   #f1f5f9;
    --dk-dim:    rgba(241,245,249,0.55);
    --dk-faint:  rgba(241,245,249,0.22);
    --dk-border: rgba(255,255,255,0.08);

    /* ── Light section ── */
    --lt-bg:     #f5f3ee;
    --lt-bg-2:   #eceae4;
    --lt-text:   #0d1117;
    --lt-dim:    #4b5563;
    --lt-faint:  #9ca3af;
    --lt-border: rgba(2,43,50,0.1);

    /* ── Type ── */
    --ff-d: 'Plus Jakarta Sans', sans-serif;
    --ff-b: 'Outfit', sans-serif;
    --ff-m: 'IBM Plex Mono', monospace;

    /* ── Motion ── */
    --spring: cubic-bezier(0.16, 1, 0.3, 1);

    /* ── Radii ── */
    --r-sm: 6px;
    --r-md: 12px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--ff-b);
    background: var(--dk-bg);
    color: var(--dk-text);
    line-height: 1.65;
    overflow-x: hidden;
    cursor: none;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
strong { font-weight: 600; }
::-webkit-scrollbar { width: 3px; background: var(--dk-bg); }
::-webkit-scrollbar-thumb { background: rgba(245,158,11,0.4); border-radius: 2px; }

/* ================================================================
   FIXED BACKGROUNDS (z-index 0–1)
   ================================================================ */
#webgl-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.032;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 250px;
}

/* ================================================================
   CURSOR
   ================================================================ */
.cursor-dot, .cursor-ring {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    will-change: left, top;
}
.cursor-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    z-index: 9999;
    transition: width .2s var(--spring), height .2s var(--spring);
}
.cursor-ring {
    width: 36px; height: 36px;
    border: 1.5px solid rgba(245,158,11,0.55);
    z-index: 9998;
    transition: width .28s var(--spring), height .28s var(--spring),
                border-color .25s ease, background-color .25s ease;
}
.cursor-dot.hovered  { width: 5px; height: 5px; }
.cursor-ring.hovered { width: 52px; height: 52px; border-color: rgba(245,158,11,0.9); background: rgba(245,158,11,0.07); }

/* ================================================================
   LAYOUT CORE
   ================================================================ */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    position: relative;
    z-index: 1;
}

/* Every section sits on z-index:2, covering the fixed webgl */
.section, .section-contact, .site-footer {
    position: relative;
    z-index: 2;
}

.section { padding: clamp(5rem, 9vw, 8rem) 0; }

/* ── Section alternation ── */
.section-dark  { background: var(--dk-bg);  color: var(--dk-text); }
.section-light { background: var(--lt-bg);  color: var(--lt-text); }

/* Hero is transparent — shows webgl through it */
.hero { background: transparent; }

/* ── Background section numerals (decorative) ── */
.section::before {
    content: attr(data-num);
    position: absolute;
    top: -0.05em;
    right: clamp(0.5rem, 3vw, 3rem);
    font-family: var(--ff-d);
    font-size: clamp(9rem, 18vw, 18rem);
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    user-select: none;
    transition: opacity .5s ease;
}
.section-dark::before  { color: rgba(255,255,255,0.028); }
.section-light::before { color: rgba(2,43,50,0.042); }

/* ================================================================
   SHARED TYPOGRAPHIC UTILS
   ================================================================ */
.mono-tag {
    font-family: var(--ff-m);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 300;
    color: var(--accent);
}
.section-light .mono-tag { color: var(--grad-teal); }

.badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    font-family: var(--ff-m);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(245,158,11,0.3);
    color: var(--accent);
    background: rgba(245,158,11,0.07);
}
.section-light .badge-pill {
    border-color: rgba(2,43,50,0.18);
    color: var(--grad-teal);
    background: rgba(2,43,50,0.06);
}

.section-header { margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-header h2 {
    font-family: var(--ff-d);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-top: 0.75rem;
}
.section-dark  .section-header h2 { color: var(--dk-text); }
.section-light .section-header h2 { color: var(--lt-text); }

.section-sub {
    font-size: 1rem;
    font-weight: 300;
    margin-top: 0.9rem;
    max-width: 56ch;
    line-height: 1.72;
}
.section-dark  .section-sub { color: var(--dk-dim); }
.section-light .section-sub { color: var(--lt-dim); }

.text-accent { color: var(--accent); }

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.6rem 0;
    transition: background .4s ease, padding .3s ease, border-bottom .4s ease;
}
.navbar.scrolled {
    background: rgba(1,26,30,0.92);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 1rem 0;
}
.nav-inner {
    max-width: 1240px; margin: 0 auto;
    padding: 0 clamp(1.5rem,5vw,4rem);
    display: flex; align-items: center;
}
.logo img { height: 36px; width: auto; }
.nav-links {
    list-style: none;
    display: flex; align-items: center;
    gap: clamp(1rem,2.5vw,2.2rem);
    margin-left: auto;
}
.nav-links a {
    font-family: var(--ff-m);
    font-size: 0.72rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(241,245,249,0.58);
    transition: color .22s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    height: 1px; width: 0;
    background: var(--accent);
    transition: width .3s var(--spring);
}
.nav-links a:hover { color: var(--dk-text); }
.nav-links a:hover::after { width: 100%; }
.lang-switch {
    font-family: var(--ff-m); font-size: 0.72rem;
    letter-spacing: 0.07em;
    color: rgba(241,245,249,0.3);
    display: flex; align-items: center; gap: 0.35rem;
}
.lang-sep { color: rgba(241,245,249,0.18); }
.lang-btn { cursor: pointer; transition: color .2s; }
.lang-btn.active, .lang-btn:hover { color: var(--accent); }
.menu-toggle {
    display: none; cursor: pointer;
    font-size: 1.2rem; margin-left: auto;
    color: var(--dk-text);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
    min-height: 100vh;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding-top: clamp(5.5rem, 8vh, 7rem);
    padding-bottom: clamp(5rem, 9vh, 8rem);
    overflow: hidden;
}

.hero-bg-image {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.22;
    filter: grayscale(40%) contrast(110%) brightness(60%);
    mix-blend-mode: lighten;
    pointer-events: none;
}

.hero-bg-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(1, 26, 30, 0.1) 0%, rgba(1, 26, 30, 0.6) 60%, var(--dk-bg) 100%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1240px; margin: 0 auto;
    padding: 0 clamp(1.5rem,5vw,4rem);
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 3;
}
.hero-badge-wrap { margin-bottom: 0; }

.hero-title {
    font-family: var(--ff-d);
    font-size: clamp(2.4rem, 8.5vw, 11rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
    margin-bottom: clamp(2rem, 5vw, 4rem);
    /* JS sets opacity:1 after splitting */
    opacity: 0;
    transition: opacity 0.01s;
}
.hero-title.ready { opacity: 1; }
.hero-line { display: block; }
.hero-line--accent { color: var(--accent); }

.hero-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem; align-items: end;
}
.hero-sub {
    max-width: 50ch;
    font-size: clamp(0.88rem,1.4vw,1rem);
    color: var(--dk-dim);
    font-weight: 300; line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }

.hero-scroll-cue {
    position: absolute;
    right: clamp(1.5rem,5vw,4rem);
    bottom: clamp(2rem,4vh,3.5rem);
    display: flex; flex-direction: column;
    align-items: center; gap: 0.5rem;
    font-family: var(--ff-m);
    font-size: 0.62rem; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--dk-faint);
    z-index: 3;
}
.scroll-line {
    width: 1px; height: 48px;
    background: linear-gradient(to bottom, currentColor, transparent);
    animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.7; transform: scaleY(1); }
    50%       { opacity: 0.2; transform: scaleY(0.4); }
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: var(--r-sm);
    font-family: var(--ff-m);
    font-size: 0.75rem; letter-spacing: 0.09em;
    text-transform: uppercase; font-weight: 400;
    cursor: none;
    transition: transform .3s var(--spring), box-shadow .3s ease,
                background .25s ease, border-color .25s ease, color .25s ease;
    white-space: nowrap;
    position: relative; overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(255,255,255,0.12);
    transform: translateX(-101%);
    transition: transform .4s var(--spring);
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
    background: var(--accent);
    color: #000;
    border: 1.5px solid var(--accent);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px var(--accent-glow); }

.btn-ghost {
    background: transparent; color: var(--dk-text);
    border: 1.5px solid rgba(255,255,255,0.22);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.65); transform: translateY(-3px); }

.btn-submit {
    background: var(--grad-teal); color: #fff;
    border: 1.5px solid var(--grad-teal);
    margin-top: 0.5rem;
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(2,43,50,0.35); }

.btn-full { width: 100%; justify-content: center; }

/* ================================================================
   NOSOTROS (Light)
   ================================================================ */
.nosotros-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}
.nosotros-lead { position: sticky; top: 7rem; }

.section-eyebrow { color: var(--grad-teal); display: block; margin-bottom: 0.6rem; }

.nosotros-h2 {
    font-family: var(--ff-d);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em; line-height: 1.0;
    color: var(--lt-text);
    margin: 0 0 2.2rem;
}
.nosotros-h2 strong { color: var(--accent); }

.nosotros-logo-badge img {
    height: 42px; opacity: 0.16;
    filter: invert(1) sepia(1) saturate(0);
}

.nosotros-body { display: flex; flex-direction: column; gap: 1.3rem; }
.nosotros-body p { color: var(--lt-dim); font-weight: 300; line-height: 1.78; }
.nosotros-body strong { color: var(--lt-text); }

.nosotros-footer-msg {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 1.15rem 1.5rem;
    border-left: 2.5px solid var(--accent);
    background: rgba(245,158,11,0.07);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    font-size: 0.9rem; color: var(--lt-text);
    margin-top: 0.5rem;
}
.nosotros-footer-msg i { color: var(--accent); flex-shrink: 0; }

/* ================================================================
   MVV (Dark)
   ================================================================ */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.2rem, 2.5vw, 2rem);
}
.mvv-item {
    padding: clamp(1.8rem, 3vw, 2.6rem);
    border: 1px solid var(--dk-border);
    border-radius: var(--r-md);
    background: var(--dk-bg-2);
    position: relative; overflow: hidden;
    transition: border-color .3s ease, transform .4s var(--spring), box-shadow .4s ease;
}
.mvv-item::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px; background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform .45s var(--spring);
}
.mvv-item:hover {
    border-color: rgba(245,158,11,0.22);
    transform: translateY(-7px);
    box-shadow: 0 24px 56px rgba(0,0,0,0.4);
}
.mvv-item:hover::after { transform: scaleX(1); }
.mvv-icon {
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(245,158,11,0.28);
    border-radius: var(--r-sm);
    color: var(--accent); font-size: 1.1rem;
    margin-bottom: 1.5rem;
    transition: background .3s ease;
}
.mvv-item:hover .mvv-icon { background: rgba(245,158,11,0.1); }
.mvv-item h3 {
    font-family: var(--ff-d);
    font-size: 1.15rem; font-weight: 700;
    letter-spacing: -0.02em; color: var(--dk-text);
    margin-bottom: 0.75rem;
}
.mvv-item p { font-size: 0.9rem; color: var(--dk-dim); font-weight: 300; line-height: 1.72; }
.mvv-item strong { color: var(--dk-text); }

/* ================================================================
   SERVICIOS — ACCORDION (Light)
   ================================================================ */
.services-list { border-top: 1px solid var(--lt-border); }

.service-row {
    border-bottom: 1px solid var(--lt-border);
    transition: background .25s ease;
}
.service-row:hover { background: rgba(2,43,50,0.025); }
.service-row.open  { background: rgba(2,43,50,0.035); }

.service-row-header {
    display: grid;
    grid-template-columns: 3rem 1fr auto auto;
    align-items: center; gap: 1.5rem;
    padding: clamp(1.2rem, 2.2vw, 1.75rem) 0;
    cursor: pointer; user-select: none;
}
.service-num {
    font-family: var(--ff-m); font-size: 0.72rem;
    letter-spacing: 0.08em; color: var(--lt-faint);
    font-weight: 300;
    transition: color .25s ease;
}
.service-row:hover .service-num,
.service-row.open  .service-num { color: var(--accent); }

.service-title {
    font-family: var(--ff-d);
    font-size: clamp(1.05rem, 2.2vw, 1.5rem);
    font-weight: 700; letter-spacing: -0.022em;
    color: var(--lt-text); line-height: 1.2;
    transition: color .25s ease;
}
.service-row:hover .service-title,
.service-row.open  .service-title { color: var(--grad-teal); }

.service-short { font-size: 0.85rem; color: var(--lt-faint); margin-top: 0.22rem; font-weight: 300; }

.service-icon {
    font-size: 1.2rem; color: var(--lt-faint);
    transition: color .25s ease, transform .35s var(--spring);
}
.service-row:hover .service-icon,
.service-row.open  .service-icon { color: var(--grad-teal); transform: rotate(12deg) scale(1.1); }

.service-plus { width: 20px; height: 20px; position: relative; flex-shrink: 0; }
.service-plus span {
    position: absolute; background: var(--lt-faint); border-radius: 1px;
    transition: transform .4s var(--spring), background .25s ease;
}
.service-plus span:nth-child(1) { width: 100%; height: 1.5px; top: 50%; transform: translateY(-50%); }
.service-plus span:nth-child(2) { width: 1.5px; height: 100%; left: 50%; transform: translateX(-50%); }
.service-row.open .service-plus span             { background: var(--grad-teal); }
.service-row.open .service-plus span:nth-child(2) { transform: translateX(-50%) rotate(90deg); }

.service-row-body { height: 0; overflow: hidden; transition: height .5s var(--spring); }
.service-body-inner { padding: 0.5rem 0 2rem 4.5rem; }
.service-body-inner ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
.service-body-inner li {
    font-family: var(--ff-m); font-size: 0.78rem;
    letter-spacing: 0.04em; color: var(--lt-dim);
    padding-left: 1.1rem; position: relative;
}
.service-body-inner li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }

/* ================================================================
   RESULTADOS — TYPOGRAPHIC BOARD (Dark)
   ================================================================ */
.results-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--dk-border);
    border-left: 1px solid var(--dk-border);
    margin: 3rem 0 0;
}
.result-item {
    padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 2.5vw, 2.5rem);
    border-right: 1px solid var(--dk-border);
    border-bottom: 1px solid var(--dk-border);
    position: relative;
    transition: background .3s ease;
}
.result-item::after {
    content: '';
    position: absolute; bottom: -1px; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width .55s var(--spring);
}
.result-item:hover { background: rgba(245,158,11,0.03); }
.result-item:hover::after { width: 100%; }

.result-num {
    display: block;
    font-family: var(--ff-d);
    font-size: clamp(3.5rem, 6vw, 7rem);
    font-weight: 800; letter-spacing: -0.05em; line-height: 1;
    color: var(--dk-text); margin-bottom: 0.75rem;
    transition: color .25s ease;
}
.result-item:hover .result-num { color: var(--accent); }
.result-label {
    font-family: var(--ff-m); font-size: 0.68rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--dk-dim); font-weight: 300;
}

.results-footnote {
    display: flex; align-items: center; gap: 1.5rem;
    flex-wrap: wrap; padding-top: 2rem;
    border-top: 1px solid var(--dk-border);
    margin-top: 0;
}
.footnote-stat { font-family: var(--ff-m); font-size: 0.78rem; color: var(--dk-dim); font-weight: 300; }
.footnote-stat strong { color: var(--accent); }
.footnote-divider { color: var(--dk-faint); font-family: var(--ff-m); }

/* ================================================================
   COBERTURA (Light)
   ================================================================ */
.cobertura-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
}
.cobertura-header h2 {
    font-family: var(--ff-d);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800; letter-spacing: -0.035em; line-height: 1.1;
    color: var(--lt-text); margin: 0.75rem 0 1rem;
}
.cobertura-sedes { display: flex; flex-direction: column; gap: 1.25rem; }

.sede-item {
    display: flex; align-items: center; gap: 1.5rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid var(--lt-border);
    border-radius: var(--r-md);
    background: #fff;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    transition: border-color .3s ease, transform .35s var(--spring), box-shadow .35s ease;
}
.sede-item:hover {
    border-color: rgba(2,43,50,0.28);
    transform: translateX(6px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}
.sede-marker {
    width: 48px; height: 48px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--lt-border);
    border-radius: var(--r-sm);
    background: var(--lt-bg-2); color: var(--grad-teal);
    font-size: 1.15rem;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.sede-item:hover .sede-marker { background: var(--grad-teal); color: #fff; border-color: var(--grad-teal); }
.sede-info .mono-tag { display: block; margin-bottom: 0.28rem; color: var(--grad-teal); }
.sede-info h3 {
    font-family: var(--ff-d); font-size: 1rem;
    font-weight: 700; letter-spacing: -0.01em; color: var(--lt-text);
}
.sede-info p { font-size: 0.85rem; color: var(--lt-faint); margin-top: 0.2rem; font-weight: 300; }

/* ================================================================
   PLATAFORMA — VERTICAL TIMELINE (Dark)
   ================================================================ */
.plat-timeline {
    position: relative;
    padding-left: 2rem;
    max-width: 820px;
    margin-top: 3.5rem;
}
.plat-timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 1.5rem; bottom: 1.5rem;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(245,158,11,0.45) 12%, rgba(245,158,11,0.45) 88%, transparent);
}
.plat-step {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    gap: 2.2rem;
    padding: 2.2rem 0 2.2rem 2.2rem;
    border-bottom: 1px solid var(--dk-border);
    position: relative;
    transition: background .25s ease;
}
.plat-step:last-child { border-bottom: none; }
.plat-step::before {
    content: '';
    position: absolute;
    left: -0.5rem; top: 50%;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--dk-bg);
    border: 2px solid rgba(245,158,11,0.45);
    transform: translateY(-50%);
    transition: background .3s ease, border-color .3s ease;
    z-index: 1;
}
.plat-step:hover::before { background: var(--accent); border-color: var(--accent); }
.plat-step:hover { background: rgba(255,255,255,0.013); }

.plat-step-left {
    display: flex; flex-direction: column;
    align-items: center; gap: 0.75rem; flex-shrink: 0;
}
.plat-step-num {
    font-family: var(--ff-m); font-size: 0.65rem;
    letter-spacing: 0.12em; color: var(--accent); font-weight: 400;
}
.plat-step-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--dk-border); border-radius: var(--r-sm);
    color: var(--dk-dim); font-size: 1.05rem;
    transition: border-color .3s ease, color .3s ease, background .3s ease;
}
.plat-step:hover .plat-step-icon {
    border-color: rgba(245,158,11,0.3);
    color: var(--accent); background: rgba(245,158,11,0.07);
}
.plat-step-right { padding-top: 0.15rem; }
.plat-step-right h4 {
    font-family: var(--ff-d); font-size: 1.2rem;
    font-weight: 700; letter-spacing: -0.025em;
    color: var(--dk-text); margin-bottom: 0.45rem;
}
.plat-step-right p { font-size: 0.9rem; color: var(--dk-dim); font-weight: 300; line-height: 1.7; }

/* ================================================================
   CONTACTO — SPLIT SCREEN
   ================================================================ */
.section-contact { overflow: hidden; }
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}
.contact-info-panel {
    background: var(--dk-bg-2);
    color: var(--dk-text);
    padding: clamp(5rem, 9vw, 9rem) clamp(2rem, 6vw, 6rem);
    display: flex; flex-direction: column; gap: 2.8rem;
    border-right: 1px solid var(--dk-border);
}
.contact-eyebrow { display: block; }
.contact-person { display: flex; flex-direction: column; gap: 0.9rem; }
.contact-person h3 {
    font-family: var(--ff-m); font-size: 0.65rem;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--dk-faint);
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--dk-border);
    margin-bottom: 0.2rem;
}
.contact-name {
    display: block; font-family: var(--ff-d);
    font-size: 1.45rem; font-weight: 700;
    letter-spacing: -0.03em; color: var(--dk-text);
}
.contact-role {
    display: block; font-family: var(--ff-m);
    font-size: 0.68rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--accent); margin-top: 0.15rem;
}
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; }
.contact-detail i { color: var(--accent); font-size: 0.95rem; margin-top: 0.18rem; flex-shrink: 0; }
.contact-label {
    display: block; font-family: var(--ff-m);
    font-size: 0.65rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--dk-faint); margin-bottom: 0.18rem;
}
.contact-detail a { font-size: 0.9rem; color: var(--dk-dim); transition: color .2s; }
.contact-detail a:hover { color: var(--accent); }
.contact-socials { margin-top: auto; padding-top: 2rem; border-top: 1px solid var(--dk-border); }
.contact-socials .contact-label { margin-bottom: 0.9rem; display: block; }
.social-links { display: flex; gap: 0.7rem; }
.social-link {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--dk-border); border-radius: var(--r-sm);
    color: var(--dk-dim); font-size: 0.85rem;
    transition: all .3s var(--spring);
}
.social-link:hover { border-color: rgba(245,158,11,0.35); color: var(--accent); transform: translateY(-2px); }

/* Form panel (light) */
.contact-form-panel {
    background: var(--lt-bg);
    color: var(--lt-text);
    padding: clamp(5rem, 9vw, 9rem) clamp(2rem, 6vw, 6rem);
    display: flex; align-items: center;
}
.contact-form-inner { width: 100%; max-width: 460px; }
.contact-form-inner h3 {
    font-family: var(--ff-d);
    font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800;
    letter-spacing: -0.035em; color: var(--lt-text);
    margin-bottom: 2.5rem;
}
#form-message {
    padding: 0.9rem 1.3rem;
    border: 1px solid rgba(245,158,11,0.35);
    border-radius: var(--r-sm);
    background: rgba(245,158,11,0.09);
    color: #92650a;
    font-family: var(--ff-m); font-size: 0.78rem;
    margin-bottom: 1.5rem; display: none;
    transition: all 0.3s ease;
}
#form-message.success {
    border-color: rgba(37,211,102,0.35);
    background: rgba(37,211,102,0.09);
    color: #147936;
}
#form-message.error {
    border-color: rgba(239,68,68,0.35);
    background: rgba(239,68,68,0.09);
    color: #b91c1c;
}
.form-field { margin-bottom: 1.1rem; }
.form-control {
    width: 100%; padding: 0.85rem 1.1rem;
    background: #fff;
    border: 1px solid var(--lt-border);
    border-radius: var(--r-sm);
    color: var(--lt-text);
    font-family: var(--ff-b); font-size: 0.9rem; font-weight: 300;
    outline: none; resize: none;
    transition: border-color .3s ease, box-shadow .3s ease;
}
textarea.form-control { min-height: 110px; }
.form-control::placeholder { color: var(--lt-faint); }
.form-control:focus {
    border-color: rgba(2,43,50,0.38);
    box-shadow: 0 0 0 3px rgba(2,43,50,0.07);
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
    background: var(--dk-bg);
    border-top: 1px solid var(--dk-border);
    padding: 3rem 0;
}
.footer-inner {
    display: flex; flex-direction: column;
    align-items: center; gap: 1rem; text-align: center;
}
.footer-logo img { height: 30px; opacity: 0.55; transition: opacity .3s; }
.footer-logo:hover img { opacity: 1; }
.footer-slogan { font-family: var(--ff-d); font-size: 0.9rem; font-weight: 600; color: var(--dk-dim); }
.footer-copy { font-size: 0.67rem; color: var(--dk-faint); }

/* ================================================================
   WHATSAPP
   ================================================================ */
.whatsapp-container {
    position: fixed; bottom: 2rem; right: 2rem;
    z-index: 200; display: flex;
    flex-direction: column; align-items: flex-end; gap: 0.75rem;
}
.whatsapp-tooltip {
    background: rgba(1,26,30,0.92);
    border: 1px solid var(--dk-border);
    backdrop-filter: blur(12px);
    padding: 0.5rem 1rem; border-radius: 100px;
    font-family: var(--ff-m); font-size: 0.7rem;
    letter-spacing: 0.04em; color: var(--dk-text);
    white-space: nowrap; pointer-events: none;
    opacity: 0; transform: translateX(8px);
    transition: opacity .3s ease, transform .3s ease;
}
.whatsapp-container:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }
.whatsapp-float {
    width: 52px; height: 52px;
    background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.35rem;
    box-shadow: 0 4px 22px rgba(37,211,102,0.32);
    animation: waFloat 3.5s ease-in-out infinite;
    transition: transform .3s var(--spring), box-shadow .3s ease;
    cursor: none;
}
.whatsapp-float:hover { animation: none; transform: scale(1.12) !important; box-shadow: 0 6px 30px rgba(37,211,102,0.48); }
@keyframes waFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .nosotros-layout       { grid-template-columns: 1fr; }
    .nosotros-lead         { position: static; }
    .mvv-grid              { grid-template-columns: 1fr 1fr; }
    .results-board         { grid-template-columns: 1fr 1fr; }
    .cobertura-layout      { grid-template-columns: 1fr; }
    .contact-split         { grid-template-columns: 1fr; min-height: auto; }
    .contact-info-panel    { border-right: none; border-bottom: 1px solid var(--dk-border); }
}
@media (max-width: 768px) {
    .hero-bottom           { grid-template-columns: 1fr; }
    .hero-actions          { justify-content: flex-start; }
    .mvv-grid              { grid-template-columns: 1fr; }
    .service-icon          { display: none; }
    .service-row-header    { grid-template-columns: 2.5rem 1fr auto; }
    .plat-step             { grid-template-columns: 1fr; padding-left: 1.5rem; gap: 0.9rem; }
    .plat-step-left        { flex-direction: row; }
    .menu-toggle           { display: flex; }
    .nav-links {
        display: none; position: fixed;
        top: 0; left: 0; width: 100vw; height: 100vh;
        background: var(--dk-bg); flex-direction: column;
        align-items: center; justify-content: center;
        gap: 2.5rem; z-index: 99;
    }
    .nav-links.open        { display: flex; }
    .nav-links a           { font-size: 1rem; }
    .section::before       { display: none; }
}
@media (max-width: 520px) {
    .results-board         { grid-template-columns: 1fr; }
    .hero-title            { font-size: clamp(2.4rem, 11vw, 3.5rem); }
}
