/* =========================================================
   Helianth · Landing
   Marca: isotipo 02 + logotipo 02 · Paleta A «Solar templada»
   Proporción: 60% neutros claros · 25% oscuros · 10% solar · 5% terracota
   ========================================================= */

:root {
  /* Paleta A */
  --lino: #F2EEE4;
  --arena: #D8D1C0;
  --piedra: #6F6A58;
  --solar: #EFB63B;
  --terracota: #D9701F;
  --petroleo: #124257;
  --tinta: #0B1E29;

  /* Derivados (mezclas de la paleta) */
  --lino-2: #E9E3D6;
  --lino-hi: #F8F6F0;
  --tinta-2: #112937;
  --error: #9E4A0E;
  --grad: linear-gradient(90deg, var(--solar), var(--terracota));

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --sec-y: clamp(88px, 11vw, 150px);
  --panel-m: clamp(8px, 1.4vw, 20px);
  --radius: 24px;
  --radius-lg: 32px;
  --radius-xl: clamp(24px, 3vw, 44px);
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 60px -30px rgba(11, 30, 41, .35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--lino);
  color: var(--tinta);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { max-width: 100%; display: block; }
svg { fill: currentColor; }
::selection { background: var(--solar); color: var(--tinta); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

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

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--tinta); color: var(--lino); padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--petroleo); outline-offset: 3px; border-radius: 6px; }
.panel--ink :focus-visible, .panel--petrol :focus-visible, .footer :focus-visible, .mobile-menu :focus-visible { outline-color: var(--solar); }

/* Imagotipo: los colores se pasan por variables a los <use> */
.imago-iso { fill: var(--iso-c, currentColor); }
.imago-logo { fill: var(--logo-c, currentColor); }
.imago { display: block; height: auto; overflow: visible; }
.imago--light { --iso-c: var(--petroleo); --logo-c: var(--petroleo); }
.imago--dark { --iso-c: var(--solar); --logo-c: var(--lino); }

/* ---------- Tipografía ---------- */
h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.032em;
  font-weight: 700;
  text-wrap: balance;
}
.lead { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.55; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  font: 500 .78rem/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--piedra);
}
.eyebrow .sq { width: 9px; height: 9px; border-radius: 2px; background: var(--terracota); flex: none; }
.eyebrow .num { color: var(--tinta); }
.eyebrow .num::after { content: " /"; color: var(--piedra); }
.eyebrow--dark { color: rgba(242, 238, 228, .72); }
.eyebrow--dark .sq { background: var(--solar); }
.eyebrow--dark .num { color: var(--solar); }
.eyebrow--dark .num::after { color: rgba(242, 238, 228, .45); }

