/* ==========================================================================
   Erika Valencia · erikavalval.com
   Sistema "Petróleo y cobre" — 60% neutros · 30% petróleo · 10% cobre
   El cobre aparece en un único elemento por pieza.
   ========================================================================== */

:root {
  --petroleo: #1F5A5C;
  --petroleo-2: #163F42;
  --petroleo-3: #0F2E30;
  --petroleo-claro: #2C7275;
  --cobre: #D0693B;
  --cobre-texto: #A84E26;
  --arena: #DCC3A6;
  --crema: #F6F1EA;
  --crema-2: #EFE7DC;
  --papel: #FFFCF7;
  --carbon: #1E2226;
  --casi-negro: #121517;
  --gris: #5C6064;
  --linea: #E3D8CA;

  --f-display: "Sora", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, sans-serif;
  --f-accent: "Fraunces", Georgia, serif;

  --max: 1200px;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--crema);
  color: var(--carbon);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon .fill, symbol .fill { fill: currentColor; stroke: none; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--petroleo-2); color: var(--crema);
  padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--petroleo); outline-offset: 3px; border-radius: 6px; }

/* ---------- Tipografía ---------- */
.label {
  font-family: var(--f-body);
  font-size: 12px; line-height: 16px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--cobre-texto);
  margin-bottom: 16px;
}
.label--arena { color: var(--arena); }

.display {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(2.4rem, 1.4rem + 3.6vw, 3.6rem);
  line-height: 1.04; letter-spacing: -.025em;
  text-wrap: balance;
}
.title {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.85rem, 1.3rem + 1.7vw, 2.4rem);
  line-height: 1.15; letter-spacing: -.02em;
  text-wrap: balance;
}
.body-lg { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); line-height: 1.6; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 12px; border: 1.5px solid transparent;
  font-family: var(--f-body); font-weight: 500; font-size: 16px;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; border-radius: 10px; }
.btn--petroleo { background: var(--petroleo); color: var(--crema); }
.btn--petroleo:hover { background: var(--petroleo-2); }
.btn--crema { background: var(--crema); color: var(--petroleo-2); }
.btn--crema:hover { background: var(--papel); }
.btn--ghost { color: var(--crema); border-color: rgba(246, 241, 234, .35); }
.btn--ghost:hover { border-color: var(--crema); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; text-decoration: none; color: var(--petroleo);
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 234, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--linea); }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: -.01em;
}
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--carbon); opacity: .8; transition: opacity .2s; }
.nav a:hover { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: min(calc(100svh - 72px), 860px);
}
.hero__text {
  align-self: center;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 64px) clamp(48px, 7vw, 96px) max(var(--gutter), (100vw - var(--max)) / 2);
  max-width: 720px;
}
.hero__text .display { margin-bottom: 24px; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.18rem); color: #3c4044; max-width: 54ch; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-bottom: 48px; }
.hero__sign { display: flex; flex-direction: column; gap: 2px; padding-top: 20px; border-top: 1px solid var(--linea); max-width: 460px; }
.hero__sign strong { font-family: var(--f-display); font-weight: 600; font-size: 18px; }
.hero__sign span { font-size: 14px; color: var(--gris); }

.hero__visual {
  position: relative; overflow: hidden;
  background: var(--petroleo);
  display: grid; place-items: center;
  isolation: isolate;
}
.hero__corner { position: absolute; top: 0; right: 0; width: clamp(56px, 8vw, 110px); aspect-ratio: 1; background: var(--petroleo-2); }
.hero__block--arena {
  position: absolute; left: 0; bottom: 18%;
  width: clamp(28px, 3.5vw, 52px); height: clamp(90px, 13vw, 150px);
  background: var(--arena); border-radius: 0 6px 6px 0;
}
.hero__rings { position: relative; width: min(76%, 520px); aspect-ratio: 1; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(246, 241, 234, .32); }
.ring--1 { inset: -26%; }
.ring--2 { inset: -14%; }
.ring--3 { inset: -3%; }
.ring--cobre { border-color: var(--cobre); border-width: 2px; }
.hero__photo { width: 86%; aspect-ratio: 1; object-fit: cover; object-position: 50% 35%; border-radius: 50%; position: relative; }

.js .hero .ring { opacity: 0; transform: scale(.85); animation: ringIn 1.4s var(--ease) forwards; }
.js .hero .ring--3 { animation-delay: .15s; }
.js .hero .ring--2 { animation-delay: .35s; }
.js .hero .ring--1 { animation-delay: .55s; }
.js .hero__photo { opacity: 0; transform: scale(.94); animation: photoIn 1.1s var(--ease) .05s forwards; }
.js .hero__text > * { opacity: 0; transform: translateY(16px); animation: fadeUp .9s var(--ease) forwards; }
.js .hero__text > :nth-child(2) { animation-delay: .08s; }
.js .hero__text > :nth-child(3) { animation-delay: .16s; }
.js .hero__text > :nth-child(4) { animation-delay: .24s; }
.js .hero__text > :nth-child(5) { animation-delay: .32s; }
@keyframes ringIn { to { opacity: 1; transform: none; } }
@keyframes photoIn { to { opacity: 1; transform: none; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(80px, 11vw, 140px); }
.section__head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 88px); }

