/* =====================================================================
   CONFIDELIS — Arquitectura Patrimonial 360°
   Hoja de estilos del rediseño 2026. Paleta de alto contraste:
   navy #071027 · azul #2c62e8 · lima #c5f36a · papel #f4f4ef
   ===================================================================== */
:root {
    --navy: #071027;
    --navy-2: #0b1632;
    --navy-3: #040a19;
    --blue: #2c62e8;
    --lime: #c5f36a;
    --paper: #f4f4ef;
    --paper-2: #fbfbf8;
    --paper-3: #eeefea;
    --white: #fff;
    --ink: #172033;
    --muted: #657086;
    --line: rgba(7, 16, 39, .13);
    --line-light: rgba(255, 255, 255, .16);
    --content: 1360px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Manrope', system-ui, sans-serif;
    --font-ui: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; overflow-x: hidden; overflow-x: clip; }
body.cf-body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
::selection { background: var(--lime); color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; top: -60px; left: 16px; z-index: 200; padding: 10px 14px;
    background: var(--lime); color: var(--navy); font-weight: 700; border-radius: 2px;
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--content), calc(100% - 64px)); margin-inline: auto; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px;
    color: var(--blue); font-size: .69rem; font-weight: 700; letter-spacing: .19em;
    line-height: 1.5; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.eyebrow__n { font-family: var(--font-display); font-size: .95rem; font-weight: 400; letter-spacing: 0; color: var(--navy); }
.services .eyebrow__n, .eco .eyebrow__n, .founder .eyebrow__n, .contact .eyebrow__n { color: var(--white); }
.eyebrow__n + i { width: 1px; height: 12px; background: currentColor; opacity: .35; }

.section-title {
    margin: 0; font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.6vw, 4.4rem); font-weight: 400;
    letter-spacing: -.045em; line-height: 1.06; text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--blue); }
.section-copy { color: var(--muted); font-size: 1.02rem; line-height: 1.85; }
.small-label { font-size: .68rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }

.inline-link {
    padding: 4px 0; min-height: 24px; border: 0; background: none; color: inherit; font: inherit;
    text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--lime);
    cursor: pointer;
}
.inline-link:hover { color: var(--lime); }

/* Progreso de lectura */
.progress-track { position: fixed; inset: 0 auto auto 0; z-index: 120; width: 100%; height: 3px; pointer-events: none; }
.progress-track span { display: block; width: 0; height: 100%; background: var(--lime); box-shadow: 0 0 18px rgba(197, 243, 106, .6); }

/* ---------------------------------------------------------------------
   Botones
   --------------------------------------------------------------------- */
.nav-cta, .button-primary {
    display: inline-flex; justify-content: center; align-items: center; gap: 18px;
    min-height: 49px; padding: 0 21px; color: var(--navy); background: var(--lime);
    border: 1px solid var(--lime); border-radius: 2px; font-family: var(--font-ui);
    font-size: .69rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase;
    transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s var(--ease);
}
.nav-cta:hover, .button-primary:hover { color: var(--white); background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.button-arrow { display: inline-block; font-size: 1.1rem; line-height: 1; transition: transform .3s var(--ease); }
.nav-cta:hover .button-arrow, .button-primary:hover .button-arrow, .text-link:hover .button-arrow { transform: translateX(4px); }
.text-link {
    display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; min-height: 28px; border: 0; background: none;
    color: var(--navy); font-family: var(--font-ui); font-size: .72rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
.text-link .button-arrow { color: var(--blue); }
.icon-button {
    display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line);
    border-radius: 50%; background: transparent; color: var(--navy); font-size: 1.1rem;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.icon-button:hover { background: var(--navy); color: var(--lime); border-color: var(--navy); }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.site-header {
    position: fixed; z-index: 100; inset: 0 0 auto; color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, .13);
    transition: background .45s ease, border-color .45s ease, box-shadow .45s ease, color .45s ease;
}
.site-header.is-scrolled, .site-header.is-light {
    color: var(--navy); background: rgba(248, 249, 246, .92);
    border-color: rgba(7, 16, 39, .08); box-shadow: 0 12px 40px rgba(7, 16, 39, .08);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.nav-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 13px; flex: 0 0 auto; color: inherit; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 44px; color: var(--lime); transition: color .35s ease; }
.brand-mark svg { width: 30px; height: 42px; }
.site-header.is-scrolled .brand-mark, .site-header.is-light .brand-mark { color: var(--blue); }
.brand-wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand-wordmark strong { font-family: var(--font-ui); font-size: 1rem; font-weight: 700; letter-spacing: .24em; }
.brand-wordmark strong i { font-style: normal; color: var(--lime); }
.site-header.is-scrolled .brand-wordmark strong i, .site-header.is-light .brand-wordmark strong i { color: var(--blue); }
.brand-wordmark small { margin-top: 6px; font-size: .55rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; opacity: .78; }

.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 34px); }
.nav__foot { display: none; }
.desktop-nav > a:not(.nav-cta) {
    position: relative; padding: 10px 0; color: currentColor; font-family: var(--font-ui);
    font-size: .69rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; white-space: nowrap;
}
.desktop-nav > a:not(.nav-cta)::after {
    content: ''; position: absolute; right: 0; bottom: 3px; left: 0; height: 1px; background: var(--lime);
    transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.site-header.is-scrolled .desktop-nav > a:not(.nav-cta)::after, .site-header.is-light .desktop-nav > a:not(.nav-cta)::after { background: var(--blue); }
.desktop-nav > a:not(.nav-cta):hover::after, .desktop-nav > a.is-active::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle { display: none; width: 46px; height: 46px; padding: 10px; color: currentColor; border: 1px solid currentColor; background: transparent; border-radius: 2px; }
.menu-toggle span { display: block; width: 100%; height: 1px; margin: 5px 0; background: currentColor; transition: transform .3s ease; }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
main > .hero {
    position: relative; isolation: isolate; display: flex; align-items: center;
    min-height: 100vh; min-height: 100svh; overflow: hidden; padding: 130px 0 90px;
    color: var(--white); background: var(--navy);
}
.hero__image, .hero__shade, .hero__grid, .hero__spotlight { position: absolute; inset: 0; pointer-events: none; }
.hero__image {
    z-index: -4; filter: grayscale(.55) contrast(1.05);
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=85&w=2400&auto=format&fit=crop');
    background-position: center 43%; background-size: cover; transform: scale(1.05); will-change: transform;
}
.hero__shade {
    z-index: -3;
    background: linear-gradient(90deg, rgba(5, 12, 31, .97) 0%, rgba(5, 12, 31, .86) 43%, rgba(5, 12, 31, .5) 72%, rgba(5, 12, 31, .66) 100%),
                linear-gradient(0deg, rgba(5, 12, 31, .75), transparent 55%);
}
.hero__grid {
    z-index: -2; opacity: .19;
    background-image: linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 86px 86px; mask-image: linear-gradient(90deg, black, transparent 90%); -webkit-mask-image: linear-gradient(90deg, black, transparent 90%);
}
.hero__spotlight {
    z-index: -1; inset: auto; width: 540px; height: 540px; border-radius: 50%; opacity: .65;
    background: radial-gradient(circle, rgba(197, 243, 106, .13), transparent 68%); transform: translate(-50%, -50%);
    left: 70%; top: 50%;
}
.hero__layout { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr); align-items: center; gap: 6%; }
.hero__copy { position: relative; z-index: 2; max-width: 700px; }
main > .hero .eyebrow { color: var(--lime); }
.hero__eyebrow {
    max-width: 100%; margin-bottom: 28px; padding: 10px 13px; border: 1px solid rgba(197, 243, 106, .45);
    background: rgba(7, 16, 39, .18); backdrop-filter: blur(8px);
}
.hero__eyebrow::before { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.hero__title {
    max-width: 770px; margin: 0; font-family: var(--font-display);
    font-size: clamp(3rem, 5.3vw, 5.2rem); font-weight: 400; letter-spacing: -.05em; line-height: 1.02;
}
.hero__title span { color: var(--lime); font-weight: 500; font-style: italic; }
.hero__description { max-width: 600px; margin: 28px 0 35px; color: rgba(255, 255, 255, .78); font-size: clamp(1rem, 1.4vw, 1.14rem); font-weight: 300; line-height: 1.85; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; }
main > .hero .text-link { color: var(--white); }
main > .hero .text-link .button-arrow { color: var(--lime); }
.hero__note { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 28px 0 0; color: rgba(255, 255, 255, .62); font-size: .78rem; line-height: 1.6; }
.hero__note::before { content: ''; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 480px; }
.logo3d { width: min(100%, 520px); aspect-ratio: 1; display: block; }
.logo3d__fallback { position: absolute; inset: 0; display: none; place-items: center; color: var(--lime); }
.logo3d__fallback svg { width: 42%; filter: drop-shadow(0 30px 60px rgba(197, 243, 106, .25)); animation: floatY 6s ease-in-out infinite; }
.hero__visual.is-fallback .logo3d { display: none; }
.hero__visual.is-fallback .logo3d__fallback { display: grid; }
@keyframes floatY { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }

.orbit-label {
    position: absolute; z-index: 3; padding: 9px 12px; border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(7, 16, 39, .55); color: rgba(255, 255, 255, .86); font-family: var(--font-ui);
    font-size: .58rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
    backdrop-filter: blur(12px); white-space: nowrap;
}
.orbit-label--top { top: 8%; right: -3%; }
.orbit-label--left { bottom: 23%; left: -5%; }
.orbit-label--bottom { right: 3%; bottom: 7%; }

.hero__bottomline {
    position: absolute; right: 0; bottom: 38px; left: 0; display: flex; justify-content: space-between; align-items: center;
    color: rgba(255, 255, 255, .56); font-family: var(--font-ui); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
}
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { display: block; width: 44px; height: 1px; background: var(--lime); transform-origin: left; animation: cueLine 2s ease-in-out infinite; }
.hero__coordinates { display: flex; gap: 22px; }
.hero__coordinates span + span { color: var(--lime); }
@keyframes cueLine { 0%, 100% { transform: scaleX(.45); opacity: .5 } 50% { transform: scaleX(1); opacity: 1 } }

/* ---------------------------------------------------------------------
   Seis capas
   --------------------------------------------------------------------- */
.layers { position: relative; overflow: hidden; padding: clamp(64px, 7vw, 112px) 0; background: var(--paper); }
.layers::before { content: ''; position: absolute; inset: 0; background: radial-gradient(1000px 520px at 20% 60%, rgba(197, 243, 106, .2), transparent 70%), radial-gradient(800px 460px at 88% 15%, rgba(44, 98, 232, .09), transparent 70%); pointer-events: none; }
.layers > .container { position: relative; }
.layers__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.layers__head .section-copy { margin: 18px 0 0; }
.layers__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }

.layer-ring { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin: 28px auto; }
.layer-ring::before, .layer-ring::after {
    content: ''; position: absolute; inset: 10%; border: 1px solid rgba(7, 16, 39, .14); border-radius: 50%;
}
.layer-ring::after { inset: 24%; border-style: dashed; border-color: rgba(44, 98, 232, .35); animation: spinSlow 60s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg) } }
.layer-ring__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.layer-ring__lines line { stroke: rgba(7, 16, 39, .14); stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke .4s ease; }
.layer-ring__lines line.is-active { stroke: var(--lime); stroke-width: 2; stroke-dasharray: 6 6; animation: dashFlow 1.2s linear infinite; filter: drop-shadow(0 0 4px rgba(197, 243, 106, .8)); }
@keyframes dashFlow { to { stroke-dashoffset: -24; } }
.layer-ring__canvas { position: absolute; inset: -8%; width: 116%; height: 116%; }
.layer-ring__core-label { display: none; }
.layer-ring__core-label small { color: var(--blue); }
.layer-ring__core-label strong { color: var(--navy); }
.layer-ring__core.is-pulse { animation: corePulse .6s var(--ease); }
@keyframes corePulse { 0% { box-shadow: 0 30px 70px rgba(7, 16, 39, .25), 0 0 0 0 rgba(197, 243, 106, .55); } 100% { box-shadow: 0 30px 70px rgba(7, 16, 39, .25), 0 0 0 28px rgba(197, 243, 106, 0); } }
.layer-ring__core {
    position: absolute; inset: 33%; display: grid; place-content: center; text-align: center; border-radius: 50%;
    color: var(--white); background: radial-gradient(circle at 35% 30%, #1c3c8f, var(--navy) 70%);
    box-shadow: 0 30px 70px rgba(7, 16, 39, .25), inset 0 0 40px rgba(197, 243, 106, .08);
}
.layer-ring__core small { font-family: var(--font-ui); font-size: .58rem; letter-spacing: .25em; text-transform: uppercase; color: var(--lime); }
.layer-ring__core strong { margin-top: 4px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.layer-btn {
    position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; justify-content: center;
    min-width: 108px; padding: 11px 14px; transform: translate(-50%, -50%) translate(var(--x), var(--y));
    border: 1px solid var(--line); border-radius: 999px; background: var(--paper-2); color: var(--navy);
    font-family: var(--font-ui); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(7, 16, 39, .08);
    transition: background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.layer-btn:hover { border-color: var(--blue); color: var(--blue); }
.layer-btn.is-active { background: var(--lime); border-color: var(--lime); color: var(--navy); box-shadow: 0 14px 30px rgba(197, 243, 106, .4); }
.layer-btn::before { content: ''; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--blue); }
.layer-btn.is-active::before { background: var(--navy); }

.layer-body { position: relative; padding: 38px clamp(26px, 3vw, 44px); background: var(--paper-2); border: 1px solid var(--line); border-top: 3px solid var(--lime); box-shadow: 0 22px 70px rgba(7, 16, 39, .08); }
.layer-body__index { display: block; margin-bottom: 18px; font-family: var(--font-ui); font-size: .66rem; font-weight: 700; letter-spacing: .2em; color: var(--blue); }
.layer-body h3 { margin: 0 0 16px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 2.5vw, 2.4rem); letter-spacing: -.03em; line-height: 1.1; }
.layer-body p { margin: 0; min-height: 4.5em; color: #3f4a5f; font-size: .95rem; line-height: 1.85; }
.layer-body.is-switching h3, .layer-body.is-switching p { animation: faqReveal .4s var(--ease) both; }
.layer-body__nav { display: flex; gap: 10px; margin-top: 26px; }

/* ---------------------------------------------------------------------
   Pilares
   --------------------------------------------------------------------- */
.pillars { position: relative; z-index: 5; padding: 0 0 clamp(56px, 6vw, 90px); background: var(--paper); }
.pillars__title { max-width: 620px; margin: 0 0 30px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -.03em; line-height: 1.2; color: var(--navy); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-top: 3px solid var(--lime); background: var(--paper-2); box-shadow: 0 22px 70px rgba(7, 16, 39, .08); }
.pillar { position: relative; min-height: 205px; padding: 36px clamp(24px, 3.3vw, 48px); border-right: 1px solid var(--line); overflow: hidden; }
.pillar:last-child { border-right: 0; }
.pillar__number { display: block; margin-bottom: 28px; color: var(--blue); font-family: var(--font-display); font-size: 1.35rem; }
.pillar h4 { margin: 0 0 9px; color: var(--navy); font-size: 1rem; font-weight: 700; }
.pillar p { max-width: 300px; margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.7; }

/* ---------------------------------------------------------------------
   El problema real
   --------------------------------------------------------------------- */
.about { position: relative; overflow: hidden; padding: clamp(40px, 5vw, 80px) 0 clamp(64px, 7vw, 112px); background: var(--paper-2); }
.about::before { content: ''; position: absolute; left: -220px; bottom: -260px; width: 640px; height: 640px; border: 1px solid rgba(44, 98, 232, .14); border-radius: 50%; box-shadow: 0 0 0 90px rgba(44, 98, 232, .035), 0 0 0 180px rgba(44, 98, 232, .025); pointer-events: none; }
.about > .container { position: relative; }
.about__benefits { margin-top: clamp(48px, 6vw, 80px); }
.about__benefits .pillars__title { margin-bottom: 26px; }
.about__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(50px, 9vw, 125px); align-items: center; }
.about__content { max-width: 580px; }
.about .section-title { margin-bottom: 28px; }
.about__list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.about__list li { display: flex; align-items: flex-start; gap: 12px; color: #3b4558; font-size: .95rem; font-weight: 600; line-height: 1.65; }
.about__list li::before { content: ''; flex: 0 0 7px; width: 7px; height: 7px; margin-top: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(44, 98, 232, .08); }
.about__statement { position: relative; margin: 30px 0 0; padding: 22px 24px 22px 26px; color: var(--navy); background: rgba(197, 243, 106, .23); border-left: 3px solid var(--lime); font-size: .95rem; font-weight: 600; line-height: 1.8; }
.about__visual { position: relative; min-height: 640px; }
.about__image-frame { position: absolute; inset: 0 7% 6% 0; overflow: hidden; background: #d6dce0; }
.about__image-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(44, 98, 232, .55), rgba(7, 16, 39, .9)); mix-blend-mode: multiply; pointer-events: none; }
.about__image-frame::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(197, 243, 106, .14), transparent 60%); mix-blend-mode: screen; pointer-events: none; }
.about__image { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); will-change: transform; filter: grayscale(1) contrast(1.1); }
.about__image-border { position: absolute; inset: 6% 0 0 7%; border: 1px solid rgba(44, 98, 232, .38); pointer-events: none; }
.about__image-note { position: absolute; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 18px; width: min(335px, 78%); padding: 24px; color: var(--white); background: var(--navy); }
.about__image-note b { color: var(--lime); font-family: var(--font-display); font-size: 2.6rem; font-weight: 400; }
.about__image-note span { font-family: var(--font-ui); font-size: .68rem; font-weight: 600; line-height: 1.7; letter-spacing: .08em; text-transform: uppercase; }

