/* Concepto: modo oscuro sobrio donde los sitios de ejemplo (navegador, celular y el lienzo
   de "Cómo trabajo") se muestran claros, como maquetas sobre la mesa.
   Colores plenos, sin degradados. Recursos de los proyectos web más vistos en Behance:
   azul profundo con azul eléctrico, cuadrícula bento con números grandes, botones píldora,
   menú flotante, tira en movimiento, maquetas de dispositivos y marca gigante. */
:root {
  /* Página */
  --bg: #FFFFFF;
  --bg-2: #F4F6FA;
  --surface: #F4F6FA;
  --glass: rgb(11 21 48 / .04);
  --glass-2: rgb(11 21 48 / .06);
  --glass-line: rgb(11 21 48 / .12);
  --text: #0B1530;
  --text-2: #475273;
  --accent: #1A4FE0;
  --amber: #F5A300;
  --amber-text: #8A5200;
  --live: #13A05F;
  --error: #C8243A;

  /* Maquetas (sitios de clientes, claros) */
  --m-bg: #FFFFFF;
  --m-canvas: #EDEFF3;
  --m-ink: #14213D;
  --m-ink-2: #4B5675;
  --m-line: #D5DAE3;
  --select: #1A5FF0;
  --select-soft: #E3ECFF;
  --amber-soft: #FDF0D2;
  --amber-ink: #7A4D00;

  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: var(--sans);
  --wide: "wdth" 125;

  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: clamp(1.75rem, 3.6vw, 3rem);
  --step-4: clamp(2.1rem, 5.8vw, 5.25rem);

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --shadow-float: 0 1px 2px rgb(11 21 48 / .06), 0 30px 60px -30px rgb(11 21 48 / .28);

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 76rem;
  --top-h: 4.75rem;
  color-scheme: light;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 1rem); background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; font-variation-settings: var(--wide); }
.logo, .plan-name, .stat b, .giant, .ticker-list li, .btn, .seg button, .nav a { font-variation-settings: "wdth" 110; }
.plan-name, .stat b, .giant { font-variation-settings: var(--wide); }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #fff; }
input, textarea { caret-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 1rem; top: -3rem; z-index: 120; background: var(--accent); color: #fff; padding: .5rem 1rem; border-radius: 999px; }
.skip:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Botones píldora ---------- */
.btn {
  --b-bg: var(--accent); --b-fg: #fff; --b-fill: var(--text); --b-fill-fg: #fff; --b-bd: var(--b-bg);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.875rem; padding: .7rem 1.4rem;
  border: 1px solid var(--b-bd); border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg);
  font: 500 .975rem/1.2 var(--sans); letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  transition: transform 140ms var(--ease-out), color 280ms var(--ease-out), border-color 280ms var(--ease-out), box-shadow 280ms;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--b-fill);
  clip-path: inset(100% 0 0 0 round 999px);
  transition: clip-path 340ms var(--ease-out);
}
.btn:hover::before { clip-path: inset(0 0 0 0 round 999px); }
.btn:hover { color: var(--b-fill-fg); border-color: var(--b-fill); }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 2.5rem; padding: .5rem 1.1rem; font-size: .9rem; }
.btn-ghost { --b-bg: transparent; --b-fg: var(--text); --b-bd: rgb(11 21 48 / .3); --b-fill: var(--text); }
.btn-light { --b-bg: var(--surface); --b-fg: var(--text); --b-bd: rgb(11 21 48 / .3); --b-fill: var(--text); }
.btn-inst { --b-bg: var(--accent); }
.btn-cat { --b-bg: var(--amber); --b-fg: #1B1405; }

.text-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; transition: color 200ms, text-underline-offset 250ms var(--ease-out); }
.text-link:hover { color: var(--accent); text-underline-offset: .45em; }

/* ---------- Menú flotante ---------- */
.top { position: sticky; top: 0; z-index: 50; padding-top: .75rem; height: var(--top-h); }
.top-in {
  display: flex; align-items: center; gap: 1.5rem;
  height: 3.5rem; max-width: calc(var(--max) - 2 * var(--gutter));
  width: calc(100% - 2 * var(--gutter));
  margin: 0 auto; padding: 0 .45rem 0 1.1rem;
  border: 1px solid transparent; border-radius: 999px;
  transition: background-color 350ms, border-color 350ms, backdrop-filter 350ms, box-shadow 350ms;
}
.top.is-scrolled .top-in {
  background: var(--surface); border-color: var(--glass-line);
  box-shadow: 0 16px 32px -20px rgb(11 21 48 / .3);
}
.logo { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: 1.15rem; letter-spacing: -0.03em; text-decoration: none; }
.logo-lockup { display: block; height: 1.6rem; width: auto; color: var(--text); }
.foot .logo-lockup { height: 1.4rem; }
@media (max-width: 420px) { .top .logo-lockup { height: 1.3rem; } }
.top nav { margin-left: auto; }
.nav { position: relative; display: flex; list-style: none; margin: 0; padding: 4px; gap: 2px; font-size: .95rem; }
.nav a { position: relative; z-index: 1; display: block; padding: .4rem .9rem; border-radius: 999px; text-decoration: none; color: var(--text-2); transition: color 200ms; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--text); }
.nav-pill {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0;
  background: var(--glass-2); border: 1px solid var(--glass-line); border-radius: 999px;
  opacity: 0;
  transition: transform 420ms var(--ease-out), width 420ms var(--ease-out), opacity 200ms;
}