/* Propuesta + diagnóstico */
.propuesta { background: var(--crema); padding-top: clamp(80px, 10vw, 120px); }
.propuesta__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.propuesta__text .title { margin-bottom: 24px; }
.propuesta__text .body-lg { color: #3c4044; margin-bottom: 36px; }
.note { display: flex; gap: 16px; padding-top: 28px; border-top: 1px solid var(--linea); color: var(--gris); }
.note .icon { width: 28px; height: 28px; color: var(--petroleo); margin-top: 2px; }
.note strong { color: var(--carbon); font-weight: 500; }

.diag {
  background: var(--petroleo); color: var(--crema);
  border-radius: 24px; padding: clamp(28px, 4vw, 44px);
}
.diag__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--petroleo-2); margin-bottom: 24px; }
.diag__icon .icon { width: 26px; height: 26px; }
.diag__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); line-height: 1.2; margin-bottom: 14px; }
.diag > p:not(.label) { color: rgba(246, 241, 234, .86); margin-bottom: 24px; }
.diag__list { margin-bottom: 32px; }
.diag__list a {
  display: flex; gap: 18px; padding: 13px 0; text-decoration: none;
  border-bottom: 1px solid rgba(246, 241, 234, .18);
  transition: padding-left .25s var(--ease);
}
.diag__list a:hover { padding-left: 6px; }
.diag__list span { font-family: var(--f-display); font-weight: 600; color: var(--arena); font-size: 15px; min-width: 22px; }

/* ---------- Servicios ---------- */
.servicios { background: var(--papel); border-block: 1px solid var(--linea); }
.service {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 96px); align-items: center;
}
.service + .service { margin-top: clamp(88px, 12vw, 160px); }
.service--flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.service--flip .service__text { order: 2; }
.service__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; max-width: 460px; }
.icon-badge { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--petroleo); color: var(--crema); }
.icon-badge .icon { width: 26px; height: 26px; }
.service__num { font-family: var(--f-display); font-weight: 600; color: var(--gris); font-size: 16px; }
.service__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.1rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 14px; }
.service__lead { color: var(--gris); font-size: 1.06rem; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--linea); }
.checks li { position: relative; padding-left: 26px; margin-bottom: 12px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--petroleo); }

/* ---------- Casos ---------- */
.casos__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.caso-destacado { background: var(--petroleo); color: var(--crema); border-radius: 24px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; }
.caso-destacado__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.45rem, 1.15rem + 1vw, 1.9rem); line-height: 1.2; margin-bottom: 16px; }
.caso-destacado > p:not(.label) { color: rgba(246, 241, 234, .86); margin-bottom: 32px; }
.clientes { margin-top: auto; display: grid; gap: 14px; }
.clientes li { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 16px; background: var(--petroleo-2); }
.clientes strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 17px; line-height: 1.3; }
.clientes small { color: var(--arena); font-size: 14px; }
.mono { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--crema); color: var(--petroleo); flex: none; }
.mono .icon { width: 22px; height: 22px; }
.mono--light { background: var(--petroleo); color: var(--crema); }
.casos__lista { display: flex; flex-direction: column; gap: 12px; }
.casos__sub { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--gris); margin-bottom: 4px; }
.caso { display: flex; align-items: center; gap: 18px; background: var(--papel); border: 1px solid var(--linea); border-radius: 18px; padding: 18px 20px; flex: 1; transition: transform .3s var(--ease), border-color .3s; }
.caso:hover { transform: translateX(4px); border-color: var(--arena); }
.caso h3 { font-family: var(--f-display); font-weight: 600; font-size: 18px; line-height: 1.3; }
.caso p { color: var(--gris); font-size: 15px; }

/* ---------- Sobre mí ---------- */
.sobre { background: var(--papel); border-top: 1px solid var(--linea); }
.sobre__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 104px); align-items: center; }
.sobre__visual { background: var(--petroleo-2); border-radius: 24px; aspect-ratio: 4 / 5; display: grid; place-items: center; position: relative; overflow: hidden; }
.sobre__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.sobre__text .title { margin-bottom: 24px; }
.sobre__text .body-lg { margin-bottom: 16px; }
.sobre__text > p:not(.label):not(.body-lg) { color: var(--gris); margin-bottom: 40px; }
.pasos { display: grid; gap: 0; border-top: 1px solid var(--linea); }
.pasos li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--linea); }
.pasos span { font-family: var(--f-display); font-weight: 600; color: var(--cobre-texto); font-size: 15px; min-width: 24px; padding-top: 2px; }
.pasos strong { font-family: var(--f-display); font-weight: 600; font-size: 17px; }
.pasos p { color: var(--gris); font-size: 15px; }

/* ---------- Contacto ---------- */
.contacto { background: var(--petroleo-2); color: var(--crema); padding-block: clamp(96px, 13vw, 168px); text-align: center; }
.contacto__inner { display: flex; flex-direction: column; align-items: center; }
.quote { font-family: var(--f-accent); font-style: italic; font-weight: 400; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem); line-height: 1.15; }
.firma { display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--cobre); margin: 28px 0 44px; }
.contacto .title { color: var(--crema); margin-bottom: 12px; }
.contacto__lead { color: var(--arena); margin-bottom: 36px; max-width: 46ch; }
.contacto__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.site-footer { background: var(--petroleo-3); color: rgba(220, 195, 166, .85); font-size: 14px; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--petroleo); color: var(--crema);
  box-shadow: 0 10px 30px rgba(15, 46, 48, .28);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), background-color .2s;
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--petroleo-2); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   ESCENAS ANIMADAS
   Cada escena es un escenario 4:3 que escala con su ancho (unidades cqw:
   1cqw = 1% del ancho; alto = 75cqw). JS añade las clases .s1…sN de forma
   acumulativa; el estado final (todas las clases) es el que ve quien no
   tiene JS o prefiere movimiento reducido.
   ========================================================================== */
.scene { margin: 0; }
.stage {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3; container-type: inline-size;
  background: var(--petroleo); color: var(--crema);
  border-radius: var(--radius);
  font-family: var(--f-body); line-height: 1.25;
}
.stage .icon { width: auto; height: auto; }
.stage b { font-weight: 500; }
.stage p { margin: 0; }