/* ---------------------------------------------------------------------
   Comparativa
   --------------------------------------------------------------------- */
.compare { padding: clamp(56px, 6vw, 90px) 0; background: var(--paper-3); border-top: 1px solid var(--line); }
.compare__head { max-width: 720px; margin-bottom: 44px; }
.compare__table { border: 1px solid var(--line); background: var(--paper-2); box-shadow: 0 22px 70px rgba(7, 16, 39, .07); }
.compare__row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.compare__row:first-child { border-top: 0; }
.compare__row > div { padding: 16px clamp(18px, 2.4vw, 30px); font-size: .88rem; line-height: 1.65; color: #4a5468; }
.compare__row > div:first-child { border-right: 1px solid var(--line); }
.compare__row > div:last-child { color: var(--navy); background: rgba(197, 243, 106, .12); font-weight: 600; }
.compare__row--head > div { font-family: var(--font-ui); font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.compare__row--head > div:last-child { background: var(--navy); color: var(--lime); }
.compare__row > div:last-child::before { content: '✓  '; color: var(--blue); font-weight: 800; }
.compare__row--head > div:last-child::before { content: ''; }

/* ---------------------------------------------------------------------
   Método (sección oscura, scroll pegajoso)
   --------------------------------------------------------------------- */
.services { position: relative; isolation: isolate; padding: clamp(70px, 7.5vw, 120px) 0; color: var(--white); background: var(--navy); }
.services::before {
    content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none;
    background: radial-gradient(circle at calc(100% + 100px) -60px, transparent 300px, rgba(197, 243, 106, .17) 301px, transparent 302px, rgba(255, 255, 255, .018) 302px, rgba(255, 255, 255, .018) 377px, transparent 377px, rgba(255, 255, 255, .018) 378px, rgba(255, 255, 255, .018) 452px, transparent 452px);
}
.services__layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.services__head { position: sticky; top: 110px; align-self: start; padding-bottom: 40px; }
.services .eyebrow { color: var(--lime); }
.services__intro { max-width: 380px; margin: 22px 0 0; color: rgba(255, 255, 255, .66); font-size: .98rem; line-height: 1.8; }
.services__progress { display: flex; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.services__progress li { position: relative; padding: 10px 0 0; width: 54px; color: rgba(255, 255, 255, .35); font-family: var(--font-display); font-size: 1rem; transition: color .4s ease; }
.services__progress li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(255, 255, 255, .15); transition: background .4s ease; }
.services__progress li.is-active { color: var(--lime); }
.services__progress li.is-active::before { background: var(--lime); box-shadow: 0 0 14px rgba(197, 243, 106, .6); }
.services__side-mark { display: flex; align-items: flex-start; gap: 16px; max-width: 360px; margin: 34px 0 0; color: rgba(255, 255, 255, .5); font-size: .74rem; line-height: 1.7; }
.services__side-mark i { flex: 0 0 36px; display: block; height: 1px; margin-top: 10px; background: var(--lime); }
.service-grid { position: relative; display: grid; gap: 14px; padding-left: 44px; }
.service-grid::before { content: ''; position: absolute; left: 11px; top: 30px; bottom: 30px; width: 1px; background: linear-gradient(180deg, rgba(197, 243, 106, .5), rgba(255, 255, 255, .12)); }
.service-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 0; padding: 30px clamp(22px, 2.6vw, 36px) 32px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); transition: background .45s ease, border-color .45s ease, transform .45s var(--ease); }
.service-card::after { content: ''; position: absolute; left: -44px; top: 36px; width: 23px; height: 23px; margin-left: 0; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: var(--navy); transition: background .4s ease, border-color .4s ease, box-shadow .4s ease; }
.service-card.is-active { background: rgba(255, 255, 255, .06); border-color: rgba(197, 243, 106, .45); }
.service-card.is-active::after { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 0 6px rgba(197, 243, 106, .15); }
.service-card:hover { background: rgba(255, 255, 255, .07); }
.service-card__number { display: flex; align-items: center; justify-content: space-between; width: 100%; color: var(--lime); font-family: var(--font-display); font-size: 1.2rem; }
.service-card__number i { width: 36px; height: 36px; display: grid; place-items: center; color: rgba(255, 255, 255, .74); border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; font-family: var(--font-body); font-size: 1rem; font-style: normal; transition: transform .4s var(--ease), color .4s ease; }
.service-card:hover .service-card__number i { color: var(--lime); transform: rotate(45deg); }
.service-card h4 { margin: 18px 0 12px; font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.15; }
.service-card p { margin: 0; max-width: 600px; color: rgba(255, 255, 255, .7); font-size: .9rem; line-height: 1.8; }
.service-card .text-link { margin-top: 20px; color: var(--lime); }
.service-card .text-link .button-arrow { color: var(--lime); }

/* Acompañamiento (dentro del método) */
.services__after { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255, 255, 255, .14); }
.services__after-head { max-width: 760px; margin-bottom: 32px; }
.services__after-head h3 { margin: 0 0 14px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.03em; line-height: 1.15; }
.services__after-head p { margin: 0; color: rgba(255, 255, 255, .66); font-size: .98rem; line-height: 1.8; }
.services__after .stage { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .14); }
.services__after .stage:nth-child(2) { background: rgba(44, 98, 232, .28); border-color: rgba(44, 98, 232, .5); }
.services__after .stage:nth-child(3) { background: rgba(255, 255, 255, .04); }
.services__after .stage h4 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; letter-spacing: -.03em; }

/* ---------------------------------------------------------------------
   Especialidades
   --------------------------------------------------------------------- */
.team { padding: clamp(64px, 7vw, 112px) 0; background: var(--paper-2); }
.team__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 8vw, 110px); align-items: start; }
.team__intro { position: sticky; top: 120px; }
.team__intro .section-copy { margin: 24px 0 0; }
.team__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.team__list li { display: flex; flex-direction: column; gap: 10px; padding: 30px 26px; background: var(--paper); transition: background .3s ease; }
.team__list li:hover { background: var(--white); }
.team__list strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: -.02em; color: var(--navy); }
.team__list strong::before { content: ''; display: block; width: 28px; height: 2px; margin-bottom: 14px; background: var(--lime); }
.team__list span { color: var(--muted); font-size: .86rem; line-height: 1.7; }

/* ---------------------------------------------------------------------
   Filtro de oportunidades
   --------------------------------------------------------------------- */
.credit { padding: clamp(64px, 7vw, 112px) 0; background: var(--paper); border-top: 1px solid var(--line); }
.credit__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr); gap: clamp(50px, 10vw, 140px); align-items: center; }
.credit__main .section-title { margin-bottom: 28px; }
.credit__main .section-copy { max-width: 650px; margin: 0 0 28px; }
.credit__steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.credit__steps li { counter-increment: step; display: flex; gap: 20px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: .95rem; font-weight: 600; color: var(--navy); line-height: 1.6; }
.credit__steps li::before { content: counter(step, decimal-leading-zero); flex: 0 0 auto; font-family: var(--font-display); font-size: 1.2rem; color: var(--blue); }
.credit__visual { position: relative; width: 100%; padding-bottom: 25%; padding-right: 5%; }
.credit__image-frame { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #d6dce0; }
.credit__image-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(44, 98, 232, .55), rgba(7, 16, 39, .9)); mix-blend-mode: multiply; pointer-events: none; }
.credit__image { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.credit__image-border { position: absolute; inset: 8% 0 30% 8%; border: 1px solid rgba(44, 98, 232, .38); pointer-events: none; z-index: 0; }
.credit__image-note { position: absolute; right: 0; bottom: 0; z-index: 2; width: min(100%, 420px); padding: 30px; color: var(--white); background: var(--navy); box-shadow: 0 20px 40px rgba(7, 16, 39, .15); }
.credit__note-label { display: block; font-family: var(--font-ui); font-size: .65rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); margin-bottom: 12px; }
.credit__image-note h4 { font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.7rem); font-weight: 400; margin: 0 0 10px; line-height: 1.2; }
.credit__image-note p { margin: 0; color: rgba(255, 255, 255, .7); font-size: .8rem; line-height: 1.75; }