.tag { font: 500 .72rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--piedra); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 12px 12px 12px 22px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  font: 600 1rem/1.1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.btn-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; transition: transform .35s var(--ease); }
.btn-ico .ico { width: 16px; height: 16px; stroke-width: 2.25; }
.btn:hover .btn-ico { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary { background: var(--tinta); color: var(--lino); }
.btn-primary .btn-ico { background: var(--solar); color: var(--tinta); }
.btn-primary:hover { background: var(--petroleo); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(18, 66, 87, .75); }

.btn-solar { background: var(--solar); color: var(--tinta); }
.btn-solar .btn-ico { background: var(--tinta); color: var(--solar); }
.btn-solar:hover { background: #F4C559; transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(239, 182, 59, .7); }

.btn-outline { padding: 15px 24px; border-color: var(--tinta); color: var(--tinta); background: transparent; }
.btn-outline:hover { background: var(--tinta); color: var(--lino); transform: translateY(-2px); }

.btn-sm { padding: 11px 18px; font-size: .95rem; border-radius: 12px; }
.btn-lg { padding: 14px 14px 14px 26px; font-size: 1.06rem; }
.btn-lg .btn-ico { width: 34px; height: 34px; border-radius: 10px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 0;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  transition: background-size .35s var(--ease);
}
.link-arrow .ico { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover { background-size: 0 2px; background-position: 100% 100%; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Iconos en baldosa ---------- */
.tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.tile .ico { width: 24px; height: 24px; }
.tile--sm { width: 42px; height: 42px; border-radius: 12px; }
.tile--sm .ico { width: 20px; height: 20px; }
.tile--ink { background: var(--tinta); color: var(--solar); }
.tile--petrol { background: var(--petroleo); color: var(--solar); }
.tile--terra { background: var(--terracota); color: var(--tinta); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav.is-scrolled {
  background: rgba(242, 238, 228, .84);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  box-shadow: 0 1px 0 rgba(11, 30, 41, .08), 0 10px 30px -20px rgba(11, 30, 41, .3);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav-brand { display: block; flex: none; }
.nav-brand .imago { width: 148px; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  position: relative;
  padding: 9px 14px;
  border-radius: 10px;
  font-weight: 500;
  font-size: .98rem;
  text-decoration: none;
  color: rgba(11, 30, 41, .78);
  transition: background-color .2s, color .2s;
}
.nav-links a:hover { background: rgba(11, 30, 41, .06); color: var(--tinta); }
.nav-links a.is-active { color: var(--tinta); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 1px;
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--terracota);
  transform: translateX(-50%);
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border: 0; border-radius: 12px;
  background: var(--tinta); color: var(--lino);
  place-items: center;
  cursor: pointer;
}
.nav-toggle .ico { width: 22px; height: 22px; }
.nav.menu-open { background: var(--tinta); box-shadow: none; backdrop-filter: none; }
.nav.menu-open .imago { --iso-c: var(--solar); --logo-c: var(--lino); }
.nav.menu-open .nav-toggle { background: var(--solar); color: var(--tinta); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  display: flex; flex-direction: column; gap: 36px;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  background: var(--tinta); color: var(--lino);
  overflow: hidden auto;
  animation: menu-in .35s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(242, 238, 228, .1);
  font-size: clamp(1.8rem, 8vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.mobile-menu nav a span { font: 500 .8rem var(--mono); color: var(--solar); letter-spacing: .1em; }
.mobile-menu .btn { align-self: flex-start; position: relative; z-index: 1; }
.mobile-menu-iso { position: absolute; right: -110px; bottom: -110px; width: 360px; height: 346px; color: var(--petroleo); pointer-events: none; animation: spin 60s linear infinite; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(36px, 6vw, 88px)) 0 clamp(88px, 9vw, 130px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 78% 42%, rgba(239, 182, 59, .26), transparent 34%),
    radial-gradient(circle at 10% 100%, rgba(18, 66, 87, .08), transparent 40%),
    radial-gradient(rgba(11, 30, 41, .14) 1.2px, transparent 1.4px) 0 0 / 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title {
  margin: 26px 0 26px;
  font-size: clamp(2.8rem, 6.3vw, 5.5rem);
  line-height: .98;
  letter-spacing: -0.042em;
  font-weight: 700;
  text-wrap: balance;
}
.hl { position: relative; z-index: 0; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; z-index: -1;
  left: -.04em; right: -.04em; bottom: .05em; height: .26em;
  border-radius: .08em;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  animation: draw .9s .7s var(--ease) forwards;
}
.hl + .hl::after, .hero-title .hl:last-child::after { animation-delay: .95s; }
.hero-lead { display: flex; align-items: center; gap: 12px; font-size: clamp(1.2rem, 1.7vw, 1.4rem); font-weight: 600; letter-spacing: -0.01em; }
.code-tag { display: inline-grid; place-items: center; height: 32px; padding: 0 10px; border-radius: 9px; background: var(--tinta); color: var(--solar); font: 500 .85rem var(--mono); flex: none; }
.hero-text { margin-top: 14px; max-width: 58ch; color: var(--piedra); font-size: 1.08rem; }
.hero-text strong { display: block; margin-bottom: 8px; color: var(--tinta); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }

/* Visual: sol + isotipo en floración */
.hero-visual { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; justify-self: end; }
.hud { position: absolute; width: 22px; height: 22px; border: 2px solid var(--tinta); opacity: .28; }
.hud-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.hud-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.hud-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.hud-br { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.sun { position: absolute; inset: 8%; }
.sun-ticks { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 90s linear infinite; }
.sun-ticks circle { fill: none; stroke: var(--solar); stroke-width: 9; stroke-dasharray: 1.4 4.6; }
.orbit { position: absolute; border-radius: 50%; animation: spin 36s linear infinite; }
.orbit-1 { inset: 11%; border: 1.5px dashed rgba(11, 30, 41, .22); }
.orbit-2 { inset: -6%; border: 1px solid rgba(11, 30, 41, .1); animation-duration: 60s; animation-direction: reverse; }
.planet { position: absolute; top: -7px; left: calc(50% - 7px); width: 14px; height: 14px; border-radius: 3px; background: var(--tinta); }
.planet--alt { top: auto; bottom: -6px; width: 12px; height: 12px; background: var(--petroleo); }
.sun-core {
  position: absolute; inset: 21%;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #1B5873, var(--petroleo) 55%, #0D3445);
  box-shadow: 0 50px 90px -30px rgba(18, 66, 87, .65), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.bloom { width: 64%; height: auto; overflow: visible; transform: rotate(var(--scroll-rot, 0deg)); transform-origin: 50% 51.5%; }
.bloom-spin { transform-box: view-box; transform-origin: 156px 154.5px; animation: spin 70s linear infinite; }
.petal {
  fill: var(--solar);
  transform-box: view-box; transform-origin: 156px 154.5px;
  animation: petal-in 1.1s cubic-bezier(.2, .9, .25, 1.15) both;
  animation-delay: calc(.3s + var(--i) * .1s);
}
.float-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 16px 9px 9px;
  border-radius: 14px;
  background: var(--lino-hi);
  border: 1px solid var(--arena);
  box-shadow: 0 22px 40px -22px rgba(11, 30, 41, .45);
  font-weight: 500; font-size: .95rem; line-height: 1.2;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--tinta); color: var(--solar); }
.chip-ico .ico { width: 20px; height: 20px; }
.chip-ico--petrol { background: var(--petroleo); }
.chip-ico--sand { background: var(--arena); color: var(--tinta); }
.chip-a { top: 7%; left: -6%; }
.chip-b { top: 47%; right: -8%; animation-delay: -2s; }
.chip-c { bottom: 5%; left: 0; animation-delay: -4s; }

/* ---------- Banda en movimiento ---------- */
.marquee-wrap { position: relative; z-index: 3; margin: -58px 0 -24px; padding-block: 24px; overflow-x: clip; }
.marquee {
  padding: 20px 0;
  background: var(--tinta); color: var(--lino);
  transform: rotate(-1.4deg) scale(1.03);
  overflow: hidden;
  box-shadow: 0 20px 40px -24px rgba(11, 30, 41, .6);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 30px; padding-right: 30px; }
.marquee span { font-size: clamp(1.05rem, 1.8vw, 1.4rem); font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.marquee svg { width: 22px; height: 21px; color: var(--solar); flex: none; }

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: var(--sec-y); }
.section--sand { background: var(--lino-2); }
.section--panel {
  margin: var(--panel-m);
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
}
.panel--ink { background: var(--tinta); color: var(--lino); }
.panel--petrol { background: var(--petroleo); color: var(--lino); }
.panel-grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(242, 238, 228, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 238, 228, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 75% 0%, #000, transparent 75%);
}
.panel-iso { position: absolute; z-index: -1; width: 560px; height: 538px; right: -160px; top: -150px; color: var(--petroleo); opacity: .45; animation: spin 140s linear infinite; }

.sec-head { max-width: 780px; margin-bottom: clamp(44px, 5.5vw, 76px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }

/* ---------- 03 · Problema ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p-card {
  position: relative; overflow: hidden;
  padding: clamp(26px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--lino);
  border: 1px solid var(--arena);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.p-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.p-card:hover::before { transform: scaleX(1); }
.p-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.p-card h3 { margin-bottom: 14px; font-size: 1.42rem; line-height: 1.22; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.p-card > p { color: var(--piedra); }

.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px 48px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--tinta); color: rgba(242, 238, 228, .78);
}
.cta-band p { max-width: 62ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.cta-band strong { color: var(--lino); font-weight: 600; }
.cta-band-iso { position: absolute; z-index: -1; right: -70px; bottom: -110px; width: 280px; height: 269px; color: var(--petroleo); animation: spin 60s linear infinite; }

/* ---------- 04 · Soluciones ---------- */
/* A y C se apilan a la izquierda; B (plan integral, la más larga) ocupa la derecha */
.sol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas: "a b" "c b";
  gap: 20px;
  align-items: start;
}
.sol-card--a { grid-area: a; }
.sol-card--b { grid-area: b; align-self: stretch; }
.sol-card--c { grid-area: c; align-self: stretch; }
.sol-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: var(--radius);
  background: var(--tinta-2);
  border: 1px solid rgba(242, 238, 228, .08);
  transition: border-color .3s, transform .45s var(--ease);
}
.sol-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(239, 182, 59, .14), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.sol-card:hover { border-color: rgba(239, 182, 59, .35); transform: translateY(-4px); }
.sol-card:hover::before { opacity: 1; }
.sol-head { position: relative; display: flex; align-items: center; gap: 16px; padding-bottom: 22px; margin-bottom: 6px; border-bottom: 1px solid rgba(242, 238, 228, .12); }
.sol-head-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--solar); color: var(--tinta); flex: none; }
.sol-head-ico .ico { width: 24px; height: 24px; }
.sol-head h3 { font-size: 1.3rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.sol-kicker { margin-bottom: 6px; font: 500 .72rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--solar); }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.tag-row span { padding: 4px 9px; border-radius: 7px; border: 1px solid rgba(242, 238, 228, .2); font: 500 .7rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--solar); }
.svc-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px dashed rgba(242, 238, 228, .12); }
.svc-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.svc-list .ico { width: 22px; height: 22px; margin-top: 2px; color: var(--solar); transition: transform .35s var(--ease); }
.svc-list li:hover .ico { transform: scale(1.15) rotate(-6deg); }
.svc-list h4 { margin-bottom: 4px; font-size: 1.06rem; font-weight: 600; color: var(--lino); }
.svc-list p { font-size: .97rem; line-height: 1.55; color: rgba(242, 238, 228, .68); }

/* ---------- 05 · Proceso ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps-track { position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 2px; background: var(--arena); border-radius: 2px; }
.steps-fill { display: block; width: calc(var(--p, 0) * 100%); height: 100%; border-radius: inherit; background: var(--grad); }
.step { position: relative; text-align: center; padding-inline: 6px; }
.step-node {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 54px; height: 54px;
  margin: 9px auto 34px;
  border-radius: 14px;
  background: var(--lino);
  border: 2px solid var(--arena);
  color: var(--piedra);
  transform: rotate(45deg);
  transition: background-color .45s var(--ease), border-color .45s, color .45s, box-shadow .45s;
}
.step-node .ico { width: 24px; height: 24px; transform: rotate(-45deg); }
.step.is-active .step-node { background: var(--tinta); border-color: var(--tinta); color: var(--solar); box-shadow: 0 14px 30px -12px rgba(11, 30, 41, .55); }
.step-num { display: block; margin-bottom: 8px; font: 500 .8rem var(--mono); letter-spacing: .12em; color: var(--piedra); }
.step h3 { margin-bottom: 10px; font-size: 1.4rem; font-weight: 600; letter-spacing: -0.015em; }
.step p { color: var(--piedra); max-width: 30ch; margin-inline: auto; }
.your-part {
  display: flex; align-items: center; gap: 16px;
  width: fit-content; max-width: 100%;
  margin: clamp(52px, 6vw, 84px) auto 0;
  padding: 14px 28px 14px 14px;
  border-radius: 999px;
  background: var(--petroleo); color: rgba(242, 238, 228, .88);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  box-shadow: 0 24px 50px -28px rgba(18, 66, 87, .8);
}
.your-part strong { color: var(--solar); font-weight: 600; }
.your-part-ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--solar); color: var(--tinta); }
.your-part-ico .ico { width: 20px; height: 20px; stroke-width: 2.6; }

/* ---------- 06 · Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-copy .lead { margin: 26px 0 18px; color: var(--tinta); font-weight: 500; }
.about-copy p:not(.lead):not(.eyebrow) { color: var(--piedra); max-width: 58ch; }
/* Visual: el equipo en globitos que orbitan alrededor del número */
.about-visual { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; justify-self: center; container-type: inline-size; }
.crew-ring { position: absolute; inset: 13%; border-radius: 50%; border: 1.5px dashed rgba(11, 30, 41, .2); }
.crew { position: absolute; inset: 0; animation: spin 150s linear infinite; }
.crew-slot {
  position: absolute; left: 50%; top: 50%;
  width: 12cqw; height: 12cqw;
  margin: -6cqw 0 0 -6cqw;
  transform: rotate(calc(var(--k) * 360deg / 13)) translateY(-37cqw);
}
.crew-bubble {
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 3px solid var(--lino-2);
  box-shadow: 0 12px 24px -12px rgba(11, 30, 41, .55);
  font-weight: 700; font-size: 3.6cqw; letter-spacing: -0.02em;
  rotate: calc(var(--k) * -360deg / 13);
  animation: spin 150s linear infinite reverse;
}
.crew-bubble::before { content: attr(data-initials); }
.crew-bubble img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-badge {
  position: absolute; inset: 25%; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  border-radius: 50%;
  background: var(--tinta); color: var(--lino);
  overflow: hidden; isolation: isolate;
  box-shadow: 0 40px 80px -36px rgba(11, 30, 41, .6);
}
.team-badge-num { font-size: 21cqw; font-weight: 700; line-height: .8; letter-spacing: -0.06em; color: var(--solar); }
.team-badge-label { margin-top: 2.6cqw; font: 500 clamp(.66rem, 2.5cqw, .8rem)/1.35 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(242, 238, 228, .72); }
.team-badge-iso { position: absolute; z-index: -1; top: -26%; right: -26%; width: 72%; height: 69%; color: var(--petroleo); animation: spin 40s linear infinite; }
.disc {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--lino-hi);
  border: 1px solid var(--arena);
  box-shadow: 0 18px 34px -20px rgba(11, 30, 41, .45);
  font-weight: 500; font-size: .95rem;
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.disc-1 { top: 2%; left: -2%; }
.disc-2 { top: -1%; right: 12%; animation-delay: -1.5s; }
.disc-3 { top: 18%; right: -10%; animation-delay: -3s; }
.disc-4 { top: 24%; left: -13%; animation-delay: -4.5s; }
.disc-5 { top: 44%; right: -12%; animation-delay: -2.2s; }
.disc-6 { top: 58%; left: -11%; animation-delay: -6s; }
.disc-7 { bottom: 17%; right: -8%; animation-delay: -3.7s; }
.disc-8 { bottom: -3%; right: 22%; animation-delay: -.8s; }
.disc-game { bottom: -2%; left: -6%; background: var(--petroleo); border-color: var(--petroleo); color: var(--lino); animation-delay: -5.5s; }
.disc-game .ico { color: var(--solar); }

.mv { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(84px, 10vw, 140px); background: var(--petroleo); color: var(--lino); }
.mv-rays {
  position: absolute; z-index: -1; left: 50%; bottom: -70vmax;
  width: 140vmax; aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(242, 238, 228, .055) 0deg 3deg, transparent 3deg 12deg);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 62%);
  mask-image: radial-gradient(circle, #000 18%, transparent 62%);
  animation: rays 160s linear infinite;
}
.mv-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.mv-text { font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.38; font-weight: 400; color: rgba(242, 238, 228, .9); text-wrap: pretty; }
.mv-item--vision { padding-left: clamp(32px, 5vw, 72px); border-left: 1px solid rgba(242, 238, 228, .16); }
.mv-quote { font-size: clamp(2.2rem, 4.8vw, 4.1rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; color: var(--solar); text-wrap: balance; }

.team-head { display: flex; align-items: center; gap: 28px; margin-bottom: clamp(30px, 4vw, 48px); }
.team-head-line { flex: 1; height: 1px; background: var(--arena); }

/* Carrusel del equipo: --per tarjetas visibles; se desliza con flechas, arrastre o swipe */
.carousel-nav { display: flex; gap: 10px; flex: none; }
.carousel-btn {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 14px;
  border: 1.5px solid var(--tinta);
  background: transparent; color: var(--tinta);
  cursor: pointer;
  transition: background-color .25s, color .25s, opacity .25s, transform .3s var(--ease);
}
.carousel-btn .ico { width: 20px; height: 20px; stroke-width: 2.2; }
.carousel-btn--prev .ico { transform: rotate(180deg); }
.carousel-btn:hover:not(:disabled) { background: var(--tinta); color: var(--solar); transform: translateY(-2px); }
.carousel-btn:disabled { opacity: .28; cursor: default; }
.carousel { margin-inline: calc(var(--gutter) * -1); }
.team-track {
  --per: 6; --gap: 16px;
  display: flex; gap: var(--gap);
  margin: 0;
  padding: 12px var(--gutter) 36px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  cursor: grab;
}
.team-track::-webkit-scrollbar { display: none; }
.team-track:focus-visible { outline-offset: -3px; }
.team-track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.team-track.is-dragging .team-card { pointer-events: none; }
.team-card {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  min-width: 0;
  scroll-snap-align: start;
  padding: 10px 10px 20px;
  border-radius: 20px;
  background: var(--lino-hi);
  border: 1px solid var(--arena);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.team-card .avatar { aspect-ratio: 4 / 5; margin-bottom: 16px; border-radius: 13px; }
.team-card .avatar::before { font-size: clamp(2.2rem, 3vw, 2.8rem); }
.team-card .avatar img { pointer-events: none; }
.team-card:hover .avatar-iso { transform: rotate(72deg); }
.team-card h3, .team-card .role { padding-inline: 6px; }
.team-card h3 { font-size: 1.02rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.team-card .role { font-size: .64rem; }
.carousel-foot { display: flex; align-items: center; gap: 28px; }
.carousel-progress { flex: 1; height: 3px; border-radius: 3px; background: var(--arena); overflow: hidden; }
.carousel-progress span {
  display: block; height: 100%;
  width: calc(var(--size, .3) * 100%);
  border-radius: inherit;
  background: var(--grad);
  transform: translateX(calc(var(--pos, 0) * (1 / var(--size, .3) - 1) * 100%));
}
.carousel-foot .link-arrow { flex: none; }

.avatar {
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  aspect-ratio: 1;
  margin-bottom: 18px;
  border-radius: 50%;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.avatar::before { content: attr(data-initials); position: relative; z-index: 1; font-size: 2.3rem; font-weight: 700; letter-spacing: -0.05em; }
.avatar img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.avatar-iso { position: absolute; right: -42%; bottom: -40%; width: 120%; height: 115%; transition: transform 1.1s var(--ease); }
.member:hover .avatar { transform: translateY(-6px); box-shadow: var(--shadow); }
.member:hover .avatar-iso { transform: rotate(72deg); }
.av-petrol { background: var(--petroleo); color: var(--solar); }
.av-petrol .avatar-iso { color: #1A5069; }
.av-ink { background: var(--tinta); color: var(--lino); }
.av-ink .avatar-iso { color: #143446; }
.av-sand { background: var(--arena); color: var(--tinta); }
.av-sand .avatar-iso { color: #CCC4AF; }
.av-terra { background: var(--terracota); color: var(--tinta); }
.av-terra .avatar-iso { color: #C9661C; }

/* Fotos del equipo: recorte sin fondo (Higgsfield) sobre un mismo fondo de marca para todos */
.avatar.has-photo, .crew-bubble.has-photo,
.team-card .avatar, .profile .avatar, .crew-bubble {
  background: radial-gradient(120% 90% at 50% 30%, #E4DDCD, var(--arena) 70%);
  color: var(--petroleo);
}
.avatar.has-photo .avatar-iso, .team-card .avatar-iso, .profile .avatar-iso { color: #CFC7B2; }
.avatar.has-photo::before, .crew-bubble.has-photo::before { content: none; }
.avatar img { object-position: 50% 0; }
/* En los formatos redondos la foto se acerca a la cara */
.crew-bubble img { transform: scale(1.4); transform-origin: 50% 47%; }
.member h3 { font-size: 1.04rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.role { margin-top: 6px; font: 500 .68rem/1.45 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--petroleo); text-wrap: balance; }
.bio { margin-top: 12px; font-size: .96rem; line-height: 1.55; color: var(--piedra); }

/* ---------- Página de equipo (equipo.html) ---------- */
.page-head { position: relative; overflow: hidden; padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px); }
.page-head .hero-bg { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.page-head h1 { margin-bottom: 22px; font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -0.04em; font-weight: 700; text-wrap: balance; }
.page-head .lead { max-width: 60ch; color: var(--piedra); }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-weight: 500; font-size: .95rem; color: var(--piedra); text-decoration: none; transition: color .2s; }
.back-link .ico { width: 16px; height: 16px; transform: rotate(180deg); transition: transform .3s var(--ease); }
.back-link:hover { color: var(--tinta); }
.back-link:hover .ico { transform: rotate(180deg) translateX(3px); }

.profiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.profile {
  display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: start;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--radius);
  background: var(--lino);
  border: 1px solid var(--arena);
}
.profile:hover { box-shadow: var(--shadow); border-color: transparent; }
/* Foto rectangular 4:5 (la misma proporción que el carrusel), así se ve completa */
.profile .avatar { margin: 0; aspect-ratio: 4 / 5; border-radius: 16px; }
.profile .avatar::before { font-size: 2.4rem; }
.profile h2 { margin-top: 4px; }
.profile:hover .avatar-iso { transform: rotate(72deg); }
.profile h2 { font-size: 1.3rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; }
.profile .bio { margin-top: 14px; }

/* ---------- 09 · Preguntas ---------- */
.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--nav-h) + 36px); }
.faq-aside h2 { margin-bottom: 32px; }
.faq-iso { display: block; width: 190px; height: 183px; margin-top: 56px; color: var(--petroleo); opacity: .1; animation: spin 80s linear infinite; }
.faq-item { border-bottom: 1px solid var(--arena); }
.faq-item:first-child { border-top: 1px solid var(--arena); }
.faq-item h3 { font-size: inherit; font-weight: inherit; }
.faq-item button {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  border: 0; background: none;
  font: 600 clamp(1.08rem, 1.5vw, 1.22rem)/1.35 var(--font);
  color: var(--tinta);
  text-align: left;
  cursor: pointer;
}
.faq-item button:hover { color: var(--petroleo); }
.faq-plus {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--lino); border: 1px solid var(--arena); color: var(--tinta);
  transition: transform .45s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.faq-plus .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.faq-item.is-open .faq-plus { transform: rotate(135deg); background: var(--tinta); border-color: var(--tinta); color: var(--solar); }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-panel > div { overflow: hidden; visibility: hidden; transition: visibility 0s .45s; }
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-item.is-open .faq-panel > div { visibility: visible; transition-delay: 0s; }
.faq-panel p { padding: 0 64px 26px 0; color: var(--piedra); max-width: 64ch; }
.faq-panel a { color: var(--petroleo); font-weight: 600; }

/* ---------- 10 · Contacto ---------- */
.contact-iso { position: absolute; z-index: -1; left: -220px; bottom: -260px; width: 680px; height: 654px; color: rgba(242, 238, 228, .06); animation: spin 110s linear infinite; }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-copy .lead { margin: 24px 0 36px; color: rgba(242, 238, 228, .8); }
.contact-meta li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(242, 238, 228, .14); color: rgba(242, 238, 228, .86); }
.contact-meta li:first-child { border-top: 1px solid rgba(242, 238, 228, .14); }
.contact-meta .ico { width: 22px; height: 22px; color: var(--solar); }
.contact-meta a { color: var(--lino); font-weight: 500; text-underline-offset: 4px; }
.contact-meta a:hover { color: var(--solar); }

.form-card {
  padding: clamp(24px, 3.6vw, 44px);
  border-radius: 28px;
  background: var(--lino); color: var(--tinta);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .55);
}
.chips { margin: 0 0 26px; padding: 0; border: 0; min-width: 0; }
.chips legend { margin-bottom: 12px; padding: 0; font-weight: 600; font-size: 1.04rem; }
.chips legend em { font-style: normal; font-weight: 400; font-size: .9rem; color: var(--piedra); }
.req { color: var(--terracota); font-weight: 700; }
.req-note { margin-top: 14px; font-size: .88rem; color: var(--piedra); }
.chips-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px 10px 13px;
  border-radius: 12px;
  border: 1.5px solid var(--arena);
  background: var(--lino-hi);
  font-weight: 500; font-size: .96rem;
  cursor: pointer; user-select: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.chip span::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--arena); transition: background-color .2s, transform .3s var(--ease); }
.chip:hover span { border-color: var(--tinta); }
.chip input:checked + span { background: var(--tinta); border-color: var(--tinta); color: var(--lino); }
.chip input:checked + span::before { background: var(--solar); transform: rotate(45deg); }
.chip input:focus-visible + span { outline: 3px solid var(--petroleo); outline-offset: 2px; }
.chip input:active + span { transform: scale(.97); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 6px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field-label { font-weight: 600; font-size: .96rem; }
.field-label em { font-style: normal; font-weight: 400; color: var(--piedra); }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--arena);
  background: var(--lino-hi);
  color: var(--tinta);
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 116px; }
.field input::placeholder, .field textarea::placeholder { color: #9A9482; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--petroleo); box-shadow: 0 0 0 4px rgba(18, 66, 87, .14); }
.field-error { display: none; font-size: .88rem; font-weight: 500; color: var(--error); }
.chips .field-error { margin-top: 10px; }
.is-invalid .field-error { display: block; }
.is-invalid input:not([type="checkbox"]):not([type="radio"]) { border-color: var(--error); }
.chips.is-invalid .chip span { border-color: rgba(158, 74, 14, .55); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.form-note { flex: 1; min-width: 220px; font-size: .9rem; color: var(--piedra); }
.form-note a { color: var(--petroleo); font-weight: 500; text-underline-offset: 3px; }
.form-error { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: rgba(158, 74, 14, .1); color: var(--error); font-weight: 500; }
.btn.is-loading .btn-ico .ico { animation: spin 1s linear infinite; }

.form-success { padding: clamp(28px, 5vw, 56px) 8px; text-align: center; outline: none; }
.success-iso { width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 26px; display: grid; place-items: center; background: var(--petroleo); color: var(--solar); }
.success-iso svg { width: 54px; height: 52px; animation: spin 24s linear infinite; }
.form-success h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; }
.form-success p { max-width: 42ch; margin: 12px auto 0; color: var(--piedra); }

/* ---------- 11 · Pie de página ---------- */
.footer { position: relative; overflow: hidden; padding-top: clamp(72px, 9vw, 120px); background: var(--tinta); color: var(--lino); }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(242, 238, 228, .12); }
.footer-brand .imago { width: 230px; }
.slogan { margin: 34px 0 22px; font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.12; font-weight: 600; letter-spacing: -0.025em; }
.slogan span { display: block; }
.slogan span:nth-child(1) { color: rgba(242, 238, 228, .45); }
.slogan span:nth-child(2) { color: rgba(242, 238, 228, .75); }
.slogan span:nth-child(3) { color: var(--solar); }
.footer-place { display: inline-flex; align-items: center; gap: 10px; font: 500 .8rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(242, 238, 228, .6); }
.footer-place .ico { width: 18px; height: 18px; color: var(--solar); }
.footer-col h2 { margin-bottom: 20px; font: 500 .75rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(242, 238, 228, .5); }
.footer-col li { padding: 7px 0; }
.footer-col a { color: rgba(242, 238, 228, .86); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--solar); }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; }
.footer-social .ico { width: 18px; height: 18px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; font-size: .92rem; color: rgba(242, 238, 228, .55); }
.to-top { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: rgba(242, 238, 228, .75); }
.to-top .ico { width: 16px; height: 16px; transform: rotate(-90deg); transition: transform .3s var(--ease); }
.to-top:hover { color: var(--solar); }
.to-top:hover .ico { transform: rotate(-90deg) translateX(3px); }
.footer-word { display: block; width: calc(100% - var(--gutter) * 2); max-width: 1500px; height: auto; margin: 8px auto -1.2%; color: rgba(242, 238, 228, .045); }