.scene figcaption { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.flow { display: flex; flex-wrap: wrap; gap: 6px 4px; flex: 1; counter-reset: flow; }
.flow li {
  counter-increment: flow;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500; color: #8b8e91;
  padding: 6px 12px 6px 6px; border-radius: 99px;
  transition: color .4s, background-color .4s;
}
.flow li::before {
  content: counter(flow);
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  font-size: 11.5px; font-family: var(--f-display); font-weight: 600;
  background: var(--crema-2); color: var(--gris);
  transition: background-color .4s, color .4s;
}
.flow li.on { color: var(--carbon); background: var(--crema); }
.flow li.on::before { background: var(--petroleo); color: var(--crema); }
.scene__toggle {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 50%; border: 1px solid var(--linea); background: var(--papel);
  color: var(--petroleo); cursor: pointer; transition: border-color .2s;
}
.scene__toggle:hover { border-color: var(--petroleo); }
.scene__toggle .icon { width: 16px; height: 16px; }
.scene__toggle .i-play, .scene.is-user-paused .scene__toggle .i-pause { display: none; }
.scene.is-user-paused .scene__toggle .i-play { display: block; }
.scene.is-static .scene__toggle { display: none; }

/* Animaciones infinitas solo mientras la escena está activa */
.scene:not(.is-playing) .stage * { animation-play-state: paused !important; }
/* Reinicio de ciclo: todo vuelve rápido al estado inicial */
.scene.is-resetting .stage * { transition-duration: .35s !important; transition-delay: 0s !important; }
.scene.is-static .stage * { transition: none !important; animation: none !important; }

.m-av { display: inline-block; width: 3.4cqw; height: 3.4cqw; border-radius: 50%; background: var(--arena); flex: none; }
.m-av--brand { background: var(--petroleo); }

/* ---------- 01 · META ---------- */
.m-phone {
  position: absolute; left: 7cqw; top: 5.5cqw; width: 31cqw; height: 64cqw;
  background: var(--casi-negro); border-radius: 4.2cqw; padding: 1.1cqw;
}
.m-screen { position: relative; height: 100%; background: var(--crema); border-radius: 3.2cqw; overflow: hidden; color: var(--carbon); }
.m-feed { padding: 1.6cqw; transform: translateY(0); transition: transform 1.6s var(--ease-io); }
.s2 .m-feed { transform: translateY(-21cqw); }
.m-post { background: var(--papel); border-radius: 1.6cqw; padding: 1.3cqw; margin-bottom: 1.6cqw; }
.m-post__head { display: flex; align-items: center; gap: 1.2cqw; margin-bottom: 1.2cqw; }
.m-post__head span { display: flex; flex-direction: column; }
.m-post__head b { font-size: 1.95cqw; font-weight: 500; }
.m-post__head small { font-size: 1.60cqw; color: var(--gris); }
.m-ph { display: block; width: 12cqw; height: 1.3cqw; border-radius: 1cqw; background: var(--linea); }
.m-post__img { height: 15cqw; border-radius: 1.2cqw; background: var(--crema-2); }
.m-post__img--ad {
  height: 17cqw; background: var(--petroleo-2); color: var(--crema);
  display: flex; flex-direction: column; justify-content: space-between; padding: 1.8cqw;
}
.m-post__img--ad .icon { width: 4.4cqw; height: 4.4cqw; color: var(--arena); }
.m-post__img--ad span { font-family: var(--f-display); font-weight: 600; font-size: 2.2cqw; line-height: 1.15; max-width: 20cqw; }
.m-cta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.2cqw; padding: 1.1cqw 1.4cqw; border-radius: 1cqw;
  background: var(--petroleo); color: var(--crema); font-size: 1.95cqw; font-weight: 500;
}
.m-cta .icon { width: 2.4cqw; height: 2.4cqw; }
.m-tap {
  position: absolute; left: 50%; top: 33.6cqw; width: 8cqw; height: 8cqw;
  border-radius: 50%; border: .55cqw solid var(--cobre);
  transform: translate(-50%, -50%) scale(0); opacity: 0; pointer-events: none;
}
.s3 .m-tap { animation: mTap 1s var(--ease) forwards; }
@keyframes mTap {
  0% { transform: translate(-50%, -50%) scale(.2); opacity: 1; }
  55% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}
.m-chat {
  position: absolute; inset: 0; background: var(--crema-2);
  transform: translateX(105%); transition: transform .7s var(--ease-io);
  display: flex; flex-direction: column; gap: 1.4cqw;
}
.s4 .m-chat { transform: none; }
.m-chat__bar { display: flex; align-items: center; gap: 1.2cqw; padding: 2.4cqw 1.8cqw 1.6cqw; background: var(--petroleo-2); color: var(--crema); }
.m-chat__bar span { display: flex; flex-direction: column; }
.m-chat__bar b { font-size: 1.95cqw; }
.m-chat__bar small { font-size: 1.55cqw; color: var(--arena); }
.m-bub {
  max-width: 78%; margin: 0 1.6cqw; padding: 1.2cqw 1.5cqw;
  border-radius: 1.6cqw; font-size: 1.90cqw; line-height: 1.35;
  opacity: 0; transform: translateY(1.6cqw) scale(.96);
  transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.m-bub--in { background: var(--papel); border-top-left-radius: .4cqw; align-self: flex-start; }
.m-bub--out { background: var(--arena); border-top-right-radius: .4cqw; align-self: flex-end; }
.s5 .m-b1, .s6 .m-b2, .s7 .m-b3 { opacity: 1; transform: none; }
.m-typing { display: flex; gap: .7cqw; padding: 1.5cqw 1.8cqw; }
.m-typing i { width: 1cqw; height: 1cqw; border-radius: 50%; background: var(--gris); animation: mDot 1.1s infinite ease-in-out; }
.m-typing i:nth-child(2) { animation-delay: .15s; }
.m-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes mDot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-.7cqw); opacity: 1; } }

