/* =============================================================
   GD CONSULTORES — landing.css (se carga después de styles.css)
   1. Base landing · 2. Splash, cursor, grano · 3. Encabezado
   4. Hero · 5. Marquesina · 6. Manifiesto · 7. Ventajas
   8. Cifras · 9. Testimonios · 10. Contacto · 11. Pie
   12. Responsive · 13. Movimiento reducido
   ============================================================= */

/* 1. Base ----------------------------------------------------- */
.landing { background: var(--ink); color: var(--ivory); overflow-x: clip; }
.landing ::selection { background: var(--accent); color: var(--ink); }
.l-wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.l-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-light);
}
.l-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(76,143,214,.18); }
.l-title { font-family: var(--serif); font-weight: 500; line-height: .98; letter-spacing: -.02em; color: var(--ivory); }
.l-title em { font-style: italic; color: var(--accent-light); }

/* Marcos para imágenes (se reemplazan por fotos WebP) */
.ph {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(156,201,245,.22), transparent 55%),
    radial-gradient(90% 80% at 100% 100%, rgba(23,54,89,.9), transparent 60%),
    linear-gradient(160deg, #163F70 0%, #0E2846 55%, #0A1A2F 100%);
}
.ph::before { /* retícula fina */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(241,244,249,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(241,244,249,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.ph-inner { position: absolute; inset: -8% 0; background: inherit; will-change: transform; }
.ph-label {
  position: absolute; left: 14px; bottom: 14px; right: 14px; z-index: 2;
  font-size: .7rem; line-height: 1.45; color: rgba(241,244,249,.82); max-width: 30ch;
}
.ph-label b { display: block; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 2px; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Aparición con máscara (clip-path) */
.js .clip-in { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s cubic-bezier(.77,0,.18,1); transition-delay: var(--d, 0s); }
.js .clip-in.is-in { clip-path: inset(0 0 0 0); }

/* 2. Splash, cursor, grano ------------------------------------ */
.splash {
  position: fixed; inset: 0; z-index: 10000; background: var(--ink);
  display: grid; place-items: center;
  transition: clip-path 1.1s cubic-bezier(.77,0,.18,1), visibility 0s 1.1s;
  clip-path: inset(0 0 0 0);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { clip-path: inset(0 0 100% 0); visibility: hidden; }
@keyframes splashSafety { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.splash-mark { display: grid; justify-items: center; gap: 18px; }
.splash-mark svg { width: 92px; height: 92px; }
.splash-mark .ring { stroke-dasharray: 290; stroke-dashoffset: 290; animation: draw 1.2s .1s cubic-bezier(.65,0,.35,1) forwards; }
.splash-mark text { opacity: 0; animation: fadeUp .8s .5s var(--ease) forwards; }
.splash-bar { width: 140px; height: 1px; background: rgba(241,244,249,.12); overflow: hidden; }
.splash-bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; animation: load 1.3s .2s cubic-bezier(.65,0,.35,1) forwards; transform: scaleX(0); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes load { to { transform: scaleX(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; display: none; opacity: 0; transition: opacity .3s; mix-blend-mode: difference; }
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px; background: #F1F4F9; }
.cursor-ring { width: 36px; height: 36px; margin: -18px; border: 1px solid #F1F4F9; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .45s; }
.cursor.is-interactive .cursor-ring { width: 72px; height: 72px; margin: -36px; background: rgba(241,244,249,.12); }
.has-cursor .landing, .has-cursor .landing a, .has-cursor .landing button { cursor: none; }
.has-cursor .landing input, .has-cursor .landing select, .has-cursor .landing textarea { cursor: text; }

.grain {
  position: fixed; inset: -50%; z-index: 9000; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); } 40% { transform: translate(3%,-5%); } 60% { transform: translate(-6%,-2%); } 80% { transform: translate(5%,4%); } }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 101; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--accent-light)); }

/* 3. Encabezado ----------------------------------------------- */
.landing .site-header.is-scrolled { background: rgba(10,26,47,.92); border-bottom-color: rgba(76,143,214,.25); }
@supports (backdrop-filter: blur(12px)) {
  .landing .site-header.is-scrolled { background: rgba(10,26,47,.86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.landing .header-cta { border-radius: 40px; }

/* 4. Hero ------------------------------------------------------ */
.l-hero { position: relative; min-height: 100vh; min-height: 100svh; padding-top: calc(var(--header-h) + 40px); padding-bottom: 0; display: flex; flex-direction: column; overflow: hidden; }
.mesh { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.mesh span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; will-change: transform; }
.mesh .b1 { width: 60vmax; height: 60vmax; left: -18vmax; top: -22vmax; background: radial-gradient(circle, #1A4C86 0%, transparent 65%); animation: float1 18s ease-in-out infinite alternate; }
.mesh .b2 { width: 52vmax; height: 52vmax; right: -16vmax; top: 6vmax; background: radial-gradient(circle, #1B3F73 0%, transparent 65%); animation: float2 22s ease-in-out infinite alternate; }
.mesh .b3 { width: 34vmax; height: 34vmax; left: 34%; bottom: -16vmax; background: radial-gradient(circle, rgba(76,143,214,.55) 0%, transparent 65%); animation: float3 16s ease-in-out infinite alternate; }
@keyframes float1 { to { transform: translate(8vmax, 6vmax) scale(1.1); } }
@keyframes float2 { to { transform: translate(-6vmax, 8vmax) scale(.92); } }
@keyframes float3 { to { transform: translate(-10vmax, -6vmax) scale(1.15); } }
.l-hero::after { /* líneas de retícula */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(241,244,249,.045) 1px, transparent 1px);
  background-size: calc((100% - 2 * var(--gutter)) / 6) 100%; background-position: var(--gutter) 0;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 75%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 75%, transparent);
}
.l-hero .l-wrap { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; }
.hero-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dark); padding-bottom: 28px; border-bottom: 1px solid var(--line-dark); }
.hero-top .rot { color: var(--accent-light); display: inline-grid; height: 1.65em; overflow: hidden; clip-path: inset(0); vertical-align: top; }
.hero-top .rot span { grid-area: 1 / 1; transition: transform .8s var(--ease); }
.hero-top .rot span:not(:first-child) { transform: translateY(110%); }
.hero-top .rot.rot-ready span { transform: translateY(110%); }
.hero-top .rot.rot-ready span.is-on { transform: none; }
.hero-top .rot.rot-ready span.is-off { transform: translateY(-110%); }
.hero-comp .depth { position: absolute; inset: 0; will-change: transform; transition: transform 1.1s cubic-bezier(.19,1,.22,1); }

.hero-body { display: grid; gap: 40px; padding-top: clamp(36px, 6vh, 72px); padding-bottom: 40px; flex: 1; align-content: center; }
.hero-h1 { font-size: clamp(3rem, 10.5vw, 9.6rem); }
.hero-h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-h1 .line > span { display: inline-block; }
.js .hero-h1 .line > span { transform: translateY(105%); transition: transform 1.3s cubic-bezier(.19,1,.22,1); transition-delay: calc(var(--i, 0) * .09s + .1s); animation: lineSafety .01s 3.6s forwards; }
.is-loaded .hero-h1 .line > span { transform: none; }
@keyframes lineSafety { to { transform: none; } }
.pill {
  display: inline-block; width: 1.9em; height: .74em; border-radius: 1em; vertical-align: .06em; margin-inline: .08em;
  overflow: hidden; position: relative;
}
.pill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(241,244,249,.22) 50%, transparent 70%); transform: translateX(-100%); animation: shimmer 3.8s 2s ease-in-out infinite; }
@keyframes shimmer { 60%, 100% { transform: translateX(100%); } }
.hero-h1 .outline { color: transparent; -webkit-text-stroke: 1px rgba(241,244,249,.75); font-style: italic; }

.hero-side { display: grid; gap: 26px; max-width: 520px; }
.hero-side p { color: var(--muted-dark); font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.6; }
.hero-side p strong { color: var(--ivory); font-weight: 600; }
.js .fade-late { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, .8s); animation: fadeSafety .01s 3.6s forwards; }
.is-loaded .fade-late { opacity: 1; transform: none; }
@keyframes fadeSafety { to { opacity: 1; transform: none; } }
.l-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-pill { border-radius: 60px; min-height: 58px; padding-inline: 30px; }
.btn-pill.btn-accent { box-shadow: 0 14px 40px -12px rgba(76,143,214,.6); }
.btn-circle { --b: rgba(241,244,249,.35); width: 58px; padding: 0; border-radius: 50%; background: transparent; color: var(--ivory); }
.btn-circle:hover { --b: var(--accent-light); background: rgba(241,244,249,.06); }
.has-magnetic { display: inline-flex; position: relative; isolation: isolate; }
.magnetic-inner { display: inline-flex; align-items: center; justify-content: center; gap: 10px; will-change: transform; transition: transform .8s cubic-bezier(.19,1,.22,1); }

/* Composición del hero */
.hero-comp { position: relative; height: clamp(380px, 58vw, 640px); }
.hero-comp .layer { position: absolute; will-change: transform; transition: transform .9s cubic-bezier(.19,1,.22,1); }
.hc-main { inset: 0 8% 6% 14%; }
.hc-main .ph { position: absolute; inset: 0; border-radius: 240px 240px 4px 4px; box-shadow: 0 50px 100px -40px rgba(0,0,0,.6); }
.hc-small { width: 42%; aspect-ratio: 4 / 3; left: 0; bottom: 0; }
.hc-small .ph { position: absolute; inset: 0; border-radius: 4px; border: 1px solid rgba(156,201,245,.35); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.hc-badge { width: clamp(110px, 13vw, 150px); aspect-ratio: 1; right: 0; top: 4%; }
.hc-badge .spin { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.hc-badge .core { position: absolute; inset: 26%; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: var(--ink); font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }
.hc-card {
  right: 2%; bottom: 14%; padding: 18px 20px; min-width: 210px;
  background: rgba(241,244,249,.94); color: var(--ink); border-radius: 4px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
}
@supports (backdrop-filter: blur(10px)) { .hc-card { background: rgba(241,244,249,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } }
.hc-card .big { font-family: var(--serif); font-size: 3rem; line-height: 1; font-weight: 600; color: var(--forest); }
.hc-card .big sup { font-size: .5em; color: var(--accent-text); }
.hc-card p { font-size: .8rem; line-height: 1.4; color: var(--muted); margin-top: 6px; max-width: 22ch; }
.js .hero-comp .pop { opacity: 0; transform: translateY(30px) scale(.96); transition: opacity 1.1s var(--ease), transform 1.3s cubic-bezier(.19,1,.22,1); transition-delay: var(--d, 1s); animation: fadeSafety .01s 3.6s forwards; }
.is-loaded .hero-comp .pop { opacity: 1; transform: none; }

.hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px; border-top: 1px solid var(--line-dark); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.scroll-cue i { position: relative; width: 1px; height: 34px; background: rgba(241,244,249,.18); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--accent-light); animation: cue 2s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes cue { to { top: 100%; } }
.hero-foot .areas-mini { display: none; }

/* 5. Marquesina ----------------------------------------------- */
.l-marquee { position: relative; z-index: 1; background: var(--accent); color: var(--ink); overflow: hidden; padding-block: 18px; transform: rotate(-1.2deg) scale(1.02); margin-block: -10px; }
.marquee-track { display: flex; width: max-content; will-change: transform; animation: marquee 32s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 3rem); font-weight: 500; white-space: nowrap; }
.marquee-track span i { font-style: normal; font-size: .6em; }
.marquee-track em { font-style: italic; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 6. Manifiesto ----------------------------------------------- */
.l-manifesto { position: relative; padding-block: clamp(110px, 16vw, 220px); background: linear-gradient(180deg, var(--ink) 0%, #0B1F3A 100%); }
.manifesto-grid { display: grid; gap: 32px; }
.manifesto-text { font-family: var(--serif); font-size: clamp(1.9rem, 4.4vw, 4rem); line-height: 1.12; letter-spacing: -.01em; color: var(--ivory); max-width: 22ch; }
.manifesto-text .w { opacity: .16; transition: opacity .2s linear; }
.manifesto-text .w.hl { color: var(--accent-light); font-style: italic; }
.no-gsap .manifesto-text .w { opacity: 1; }
.manifesto-sign { display: flex; align-items: center; gap: 16px; color: var(--muted-dark); font-size: .85rem; }
.manifesto-sign .mono { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--accent); display: grid; place-items: center; font-family: var(--serif); font-size: 1.2rem; color: var(--accent-light); }

/* 7. Ventajas (scroll horizontal) ------------------------------ */
.l-adv { position: relative; background: var(--paper); color: var(--text); overflow: hidden; }
.adv-head { display: grid; gap: 22px; padding-top: clamp(90px, 12vw, 150px); padding-bottom: 48px; }
.adv-head .l-title { color: var(--ink); font-size: clamp(2.6rem, 6.6vw, 6rem); }
.adv-head .l-title em { color: var(--accent-text); }
.adv-head .l-kicker { color: var(--accent-text); }
.adv-head p { color: var(--muted); max-width: 46ch; font-size: 1.05rem; }
.adv-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: clamp(70px, 10vw, 130px); }
.adv-viewport::-webkit-scrollbar { display: none; }
.adv-track { display: flex; gap: 18px; width: max-content; padding-inline: var(--gutter); }
.adv-card {
  position: relative; scroll-snap-align: start; flex: none; width: min(84vw, 440px); min-height: 500px;
  background: var(--ivory); border: 1px solid var(--line); border-radius: 4px; padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; overflow: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease);
}
.adv-card .no { display: flex; justify-content: space-between; align-items: baseline; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); }
.adv-card .no b { font-family: var(--serif); font-size: 4.6rem; font-weight: 500; letter-spacing: -.02em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(10,26,47,.35); transition: -webkit-text-stroke-color .5s, color .5s; }
.adv-card h3 { font-family: var(--serif); font-size: clamp(1.9rem, 2.6vw, 2.4rem); font-weight: 500; line-height: 1.05; color: var(--ink); transition: color .5s; }
.adv-card p { color: var(--muted); font-size: .98rem; transition: color .5s; }
.adv-card .ph { margin-top: auto; aspect-ratio: 16 / 10; border-radius: 3px; }
.adv-card .icon { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--accent); display: grid; place-items: center; color: var(--accent-text); transition: background-color .5s, color .5s, transform .6s var(--ease); }
.adv-card .icon svg { width: 24px; height: 24px; }
.adv-card .foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--ink); transition: border-color .5s, color .5s; }
.adv-card:hover { background: var(--forest); transform: translateY(-6px); }
.adv-card:hover h3 { color: var(--ivory); }
.adv-card:hover p { color: var(--muted-dark); }
.adv-card:hover .no b { -webkit-text-stroke-color: var(--accent-light); }
.adv-card:hover .icon { background: var(--accent); color: var(--ink); transform: rotate(-12deg); }
.adv-card:hover .foot { color: var(--accent-light); border-color: var(--line-dark); }
.adv-card--intro { background: var(--ink); color: var(--ivory); justify-content: space-between; }
.adv-card--intro h3 { color: var(--ivory); font-size: clamp(2.2rem, 3.2vw, 3rem); }
.adv-card--intro p { color: var(--muted-dark); }
.adv-card--intro:hover { background: var(--ink); }
.adv-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(36px, 5vw, 60px); height: 1px; background: var(--line); display: none; }
.adv-progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.adv-hint { display: flex; align-items: center; gap: 10px; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.adv-hint i { display: inline-block; width: 36px; height: 1px; background: var(--accent); position: relative; }
.adv-hint i::after { content: ""; position: absolute; right: 0; top: -3px; border: 3.5px solid transparent; border-left: 6px solid var(--accent); border-right: 0; }

/* Modo fijado (escritorio con GSAP) */
.l-adv.is-pinned .adv-viewport { overflow: visible; scroll-snap-type: none; padding-bottom: 70px; }
.l-adv.is-pinned .adv-progress { display: block; }

/* 8. Cifras ---------------------------------------------------- */
.l-numbers { background: var(--paper); color: var(--ink); padding-bottom: clamp(90px, 12vw, 150px); }
.numbers-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.num-item { padding: 34px 6px 30px; border-bottom: 1px solid var(--line); }
.num-item:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 18px; }
.num-item:nth-child(even) { padding-left: 18px; }
.num-item .v { font-family: var(--serif); font-size: clamp(3.2rem, 7.5vw, 6.4rem); font-weight: 500; line-height: .9; letter-spacing: -.03em; color: var(--forest); display: flex; align-items: flex-start; gap: 4px; }
.num-item .v sup { font-size: .4em; color: var(--accent-text); margin-top: .25em; }
.num-item .v small { font-size: .38em; letter-spacing: 0; align-self: flex-end; margin-bottom: .3em; color: var(--accent-text); }
.num-item p { margin-top: 14px; font-size: .9rem; color: var(--muted); max-width: 24ch; }

/* 9. Testimonios ----------------------------------------------- */
.l-testi { position: relative; padding-block: clamp(100px, 13vw, 170px); background: radial-gradient(90% 70% at 100% 0%, rgba(76,143,214,.18), transparent 60%), linear-gradient(180deg, var(--forest) 0%, #091D38 100%); overflow: hidden; }
.l-testi .giant-quote { position: absolute; right: -2vw; top: -6vw; font-family: var(--serif); font-size: clamp(16rem, 38vw, 34rem); line-height: 1; color: rgba(156,201,245,.07); pointer-events: none; user-select: none; }
.testi-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(44px, 6vw, 80px); }
.testi-head .l-title { font-size: clamp(2.6rem, 6vw, 5.4rem); max-width: 14ch; }
.testi-stage { position: relative; display: grid; }
.testi-slide { display: grid; gap: 34px; }
.js .testi-slide { grid-area: 1 / 1; visibility: hidden; }
.js .testi-slide.is-active { visibility: visible; }
.testi-slide + .testi-slide { margin-top: 64px; }
.js .testi-slide + .testi-slide { margin-top: 0; }
.testi-quote { font-family: var(--serif); font-size: clamp(1.7rem, 3.6vw, 3.2rem); line-height: 1.18; color: var(--ivory); max-width: 26ch; }
.testi-quote .ql { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.testi-quote .ql > span { display: inline-block; transition: transform 1s cubic-bezier(.19,1,.22,1); transition-delay: calc(var(--i, 0) * .07s); }
.js .testi-slide:not(.is-active) .testi-quote .ql > span { transform: translateY(110%); }
.testi-person { display: flex; align-items: center; gap: 18px; }
.testi-person .ph { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.testi-person .name { font-family: var(--serif); font-size: 1.35rem; color: var(--ivory); }
.testi-person .role { font-size: .82rem; color: var(--muted-dark); }
.js .testi-slide .testi-person { opacity: 0; transform: translateY(12px); transition: opacity .8s .35s var(--ease), transform .8s .35s var(--ease); }
.js .testi-slide.is-active .testi-person { opacity: 1; transform: none; }
.testi-media { display: none; }
.testi-controls { display: flex; align-items: center; gap: 22px; margin-top: 54px; }
.testi-count { font-family: var(--serif); font-size: 1.2rem; color: var(--muted-dark); min-width: 70px; }
.testi-count b { color: var(--ivory); font-weight: 500; }
.testi-bar { flex: 1; max-width: 260px; height: 1px; background: var(--line-dark); overflow: hidden; }
.testi-bar span { display: block; height: 100%; background: var(--accent-light); transform-origin: left; transform: scaleX(0); }
.testi-bar span.run { animation: bar var(--dur, 7s) linear forwards; }
.testi-bar.is-paused span { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }
.testi-nav { display: flex; gap: 10px; margin-left: auto; }
.testi-note { margin-top: 40px; }
.no-js-only { display: none; }

/* 10. Contacto ------------------------------------------------- */
.l-contact { position: relative; padding-block: clamp(100px, 13vw, 170px); background: var(--ink); overflow: hidden; }
.l-contact .mesh .b1 { left: auto; right: -20vmax; top: auto; bottom: -30vmax; opacity: .55; }
.l-contact .mesh .b2 { right: auto; left: -20vmax; top: -20vmax; opacity: .45; }
.l-contact .l-wrap { position: relative; z-index: 1; }
.contact-hero { display: grid; gap: 28px; margin-bottom: clamp(56px, 7vw, 90px); }
.contact-big { font-family: var(--serif); font-weight: 500; font-size: clamp(4rem, 17vw, 11.5rem); line-height: .9; letter-spacing: -.04em; color: var(--ivory); }
.contact-big .ch { display: inline-block; transition: transform .6s cubic-bezier(.19,1,.22,1), color .4s, opacity .6s; }
.js .contact-big .ch { opacity: 0; transform: translateY(60%) rotate(8deg); }
.js .contact-big.is-in .ch { opacity: 1; transform: none; }
.js .contact-big.is-in:not(.is-done) .ch { transition-duration: 1.1s; transition-delay: calc(var(--i, 0) * .05s); }
.js .contact-big.is-done:hover .ch, .contact-big:hover .ch { transform: translateY(-.05em); }
.js .contact-big.is-done .ch:hover, .contact-big .ch:hover { color: var(--accent-light); transform: translateY(-.12em) rotate(-4deg); }
.contact-big em { font-style: italic; color: var(--accent-light); }
.contact-layout { display: grid; gap: 48px; }
.contact-lines { border-top: 1px solid var(--line-dark); }
.contact-lines a, .contact-lines div {
  position: relative; display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; color: var(--ivory); overflow: hidden;
}
.contact-lines .k { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-light); }
.contact-lines .v { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
.contact-lines .arrow { color: var(--accent-light); transition: transform .5s var(--ease); }
.contact-lines a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(76,143,214,.18), transparent); transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.19,1,.22,1); }
.contact-lines a { isolation: isolate; }
.contact-lines a:hover::before { transform: scaleX(1); }
.contact-lines a:hover .arrow { transform: translateX(-6px) rotate(-45deg); }
.contact-media { margin-top: 36px; aspect-ratio: 16 / 10; border-radius: 4px; }
.l-contact .form-card { background: var(--ivory); color: var(--text); border: 0; border-radius: 6px; box-shadow: 0 50px 120px -40px rgba(0,0,0,.65); }
.l-contact .form-card h3 { color: var(--ink); }
.l-contact .form-card p { color: var(--muted); }
.l-contact .form-card p.field-error { color: #A3352B; }
.l-contact .form-card .btn-primary { border-radius: 60px; background: var(--forest); --b: var(--forest); min-height: 56px; }
.l-contact .form-card .btn-primary:hover { background: var(--pine); }

/* 11. Pie ------------------------------------------------------ */
.l-footer { background: #050F1C; color: var(--muted-dark); padding-top: clamp(70px, 9vw, 110px); overflow: hidden; }
.l-footer-top { display: grid; gap: 30px; padding-bottom: 40px; font-size: .92rem; }
.l-footer-top a { color: var(--ivory); text-decoration: none; }
.l-footer-top a:hover { color: var(--accent-light); }
.l-footer h2 { font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 14px; }
.l-footer ul { display: grid; gap: 8px; }
.wordmark { display: block; font-family: var(--serif); font-weight: 600; font-size: 11.6vw; line-height: .8; letter-spacing: -.02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(156,201,245,.28); text-align: center; padding-top: .1em; transition: color .8s var(--ease); user-select: none; }
.wordmark:hover { color: rgba(76,143,214,.16); }
.l-footer-bottom { display: flex; flex-direction: column; gap: 10px; padding-block: 24px 96px; border-top: 1px solid var(--line-dark); font-size: .8rem; }
.l-footer-bottom a { color: var(--ivory); text-decoration: none; }

/* 12. Responsive ----------------------------------------------- */
@media (min-width: 720px) {
  .numbers-grid { grid-template-columns: repeat(4, 1fr); }
  .num-item, .num-item:nth-child(odd), .num-item:nth-child(even) { border-right: 1px solid var(--line); padding: 40px 24px 34px; }
  .num-item:last-child { border-right: 0; }
  .num-item:first-child { padding-left: 0; }
  .l-footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
  .l-footer-bottom { flex-direction: row; justify-content: space-between; padding-right: 190px; padding-bottom: 28px; }
}
@media (min-width: 1024px) {
  .hero-body { grid-template-columns: 1.12fr 1fr; grid-template-rows: auto auto; align-items: center; gap: 44px 56px; }
  .hero-h1 { grid-column: 1; grid-row: 1; font-size: clamp(4rem, 6.9vw, 7.6rem); align-self: end; }
  .hero-side { grid-column: 1; grid-row: 2; align-self: start; }
  .hero-comp { grid-column: 2; grid-row: 1 / span 2; height: min(62vh, 640px); min-height: 460px; }
  .hero-foot .areas-mini { display: block; }
  .manifesto-grid { grid-template-columns: 220px 1fr; gap: 64px; }
  .adv-head { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 64px; }
  .adv-card { width: 400px; min-height: 540px; }
  .adv-card--intro { width: 360px; }
  .testi-slide { grid-template-columns: 1fr 340px; align-items: center; gap: 80px; }
  .testi-media { display: block; aspect-ratio: 3 / 4; border-radius: 200px 200px 4px 4px; }
  .contact-hero { grid-template-columns: 1fr 320px; align-items: end; }
  .contact-layout { grid-template-columns: 1fr 1.05fr; gap: 90px; align-items: start; }
}


/* 13. Movimiento reducido — solo lo intrusivo ----------------- */
@media (prefers-reduced-motion: reduce) {
  .mesh span, .grain, .marquee-track, .hc-badge .spin, .pill::after, .scroll-cue i::after { animation: none; }
  .marquee-track { flex-wrap: wrap; width: auto; }
}
.contact-media, .testi-media { background-size: 100% 140%; }

.hc-main .ph-label { top: 22%; bottom: auto; left: 22%; right: 12%; }