/* ---------- CTA fija en móvil ---------- */
.mobile-cta { display: none; }

/* ---------- Animación de entrada ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero-visual[data-reveal] { transform: scale(.94); }
.js .hero-visual[data-reveal].is-in { transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rays { to { rotate: 360deg; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes draw { to { transform: scaleX(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes petal-in {
  from { opacity: 0; transform: scale(.15) rotate(-80deg); }
  to { opacity: 1; transform: none; }
}

/* ---------- Modo revisión (?revision) ---------- */
.revision .pend { background: #FFE97A; color: var(--tinta); box-shadow: 0 0 0 2px #FFE97A; border-radius: 3px; cursor: help; }
.revision .pend-block { outline: 2px dashed #D9B500; outline-offset: 6px; border-radius: 6px; }
.rev-badge { position: fixed; left: 16px; bottom: 16px; z-index: 200; padding: 10px 14px; border-radius: 12px; background: #FFE97A; color: var(--tinta); font: 500 .82rem var(--mono); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .4); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1279px) {
  .team-track { --per: 5; }
}

@media (max-width: 1120px) {
  .nav-links a { padding-inline: 10px; }
  .chip-a { left: -2%; }
  .chip-b { right: -3%; }
  .team-track { --per: 4; }
}

@media (max-width: 960px) {
  :root { --nav-h: 68px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .nav-brand .imago { width: 132px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 460px; margin-top: 12px; }
  .problem-grid { grid-template-columns: 1fr; }
  .p-card { display: grid; grid-template-columns: auto 1fr; column-gap: 22px; }
  .p-card-top { grid-row: span 2; flex-direction: column; align-items: flex-start; margin: 0; }
  .p-card-top .tag { display: none; }
  .p-card h3 { margin-bottom: 10px; }
  .p-card > p { grid-column: 2; }
  .p-card::after { content: none; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps-track { top: 8px; bottom: 8px; left: 35px; right: auto; width: 2px; height: auto; }
  .steps-fill { width: 100%; height: calc(var(--p, 0) * 100%); }
  .step { display: grid; grid-template-columns: 72px 1fr; column-gap: 20px; text-align: left; padding: 0 0 36px; }
  .step:last-child { padding-bottom: 0; }
  .step-node { grid-row: span 3; margin: 9px; }
  .step p { margin: 0; max-width: 46ch; }
  .your-part { border-radius: 22px; }

  .about-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; }
  .mv-grid { grid-template-columns: 1fr; gap: 44px; }
  .mv-item--vision { padding: 44px 0 0; border-left: 0; border-top: 1px solid rgba(242, 238, 228, .16); }
  .profiles { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .team-track { --per: 3; }
  .faq-aside { position: static; }
  .faq-iso { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .mobile-cta {
    display: block;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    transform: translateY(160%);
    transition: transform .45s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { width: 100%; justify-content: space-between; box-shadow: 0 18px 40px -14px rgba(11, 30, 41, .6); }
  .footer { padding-bottom: 76px; }
  .sol-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "a" "b" "c"; }
  .team-head-line { min-width: 24px; }
  .team-track { --per: 2; --gap: 14px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero-title { margin: 20px 0; }
  .hero-lead { font-size: 1.12rem; }
  .hero-actions .btn { width: 100%; justify-content: space-between; }
  .float-chip { font-size: .82rem; padding: 7px 12px 7px 7px; gap: 9px; }
  .chip-ico { width: 30px; height: 30px; border-radius: 9px; }
  .chip-ico .ico { width: 17px; height: 17px; }
  .chip-a { top: 2%; left: 0; }
  .chip-b { top: 50%; right: 0; }
  .chip-c { bottom: 1%; left: 4%; }
  .marquee-wrap { margin-top: -44px; }
  .marquee { padding: 15px 0; }
  .p-card { display: block; }
  .p-card-top { flex-direction: row; align-items: center; margin-bottom: 22px; }
  .p-card-top .tag { display: block; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn { justify-self: stretch; justify-content: space-between; }
  .your-part { padding: 14px 18px 14px 14px; }
  .disc { font-size: .76rem; padding: 6px 10px; border-radius: 10px; }
  .disc-game .ico { width: 1.1em; height: 1.1em; }
  .disc-3, .disc-5, .disc-7 { right: 0; }
  .disc-4, .disc-6, .disc-game { left: 0; }
  .team-head { gap: 18px; }
  .carousel-btn { width: 44px; height: 44px; border-radius: 12px; }
  .team-track { --per: 1.35; }
  .carousel-foot { gap: 20px; }
  .member h3 { font-size: 1rem; }
  .bio { font-size: .94rem; }
  .profile { grid-template-columns: 104px 1fr; gap: 18px; }
  .profile .avatar { border-radius: 12px; }
  .profile .avatar::before { font-size: 1.8rem; }
  .faq-panel p { padding-right: 0; }
  .fields { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; justify-content: space-between; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