.m-chips { position: absolute; left: 44cqw; right: 5cqw; top: 6.5cqw; display: flex; flex-wrap: wrap; gap: 1.3cqw; }
.chip {
  display: inline-flex; align-items: center; gap: .9cqw;
  padding: 1cqw 1.8cqw 1cqw 1.3cqw; border-radius: 99px;
  background: var(--petroleo-2); border: 1px solid rgba(246, 241, 234, .2);
  font-size: 1.9cqw; font-weight: 500;
  opacity: 0; transform: translateY(2cqw) scale(.9);
  transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.chip .icon { width: 2.3cqw; height: 2.3cqw; color: var(--arena); }
.chip:nth-child(2) { transition-delay: .18s; }
.chip:nth-child(3) { transition-delay: .36s; }
.s1 .chip { opacity: 1; transform: none; }

.m-report {
  position: absolute; left: 44cqw; right: 5cqw; top: 25cqw; bottom: 5.5cqw;
  background: var(--papel); color: var(--carbon); border-radius: 2.4cqw; padding: 2.6cqw 2.8cqw;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(3cqw);
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.s5 .m-report { opacity: 1; transform: none; }
.m-report__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2cqw; }
.m-report__head b { font-family: var(--f-display); font-weight: 600; font-size: 2.2cqw; }
.m-report__head small { font-size: 1.55cqw; text-transform: uppercase; letter-spacing: .12em; background: var(--crema-2); color: var(--gris); padding: .5cqw 1cqw; border-radius: 99px; }
.m-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 2cqw; margin-bottom: 2cqw; }
.m-kpis small { display: block; font-size: 1.75cqw; color: var(--gris); margin-bottom: .6cqw; }
.m-kpis strong { font-family: var(--f-display); font-weight: 600; font-size: 5.4cqw; line-height: 1; color: var(--petroleo); }
.m-spark { width: 100%; height: 5.4cqw; overflow: visible; }
.m-spark path { fill: none; stroke: var(--petroleo); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) .2s; }
.s6 .m-spark path { stroke-dashoffset: 0; }
.m-bars { flex: 1; display: flex; align-items: flex-end; gap: 1.2cqw; border-bottom: 1px solid var(--linea); }
.m-bars i { flex: 1; height: var(--h); background: var(--petroleo); border-radius: .6cqw .6cqw 0 0; transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.m-bars i:last-child { background: var(--petroleo-2); }
.s6 .m-bars i { transform: none; }

/* ---------- 02 · REDES ---------- */
.r-cal {
  position: absolute; left: 5cqw; top: 17cqw; width: 50cqw;
  background: var(--papel); color: var(--carbon); border-radius: 2.4cqw; padding: 2.6cqw;
}
.r-cal__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2cqw; }
.r-cal__head b { font-family: var(--f-display); font-weight: 600; font-size: 2.3cqw; }
.r-cal__head small { font-size: 1.85cqw; color: var(--gris); }
.r-days, .r-grid { display: grid; grid-template-columns: repeat(7, 5.6cqw); gap: .9cqw; }
.r-days { margin-bottom: 1cqw; }
.r-days span { text-align: center; font-size: 1.60cqw; color: var(--gris); font-weight: 500; }
.r-grid { position: relative; }
.r-cell { position: relative; aspect-ratio: 1; border-radius: .9cqw; background: var(--crema-2); }
.r-post {
  position: absolute; inset: .55cqw; border-radius: .6cqw; display: grid; place-items: center; color: var(--crema);
  opacity: 0; transform: scale(.3);
  transition: opacity .35s var(--ease), transform .5s cubic-bezier(.3, 1.5, .5, 1);
  transition-delay: calc(var(--i) * 85ms);
}
.r-post .icon { width: 2.3cqw; height: 2.3cqw; }
.r-post--reel { background: var(--petroleo); }
.r-post--foto { background: var(--arena); color: var(--petroleo-2); }
.r-post--carr { background: var(--petroleo-2); }
.s1 .r-post { opacity: 1; transform: none; }
.r-ok {
  position: absolute; right: -.7cqw; top: -.7cqw; width: 2.3cqw; height: 2.3cqw; border-radius: 50%;
  background: var(--carbon); color: var(--crema); border: .3cqw solid var(--papel);
  display: grid; place-items: center;
  transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--i) * 70ms);
}
.r-ok .icon { width: 1.3cqw; height: 1.3cqw; stroke-width: 3; }
.s2 .r-ok { transform: none; }
.r-today {
  position: absolute; left: -.55cqw; top: -.55cqw; width: 6.7cqw; height: 6.7cqw;
  border: .45cqw solid var(--cobre); border-radius: 1.3cqw;
  --c: 1; --r: 0;
  transform: translate(calc(var(--c) * 6.5cqw), calc(var(--r) * 6.5cqw));
  opacity: 0; transition: transform .8s var(--ease-io), opacity .4s;
}
.s1 .r-today { opacity: 1; }
.s3 .r-today { --c: 3; --r: 1; }
.s5 .r-today { --c: 5; --r: 2; }
.s6 .r-today { --c: 2; --r: 3; }