/* ---------- Inicio ---------- */
.hero { position: relative; margin-top: calc(-1 * var(--top-h)); padding: calc(var(--top-h) + clamp(2.5rem, 7vw, 5.5rem)) 0 clamp(4rem, 8vw, 6rem); overflow: clip; }
.hero-in { position: relative; z-index: 1; }
.hero-head { position: relative; }
.kicker { margin: 0 0 1rem; font-size: .95rem; font-weight: 600; color: var(--accent); }
.hero h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.025em; line-height: 1.02; }
.line { display: block; overflow: clip; padding-bottom: .06em; }
.line > span { display: inline-block; animation: rise 1s var(--ease-out) both; }
.line:nth-child(2) > span { animation-delay: 90ms; }
.line:nth-child(3) > span { animation-delay: 180ms; color: var(--text-2); }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }

@keyframes pop { from { opacity: 0; transform: scale(.4); } }
@keyframes fade { from { opacity: 0; } }


.hero-sub {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  animation: rise-in 900ms var(--ease-out) 500ms both;
}
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } }
.lead { max-width: 40ch; font-size: 1.2rem; color: var(--text-2); }
.lead strong { color: var(--text); font-weight: 600; }

/* Ejemplo que se reorganiza */
.morph { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); animation: rise-in 1100ms var(--ease-out) 750ms both; }
.morph-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1rem; }
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; background: var(--surface); border: 1px solid var(--glass-line); border-radius: 999px; }
.seg button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  padding: .55rem 1.2rem; border-radius: 999px;
  font: 500 .95rem/1.2 var(--sans); color: var(--text-2); transition: color 300ms var(--ease-out);
}
.seg button[aria-selected="true"] { color: #fff; }
.morph[data-mode="catalogo"] .seg button[aria-selected="true"] { color: #1B1405; }
.seg-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--accent);
  transition: transform 520ms var(--ease-io), background-color 520ms var(--ease-io);
}
.morph[data-mode="catalogo"] .seg-thumb { transform: translateX(100%); background: var(--amber); }
.morph-cap { color: var(--text-2); font-size: .98rem; }

.morph:not([data-mode="catalogo"]) .for-cat,
.morph[data-mode="catalogo"] .for-inst { display: none !important; }