/* ---------------------------------------------------------------------
   Ecosistema (oscuro)
   --------------------------------------------------------------------- */
.eco { position: relative; isolation: isolate; padding: clamp(70px, 7.5vw, 120px) 0; color: var(--white); background: var(--navy-2); overflow: hidden; }
.eco::before { content: ''; position: absolute; z-index: -1; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(135deg, black, transparent 72%); -webkit-mask-image: linear-gradient(135deg, black, transparent 72%); }
.eco__head { max-width: 760px; margin-bottom: 56px; }
.eco .eyebrow { color: var(--lime); }
.eco .section-copy { color: rgba(255, 255, 255, .66); margin: 22px 0 0; }
.eco__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.eco-card { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 0; padding: 32px 30px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .035); transition: transform .45s var(--ease), background .3s ease, border-color .3s ease; }
.eco-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .07); border-color: rgba(197, 243, 106, .5); }
.eco-card--accent { background: rgba(44, 98, 232, .18); border-color: rgba(44, 98, 232, .5); }
.eco-card__tag { font-family: var(--font-ui); font-size: .6rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--lime); }
.eco-card h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; letter-spacing: -.03em; }
.eco-card p { margin: 0 0 auto; color: rgba(255, 255, 255, .68); font-size: .86rem; line-height: 1.8; }
.eco-card .text-link { color: var(--white); margin-top: 20px; }
.eco-card .text-link .button-arrow { color: var(--lime); }

/* ---------------------------------------------------------------------
   Áreas de análisis
   --------------------------------------------------------------------- */
.areas { padding: clamp(64px, 7vw, 112px) 0; background: var(--paper-2); }
.areas__head { max-width: 760px; margin-bottom: 50px; }
.areas__head .section-copy { margin: 18px 0 0; }
.areas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.area-card { position: relative; padding: 34px 30px 36px; background: var(--paper-2); transition: background .3s ease; }
.area-card:hover { background: var(--white); }
.area-card::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.area-card:hover::after { transform: scaleX(1); }
.area-card__num { display: inline-block; margin-bottom: 20px; padding: 6px 11px; border: 1px solid rgba(44, 98, 232, .35); border-radius: 999px; font-family: var(--font-ui); font-size: .6rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.area-card h3 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; letter-spacing: -.02em; color: var(--navy); }
.area-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.75; }
.areas__note, .stages__note { margin: 26px 0 0; color: var(--muted); font-size: .76rem; }

/* ---------------------------------------------------------------------
   Acompañamiento
   --------------------------------------------------------------------- */
.stages__head { max-width: 760px; margin-bottom: 48px; }
.stages__head .section-copy { margin: 22px 0 0; }
.stages__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stage { position: relative; padding: 34px 30px; color: var(--white); background: var(--navy); overflow: hidden; }
.stage:nth-child(2) { background: var(--blue); }
.stage:nth-child(3) { background: var(--navy-2); }
.stage::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; }
.stage__tag { display: inline-block; margin-bottom: 26px; font-family: var(--font-ui); font-size: .6rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--lime); }
.stage h3 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; letter-spacing: -.03em; }
.stage p { margin: 0; color: rgba(255, 255, 255, .74); font-size: .88rem; line-height: 1.8; }

/* ---------------------------------------------------------------------
   Perfiles
   --------------------------------------------------------------------- */
.profiles { padding: clamp(64px, 7vw, 112px) 0; background: var(--paper-2); }
.profiles__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 8vw, 110px); align-items: center; }
.profiles__visual { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #d6dce0; }
.profiles__visual::before { content: ''; position: absolute; inset: 14px; z-index: 2; border: 1px solid rgba(255, 255, 255, .5); pointer-events: none; }
.profiles__visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.profiles__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(44, 98, 232, .5), rgba(7, 16, 39, .88)); mix-blend-mode: multiply; pointer-events: none; }
.profiles__list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin-top: 36px; }
.profile strong { display: block; margin-bottom: 8px; font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: var(--navy); }
.profile strong::before { content: ''; display: block; width: 28px; height: 2px; margin-bottom: 12px; background: var(--blue); }
.profile p { margin: 0; color: var(--muted); font-size: .87rem; line-height: 1.75; }
.profiles__note { margin: 34px 0 0; padding: 18px 22px; border-left: 3px solid var(--lime); background: rgba(197, 243, 106, .2); color: var(--navy); font-size: .86rem; font-weight: 600; line-height: 1.7; }

/* ---------------------------------------------------------------------
   Fundador
   --------------------------------------------------------------------- */