.r-card {
  position: absolute; left: 60cqw; right: 5cqw; top: 6cqw;
  background: var(--papel); color: var(--carbon); border-radius: 2.4cqw; padding: 1.8cqw;
  opacity: 0; transform: translateY(6cqw) rotate(2deg);
  transition: opacity .5s var(--ease), transform .8s var(--ease);
}
.s3 .r-card { opacity: 1; transform: none; }
.r-card__head { display: flex; align-items: center; gap: 1.1cqw; margin-bottom: 1.3cqw; }
.r-card__head span { display: flex; flex-direction: column; }
.r-card__head b { font-size: 1.95cqw; }
.r-card__head small { font-size: 1.55cqw; color: var(--gris); }
.r-card__img { position: relative; height: 21cqw; border-radius: 1.4cqw; background: var(--petroleo-2); overflow: hidden; padding: 1.8cqw; display: flex; align-items: flex-end; }
.r-card__img b { position: relative; font-family: var(--f-display); font-weight: 600; font-size: 2.2cqw; line-height: 1.15; color: var(--crema); max-width: 22cqw; }
.r-sun { position: absolute; right: 3cqw; top: 2.6cqw; width: 7cqw; height: 7cqw; border-radius: 50%; background: var(--arena); }
.r-hill { position: absolute; left: -4cqw; right: -4cqw; bottom: -9cqw; height: 16cqw; border-radius: 50%; background: var(--petroleo); }
.r-card__meta { display: flex; gap: 2.4cqw; margin-top: 1.4cqw; font-size: 1.95cqw; }
.r-card__meta span { display: inline-flex; align-items: center; gap: .7cqw; }
.r-card__meta .icon { width: 2.3cqw; height: 2.3cqw; color: var(--petroleo); }
.s4 .r-card__meta span:first-child .icon { animation: rBeat .6s var(--ease); fill: var(--petroleo); }
@keyframes rBeat { 40% { transform: scale(1.35); } }
.r-com {
  position: absolute; max-width: 32cqw; padding: 1.3cqw 1.7cqw; border-radius: 1.8cqw; font-size: 1.95cqw; line-height: 1.35;
  opacity: 0; transform: translateY(2cqw); transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.r-com--in { left: 60cqw; top: 50cqw; background: var(--petroleo-2); border-bottom-left-radius: .4cqw; }
.r-com--out { right: 5cqw; top: 59.5cqw; background: var(--arena); color: var(--carbon); border-bottom-right-radius: .4cqw; }
.s5 .r-com--in, .s6 .r-com--out { opacity: 1; transform: none; }

/* ---------- 03 · PRODUCCIÓN ---------- */
.p-view { position: absolute; inset: 4.5cqw 5cqw; border-radius: 2.4cqw; background: var(--petroleo-2); overflow: hidden; }
.p-ph { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.s1 .p-script { opacity: 1; }
.s2 .p-script { opacity: 0; }
.s2 .p-cam { opacity: 1; }
.s3 .p-cam { opacity: 0; }
.s3 .p-edit { opacity: 1; }
.s4 .p-edit { opacity: 0; }
.s4 .p-final { opacity: 1; }

.p-script { display: grid; place-items: center; }
.p-paper {
  width: 62cqw; background: var(--papel); color: var(--carbon); border-radius: 1.8cqw; padding: 3cqw 3.4cqw;
  transform: rotate(-1.5deg) translateY(3cqw); transition: transform 1s var(--ease);
}
.s1 .p-paper { transform: rotate(-1.5deg); }
.p-paper small { display: block; font-size: 1.65cqw; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin-bottom: 2cqw; font-weight: 500; }
.p-line {
  display: flex; gap: 1.6cqw; font-size: 2.15cqw; padding: 1.3cqw 0; border-top: 1px solid var(--linea); white-space: nowrap;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s steps(26, end); transition-delay: calc(.35s + var(--i) * .8s);
}
.p-line b { font-family: var(--f-display); font-weight: 600; color: var(--petroleo); }
.s1 .p-line { clip-path: inset(0 0 0 0); }

.p-vf { position: absolute; inset: 2.6cqw; border-radius: 1.4cqw; background: var(--petroleo-3); overflow: hidden; }
.p-grid { position: absolute; inset: 0; border: 0; }
.p-grid::before, .p-grid::after { content: ""; position: absolute; inset: 0; }
.p-grid::before { border-left: 1px solid rgba(246, 241, 234, .12); border-right: 1px solid rgba(246, 241, 234, .12); left: 33.33%; right: 33.33%; }
.p-grid::after { border-top: 1px solid rgba(246, 241, 234, .12); border-bottom: 1px solid rgba(246, 241, 234, .12); top: 33.33%; bottom: 33.33%; }
.p-subject { position: absolute; left: 50%; bottom: 0; width: 30cqw; height: 40cqw; transform: translateX(-50%); animation: pBreath 3.2s ease-in-out infinite; }
.p-head { position: absolute; left: 50%; top: 4cqw; width: 12cqw; height: 12cqw; border-radius: 50%; background: var(--arena); transform: translateX(-50%); }
.p-body { position: absolute; left: 0; right: 0; bottom: -4cqw; height: 22cqw; border-radius: 15cqw 15cqw 0 0; background: var(--petroleo); }
@keyframes pBreath { 50% { transform: translateX(-50%) translateY(-.5cqw) rotate(.6deg); } }
.p-focus {
  position: absolute; left: 50%; top: 13.5cqw; width: 15cqw; height: 15cqw; border: .3cqw solid var(--crema); border-radius: .6cqw;
  transform: translate(-50%, -50%) scale(1.6); opacity: 0; transition: transform .7s var(--ease) .4s, opacity .3s .4s;
}
.s2 .p-focus { transform: translate(-50%, -50%) scale(1); opacity: .9; }
.p-c { position: absolute; width: 4cqw; height: 4cqw; border: 0 solid var(--crema); }
.p-c--tl { left: 2cqw; top: 2cqw; border-left-width: .4cqw; border-top-width: .4cqw; }
.p-c--tr { right: 2cqw; top: 2cqw; border-right-width: .4cqw; border-top-width: .4cqw; }
.p-c--bl { left: 2cqw; bottom: 2cqw; border-left-width: .4cqw; border-bottom-width: .4cqw; }
.p-c--br { right: 2cqw; bottom: 2cqw; border-right-width: .4cqw; border-bottom-width: .4cqw; }
.p-rec { position: absolute; left: 7cqw; top: 3cqw; display: inline-flex; align-items: center; gap: .8cqw; font-size: 1.95cqw; font-weight: 500; letter-spacing: .06em; }
.p-rec i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: var(--crema); animation: pBlink 1s steps(2, jump-none) infinite; }
.p-rec b { font-variant-numeric: tabular-nums; color: var(--arena); }
@keyframes pBlink { 50% { opacity: .15; } }
.p-spec { position: absolute; right: 7cqw; top: 3cqw; font-size: 1.85cqw; color: var(--arena); letter-spacing: .06em; }

.p-edit { padding: 3cqw 3cqw 3cqw 3cqw; }
.p-ruler {
  height: 2.6cqw; margin-left: 6cqw; margin-bottom: 1.6cqw;
  background-image: repeating-linear-gradient(90deg, rgba(246, 241, 234, .35) 0 1px, transparent 1px 4.8cqw);
  background-size: 100% 1.2cqw; background-repeat: no-repeat; background-position: bottom;
  border-bottom: 1px solid rgba(246, 241, 234, .2);
}
.p-track { display: flex; align-items: center; height: 10.5cqw; margin-bottom: 1.6cqw; }
.p-track small { width: 6cqw; font-size: 1.75cqw; color: var(--arena); font-weight: 500; flex: none; }
.p-lane { position: relative; flex: 1; height: 100%; border-radius: 1cqw; background: rgba(246, 241, 234, .06); }
.p-clip {
  position: absolute; top: 12%; bottom: 12%; left: calc(var(--x) * 1%); width: calc(var(--w) * 1% - .5cqw);
  border-radius: .8cqw; background: var(--arena);
  opacity: 0; transform: translateX(26cqw);
  transition: opacity .4s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i) * 150ms);
}
.p-clip--b { background: var(--petroleo-claro); }
.p-clip::before { content: ""; position: absolute; left: 1cqw; top: 1cqw; width: 3cqw; height: 1cqw; border-radius: 1cqw; background: rgba(15, 46, 48, .25); }
.s3 .p-clip { opacity: 1; transform: none; }
.p-wave { display: flex; align-items: center; gap: .55cqw; padding: 0 1cqw; }
.p-wave i { flex: 1; height: var(--h); border-radius: 1cqw; background: rgba(220, 195, 166, .6); transform: scaleY(.1); transition: transform .5s var(--ease) .6s; }
.s3 .p-wave i { transform: none; }
.p-playhead {
  position: absolute; top: 2.4cqw; bottom: 3cqw; left: 9cqw; width: .45cqw; border-radius: .3cqw; background: var(--cobre);
  transition: left 2.6s linear .7s;
}
.p-playhead::before { content: ""; position: absolute; left: 50%; top: 0; width: 2cqw; height: 2cqw; background: var(--cobre); border-radius: .4cqw .4cqw 1cqw 1cqw; transform: translateX(-50%); }
.s3 .p-playhead { left: calc(100% - 3.5cqw); }