.browser {
  background: var(--m-bg); color: var(--m-ink); border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 0 1px rgb(11 21 48 / .1), var(--shadow-float);
}
.b-chrome { display: flex; align-items: center; gap: 14px; height: 40px; padding-inline: 14px; border-bottom: 1px solid var(--m-line); background: #F6F7F9; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--m-line); }
.url { flex: 1; max-width: 26rem; margin-inline: auto; height: 24px; display: flex; align-items: center; justify-content: center; background: var(--m-bg); border: 1px solid var(--m-line); border-radius: 6px; font: .78rem var(--mono); color: var(--m-ink-2); }

.b-page {
  --pad: clamp(12px, 2vw, 24px);
  height: clamp(400px, 46vw, 600px);
  padding: var(--pad);
  display: grid; gap: clamp(10px, 1.4vw, 16px);
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1.25fr) minmax(0, 1fr) auto;
  grid-template-areas: "nav nav" "hero hero" "grid grid" "foot foot";
  font-size: clamp(11px, 1.05vw, 14px); line-height: 1.35;
  contain: layout paint;
}
.morph[data-mode="catalogo"] .b-page { grid-template-rows: auto auto minmax(0, 1fr); grid-template-areas: "nav nav" "side hero" "side grid"; }
.p-nav { grid-area: nav; display: flex; align-items: center; gap: 1rem; min-height: 2.25em; color: var(--m-ink-2); }
.p-nav .swap { font-size: 1.15em; color: var(--m-ink); margin-right: auto; letter-spacing: -0.02em; }
.p-links { display: flex; gap: 1.3em; align-items: center; }
.p-links em { font-style: normal; }
.p-search { background: var(--m-canvas); border-radius: 999px; padding: .35em 1.2em; min-width: 14em; }
.p-cart { background: var(--amber); color: var(--m-ink); border-radius: 999px; padding: .35em .9em; font-weight: 600; }
.p-hero {
  grid-area: hero; position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.5em; align-items: center;
  padding: clamp(14px, 2.4vw, 32px); border-radius: 12px; background: var(--select-soft);
}
.morph[data-mode="catalogo"] .p-hero { grid-template-columns: minmax(0, 1fr) 9em; padding: 1em 1.4em; background: var(--amber-soft); }
.p-title { font-size: clamp(16px, 2.3vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: .4em; }
.morph[data-mode="catalogo"] .p-title { font-size: clamp(14px, 1.5vw, 21px); margin-bottom: .2em; }
.p-text { color: var(--m-ink-2); margin-bottom: 1em; }
.morph[data-mode="catalogo"] .p-text { margin-bottom: 0; }
.p-btn { display: inline-block; background: var(--select); color: #fff; padding: .55em 1.1em; border-radius: 999px; font-weight: 500; }
.p-photo { align-self: stretch; min-height: 4em; border-radius: 10px; overflow: hidden; }
.p-photo svg { display: block; width: 100%; height: 100%; }
.morph[data-mode="catalogo"] .p-photo { align-self: end; height: 5.5em; overflow: visible; }
.p-side { grid-area: side; display: none; flex-direction: column; gap: .35em; color: var(--m-ink-2); }
.morph[data-mode="catalogo"] .p-side { display: flex; }
.p-side b { color: var(--m-ink); margin-bottom: .3em; }
.p-side span { padding: .4em .7em; border-radius: 6px; }
.p-side .on { background: var(--amber-soft); color: var(--amber-ink); font-weight: 600; }
.p-grid { grid-area: grid; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: inherit; min-height: 0; }
.p-tile { position: relative; min-height: 0; border: 1px solid var(--m-line); border-radius: 10px; padding: .9em; background: var(--m-bg); overflow: hidden; }
.only-cat { display: none; }
.morph[data-mode="catalogo"] .only-cat { display: block; }
.morph[data-mode="catalogo"] .p-tile { padding: .5em; border-color: transparent; background: none; }
.fc { height: 100%; }
.p-tile .fc { display: flex; flex-direction: column; gap: .45em; }
.ic { flex: none; width: 2.1em; height: 2.1em; padding: .4em; border-radius: 8px; background: var(--select-soft); fill: none; stroke: var(--select); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.p-desc { color: var(--m-ink-2); font-size: .92em; line-height: 1.4; }
.p-more { margin-top: auto; color: var(--select); font-weight: 600; font-size: .9em; }
.ph-map {
  position: relative; display: flex; align-items: flex-end; height: 64px; padding: 6px; border-radius: 8px; overflow: hidden;
  background: #E4EAD9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 60' preserveAspectRatio='none'%3E%3Cpath d='M-5 52 L105 8 M30 -5 L70 65 M74 -5 V65' stroke='%23fff' stroke-width='4' fill='none'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.ph-map i { position: absolute; left: 52%; top: 22%; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: #E5484D; box-shadow: 0 2px 4px rgb(0 0 0 / .25); }
.ph-map i::after { content: ""; position: absolute; inset: 3.5px; border-radius: 50%; background: #fff; }
.ph-map b { background: #fff; border-radius: 999px; padding: 2px 7px; font-size: 9px; box-shadow: 0 1px 3px rgb(0 0 0 / .15); }
.ln { height: .45em; border-radius: 9px; background: var(--m-canvas); }
.ln.s { width: 65%; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Plantas ilustradas sobre un fondo de estudio: pared y apoyo */
.plant {
  display: block; flex: 1; min-height: 0; width: 100%;
  padding-top: 6%; border-radius: 8px;
  background: hsl(var(--h) 28% 94%); box-shadow: inset 0 -1.4em 0 hsl(var(--h) 20% 87%);
}
.ph-grid .plant { flex: none; aspect-ratio: 6 / 5; height: auto; }   /* un poco apaisadas: entran tres filas en la pantalla */
.p-tile b { letter-spacing: -0.01em; }
.price { display: flex; align-items: center; justify-content: space-between; gap: .5em; }
.p-tile em, .ph-grid em { font-style: normal; color: var(--amber-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.add {
  position: relative; flex: none; width: 1.8em; height: 1.8em; border-radius: 50%;
  background: var(--m-ink); box-shadow: 0 2px 6px -2px rgb(20 33 61 / .5);
}
.add::before, .add::after { content: ""; position: absolute; left: 50%; top: 50%; width: 44%; height: 1.5px; background: #fff; translate: -50% -50%; border-radius: 1px; }
.add::after { rotate: 90deg; }
.p-foot { grid-area: foot; display: flex; gap: .6em; }
.morph[data-mode="catalogo"] .p-foot { display: none; }
.p-foot span { padding: .35em .9em; border: 1px solid var(--m-line); border-radius: 999px; color: var(--m-ink-2); }

/* Maqueta de celular */
.phone {
  position: absolute; right: clamp(-1rem, -2vw, 0rem); bottom: -3.5rem; z-index: 3;
  width: clamp(170px, 17vw, 230px); aspect-ratio: 9 / 19;
  padding: 8px; border-radius: 34px;
  background: #1C2747;
  box-shadow: 0 0 0 1px rgb(11 21 48 / .1), var(--shadow-float);
  animation: rise-in 1100ms var(--ease-out) 1000ms both;
}
.ph-screen {
  height: 100%; overflow: hidden; border-radius: 27px; background: var(--m-bg); color: var(--m-ink);
  padding: 30px 10px 10px; display: flex; flex-direction: column; gap: 8px; font-size: 10px; line-height: 1.3;
  position: relative;
}
.ph-screen::before { content: ""; position: absolute; top: 9px; left: 50%; translate: -50% 0; width: 34%; height: 14px; border-radius: 999px; background: #0E1730; }
.ph-bar { display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.ph-bar i { width: 14px; height: 2px; background: var(--m-ink); box-shadow: 0 4px 0 var(--m-ink), 0 -4px 0 var(--m-ink); }
.ph-inst, .ph-cat { display: flex; flex-direction: column; gap: 7px; height: auto; }
.ph-hero { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 10px; background: var(--select-soft); }
.ph-hero b { font-size: 15px; letter-spacing: -0.02em; line-height: 1.05; }
.ph-hero span { align-self: flex-start; background: var(--select); color: #fff; border-radius: 999px; padding: 4px 9px; }
.ph-row { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--m-line); border-radius: 8px; }
.ph-row .ic { width: 20px; height: 20px; padding: 3px; border-radius: 6px; }
.ph-wa { align-self: center; margin-top: 4px; background: var(--live); color: #fff; border-radius: 999px; padding: 5px 14px; font-weight: 600; }
.ph-chips { display: flex; gap: 4px; }
.ph-chips > * { padding: 3px 7px; border-radius: 999px; background: var(--m-canvas); color: var(--m-ink-2); }
.ph-chips b { background: var(--amber-soft); color: var(--amber-ink); }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-grid > span { display: flex; flex-direction: column; gap: 2px; }
.ph-grid i { flex: none; aspect-ratio: 1; }

/* ---------- Tira en movimiento ---------- */
.ticker { position: relative; display: flex; align-items: center; border-block: 1px solid var(--glass-line); background: var(--bg); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker-list { display: flex; list-style: none; margin: 0; padding: 1.1rem 0; }
.ticker-list li { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; color: var(--text-2); }
.ticker-list li::after { content: ""; width: .5rem; height: .5rem; border-radius: 2px; background: var(--accent); rotate: 45deg; }
.ticker-list li:nth-child(even) { color: var(--text); }

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: clamp(5rem, 10vw, 8rem); }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem 3rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.section h2 { font-size: var(--step-3); letter-spacing: -0.025em; }
.sec-head p { color: var(--text-2); max-width: 42ch; }

/* Bento de servicios */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); align-items: stretch; }
.plan { position: relative; }
.plan-body, .stat, .compare, .form, .faq {
  background: var(--surface);
  border: 1px solid var(--glass-line);
}
.plan-body {
  position: relative; overflow: hidden;
  height: 100%; display: flex; flex-direction: column; gap: 1.5rem;
  padding: clamp(1.5rem, 3.2vw, 2.75rem); border-radius: 24px;
}
.plan-name { font-size: clamp(1.6rem, 2.7vw, 2.5rem); letter-spacing: -0.02em; line-height: 1; }
.plan-inst .plan-name { color: var(--accent); }
.plan-cat .plan-name { color: var(--amber-text); }
.plan-for { max-width: 38ch; color: var(--text-2); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.checks li, .assurances li { position: relative; padding-left: 1.75rem; line-height: 1.45; }
.checks li::before, .assurances li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--tick-bg, rgb(26 79 224 / .1)) var(--tick, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231A4FE0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")) center / 78% no-repeat;
}
.plan-cat { --tick-bg: rgb(245 163 0 / .18); --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%238A5200' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-foot { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--glass-line); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; }
.plan-meta { display: flex; gap: 2rem; margin: 0; }
.plan-meta dt { font: .75rem/1.4 var(--mono); color: var(--text-2); }
.plan-meta dd { margin: 0; font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

.stats { list-style: none; margin: clamp(1rem, 2vw, 1.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.stat { display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; padding: 1.5rem; border-radius: 24px; min-height: 13rem; }
.stat b { font-size: clamp(2.25rem, 3.6vw, 3.25rem); font-weight: 700; letter-spacing: -0.03em; line-height: .9; font-variant-numeric: tabular-nums; color: var(--text); }
.stat span { color: var(--text-2); font-size: .98rem; max-width: 24ch; }

.compare { margin-top: clamp(1rem, 2vw, 1.5rem); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 24px; }
.compare h3 { font-size: var(--step-2); margin-bottom: .5rem; }
.compare-note { color: var(--text-2); max-width: 60ch; }
.table-scroll { overflow-x: auto; margin-top: 1.5rem; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--glass-line); }
th:first-child { padding-left: 0; }
tbody tr:last-child > * { border-bottom: 0; }
thead th { font: 500 .8rem/1.4 var(--mono); border-bottom: 1px solid var(--text); }
thead th:nth-child(2) { color: var(--accent); }
thead th:nth-child(3) { color: var(--amber-text); }
tbody th { font-weight: 500; }
td.no { color: var(--text-2); }
td.yes { font-weight: 600; }

/* ---------- Preguntas ---------- */
.faq-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: start; }
.faq { border-radius: 24px; padding: .5rem clamp(1.25rem, 3vw, 2rem); }
.faq details { border-bottom: 1px solid var(--glass-line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 1.35rem 3rem 1.35rem 0; font-size: var(--step-1); font-weight: 500; letter-spacing: -0.02em; transition: color 200ms; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 14px; height: 1.5px; background: currentColor; transition: transform 380ms var(--ease-io); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 420ms var(--ease-io), content-visibility 420ms allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq-a p { color: var(--text-2); padding-bottom: 1.35rem; max-width: 56ch; }

/* ---------- Contacto ---------- */
.contact { overflow: clip; }
.contact-in { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact h2 { font-size: clamp(2.1rem, 4.6vw, 4.1rem); letter-spacing: -0.025em; line-height: 1.02; margin-bottom: 1.5rem; }
.contact-intro > p { color: var(--text-2); max-width: 40ch; }
.contact .assurances { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .6rem; font-weight: 500; }
.contact-direct { list-style: none; padding: 0; margin: 2.25rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.contact-direct .text-link { font-size: 1.1rem; font-weight: 500; display: inline-block; padding-block: .6rem; }
.about { display: flex; gap: 1rem; align-items: center; margin: 2.5rem 0 0; padding-top: 2rem; border-top: 1px solid var(--glass-line); color: var(--text-2); }
.about img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.about strong { display: block; color: var(--text); font-size: 1.1rem; }

.form { position: relative; display: grid; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 24px; box-shadow: var(--shadow-float); }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { font-weight: 500; margin-bottom: .65rem; font-size: .95rem; }
.choice { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice label { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; border: 1px solid var(--glass-line); border-radius: 999px; padding: .4rem 1rem; font-size: .95rem; cursor: pointer; transition: border-color 200ms, background-color 200ms; }
.choice label:hover { border-color: rgb(11 21 48 / .35); }
.choice label:has(input:checked) { border-color: var(--accent); background: rgb(75 123 255 / .16); }
.choice input { accent-color: var(--accent); margin: 0; }
.field { display: grid; gap: .4rem; }
.field span { font-size: .95rem; font-weight: 500; }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); width: 100%;
  background: var(--bg); border: 1px solid rgb(11 21 48 / .2); border-radius: 14px; padding: .8rem 1rem;
  transition: border-color 200ms, box-shadow 200ms, background-color 200ms;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(75 123 255 / .2); }
::placeholder { color: var(--text-2); opacity: .75; }
.field [aria-invalid="true"] { border-color: var(--error); background: rgb(255 122 138 / .08); }
.form-error { color: var(--error); font-size: .95rem; }
.form-status { padding: .85rem 1rem; border-radius: 14px; background: rgb(75 123 255 / .14); border: 1px solid rgb(75 123 255 / .35); font-size: .95rem; animation: rise-in 360ms var(--ease-out); }
.form-status a { font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Pie con marca gigante ---------- */
.foot { padding-top: 2rem; border-top: 1px solid var(--glass-line); font-size: .95rem; color: var(--text-2); overflow: hidden; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.foot .logo { color: var(--text); margin-right: auto; font-size: 1.05rem; }
.giant {
  margin: 1.5rem 0 0; text-align: center; line-height: .78; white-space: nowrap;
  font-size: clamp(3rem, 14.5vw, 13rem); font-weight: 800; letter-spacing: -0.04em;
  color: #EDF0F6;
  user-select: none;
}

/* ---------- Adaptación ---------- */
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phone { display: none; }
}
@media (max-width: 960px) {
  .sec-head, .plans, .faq-in, .contact-in { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .top-in { justify-content: space-between; width: calc(100% - 1.5rem); }
  .form-actions, .plan-foot { width: 100%; }
  .form-actions .btn, .plan-foot .btn { flex: 1 1 100%; }
  .stat { min-height: 10rem; gap: 1.5rem; }
  .b-page { height: 470px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1.2fr) minmax(0, 1fr) auto; grid-template-areas: "nav" "hero" "grid" "foot"; font-size: 11px; }
  .morph[data-mode="catalogo"] .b-page { grid-template-rows: auto auto auto minmax(0, 1fr); grid-template-areas: "nav" "side" "hero" "grid"; }
  .morph[data-mode="catalogo"] .p-side { flex-direction: row; flex-wrap: wrap; }
  .p-side b, .p-links .wide, .p-search { display: none; }
  .p-hero { grid-template-columns: 1fr; }
  .p-hero .p-photo { display: none; }
  .morph[data-mode="catalogo"] .p-hero { grid-template-columns: 1fr; }
  .p-foot span:nth-child(3) { display: none; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0ms !important; transition-delay: 0ms !important; }
}

/* ---------- Para negocios como el tuyo: mosaico de fotos ---------- */
.mosaic {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(.75rem, 1.5vw, 1.25rem);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, clamp(11rem, 19vw, 16rem));
}
.tile { position: relative; overflow: hidden; border-radius: 20px; background: var(--surface); }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-cafe { grid-column: 1 / 6; grid-row: 1 / 3; }
.t-flor { grid-column: 6 / 10; grid-row: 1; }
.t-pan { grid-column: 6 / 10; grid-row: 2; }
.t-oficio { grid-column: 10 / 13; grid-row: 1 / 3; }
.t-cafe img { object-position: 55% 55%; }
.t-flor img { object-position: 50% 55%; }
.t-pan img { object-position: 50% 78%; }
.t-oficio img { object-position: 30% 50%; }
.chip {
  position: absolute; left: .9rem; bottom: .9rem;
  background: var(--bg); color: var(--text); border-radius: 999px;
  padding: .4rem .85rem; font-size: .9rem; font-weight: 600; font-variation-settings: "wdth" 110;
  box-shadow: 0 4px 14px -6px rgb(11 21 48 / .35);
}


@media (max-width: 960px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 12rem; }
  .t-cafe { grid-column: 1 / 3; grid-row: auto; }
  .t-flor, .t-pan { grid-column: auto; grid-row: auto; }
  .t-oficio { grid-column: 1 / 3; grid-row: auto; }
  .t-oficio img { object-position: 50% 35%; }
}

/* ---------- Lo que se paga aparte ---------- */
.running {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 5vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 24px;
  background: var(--amber-soft); color: var(--text);
}
.running h3 { font-size: var(--step-2); margin-bottom: .75rem; }
.running-head p { color: #4A3A1A; max-width: 44ch; }
.running-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.running-list li { display: flex; flex-direction: column; gap: .4rem; padding: 1.25rem; border-radius: 16px; background: var(--bg); }
.running-list b { font-size: 1.1rem; font-variation-settings: "wdth" 110; }
.running-list span { color: var(--text-2); font-size: .98rem; }
.running-list em { margin-top: auto; padding-top: .5rem; font-style: normal; font-weight: 600; color: var(--amber-text); font-variant-numeric: tabular-nums; }
.running-total { grid-column: 2; margin-top: -.5rem; color: #4A3A1A; }
.running-total b { color: var(--text); font-size: 1.1rem; }
@media (max-width: 960px) { .running-total { grid-column: 1; margin-top: 0; } }
.r-ic { width: 2.25rem; height: 2.25rem; padding: .45rem; margin-bottom: .35rem; border-radius: 10px; background: var(--amber-soft); fill: none; stroke: var(--amber-text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Línea de tiempo ---------- */
.timeline-sec { border-block: 1px solid var(--glass-line); }
.timeline {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1.25rem, 3vw, 2.5rem);
}
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: .55rem; height: 2px; background: var(--glass-line); }
.timeline li { position: relative; padding-top: 2.25rem; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent);
}
.timeline li:last-child::before { background: var(--accent); }
.tl-when { display: inline-block; margin-bottom: .6rem; padding: .3rem .7rem; border-radius: 999px; background: var(--select-soft); color: var(--accent); font-weight: 600; font-size: .9rem; font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.timeline p { color: var(--text-2); font-size: 1rem; max-width: 32ch; }

@media (max-width: 960px) {
  .running { grid-template-columns: 1fr; }
  /* Línea de tiempo vertical en pantallas chicas */
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: .5rem; right: auto; top: .5rem; bottom: 2rem; width: 2px; height: auto; }
  .timeline li { padding: 0 0 2.25rem 2.5rem; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline p { max-width: 46ch; }
}
@media (max-width: 600px) {
  .running-list { grid-template-columns: 1fr; }
}

/* ---------- Botones: misma tipografía; en negrita si tienen fondo de color o están activos ---------- */
.btn, .btn-sm, .seg button, .choice label {
  font-family: var(--sans); font-size: .95rem; line-height: 1.2; letter-spacing: -0.005em;
  font-variation-settings: "wdth" 110; font-weight: 500;
}
.btn:not(.btn-ghost):not(.btn-light),
.seg button[aria-selected="true"],
.choice label:has(input:checked) { font-weight: 700; }
.top .btn, .nav a { white-space: nowrap; }
@media (max-width: 880px) { .nav { display: none; } .top-in { justify-content: space-between; } }
@media (max-width: 380px) { .top-in { gap: .5rem; padding-left: .8rem; } .top .btn-sm { padding-inline: .85rem; font-size: .9rem; } .logo { font-size: 1.05rem; } }

/* ---------- Inicio: barrio isométrico animado ---------- */
.hero-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero-top .hero h1, .hero-top h1 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); }
.hero-top .hero-sub { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.hero-scene { position: relative; }
.iso { display: block; width: 100%; height: auto; overflow: visible; }
.iso .sg { font: 700 6.4px var(--sans); letter-spacing: .08em; font-variation-settings: "wdth" 110; }
.iso .nt-name { font: 700 12.5px var(--sans); fill: #0B1530; font-variation-settings: "wdth" 105; }
.iso .nt-msg { font: 500 11.4px var(--sans); fill: #475273; }

/* 1. Placa, manzanas y calle */
.iso .plate { transform-box: fill-box; transform-origin: 50% 60%; animation: iso-plate 1000ms var(--ease-out) both; }
@keyframes iso-plate { from { opacity: 0; transform: translateY(40px) scale(.92); } }
.iso .blocks { animation: iso-up 700ms var(--ease-out) 350ms both; }
@keyframes iso-up { from { opacity: 0; transform: translateY(14px); } }
.iso .marks, .iso .walk { animation: iso-fade 700ms ease-out 700ms both; }
@keyframes iso-fade { from { opacity: 0; } }

/* 2. Edificios que se levantan en onda */
.iso .bld { transform-box: fill-box; transform-origin: 50% 100%; animation: iso-rise 1100ms cubic-bezier(.34, 1.45, .64, 1) both; animation-delay: calc(650ms + var(--i) * 150ms); }
@keyframes iso-rise { 0% { opacity: 0; transform: scaleY(0); } 25% { opacity: 1; } 100% { transform: none; } }

/* 3. Árboles, faroles y toldos */
.iso .tree { transform-box: fill-box; transform-origin: 50% 100%; animation: iso-pop 700ms cubic-bezier(.34, 1.56, .64, 1) both; animation-delay: calc(1300ms + var(--i) * 55ms); }
@keyframes iso-pop { from { opacity: 0; transform: scale(.3); } }
.iso .lamp { animation: iso-fade 500ms ease-out 1700ms both; }
.iso .awn { transform-box: fill-box; transform-origin: 50% 0; animation: iso-unroll 600ms var(--ease-out) 1900ms both; }
@keyframes iso-unroll { from { transform: scaleY(0); } }

/* 4. Marcadores que caen, con pulso en el suelo: que te encuentren */
.iso .pin-in { transform-box: fill-box; transform-origin: 50% 100%; animation: iso-drop 800ms cubic-bezier(.34, 1.56, .64, 1) both; animation-delay: calc(2300ms + var(--k) * 200ms); transition: scale 400ms cubic-bezier(.34, 1.56, .64, 1); }
@keyframes iso-drop { 0% { opacity: 0; transform: translateY(-70px); } 40% { opacity: 1; } 100% { transform: none; } }
.iso .pin-bob { animation: iso-bob 3.2s ease-in-out infinite; animation-delay: calc(3.4s + var(--k) * .4s); }
@keyframes iso-bob { 50% { transform: translateY(-4px); } }
.iso .pin.is-hot .pin-in { scale: 1.2; }
.iso .ring ellipse { transform-box: fill-box; transform-origin: center; opacity: 0; animation: iso-ripple 1300ms var(--ease-out) both; animation-delay: calc(2650ms + var(--k) * 200ms); }
.iso .ring.is-hot ellipse { animation: iso-ripple 1500ms var(--ease-out) 2 both; }
@keyframes iso-ripple { 0% { opacity: 0; transform: scale(.25); } 8% { opacity: .95; } 100% { opacity: 0; transform: scale(1.6); } }

/* 5. Notificaciones por turnos: que te escriban */
.iso .note-in { transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; transform: translateY(10px) scale(.85); transition: opacity 300ms var(--ease-out), transform 500ms cubic-bezier(.34, 1.56, .64, 1); }
.iso .note.is-hot .note-in { opacity: 1; transform: none; }

/* 6. Vida en el barrio: autos, gente y humo */
.iso .car-e, .iso .car-w { animation: var(--drive) var(--dur) linear infinite both; animation-delay: calc(var(--delay) + 2s); }
.iso .car-e { --drive: iso-drive-e; }
.iso .car-w { --drive: iso-drive-w; }
@keyframes iso-drive-e { 0% { opacity: 0; transform: translate(-36.4px, -21px); } 7%, 93% { opacity: 1; } 100% { opacity: 0; transform: translate(270.2px, 156px); } }
@keyframes iso-drive-w { 0% { opacity: 0; transform: translate(270.2px, 156px); } 7%, 93% { opacity: 1; } 100% { opacity: 0; transform: translate(-36.4px, -21px); } }
.iso .walk-s, .iso .walk-n { animation: var(--walk) var(--dur) linear infinite both; animation-delay: calc(var(--delay) + 2.2s); }
.iso .walk-s { --walk: iso-walk-s; }
.iso .walk-n { --walk: iso-walk-n; }
@keyframes iso-walk-s { 0% { opacity: 0; transform: translate(0, 0); } 6%, 94% { opacity: 1; } 100% { opacity: 0; transform: translate(-233.8px, 135px); } }
@keyframes iso-walk-n { 0% { opacity: 0; transform: translate(-233.8px, 135px); } 6%, 94% { opacity: 1; } 100% { opacity: 0; transform: translate(0, 0); } }
.iso .puff { transform-box: fill-box; transform-origin: center; opacity: 0; animation: iso-puff 3s ease-out infinite; animation-delay: calc(var(--p) * 1s + 2.6s); }
@keyframes iso-puff { 0% { opacity: 0; transform: translate(0, 0) scale(.5); } 20% { opacity: .9; } 100% { opacity: 0; transform: translate(8px, -34px) scale(1.9); } }

@media (max-width: 960px) {
  .hero-top { grid-template-columns: 1fr; }
  .hero-top h1 { font-size: var(--step-4); }
  .hero-scene { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .iso .note[data-for="pan"] .note-in { opacity: 1; transform: none; }
}

/* ---------- Carga animada de las fotos ---------- */
.js .tile { animation: tile-wait 1.4s ease-in-out infinite; }
.js .tile.is-loaded { animation: none; }
@keyframes tile-wait { 50% { background-color: #E4E9F1; } }
.js .tile img { opacity: 0; filter: blur(14px); transition: opacity 800ms var(--ease-out), filter 900ms var(--ease-out); transition-delay: calc(var(--n, 0) * 120ms); }
.js .tile.is-loaded img { opacity: 1; filter: none; }
.js .tile .chip { opacity: 0; translate: 0 8px; transition: opacity 400ms var(--ease-out), translate 500ms var(--ease-out); transition-delay: calc(var(--n, 0) * 120ms + 450ms); }
.js .tile.is-loaded .chip { opacity: 1; translate: 0 0; }

/* ---------- Barrio en 3D ---------- */
.hero-scene.has-3d .iso { display: none; }
.iso3d-canvas { display: block; width: 100%; height: auto; animation: iso3d-in 600ms ease-out both; }
@keyframes iso3d-in { from { opacity: 0; } }
.iso3d-notes { position: absolute; inset: 0; pointer-events: none; }
.iso3d-note {
  position: absolute; left: 0; top: 0;
  display: flex; align-items: center; gap: .65rem;
  padding: .6rem .9rem .6rem .6rem; border-radius: 14px; white-space: nowrap;
  background: #FFFFFF; border: 1px solid #E2E7F0; box-shadow: 0 12px 28px -14px rgb(11 21 48 / .4);
  translate: -50% -100%;
  opacity: 0; scale: .85;
  transition: opacity 250ms var(--ease-out), scale 450ms cubic-bezier(.34, 1.56, .64, 1);
}
.iso3d-note.is-on { opacity: 1; scale: 1; }
.iso3d-note b { display: block; font-size: .9rem; font-variation-settings: "wdth" 105; color: #0B1530; }
.iso3d-note small { display: block; font-size: .82rem; color: #475273; }
.iso3d-wa { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: #25D366 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 18.5l1-3.2a6.5 6.5 0 1 1 2.4 2.3z' fill='none' stroke='white' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") center / 62% no-repeat; }
.iso3d-canvas { -webkit-mask-image: radial-gradient(ellipse 58% 56% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 58% 56% at 50% 50%, #000 70%, transparent 100%); }

@media (min-width: 961px) {
  .hero { padding-top: calc(var(--top-h) + 1.25rem); }
  .hero-top h1 { font-size: clamp(2.3rem, 3.7vw, 3.7rem); }
  .hero-top .hero-sub { margin-top: 1.5rem; }
}

/* ---------- Inicio: la escena 3D ocupa todo el bloque ---------- */
@media (min-width: 961px) {
  .hero-top {
    position: relative; display: block;
    min-height: clamp(34rem, 46vw, 44rem);
    border-radius: 28px; overflow: hidden; background: #E8EDF4;
  }
  .hero-scene { position: absolute; inset: 0; display: block; }
  .hero-scene .iso { position: absolute; right: 2%; top: 50%; translate: 0 -50%; width: 56%; }
  .iso3d-canvas { -webkit-mask-image: none; mask-image: none; position: absolute; inset: 0; }
  .hero-text {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; justify-content: center;
    width: min(46%, 36rem);
    margin: clamp(1rem, 2vw, 1.5rem);
    padding: clamp(2rem, 3.5vw, 3rem);
    background: #FFFFFF; border-radius: 22px;
    box-shadow: 0 30px 60px -30px rgb(11 21 48 / .35);
  }
  .hero-text .lead { font-size: 1.1rem; }
  .iso3d-notes { z-index: 3; }
}

/* ---------- Inicio a pantalla completa con la tienda 3D ---------- */
@media (min-width: 961px) {
  .hero { padding-top: 0; }
  .hero-top {
    display: flex; align-items: center;
    width: 100vw; margin-left: calc(50% - 50vw);
    min-height: min(100vh, 880px);
    padding: calc(var(--top-h) + 2rem) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 3rem;
    border-radius: 0; background: #EFEDF1;
  }
  .hero-text { background: none; box-shadow: none; padding: 0; margin: 0; width: min(44%, 34rem); }
  .hero-top h1 { font-size: clamp(2.6rem, 4.4vw, 4.6rem); line-height: 1; }
  .hero-text .lead { color: #3E4766; }
  .top:not(.is-scrolled) .top-in { background: rgb(255 255 255 / .85); border-color: transparent; box-shadow: 0 10px 30px -20px rgb(11 21 48 / .3); }
}

/* ---------- Inicio sin ilustración (por ahora) ---------- */
@media (min-width: 961px) {
  .hero { padding-top: calc(var(--top-h) + clamp(2rem, 5vw, 4rem)); }
  .hero-top { display: block; width: auto; margin-left: 0; min-height: 0; padding: 0; background: none; border-radius: 0; overflow: visible; }
  .hero-text { width: auto; max-width: 52rem; }
  .hero-top h1 { font-size: var(--step-4); }
  .top:not(.is-scrolled) .top-in { background: transparent; box-shadow: none; }
}

/* ---------- Precios con descuento ---------- */
.price-promo dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .4rem; }
.price-promo s { color: var(--text-2); font-weight: 500; text-decoration-thickness: 1.5px; }
.promo-tag {
  flex-basis: 100%; width: fit-content; margin: 0;
  padding: .25rem .6rem; border-radius: 999px;
  background: #FDECEC; color: #B4232F; font-size: .8rem; font-weight: 700; letter-spacing: .01em;
}
.plan-meta dd { white-space: nowrap; }
.plan-meta { flex-wrap: wrap; row-gap: .75rem; }
.price-promo dd { flex-wrap: nowrap; }
.plan-foot .promo-tag { margin-top: -.4rem; }