.founder { position: relative; isolation: isolate; padding: clamp(70px, 7.5vw, 120px) 0; color: var(--white); background: var(--navy); overflow: hidden; }
.founder::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); border: 1px solid rgba(197, 243, 106, .12); border-radius: 50%; box-shadow: 0 0 0 120px rgba(255, 255, 255, .015), 0 0 0 240px rgba(255, 255, 255, .015); }
.founder__inner { max-width: 860px; margin-inline: auto; text-align: center; }
.founder .eyebrow { color: var(--lime); justify-content: center; }
.founder__quote { margin: 0; }
.founder__quote p { margin: 0 0 22px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -.02em; line-height: 1.35; }
.founder__quote p:first-child::before { content: '“'; color: var(--lime); }
.founder__quote p:nth-child(2)::after { content: '”'; color: var(--lime); }
.founder__quote footer { display: flex; flex-direction: column; gap: 6px; margin-top: 34px; }
.founder__quote strong { font-family: var(--font-ui); font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.founder__quote span { font-size: .78rem; color: rgba(255, 255, 255, .6); }

/* ---------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------- */
.faq { padding: clamp(70px, 7.5vw, 120px) 0; background: var(--paper-3); }
.team { border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(230px, .65fr) minmax(0, 1.35fr); gap: clamp(40px, 8vw, 110px); align-items: start; }
.faq__intro { position: sticky; top: 125px; }
.faq__intro .section-title { font-size: clamp(2.5rem, 4.2vw, 4rem); }
.faq__intro p { max-width: 300px; color: #566176; font-size: .91rem; line-height: 1.8; }
.faq .eyebrow, .compare .eyebrow { color: #1f4fcc; }
.faq-list { border-top: 1px solid rgba(7, 16, 39, .22); }
.faq-item { border-bottom: 1px solid rgba(7, 16, 39, .22); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 25px 0; color: var(--navy); cursor: pointer; font-size: clamp(.96rem, 1.2vw, 1.1rem); font-weight: 700; line-height: 1.5; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon { flex: 0 0 30px; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(7, 16, 39, .26); border-radius: 50%; font-size: 1.1rem; font-weight: 400; transition: color .3s ease, background .3s ease, transform .3s var(--ease); }
.faq-item[open] .faq-item__icon { color: var(--navy); background: var(--lime); border-color: var(--lime); transform: rotate(45deg); }
.faq-item p { max-width: 740px; margin: -3px 45px 27px 0; color: #566176; font-size: .91rem; line-height: 1.9; }
.faq-item[open] p { animation: faqReveal .42s var(--ease) both; }
@keyframes faqReveal { from { opacity: 0; transform: translateY(-7px) } to { opacity: 1; transform: translateY(0) } }

/* ---------------------------------------------------------------------
   Contacto
   --------------------------------------------------------------------- */
.contact { position: relative; isolation: isolate; padding: clamp(70px, 7.5vw, 120px) 0; color: var(--white); background: var(--navy); overflow: hidden; }
.contact::before { content: ''; position: absolute; z-index: -1; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(135deg, black, transparent 72%); -webkit-mask-image: linear-gradient(135deg, black, transparent 72%); }
.contact::after { content: ''; position: absolute; z-index: -1; top: -300px; right: -200px; width: 620px; height: 620px; border: 1px solid rgba(197, 243, 106, .25); border-radius: 50%; box-shadow: 0 0 0 60px rgba(197, 243, 106, .025), 0 0 0 120px rgba(197, 243, 106, .025), 0 0 0 180px rgba(197, 243, 106, .025); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(45px, 8vw, 105px); align-items: start; }
.contact__intro { padding-top: 22px; }
.contact__intro .eyebrow { color: var(--lime); }
.contact__intro .section-title { max-width: 500px; }
.contact__intro p { max-width: 430px; color: rgba(255, 255, 255, .66); font-size: 1rem; line-height: 1.9; }
.contact__legal { font-size: .8rem !important; color: rgba(255, 255, 255, .55) !important; }
.contact__meta { display: flex; align-items: center; gap: 14px; margin-top: 40px; color: rgba(255, 255, 255, .8); font-size: .78rem; line-height: 1.7; }
.contact__meta i { display: grid; place-items: center; width: 42px; height: 42px; color: var(--lime); border: 1px solid rgba(197, 243, 106, .5); border-radius: 50%; font-style: normal; }

.wa-form { padding: clamp(26px, 4vw, 46px); border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .045); box-shadow: 0 30px 90px rgba(0, 0, 0, .16); backdrop-filter: blur(16px); }
.form-heading { margin: 0 0 26px; color: var(--lime); font-family: var(--font-ui); font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.form-field { margin-bottom: 20px; border: 0; padding: 0; min-width: 0; }
.form-field label, .form-field legend { display: block; margin: 0 0 10px; color: rgba(255, 255, 255, .85); font-size: .8rem; font-weight: 600; padding: 0; }
.form-field legend small { font-weight: 400; color: rgba(255, 255, 255, .5); }
.form-field input[type="text"], .form-field input[type="tel"] { display: block; width: 100%; min-height: 54px; padding: 15px 16px; color: var(--white); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 0; outline: none; transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.form-field input::placeholder { color: rgba(255, 255, 255, .36); }
.form-field input:focus { border-color: var(--lime); background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 3px rgba(197, 243, 106, .08); }
.form-field input[aria-invalid="true"] { border-color: #ff8a8a; }
.form-error { display: block; min-height: 0; margin-top: 6px; color: #ffb3b3; font-size: .74rem; }
.form-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.form-chips legend { width: 100%; margin-bottom: 12px; }
.form-chips label { position: relative; margin: 0; }
.form-chips input { position: absolute; opacity: 0; inset: 0; }
.form-chips span { display: inline-block; padding: 9px 13px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; color: rgba(255, 255, 255, .8); font-family: var(--font-ui); font-size: .68rem; font-weight: 700; letter-spacing: .06em; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.form-chips input:checked + span { background: var(--lime); color: var(--navy); border-color: var(--lime); }
.form-chips input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 3px; }
.form-consent input:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.form-consent label { display: flex; gap: 12px; align-items: flex-start; font-size: .76rem; font-weight: 400; line-height: 1.6; color: rgba(255, 255, 255, .7); cursor: pointer; }
.form-consent input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--lime); }
.form-submit { width: 100%; min-height: 58px; margin-top: 5px; border-radius: 0; }
.form-footnote { margin: 18px 0 0; color: rgba(255, 255, 255, .5); font-size: .72rem; line-height: 1.7; text-align: center; }
.wa-form--ok h3 { margin: 0 0 14px; font-family: var(--font-display); font-weight: 400; font-size: 2rem; }
.wa-form--ok p { color: rgba(255, 255, 255, .7); font-size: .9rem; line-height: 1.8; }
.wa-form--ok .button-primary { margin: 10px 0 20px; }
.wa-form--ok .text-link { color: var(--white); display: flex; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer { padding: 70px 0 30px; color: rgba(255, 255, 255, .66); background: var(--navy-3); border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand { color: var(--white); }
.footer-brand .brand-mark { color: var(--lime); }
.footer-address { margin: 22px 0 0; color: rgba(255, 255, 255, .5); font-size: .78rem; line-height: 1.9; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h3 { margin: 0 0 8px; color: var(--lime); }
.footer-col a, .footer-col .privacy-button { color: rgba(255, 255, 255, .78); font-size: .86rem; text-align: left; padding: 3px 0; min-height: 24px; border: 0; background: none; transition: color .25s ease; }
.footer-col a:hover, .footer-col .privacy-button:hover { color: var(--lime); }
.footer-legal { max-width: 980px; margin: 36px 0 0; color: rgba(255, 255, 255, .62); font-size: .72rem; line-height: 1.8; }
.footer-top-link { display: inline-flex; align-items: center; min-height: 24px; color: rgba(255, 255, 255, .6); padding: 4px 0; }
.footer-top-link:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 22px; margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .6); font-size: .68rem; }

.wa-float { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: var(--navy); background: var(--lime); box-shadow: 0 14px 34px rgba(197, 243, 106, .4); opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); transition: opacity .35s ease, visibility .35s ease, transform .45s var(--ease), background .3s ease, color .3s ease; }
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; }
.no-js .wa-float, body:not(.has-hero) .wa-float { opacity: 1; visibility: visible; transform: none; }
.wa-float.is-visible:hover { transform: translateY(-3px) scale(1.04); background: var(--blue); color: var(--white); }

/* ---------------------------------------------------------------------
   Modales
   --------------------------------------------------------------------- */
dialog.modal { width: min(760px, calc(100% - 28px)); max-height: 86vh; padding: 0; color: var(--ink); border: 0; background: var(--paper-2); box-shadow: 0 30px 100px rgba(0, 0, 0, .35); }
dialog.modal--compact { width: min(620px, calc(100% - 28px)); }
dialog.modal::backdrop { background: rgba(4, 10, 25, .82); backdrop-filter: blur(8px); }
dialog.modal[open] { animation: modalIn .35s var(--ease) both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: translateY(0) } }
.modal__inner { position: relative; max-height: 86vh; padding: clamp(26px, 5vw, 52px); overflow-y: auto; }
.modal__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; color: var(--navy); border: 1px solid var(--line); background: var(--paper-2); font-size: 1.5rem; line-height: 1; border-radius: 50%; }
.modal__close:hover { background: var(--navy); color: var(--lime); }
.modal__inner h3 { margin: 0 0 20px; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.15; }
.modal__copy { color: #586277; font-size: .88rem; line-height: 1.9; }
.modal__copy h4 { margin: 24px 0 8px; color: var(--navy); font-size: .9rem; }
.modal__copy p { margin: 0 0 14px; }
.modal__date { margin-top: 24px; color: #9299a7; font-size: .7rem; }
.modal__cta { margin-top: 22px; }

/* ---------------------------------------------------------------------
   Azulejos de icono (línea fina; azul sobre claro, lima sobre oscuro)
   --------------------------------------------------------------------- */
.icon-tile { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; color: var(--blue); background: rgba(44, 98, 232, .09); border: 1px solid rgba(44, 98, 232, .18); transition: background .3s ease, color .3s ease, transform .4s var(--ease); }
.icon-tile svg { width: 25px; height: 25px; }
.services .icon-tile, .eco .icon-tile, .stage .icon-tile, .contact .icon-tile { color: var(--lime); background: rgba(197, 243, 106, .1); border-color: rgba(197, 243, 106, .28); }
.pillar:hover .icon-tile, .area-card:hover .icon-tile { background: var(--lime); color: var(--navy); border-color: var(--lime); transform: translateY(-2px); }
.eco-card:hover .icon-tile { background: var(--lime); color: var(--navy); border-color: var(--lime); }
.pillar__head, .eco-card__head, .area-card__head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 24px; }
.pillar__head .pillar__number { margin: 0; }
.area-card__head .area-card__num { margin: 0; }
.eco-card__head { justify-content: flex-start; margin-bottom: 4px; }
.trust__list li .icon-tile { margin-bottom: 6px; }
.trust__list strong::before { content: none; }

/* ---------------------------------------------------------------------
   Notas al pie (texto legal fuera del flujo principal)
   --------------------------------------------------------------------- */
.footnote { max-width: 780px; margin: 28px 0 0; padding-left: 14px; border-left: 2px solid rgba(44, 98, 232, .35); color: var(--muted); font-size: .74rem; line-height: 1.7; }
.footnote--light { color: rgba(255, 255, 255, .5); border-left-color: rgba(197, 243, 106, .4); }

/* ---------------------------------------------------------------------
   Transparencia
   --------------------------------------------------------------------- */
.trust { padding: clamp(64px, 7vw, 112px) 0; background: var(--paper-2); border-top: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.trust__intro { position: sticky; top: 120px; }
.trust__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.trust__list li { display: flex; flex-direction: column; gap: 10px; padding: 30px 28px; background: var(--paper); }
.trust__list strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: -.02em; color: var(--navy); }
.trust__list span { color: var(--muted); font-size: .88rem; line-height: 1.75; }

/* ---------------------------------------------------------------------
   Micro-interacciones: resplandor de cursor y botones magnéticos
   --------------------------------------------------------------------- */
.has-glow { --mx: 50%; --my: 50%; }
.has-glow::after { content: ''; position: absolute; z-index: 0; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(520px circle at var(--mx) var(--my), rgba(44, 98, 232, .22), rgba(197, 243, 106, .06) 40%, transparent 70%); transition: opacity .6s ease; }
.has-glow:hover::after { opacity: 1; }
.has-glow > .container { position: relative; z-index: 1; }
.contact.has-glow::after { inset: 0; }
.is-magnetic { transition: transform .35s var(--ease), color .3s ease, background .3s ease, border-color .3s ease; will-change: transform; }

/* ---------------------------------------------------------------------
   Carruseles (solo móvil): indicadores y foco
   --------------------------------------------------------------------- */
.carousel:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; }
.carousel__dots { display: none; justify-content: center; gap: 6px; margin: 4px 0 0; }
.carousel__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(7, 16, 39, .22); transition: background .3s ease, width .3s ease; }
.carousel__dots i.is-active { width: 18px; border-radius: 3px; background: var(--blue); }
.services .carousel__dots i, .eco .carousel__dots i { background: rgba(255, 255, 255, .25); }
.services .carousel__dots i.is-active, .eco .carousel__dots i.is-active { background: var(--lime); }

/* ---------------------------------------------------------------------
   Reveal
   --------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: transform, opacity; }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .scroll-cue i, .layer-ring::after, .logo3d__fallback svg { animation: none; }
    html { scroll-behavior: auto; }
}

/* Fondo decorativo de las páginas del blog: anillos azul/lima fijos detrás del contenido */
body.cf-blog-page { background: var(--paper); }
body.cf-blog-page::before {
    content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(circle at calc(100% + 140px) -120px, transparent 360px, rgba(44, 98, 232, .18) 361px, transparent 362px, rgba(44, 98, 232, .04) 362px, rgba(44, 98, 232, .04) 460px, transparent 460px, rgba(44, 98, 232, .03) 461px, rgba(44, 98, 232, .03) 560px, transparent 560px),
        radial-gradient(circle at -160px calc(100% + 160px), transparent 320px, rgba(197, 243, 106, .45) 321px, transparent 322px, rgba(197, 243, 106, .08) 322px, rgba(197, 243, 106, .08) 420px, transparent 420px, rgba(197, 243, 106, .05) 421px, rgba(197, 243, 106, .05) 520px, transparent 520px),
        radial-gradient(1100px 700px at 15% 40%, rgba(197, 243, 106, .12), transparent 70%),
        radial-gradient(900px 600px at 90% 70%, rgba(44, 98, 232, .07), transparent 70%);
}
body.cf-blog-page .cf-blog { background: transparent; }
body.cf-blog-page .cf-blog__card { background: rgba(255, 255, 255, .72); backdrop-filter: blur(6px); }
body.cf-blog-page .cf-post__paper { background: var(--white); }

/* ---------------------------------------------------------------------
   Blog — listado
   --------------------------------------------------------------------- */
.cf-blog { padding: 130px 0 100px; background: var(--paper); }
.cf-blog__head { max-width: 760px; margin-bottom: 44px; }
.cf-blog__head .section-copy { margin: 16px 0 0; }
.cf-blog__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cf-blog__card { display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s ease; }
.cf-blog__card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(7, 16, 39, .1); }
.cf-blog__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.cf-blog__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.9) contrast(1.05); transition: transform .6s var(--ease), filter .4s ease; }
.cf-blog__card:hover .cf-blog__thumb img { transform: scale(1.04); filter: grayscale(0); }
.cf-blog__thumb-fallback { display: grid; place-items: center; width: 100%; height: 100%; color: var(--lime); background: radial-gradient(circle at 30% 20%, #1c3c8f, var(--navy) 70%); }
.cf-blog__thumb-fallback svg { width: 22%; }
.cf-blog__card-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 26px; }
.cf-blog__card h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.25; margin: 0; }
.cf-blog__card h2 a:hover { color: var(--blue); }
.cf-blog__card time { font-family: var(--font-ui); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.cf-blog__card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.cf-blog__card .text-link { margin-top: auto; padding-top: 10px; }
.cf-blog__card--featured { grid-column: 1 / -1; flex-direction: row; }
.cf-blog__card--featured .cf-blog__thumb { flex: 0 0 55%; aspect-ratio: auto; min-height: 380px; }
.cf-blog__card--featured .cf-blog__card-body { justify-content: center; padding: 40px clamp(28px, 4vw, 56px); }
.cf-blog__card--featured h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.cf-blog__card--featured p { font-size: .98rem; }
.cf-blog__pagination { display: flex; gap: 10px; justify-content: center; margin-top: 40px; font-family: var(--font-ui); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cf-blog__pagination a, .cf-blog__pagination span { padding: 10px 14px; border: 1px solid var(--line); }
.cf-blog__pagination .current { background: var(--navy); color: var(--lime); }

/* Páginas sin hero (landings, páginas sueltas, blog): header en modo claro desde el inicio */
body.cf-no-hero .site-header { color: var(--navy); background: rgba(248, 249, 246, .96); border-color: rgba(7, 16, 39, .08); box-shadow: 0 12px 40px rgba(7, 16, 39, .08); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
body.cf-no-hero .site-header .brand-mark { color: var(--blue); }
body.cf-no-hero .site-header .brand-wordmark strong i { color: var(--blue); }
body.cf-no-hero .site-header .desktop-nav > a:not(.nav-cta)::after { background: var(--blue); }
body.cf-no-hero .cf-page { padding-top: 88px; }
/* Artículos con diseño propio oscuro */
body.cf-dark-article .cf-post__hero { padding-bottom: 40px; }
.entry-content--dark { background: #071027; color: #e6ebf5; }
.cf-dark-canvas { width: min(1100px, 100%); margin-inline: auto; padding: 24px clamp(12px, 3vw, 40px) 60px; }
.cf-dark-canvas * { max-width: 100%; box-sizing: border-box; }
.cf-dark-canvas img { height: auto; }
body.cf-dark-article .cf-blog__inner { padding-top: 40px; }

/* ---------------------------------------------------------------------
   Blog — entrada individual
   --------------------------------------------------------------------- */
.cf-blog--single { padding-top: 0; padding-bottom: 0; }
.cf-post__hero { position: relative; isolation: isolate; padding: 150px 0 60px; color: var(--white); background: var(--navy); overflow: hidden; }
.cf-post__hero::before { content: ''; position: absolute; z-index: -1; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(135deg, black, transparent 70%); -webkit-mask-image: linear-gradient(135deg, black, transparent 70%); }
.cf-post__hero::after { content: ''; position: absolute; z-index: -1; top: -300px; right: -200px; width: 620px; height: 620px; border: 1px solid rgba(197,243,106,.22); border-radius: 50%; box-shadow: 0 0 0 70px rgba(197,243,106,.025), 0 0 0 140px rgba(197,243,106,.02); }
.cf-post__hero-inner { width: min(860px, calc(100% - 48px)); margin-inline: auto; }
.cf-post__hero .eyebrow { color: var(--lime); }
.cf-post__hero .entry-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.1rem, 4.4vw, 3.5rem); letter-spacing: -.04em; line-height: 1.08; margin: 0 0 22px; text-wrap: balance; }
.cf-post__hero .cf-blog__meta { color: rgba(255,255,255,.62); margin: 0; }
.cf-blog__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-family: var(--font-ui); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cf-post__cover { width: min(1100px, calc(100% - 48px)); margin: -1px auto 0; aspect-ratio: 21 / 9; overflow: hidden; background: var(--navy-2); transform: translateY(0); }
.cf-post__cover img { width: 100%; height: 100%; object-fit: cover; }
.cf-post__paper { width: min(920px, calc(100% - 48px)); margin: clamp(-60px, -5vw, -36px) auto 0; position: relative; z-index: 2; padding: clamp(26px, 4vw, 56px); background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(7, 16, 39, .1); }
article:not(:has(.cf-post__cover)) .cf-post__paper { margin-top: 48px; }
.cf-blog .entry-content { color: #3b4558; font-size: 1.05rem; line-height: 1.85; overflow-x: auto; }
.cf-blog .entry-content > *:first-child { margin-top: 0; }
.cf-blog .entry-content h2, .cf-blog .entry-content h3 { font-family: var(--font-display); font-weight: 400; color: var(--navy); letter-spacing: -.03em; margin: 2em 0 .6em; }
.cf-blog .entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.cf-blog .entry-content img { max-width: 100%; height: auto; }
.cf-blog .entry-content blockquote { margin: 2em 0; padding: 20px 26px; border-left: 3px solid var(--lime); background: rgba(197,243,106,.18); font-style: italic; }
/* Plantilla HTML del boletín (Sender.net) */
.cf-newsletter { width: 100%; overflow-x: hidden; }
.cf-newsletter > *, .cf-newsletter > table, .cf-newsletter > div, .cf-newsletter > center { width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin-inline: auto !important; }
.cf-newsletter { background: transparent; }
.cf-newsletter table { width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
.cf-newsletter img { max-width: 100% !important; height: auto !important; }
.cf-newsletter * { max-width: 100% !important; box-sizing: border-box; }
.cf-newsletter [style*="100vh"], .cf-newsletter [style*="100svh"] { min-height: 0 !important; height: auto !important; }
.cf-newsletter section, .cf-newsletter header, .cf-newsletter article, .cf-newsletter main { width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
.cf-newsletter > div:first-child > *:first-child { margin-top: 0 !important; }
.cf-blog .entry-content table { max-width: 100% !important; margin-inline: auto; }
.cf-blog .entry-content > table, .cf-blog .entry-content > center, .cf-blog .entry-content > div { width: 100% !important; }
.cf-blog--single .cf-blog__inner { width: min(860px, calc(100% - 48px)); margin-inline: auto; padding: 60px 0 100px; }
.cf-blog__cta { padding: 36px; color: var(--white); background: var(--navy); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.cf-blog__cta h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; }
.cf-post__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 40px; background: var(--line); border: 1px solid var(--line); }
.cf-post__nav-item { background: var(--paper-2); }
.cf-post__nav-item a { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; min-height: 100%; transition: background .3s ease; }
.cf-post__nav-item a:hover { background: var(--white); }
.cf-post__nav-item small { font-family: var(--font-ui); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.cf-post__nav-item strong { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; letter-spacing: -.02em; color: var(--navy); line-height: 1.3; }
.cf-post__nav-item--next { text-align: right; }
.cf-post__nav-item--next a { align-items: flex-end; }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
    .cf-blog__list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1180px) {
    .services__layout { grid-template-columns: 1fr; gap: 36px; }
    .services__head { position: static; }
    .trust__grid, .team__grid { grid-template-columns: 1fr; gap: 36px; }
    .trust__intro, .team__intro { position: static; }
}

@media (max-width: 1020px) {
    .container { width: min(var(--content), calc(100% - 48px)); }
    .nav-inner { min-height: 78px; }
    .desktop-nav { gap: 16px; }
    .desktop-nav > a:not(.nav-cta) { font-size: .62rem; letter-spacing: .06em; }
    .nav-cta { min-height: 44px; padding-inline: 14px; font-size: .62rem; }
    .hero__layout { grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 2%; }
    .hero__visual { min-height: 380px; }
    .orbit-label { font-size: .5rem; }
    .layers__grid { gap: 40px; }
    .about__visual { min-height: 520px; }
    .eco__grid, .areas__grid, .stages__grid { grid-template-columns: 1fr 1fr; }
    .contact__grid { gap: 42px; }
}

@media (max-width: 900px) {
    .desktop-nav {
        position: fixed; z-index: 101; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: stretch;
        gap: 0; padding: 100px 28px 28px; color: var(--white); background: var(--navy);
        background-image:
            radial-gradient(circle at calc(100% + 60px) -40px, transparent 150px, rgba(197, 243, 106, .28) 151px, transparent 152px, rgba(255, 255, 255, .025) 152px, rgba(255, 255, 255, .025) 215px, transparent 215px, rgba(255, 255, 255, .02) 216px, rgba(255, 255, 255, .02) 280px, transparent 280px, rgba(255, 255, 255, .015) 281px, rgba(255, 255, 255, .015) 345px, transparent 345px),
            radial-gradient(560px 460px at 0% 100%, rgba(44, 98, 232, .2), transparent 70%);
        opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
    }
    .desktop-nav.is-open { opacity: 1; visibility: visible; }
    .desktop-nav > a:not(.nav-cta) {
        position: relative; display: flex; align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .12);
        color: var(--white); font-family: var(--font-display); font-size: clamp(1.6rem, 7vw, 2.1rem); font-weight: 400; letter-spacing: -.03em; text-transform: none; opacity: 1;
        counter-increment: navi; transform: translateY(18px); opacity: 0;
    }
    .desktop-nav { counter-reset: navi; }
    .desktop-nav > a:not(.nav-cta)::before { content: counter(navi, decimal-leading-zero); flex: 0 0 28px; font-family: var(--font-ui); font-size: .62rem; font-weight: 700; letter-spacing: .14em; color: var(--lime); }
    .desktop-nav > a:not(.nav-cta)::after { display: none; }
    .desktop-nav > a:not(.nav-cta).is-active { color: var(--lime); }
    .desktop-nav.is-open > a:not(.nav-cta) { animation: navIn .55s var(--ease) both; }
    .desktop-nav.is-open > a:nth-child(1) { animation-delay: .05s; } .desktop-nav.is-open > a:nth-child(2) { animation-delay: .1s; }
    .desktop-nav.is-open > a:nth-child(3) { animation-delay: .15s; } .desktop-nav.is-open > a:nth-child(4) { animation-delay: .2s; }
    .desktop-nav.is-open > a:nth-child(5) { animation-delay: .25s; } .desktop-nav.is-open > a:nth-child(6) { animation-delay: .3s; }
    .desktop-nav .nav-cta { margin-top: 26px; min-height: 56px; font-size: .74rem; transform: translateY(18px); opacity: 0; }
    .desktop-nav.is-open .nav-cta { animation: navIn .55s var(--ease) .38s both; }
    .nav__foot { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 24px; color: rgba(255, 255, 255, .55); font-size: .78rem; opacity: 0; }
    .desktop-nav.is-open .nav__foot { animation: navIn .55s var(--ease) .46s both; }
    .nav__foot a { color: rgba(255, 255, 255, .85); }
    .nav__foot a:first-child { color: var(--lime); font-weight: 700; }
    @keyframes navIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
    .menu-toggle { position: relative; z-index: 102; display: block; }
    .site-header.is-menu-open { color: var(--white); background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .site-header.is-menu-open .brand { position: relative; z-index: 102; }
    .site-header.is-menu-open .brand-mark { color: var(--lime); }
    .site-header.is-menu-open .brand-wordmark strong i { color: var(--lime); }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
}

@media (max-width: 780px) {
    html { scroll-padding-top: 76px; }
    .container { width: calc(100% - 40px); }
    /* Hero móvil: texto centrado y compacto, logo 3D debajo (como el ejemplo de Capital) */
    main > .hero { display: block; min-height: auto; padding: 118px 0 70px; }
    .hero__shade { background: linear-gradient(180deg, rgba(5, 12, 31, .9) 0%, rgba(5, 12, 31, .78) 55%, rgba(5, 12, 31, .92) 100%); }
    .hero__layout { grid-template-columns: 1fr; gap: 0; }
    .hero__copy { max-width: 560px; margin-inline: auto; text-align: center; }
    .hero__eyebrow { margin-bottom: 22px; padding: 8px 12px; font-size: .52rem; letter-spacing: .1em; white-space: normal; text-align: left; line-height: 1.5; }
    .hero__title { max-width: none; font-size: clamp(2.6rem, 11.5vw, 4rem); line-height: 1.04; }
    .hero__description { max-width: 520px; margin: 20px auto 26px; font-size: .95rem; line-height: 1.7; }
    .hero__actions { justify-content: center; }
    .hero__actions .button-primary { width: 100%; max-width: 360px; gap: 12px; }
    .hero__actions .text-link, .hero__note { display: none; }
    .hero__visual { position: relative; width: min(100%, 340px); min-height: 0; margin: 10px auto 0; opacity: 1; }
    .logo3d { width: 100%; }
    .orbit-label { display: none; }
    .hero__bottomline { position: static; justify-content: center; margin-top: 14px; font-size: .52rem; }
    .hero__coordinates { display: none; }

    .areas__head { margin-bottom: 36px; }
    .layers__head { margin-bottom: 8px; text-align: center; }
    .layers__head .eyebrow { justify-content: center; }
    .layers__head .section-copy { margin-top: 12px; }
    .layers__grid { grid-template-columns: 1fr; gap: 24px; }
    .layer-ring { width: min(100%, 340px); margin: 34px auto 18px; }
    .layer-body { text-align: center; }
    .layer-body__nav { justify-content: center; }
    .layer-btn { min-width: 0; padding: 9px 11px; font-size: .58rem; }
    .layer-body p { min-height: 0; }

    .pillar { min-height: 0; padding: 26px 24px; }
    .pillar__number { margin-bottom: 15px; }
    .pillar p { max-width: 100%; }

    .about__grid { grid-template-columns: 1fr; gap: 52px; }
    .about__content { max-width: none; }
    .about__visual { min-height: min(520px, 110vw); margin-inline: 5px 10px; }

    .compare__row { grid-template-columns: 1fr; }
    .compare__row > div:first-child { border-right: 0; border-bottom: 1px dashed var(--line); }
    .compare__row--head { display: none; }
    .compare__row > div:first-child::before { content: 'Enfoque aislado'; display: block; margin-bottom: 8px; font-family: var(--font-ui); font-size: .6rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
    .compare__row > div:last-child::before { content: 'En Confidelis'; display: block; margin-bottom: 8px; font-family: var(--font-ui); font-size: .6rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }

    .services__layout { grid-template-columns: 1fr; gap: 36px; }
    .services__head { position: static; }
    .service-grid { padding-left: 34px; }
    .service-card::after { left: -34px; }
    .trust__grid { grid-template-columns: 1fr; gap: 30px; }
    .trust__intro { position: static; }
    .trust__list { grid-template-columns: 1fr; }
    .footnote { font-size: .7rem; }
    .layer-ring__core-label { bottom: -30px; }
    /* Rejillas como carrusel con snap para acortar la página */
    .pillars__grid, .eco__grid, .areas__grid, .stages__grid, .team__list { display: flex; gap: 12px; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 14px; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; background: transparent; border: 0; }
    .pillars__grid::-webkit-scrollbar, .eco__grid::-webkit-scrollbar, .areas__grid::-webkit-scrollbar, .stages__grid::-webkit-scrollbar, .team__list::-webkit-scrollbar { display: none; }
    .pillar, .eco-card, .area-card, .stage, .team__list li { flex: 0 0 78%; scroll-snap-align: start; border: 1px solid var(--line); }
    .pillar { border-top: 3px solid var(--lime); border-bottom: 1px solid var(--line); }
    .eco-card, .stage { border-color: rgba(255, 255, 255, .16); }
    .pillars__grid { box-shadow: none; }
    .carousel__dots { display: flex; }
    .about__benefits .pillars__title { margin-bottom: 18px; }
    .services__after .stages__grid { margin-inline: -20px; padding-inline: 20px; }

    .team__grid { grid-template-columns: 1fr; gap: 40px; }
    .team__intro { position: static; }

    .credit__grid { grid-template-columns: 1fr; gap: 42px; }
    .credit__visual { padding-bottom: 30%; padding-right: 5%; margin-top: 20px; }
    .credit__image-border { inset: 5% 0 35% 5%; }
    .credit__image-note { width: 95%; padding: 24px; }

    .eco-card { min-height: 0; }

    .profiles__grid { grid-template-columns: 1fr; gap: 36px; }
    .profiles__visual { aspect-ratio: 16 / 10; }
    .profiles__list { grid-template-columns: 1fr; gap: 22px; }

    .faq__grid { grid-template-columns: 1fr; gap: 25px; }
    .faq__intro { position: static; }
    .faq__intro p { max-width: 540px; }

    .contact__grid { grid-template-columns: 1fr; gap: 38px; }
    .contact__intro { padding-top: 0; }
    .contact__intro p { max-width: 550px; }
    .contact__meta { margin-top: 28px; }

    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    .cf-blog { padding-top: 110px; }
    .cf-blog__list { grid-template-columns: 1fr; }
    .cf-blog__card--featured { flex-direction: column; }
    .cf-blog__card--featured .cf-blog__thumb { min-height: 0; aspect-ratio: 16 / 10; }
    .cf-post__hero { padding: 120px 0 40px; }
    .cf-post__cover { aspect-ratio: 16 / 10; width: 100%; }
    .cf-post__paper { width: calc(100% - 24px); margin-top: -20px; padding: 20px 16px; }
    .cf-post__nav { grid-template-columns: 1fr; }
    .cf-post__nav-item--next { text-align: left; }
    .cf-post__nav-item--next a { align-items: flex-start; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .wa-float { right: 16px; bottom: 16px; }
}

/* Tablet vertical: hero apilado con logo grande debajo */
@media (min-width: 781px) and (max-width: 1020px) {
    .hero__layout { grid-template-columns: 1fr; gap: 20px; }
    .hero__copy { max-width: 640px; }
    .hero__visual { width: min(100%, 520px); min-height: 0; margin-inline: auto; }
    .orbit-label--left { left: 0; }
    .orbit-label--top { right: 0; }
}

/* Teléfonos en horizontal: hero sin exigir pantalla completa */
@media (max-height: 520px) and (orientation: landscape) {
    main > .hero { min-height: auto; padding: 100px 0 60px; }
    .hero__visual { display: none; }
}

@media (max-width: 480px) {
    .container { width: calc(100% - 32px); }
    .pillars__grid, .eco__grid, .areas__grid, .stages__grid, .team__list, .services__after .stages__grid { margin-inline: -16px; padding-inline: 16px; }
    .brand-mark { width: 28px; height: 38px; }
    .brand-mark svg { width: 26px; height: 36px; }
    .brand-wordmark strong { font-size: .86rem; letter-spacing: .2em; }
    .brand-wordmark small { font-size: .48rem; }
    .nav-inner { min-height: 72px; }
    main > .hero { padding: 108px 0 70px; }
    .hero__eyebrow { font-size: .52rem; letter-spacing: .12em; }
    .hero__title { font-size: clamp(2.5rem, 12.5vw, 3.4rem); }
    .hero__description { font-size: .92rem; }
    .button-primary { min-height: 54px; padding-inline: 17px; font-size: .62rem; }
    .hero__visual { width: min(100%, 290px); }
    .scroll-cue i { width: 25px; }
    .section-title { font-size: clamp(2.2rem, 10.5vw, 3.2rem); }
    .layer-ring { width: min(100%, 290px); }
    .layer-ring__core { inset: 36%; }
    .about__visual { min-height: 400px; }
    .about__image-note { width: 87%; padding: 18px; }
    .about__image-note b { font-size: 2rem; }
    .credit__visual { padding-bottom: 25%; padding-right: 0; }
    .credit__image-border { display: none; }
    .credit__image-note { width: 100%; padding: 20px; }
    .credit__image-note h4 { font-size: 1.3rem; }
    .faq-item summary { padding: 21px 0; font-size: .95rem; }
    .faq-item p { margin-right: 0; }
    .form-chips span { font-size: .62rem; padding: 8px 10px; }
}

/* Teléfonos pequeños (≤ 360px) */
@media (max-width: 360px) {
    .container { width: calc(100% - 28px); }
    .pillars__grid, .eco__grid, .areas__grid, .stages__grid, .team__list, .services__after .stages__grid { margin-inline: -14px; padding-inline: 14px; }
    .hero__title { font-size: 2.3rem; }
    .hero__eyebrow { white-space: normal; text-align: left; }
    .section-title { font-size: 2rem; }
    .brand-wordmark small { display: none; }
    .nav-cta, .button-primary { font-size: .58rem; padding-inline: 14px; }
    .layer-ring { width: min(100%, 260px); }
    .layer-btn { font-size: .52rem; padding: 7px 9px; }
    .pillar, .eco-card, .area-card, .stage, .team__list li { flex-basis: 88%; }
    .form-chips span { font-size: .58rem; }
}