.p-final { display: flex; align-items: center; justify-content: center; gap: 6cqw; }
.p-reel {
  position: relative; width: 26cqw; aspect-ratio: 9 / 16; max-height: 58cqw; border-radius: 2.4cqw; background: var(--petroleo); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 2.2cqw;
  transform: translateY(4cqw) scale(.94); transition: transform .9s var(--ease);
}
.s4 .p-reel { transform: none; }
.p-reel__sun { position: absolute; left: 50%; top: 9cqw; width: 14cqw; height: 14cqw; border-radius: 50%; background: var(--arena); transform: translateX(-50%); }
.p-reel__play { position: absolute; left: 50%; top: 16cqw; transform: translate(-50%, -50%); width: 6cqw; height: 6cqw; border-radius: 50%; background: var(--crema); color: var(--petroleo-2); display: grid; place-items: center; }
.p-reel__play .icon { width: 2.6cqw; height: 2.6cqw; margin-left: .3cqw; }
.p-reel b { font-family: var(--f-display); font-weight: 600; font-size: 2.3cqw; line-height: 1.15; margin-bottom: 1.6cqw; position: relative; }
.p-reel__bar { height: .6cqw; border-radius: 1cqw; background: rgba(246, 241, 234, .3); overflow: hidden; }
.p-reel__bar i { display: block; height: 100%; width: 100%; background: var(--crema); transform: scaleX(0); transform-origin: left; transition: transform 3s linear .5s; }
.s4 .p-reel__bar i { transform: none; }
.p-out { display: flex; flex-direction: column; align-items: flex-start; gap: 1.6cqw; }
.p-done { display: inline-flex; align-items: center; gap: 1cqw; font-family: var(--f-display); font-weight: 600; font-size: 2.5cqw; margin-bottom: 1cqw !important; }
.p-done .icon { width: 3.4cqw; height: 3.4cqw; padding: .6cqw; border-radius: 50%; background: var(--crema); color: var(--petroleo-2); stroke-width: 3; }
.p-fmt {
  display: inline-flex; align-items: center; gap: 1cqw; padding: 1cqw 1.8cqw 1cqw 1.3cqw; border-radius: 99px;
  border: 1px solid rgba(246, 241, 234, .25); font-size: 1.8cqw; font-weight: 500;
  opacity: 0; transform: translateX(3cqw); transition: opacity .4s var(--ease), transform .6s var(--ease); transition-delay: calc(.8s + var(--i) * .25s);
}
.p-fmt .icon { width: 2.3cqw; height: 2.3cqw; color: var(--arena); }
.s4 .p-fmt { opacity: 1; transform: none; }

/* ---------- 04 · ESTRATEGIA ---------- */
.scene--estr .stage { background: var(--petroleo-2); }
.e-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.e-l { fill: none; stroke: rgba(246, 241, 234, .35); stroke-width: .3; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .8s var(--ease); }
.s1 .e-l1, .s2 .e-l2, .s3 .e-l3, .s4 .e-l4 { stroke-dashoffset: 0; }
.e-c { transition-duration: 1s; }
.s5 .e-c { stroke-dashoffset: 0; }

.e-node {
  position: absolute; width: 26cqw; min-height: 15cqw; padding: 1.8cqw 2cqw;
  background: var(--petroleo); border: 1px solid rgba(246, 241, 234, .16); border-radius: 1.8cqw;
  opacity: 0; transform: scale(.85); transition: opacity .45s var(--ease), transform .6s cubic-bezier(.3, 1.4, .5, 1);
}
.e-node small { display: block; font-size: 1.60cqw; letter-spacing: .12em; text-transform: uppercase; color: var(--arena); margin-bottom: 1.4cqw; font-weight: 500; }
.e-n1 { left: 3cqw; top: 4cqw; }
.e-n2 { left: 35cqw; top: 4cqw; }
.e-n3 { left: 3cqw; top: 56cqw; }
.e-n4 { left: 35cqw; top: 56cqw; }
.s1 .e-n1, .s2 .e-n2, .s3 .e-n3, .s4 .e-n4 { opacity: 1; transform: none; }
.e-quote { font-family: var(--f-display); font-weight: 600; font-size: 2.1cqw; line-height: 1.2; clip-path: inset(0 100% 0 0); transition: clip-path .9s steps(21, end) .3s; }
.s1 .e-quote { clip-path: inset(0 0 0 0); }
.e-axes { display: grid; gap: .8cqw; }
.e-axes span {
  display: block; width: var(--w); padding: .45cqw 1cqw; border-radius: .6cqw; background: var(--crema); color: var(--petroleo-2);
  font-size: 1.65cqw; font-weight: 500; transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease); transition-delay: calc(.2s + var(--i) * .15s);
}
.s2 .e-axes span { transform: none; }
.e-sw { display: flex; }
.e-sw i {
  width: 4.6cqw; height: 4.6cqw; border-radius: 50%; border: .35cqw solid var(--petroleo);
  margin-right: -1.2cqw; transform: translateX(calc(var(--i) * -3.4cqw)); transition: transform .7s var(--ease) .2s;
}
.e-sw i:nth-child(1), .e-dots i:nth-child(1) { background: var(--crema); }
.e-sw i:nth-child(2), .e-dots i:nth-child(2) { background: var(--arena); }
.e-sw i:nth-child(3), .e-dots i:nth-child(3) { background: #9DB8AE; }
.e-sw i:nth-child(4), .e-dots i:nth-child(4) { background: var(--carbon); }
.s3 .e-sw i { transform: none; margin-right: .6cqw; }
.e-txt { display: grid; gap: .9cqw; padding-top: .4cqw; }
.e-txt i { display: block; height: 1.1cqw; width: var(--w); border-radius: 1cqw; background: rgba(246, 241, 234, .55); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); transition-delay: calc(.2s + var(--i) * .18s); }
.s4 .e-txt i { transform: none; }

.e-core {
  position: absolute; left: 21cqw; top: 27.5cqw; width: 20cqw; height: 20cqw; border-radius: 50%;
  background: var(--crema); color: var(--petroleo-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.e-core b { font-family: var(--f-display); font-weight: 600; font-size: 2.7cqw; }
.e-core small { font-size: 1.60cqw; color: var(--gris); }
.e-ring { position: absolute; inset: -1.8cqw; border-radius: 50%; border: .45cqw solid var(--cobre); opacity: 0; transform: scale(.8); transition: opacity .5s var(--ease), transform .8s cubic-bezier(.3, 1.5, .5, 1); }
.s6 .e-ring { opacity: 1; transform: none; }

.e-card {
  position: absolute; left: 69cqw; width: 27cqw; height: 18cqw; padding: 1.8cqw 2cqw;
  background: var(--papel); color: var(--carbon); border-radius: 1.8cqw;
  opacity: 0; transform: translateX(5cqw); transition: opacity .45s var(--ease), transform .7s var(--ease); transition-delay: calc(.3s + var(--i) * .18s);
}
.e-card { top: calc(6cqw + var(--i) * 22.5cqw); }
.s5 .e-card { opacity: 1; transform: none; }
.e-card small { display: block; font-size: 1.60cqw; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); margin-bottom: 1.4cqw; font-weight: 500; }
.e-mini { display: grid; gap: .9cqw; }
.e-dots { display: flex; gap: .6cqw; margin-bottom: .3cqw; }
.e-dots i { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; border: 1px solid var(--linea); }
.e-ln { display: block; height: 1.1cqw; width: 80%; border-radius: 1cqw; background: var(--crema-2); }
.e-ln--s { width: 55%; }
.e-ok { position: absolute; right: 1.6cqw; bottom: 1.6cqw; width: 3.2cqw; height: 3.2cqw; border-radius: 50%; background: var(--petroleo); color: var(--crema); display: grid; place-items: center; transform: scale(0); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--i) * .15s); }
.e-ok .icon { width: 1.8cqw; height: 1.8cqw; stroke-width: 3; }
.s6 .e-ok { transform: none; }

/* ---------- 05 · GOOGLE ---------- */
.g-map { position: absolute; left: 4cqw; top: 5cqw; width: 50cqw; height: 65cqw; border-radius: 2.4cqw; background: var(--petroleo-2); overflow: hidden; }
.g-st { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); height: 2cqw; background: rgba(246, 241, 234, .1); transform: rotate(var(--r)); transform-origin: left center; }
.g-st--thin { height: 1cqw; }
.g-park { position: absolute; left: 60%; top: 48%; width: 14cqw; height: 10cqw; border-radius: 2cqw; background: rgba(220, 195, 166, .12); transform: rotate(-6deg); }
.g-pin {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 3.4cqw; height: 3.4cqw;
  margin: -3.4cqw 0 0 -1.7cqw; border-radius: 50% 50% 50% 0; background: var(--arena);
  transform: rotate(-45deg) scale(0); transform-origin: 0 100%;
  transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--i) * 120ms);
}
.g-pin::after { content: ""; position: absolute; left: 32%; top: 32%; width: 36%; height: 36%; border-radius: 50%; background: var(--petroleo-2); }
.s2 .g-pin { transform: rotate(-45deg) scale(1); }
.g-pin--me {
  --x: 48; --y: 58; width: 5.6cqw; height: 5.6cqw; margin: -5.6cqw 0 0 -2.8cqw; background: var(--cobre);
  transform: rotate(-45deg) translate(6cqw, -6cqw) scale(1); opacity: 0;
  transition: transform .7s cubic-bezier(.3, 1.6, .5, 1), opacity .25s;
}
.s2 .g-pin--me { transform: rotate(-45deg) translate(6cqw, -6cqw) scale(1); }
.s3 .g-pin--me { transform: rotate(-45deg); opacity: 1; }
.g-radar { position: absolute; left: 48%; top: 58%; width: 18cqw; height: 18cqw; margin: -9cqw 0 0 -9cqw; border-radius: 50%; border: .3cqw solid rgba(246, 241, 234, .5); opacity: 0; transform: scale(.2); }
.s3 .g-radar { animation: gRadar 2.2s var(--ease) .4s infinite; }
@keyframes gRadar { 0% { opacity: .9; transform: scale(.2); } 100% { opacity: 0; transform: scale(1.4); } }
.g-search {
  position: absolute; left: 3cqw; right: 3cqw; top: 3cqw; height: 6.6cqw; padding: 0 2cqw; border-radius: 99px;
  background: var(--papel); color: var(--carbon); display: flex; align-items: center; gap: 1.2cqw; font-size: 1.95cqw;
}
.g-search .icon { width: 2.5cqw; height: 2.5cqw; color: var(--petroleo); }
.g-q { white-space: nowrap; clip-path: inset(0 100% 0 0); transition: clip-path 1.2s steps(22, end) .2s; }
.s1 .g-q { clip-path: inset(0 0 0 0); }

.g-list { position: absolute; left: 58cqw; right: 4cqw; top: 6cqw; height: 44cqw; }
.g-res {
  position: absolute; left: 0; right: 0; top: 0; height: 13cqw; padding: 1.7cqw 2cqw;
  background: var(--papel); color: var(--carbon); border-radius: 1.8cqw;
  display: flex; flex-direction: column; justify-content: center; gap: .9cqw;
  transform: translateY(calc(var(--p0) * 15cqw)); transition: transform 1s var(--ease-io);
}
.s5 .g-res { transform: translateY(calc(var(--p1) * 15cqw)); }
.g-res--me { box-shadow: inset .7cqw 0 0 var(--petroleo); z-index: 2; }
.s5 .g-res--me { animation: gLift 1s var(--ease-io); }
@keyframes gLift { 50% { box-shadow: inset .7cqw 0 0 var(--petroleo), 0 2cqw 4cqw rgba(15, 46, 48, .35); } }
.g-res--me > b { font-family: var(--f-display); font-weight: 600; font-size: 2cqw; }
.g-res small { font-size: 1.70cqw; color: var(--gris); }
.g-res small b { color: var(--carbon); font-weight: 500; }
.g-ph { display: block; width: 62%; height: 1.4cqw; border-radius: 1cqw; background: var(--linea); }
.g-ph--s { width: 40%; height: 1.1cqw; background: var(--crema-2); }
.g-stars { display: flex; gap: .3cqw; }
.g-stars .icon { width: 2.2cqw; height: 2.2cqw; }
.g-stars--x .icon { color: #CDBFAE; }
.g-stars--fill .icon { color: var(--linea); transition: color .3s, transform .4s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(.3s + var(--i) * .16s); }
.s4 .g-stars--fill .icon { color: var(--petroleo); transform: scale(1.12); }
.s5 .g-stars--fill .icon { transform: none; }

.g-qr {
  position: absolute; left: 58cqw; top: 54cqw; width: 14cqw; height: 16cqw; border-radius: 1.8cqw; background: var(--papel); color: var(--carbon);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6cqw;
  opacity: 0; transform: translateY(3cqw); transition: opacity .4s var(--ease), transform .6s var(--ease);
}
.g-qr .icon { width: 8cqw; height: 8cqw; stroke-width: 1.5; }
.g-qr small { font-size: 1.55cqw; font-weight: 500; }
.s4 .g-qr { opacity: 1; transform: none; }
.g-qr__txt { position: absolute; left: 75cqw; right: 4cqw; top: 57cqw; font-family: var(--f-display); font-weight: 600; font-size: 2.1cqw; line-height: 1.25; opacity: 0; transition: opacity .5s .3s; }
.s4 .g-qr__txt { opacity: 1; }
.g-fly { position: absolute; left: 63cqw; top: 58cqw; color: var(--crema); opacity: 0; pointer-events: none; }
.g-fly .icon { width: 2.6cqw; height: 2.6cqw; }
.s4 .g-fly { animation: gFly 1.1s var(--ease-io) both; animation-delay: calc(.2s + var(--i) * .22s); }
@keyframes gFly {
  0% { opacity: 0; transform: translate(0, 0) scale(.6); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(10cqw, -16cqw) scale(1.1); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .nav { display: none; }
  .site-header__inner { justify-content: space-between; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding: 48px var(--gutter) 56px; max-width: none; }
  .hero__visual { min-height: 0; aspect-ratio: 1 / .92; }
  .hero__rings { width: min(68%, 420px); }
  .propuesta__grid, .casos__grid, .sobre__grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 36px; }
  .service--flip .service__text { order: 0; }
  .sobre__visual { max-width: 460px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand span { display: none; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .flow li { font-size: 12.5px; padding-right: 10px; }
  .contacto__actions .btn { width: 100%; justify-content: center; }
  .wa-float { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero__text > *, .js .hero .ring, .js .hero__photo { opacity: 1; transform: none; animation: none; transition: none; }
}

/* Titular en dos niveles: display máx. dos líneas */
.display__sub {
  display: block; margin-top: 14px;
  font-weight: 500; font-size: clamp(1.45rem, 1.05rem + 1.4vw, 2.1rem);
  line-height: 1.2; letter-spacing: -.015em; color: var(--petroleo);
}
.hero__block--arena { z-index: 1; }
