/* =============================================================
   PUNTO VISIBLE — cinematic version
   Archetype 03 (persistent 3D scene) with the brand palette:
   dark surface #0B0F17 · green / amber / crimson · Instrument Serif,
   Plus Jakarta Sans, JetBrains Mono.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:          #0B0F17;
  --bg-soft:     #111827;
  --panel:       rgba(11, 15, 23, 0.92);
  --panel-glass: rgba(11, 15, 23, 0.72);

  --text:        #F1F5F9;
  --text-muted:  rgba(241, 245, 249, 0.74);
  --text-dim:    rgba(241, 245, 249, 0.5);

  --green:        #10B981;
  --green-bright: #6EE7B7;
  --green-deep:   #059669;
  --amber:        #F59E0B;
  --red:          #EF4444;
  --ink-on-metal: #04261B;

  --line:        rgba(241, 245, 249, 0.12);
  --line-strong: rgba(241, 245, 249, 0.24);

  --metal: linear-gradient(105deg, #D1FAE5 0%, #34D399 24%, #ECFDF5 42%, #059669 62%, #6EE7B7 80%, #10B981 100%);

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans:  "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-io:   cubic-bezier(0.76, 0, 0.24, 1);

  --nav-h:  68px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --maxw:   1280px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ol, ul { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
::selection { background: var(--green); color: var(--ink-on-metal); }
:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 4px; border-radius: 4px; }
[hidden] { display: none !important; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  padding: .7rem 1.1rem; background: var(--text); color: var(--bg);
  font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--text-dim); }
.mono-label {
  display: block;
  font-family: var(--mono); font-size: .64rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-dim);
}
.note { margin-top: 1rem; font-family: var(--mono); font-size: .66rem; line-height: 1.6; color: var(--text-dim); }

.halo { position: relative; isolation: isolate; }
.halo::before {
  content: "";
  position: absolute; inset: -3.5rem -4.5rem; z-index: -1;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(11, 15, 23, .84), rgba(11, 15, 23, .52) 55%, transparent 100%);
  filter: blur(12px);
}
.halo--soft::before { inset: -2rem -3rem; background: radial-gradient(closest-side, rgba(11, 15, 23, .75), transparent 100%); }
.halo--wide::before { inset: -4rem -2rem; }

.dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; }
.dot--green { background: var(--green); box-shadow: 0 0 10px var(--green); }
.dot--amber { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.dot--red   { background: var(--red);   box-shadow: 0 0 10px var(--red); }
.dot--ghost { background: #64748B; border-radius: 2px; transform: rotate(45deg); }

.chip {
  display: inline-flex; align-items: center;
  padding: .3rem .65rem; border-radius: 999px;
  font-family: var(--mono); font-size: .62rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.chip--red   { background: rgba(220, 38, 38, .1);  color: #B91C1C; box-shadow: inset 0 0 0 1px rgba(220, 38, 38, .3); }
.chip--green { background: rgba(5, 150, 105, .12); color: #047857; box-shadow: inset 0 0 0 1px rgba(5, 150, 105, .35); }
.chip--ghost { color: var(--text-muted); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* Brand mark: ring + dot with a ping */
.brand-mark {
  position: relative; flex: none;
  display: inline-grid; place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
}
.brand-mark i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.brand-mark::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: 50%;
  border: 1.5px solid var(--green);
  animation: ping 2.8s var(--ease-out) infinite;
}
.brand-mark--xl { width: 54px; height: 54px; border-width: 2px; }
.brand-mark--xl i { width: 18px; height: 18px; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.1); opacity: 0; } }

/* =============================================================
   4. Typography
   ============================================================= */
.kicker {
  display: inline-flex; align-items: center; gap: .9rem;
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--green-bright);
}
.kicker::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; opacity: .6; }
.kicker--center { justify-content: center; text-align: center; line-height: 1.9; flex-wrap: wrap; }
.kicker--center::before { display: none; }
.kicker--center::after { content: ""; display: none; width: 2.2rem; height: 1px; background: currentColor; opacity: .6; }
@media (min-width: 540px) { .kicker--center::before, .kicker--center::after { display: block; flex: none; } }
.kicker-num { color: var(--text-dim); }

.h2 {
  margin-top: 1.2rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .55);
}
.h2--xl { font-size: clamp(3rem, 8vw, 6.8rem); line-height: .94; }

.hero-title em, .h2 em {
  font-style: italic;
  color: var(--green-bright);
  background: var(--metal); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  padding-right: .06em;
  animation: metalShift 9s ease-in-out infinite alternate;
}
.is-split em { background: none; -webkit-text-fill-color: currentColor; animation: none; padding-right: 0; }
.is-split em .split-word {
  color: var(--green-bright);
  background: var(--metal); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: .06em;
  animation: metalShift 9s ease-in-out infinite alternate;
}
@keyframes metalShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.lead {
  margin-top: 1.5rem; max-width: 38rem;
  font-size: clamp(1.04rem, 1.4vw, 1.2rem); line-height: 1.6;
  font-weight: 300; color: var(--text);
}
.sign {
  margin-top: 2rem; max-width: 34rem;
  font-family: var(--mono); font-size: .7rem; line-height: 1.75;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-bright);
}
.sign--center { margin-inline: auto; text-align: center; max-width: 44rem; }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: 0 1.7rem;
  border-radius: 999px;
  font-family: var(--mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap; text-align: center;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out),
              border-color .4s, color .4s, background-color .4s, background-position .9s var(--ease-out);
}
.btn-metal {
  color: var(--ink-on-metal);
  background: var(--metal); background-size: 200% 100%; background-position: 0% 50%;
  box-shadow: 0 14px 34px -14px rgba(16, 185, 129, .75), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-metal::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 1s var(--ease-out);
}
.btn-metal:hover { transform: translateY(-3px); background-position: 100% 50%; box-shadow: 0 22px 44px -16px rgba(16, 185, 129, .9), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn-metal:hover::after { transform: translateX(120%); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-strong); background: rgba(11, 15, 23, .35); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--green); color: var(--green-bright); }
.btn-sm { min-height: 2.6rem; padding: 0 1.2rem; font-size: .66rem; }
.btn-block { width: 100%; white-space: normal; }

/* Plus toggle */
.plus {
  position: relative; flex: none;
  width: 2.1rem; height: 2.1rem;
  border: 1px solid var(--line-strong); border-radius: 50%;
  transition: transform .6s var(--ease-out), border-color .4s, background-color .4s;
}
.plus::before, .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: .7rem; height: 1px; background: var(--text);
  transform: translate(-50%, -50%);
  transition: transform .6s var(--ease-out);
}
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] > summary .plus { transform: rotate(180deg); border-color: var(--green); background: rgba(16, 185, 129, .14); }
details[open] > summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }

/* Glass panel */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}
@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .panel { background: var(--panel-glass); -webkit-backdrop-filter: blur(18px) saturate(130%); backdrop-filter: blur(18px) saturate(130%); }
}

/* Segmented buttons */
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
.seg--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg button {
  min-height: 2.75rem; padding: .45rem .6rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(241, 245, 249, .03);
  font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .06em;
  line-height: 1.25;
  color: var(--text-muted);
  transition: background-color .25s, color .25s, border-color .25s;
}
.seg button:hover { border-color: var(--green); color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--ink-on-metal); font-weight: 600; }

/* Range */
.range {
  --fill: 50%; --rc: var(--green);
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 28px; background: transparent; cursor: pointer;
}
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--rc) var(--fill), rgba(241, 245, 249, .14) var(--fill)); }
.range::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(241, 245, 249, .14); }
.range::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--rc); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px;
  border-radius: 50%; background: var(--text); border: 3px solid var(--rc);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, .12), 0 4px 12px rgba(0, 0, 0, .45);
}
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--text); border: 3px solid var(--rc); }
.range-scale { display: flex; justify-content: space-between; margin-top: .3rem; font-family: var(--mono); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.field-group { border: 0; margin-bottom: 1.4rem; min-width: 0; }
.field-group > legend, .field-group > label.mono-label { margin-bottom: .6rem; }
.field-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .2rem; }
.field-value { font-family: var(--mono); font-size: 1.15rem; font-weight: 500; white-space: nowrap; color: var(--text); }
.num-input {
  width: 6.5ch; border: 0; border-bottom: 1px dashed var(--line-strong); background: transparent;
  font-family: var(--mono); font-size: 1.15rem; font-weight: 500; text-align: right; color: var(--text);
  -moz-appearance: textfield;
}
.num-input::-webkit-outer-spin-button, .num-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.num-input:focus { outline: none; border-bottom-color: var(--green); }

.checks li { position: relative; padding-left: 1.6rem; margin: .5rem 0; font-size: .94rem; line-height: 1.5; color: var(--text-muted); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: .14rem;
  display: grid; place-items: center; width: 1.05rem; height: 1.05rem;
  border-radius: 50%; background: rgba(16, 185, 129, .16); color: var(--green-bright);
  font-size: .62rem; font-weight: 800;
}

/* =============================================================
   6. Splash, atmosphere, nav, menu, mobile bar
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--bg);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.15s var(--ease-io), opacity 1s var(--ease-soft);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
html:not(.js) .splash { display: none; }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 1.3rem; padding: 0 1rem; }
.splash-inner .brand-mark { opacity: 0; animation: fadeIn .8s var(--ease-out) .05s forwards; }
.splash-word { font-family: var(--serif); font-size: clamp(2.6rem, 8vw, 4.4rem); line-height: 1; text-align: center; }
.splash-word > span, .splash-word > em {
  display: inline-block; opacity: 0; transform: translateY(40%);
  animation: splashLetter 1.1s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 140ms + 200ms);
}
.splash-word em { font-style: italic; color: var(--green-bright); }
.splash-line { width: 9rem; height: 1px; background: var(--metal); transform: scaleX(0); animation: splashLine 1.5s var(--ease-out) .4s forwards; }
.splash-meta { font-family: var(--mono); font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--text-dim); opacity: 0; animation: fadeIn .9s var(--ease-out) .8s forwards; }
@keyframes splashLetter { to { opacity: 1; transform: none; } }
@keyframes splashLine { to { transform: scaleX(1); } }
@keyframes fadeIn { to { opacity: 1; } }

.atmos { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.atmos > * { position: absolute; inset: 0; }
.atmos-fallback {
  background:
    radial-gradient(50% 40% at 50% 60%, rgba(16, 185, 129, .22), transparent 70%),
    linear-gradient(rgba(241, 245, 249, .04) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(241, 245, 249, .04) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--bg);
}
.scene { opacity: 0; transition: opacity 2.4s var(--ease-soft); }
html.scene-ready .scene { opacity: 1; }
.scene canvas { width: 100% !important; height: 100% !important; }
.scrim { background: rgba(11, 15, 23, .32); }
.vignette {
  background:
    radial-gradient(ellipse at center, transparent 34%, rgba(11, 15, 23, .45) 72%, rgba(11, 15, 23, .9) 100%),
    linear-gradient(180deg, rgba(11, 15, 23, .6) 0%, transparent 22%, transparent 70%, rgba(11, 15, 23, .78) 100%);
}
.grain {
  opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}
main, .footer { position: relative; z-index: 2; }

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 2rem;
  padding-inline: var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease-soft), border-color .5s var(--ease-soft);
}
.nav.is-scrolled { background: rgba(11, 15, 23, .9); border-bottom-color: var(--line); }
@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .nav.is-scrolled { background: rgba(11, 15, 23, .55); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
}
.nav-logo {
  margin-right: auto;
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--serif); font-size: 1.5rem; line-height: 1;
}
.nav-logo em { font-style: italic; color: var(--green-bright); }
.nav-links { display: none; gap: 2.2rem; }
.nav-links a {
  position: relative; padding: .45rem 0;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-muted); transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--green);
  transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  display: none; align-items: center; min-height: 2.5rem; padding: 0 1.2rem;
  border: 1px solid rgba(16, 185, 129, .6); border-radius: 999px;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-bright);
  transition: background-color .4s, color .4s;
}
.nav-cta:hover { background: var(--green); color: var(--ink-on-metal); }
.nav-toggle { width: 44px; height: 44px; margin-right: -10px; display: grid; place-content: center; gap: 7px; }
.nav-toggle span { display: block; width: 26px; height: 1px; background: var(--text); transition: transform .5s var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-4px) rotate(-45deg); }
.nav-progress { position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--metal); transform-origin: left; transform: scaleX(var(--p, 0)); }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .nav-links { display: flex; gap: 1rem; overflow-x: auto; max-width: 55vw; }

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 1.5rem) var(--gutter) 2rem;
  background: rgba(11, 15, 23, .985);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease-out), visibility 0s linear .5s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease-out); }
.menu a {
  display: flex; align-items: baseline; gap: 1.1rem;
  padding: .3rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-style: italic; font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.15;
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .3s;
}
.menu.is-open a { opacity: 1; transform: none; }
.menu.is-open a:nth-child(2) { transition-delay: .04s; }
.menu.is-open a:nth-child(3) { transition-delay: .08s; }
.menu.is-open a:nth-child(4) { transition-delay: .12s; }
.menu.is-open a:nth-child(5) { transition-delay: .16s; }
.menu.is-open a:nth-child(6) { transition-delay: .2s; }
.menu a span { font-family: var(--mono); font-size: .68rem; font-style: normal; letter-spacing: .2em; color: var(--green-bright); }
.menu a:hover { color: var(--green-bright); }
.menu-foot { margin-top: 2.2rem; font-family: var(--mono); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-dim); }
html.menu-open { overflow: hidden; }

.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(11, 15, 23, .9);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .5s var(--ease-out);
}
@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .mbar { background: rgba(11, 15, 23, .6); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
}
.mbar.is-on { transform: none; }
.mbar { display: flex; align-items: center; gap: .6rem; }
.mbar .btn-block { flex: 1; min-width: 0; }
.mbar-wa {
  flex: none; display: grid; place-items: center;
  width: 3.25rem; height: 3.25rem; border-radius: 50%;
  background: #25D366; color: #052E16;
  box-shadow: 0 10px 24px -12px rgba(37, 211, 102, .8);
}
.mbar-wa .wa-ico { width: 24px; height: 24px; }

/* WhatsApp buttons */
.wa-ico { width: 20px; height: 20px; flex: none; }
.btn-wa {
  color: #052E16; background: #25D366;
  box-shadow: 0 14px 34px -14px rgba(37, 211, 102, .75), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn-wa:hover { transform: translateY(-3px); background: #3BE07A; box-shadow: 0 22px 44px -16px rgba(37, 211, 102, .9); }
.cta-wa { display: flex; flex-direction: column; align-items: center; gap: .8rem; margin-top: 2.4rem; }
.cta-wa .btn { min-height: 3.6rem; padding: 0 2rem; font-size: .76rem; }
.cta-wa-note { font-size: .95rem; color: var(--text-muted); }
.cta-wa-note b { color: var(--text); font-weight: 600; white-space: nowrap; }
.cta-or {
  display: flex; align-items: center; gap: 1rem;
  width: 100%; max-width: 34rem; margin-top: 2.2rem;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-dim);
}
.cta-or::before, .cta-or::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.cta-or + .cta-box { margin-top: 1.2rem; }
.wa-float { display: none; }
@media (min-width: 960px) {
  .wa-float {
    position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 40;
    display: inline-flex; align-items: center; gap: .65rem;
    height: 3.4rem; padding: 0 1.3rem 0 1.1rem;
    border-radius: 999px; background: #25D366; color: #052E16;
    font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    box-shadow: 0 18px 40px -16px rgba(37, 211, 102, .8), 0 0 0 1px rgba(255, 255, 255, .15) inset;
    transform: translateY(160%); opacity: 0;
    transition: transform .6s var(--ease-out), opacity .4s, background-color .3s;
  }
  .wa-float.is-on { transform: none; opacity: 1; }
  .wa-float:hover { background: #3BE07A; }
  .wa-float .wa-ico { width: 22px; height: 22px; }
}
html:not(.js) .wa-float { transform: none; opacity: 1; }
html:not(.js) .mbar { display: none; }

/* =============================================================
   7. Sections
   ============================================================= */
.section { padding-block: clamp(6rem, 14vh, 10rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.4rem, 5vw, 3.5rem); }

/* ---- Hero ---- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  padding: calc(var(--nav-h) + 1.5rem) var(--gutter) 1.4rem;
  text-align: center;
}
.hero-inner { align-self: center; max-width: 64rem; margin-inline: auto; display: flex; flex-direction: column; align-items: center; transform: translateY(-4vh); }
.hero-title {
  margin-top: 1.6rem;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.1rem, 9vw, 8.2rem);
  line-height: .92; letter-spacing: -0.015em;
  text-shadow: 0 2px 34px rgba(0, 0, 0, .6);
}
.hero-sub { margin-top: 1.7rem; max-width: 36rem; font-size: clamp(1rem, 1.3vw, 1.14rem); font-weight: 300; color: var(--text-muted); }
.hero-actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.hero-foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-dim); text-align: left;
}
.hero-coords { display: none; }
.hero-scroll { display: flex; flex-direction: column; align-items: center; gap: .7rem; color: var(--text-muted); }
.hero-scroll i { position: relative; width: 1px; height: 3.2rem; overflow: hidden; background: var(--line); }
.hero-scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 50%; background: var(--green-bright); animation: scrollLine 2.4s var(--ease-io) infinite; }
@keyframes scrollLine { from { transform: translateY(-100%); } to { transform: translateY(220%); } }
html.js .hero [data-hero-item] { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); }
html.hero-in .hero [data-hero-item] { opacity: 1; transform: none; }
html.hero-in .hero .hero-sub[data-hero-item] { transition-delay: .7s; }
html.hero-in .hero .hero-actions[data-hero-item] { transition-delay: .9s; }
html.hero-in .hero .hero-foot[data-hero-item] { transition-delay: 1.2s; }

/* ---- 01 Problema (text left, city right) ---- */
.split { min-height: 115vh; display: flex; align-items: center; padding-block: clamp(6rem, 14vh, 10rem); }
.split-text { max-width: 38rem; }
.status-list { margin-top: 2rem; border-top: 1px solid var(--line); }
.status-list li { display: grid; gap: .35rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.status-list p { color: var(--text-muted); font-size: .96rem; }
.status-tag { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.status-tag i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.status-tag.is-red { color: #F87171; }
.status-tag.is-amber { color: #FBBF24; }
.status-tag.is-green { color: var(--green-bright); }

/* ---- 02 Proceso ---- */
.process { padding-block: clamp(4rem, 10vh, 8rem); }
.process-head { padding-bottom: 2rem; }
.step-nav { display: none; }
.step {
  display: grid; grid-template-columns: 3rem 1fr; gap: 1.1rem;
  padding-block: clamp(2rem, 5vh, 3rem);
  border-top: 1px solid var(--line);
  transition: opacity .9s var(--ease-out);
}
html.js .step { opacity: .42; }
html.js .step.is-active { opacity: 1; }
.step-num { padding-top: 1rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; color: var(--green-bright); }
.step h3 { font-family: var(--serif); font-style: italic; font-size: clamp(2.5rem, 4.6vw, 3.9rem); line-height: 1; text-shadow: 0 2px 24px rgba(0, 0, 0, .6); }
.step p { margin-top: 1rem; color: var(--text-muted); max-width: 32rem; }
.step-meta { margin-top: 1.4rem !important; font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim) !important; }

/* ---- Cifras ---- */
.figures { min-height: 90vh; display: flex; align-items: center; padding-block: clamp(6rem, 16vh, 10rem); }
.figures-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 1.5rem; }
.figures-list li { padding-top: 1.4rem; border-top: 1px solid var(--line-strong); }
.figures-list strong {
  display: block;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.8rem, 9vw, 7.6rem); line-height: .9;
  color: var(--green-bright);
  background: var(--metal); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: metalShift 9s ease-in-out infinite alternate;
}
.figures-list span { display: block; margin-top: .9rem; max-width: 15rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }

/* ---- 03 Simulador ---- */
.sim { display: grid; gap: 2rem; padding: 1rem; }
.sim-map { width: 100%; max-width: 560px; margin-inline: auto; }
.geo-map { position: relative; aspect-ratio: 1; border-radius: 4px; overflow: hidden; isolation: isolate; border: 1px solid var(--line); }
.geo-map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.geo-nodes { position: absolute; inset: 5%; z-index: 1; display: grid; place-items: center; grid-template-columns: repeat(7, 1fr); grid-template-rows: repeat(7, 1fr); }
.node {
  --c: var(--red);
  position: relative; display: grid; place-items: center;
  width: 72%; aspect-ratio: 1; max-width: 46px;
  border-radius: 50%; background: var(--c); color: #fff;
  font-family: var(--mono); font-weight: 700; font-size: clamp(9px, 2.5vw, 13px); line-height: 1;
  box-shadow: 0 0 0 2px rgba(11, 15, 23, .9), 0 0 16px -2px var(--c);
  transition: background-color .55s var(--ease-soft), box-shadow .55s var(--ease-soft), transform .55s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 55ms);
}
.node.n-g { --c: #059669; }
.node.n-a { --c: #D97706; }
.node.n-r { --c: #DC2626; }
.node.is-bump { transform: scale(1.12); }
.node.is-center { outline: 2px solid #fff; outline-offset: 3px; }
.geo-pin {
  position: absolute; left: 50%; top: 50%; z-index: 0;
  width: 26%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(16, 185, 129, .3), transparent 70%);
  animation: pinPulse 3.2s ease-in-out infinite; pointer-events: none;
}
@keyframes pinPulse { 0%, 100% { transform: translate(-50%, -50%) scale(.85); opacity: .8; } 50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; } }
.comp { position: absolute; z-index: 1; width: 11px; height: 11px; border-radius: 2px; background: #64748B; transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 0 2px rgba(11, 15, 23, .9); pointer-events: none; }
.legend { display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; margin-top: .9rem; font-family: var(--mono); font-size: .62rem; color: var(--text-dim); }
.legend span { display: inline-flex; align-items: center; gap: .45rem; }
.sim-tip {
  position: absolute; z-index: 3; padding: .4rem .6rem; border-radius: 6px;
  background: var(--text); color: var(--bg);
  font-family: var(--mono); font-size: .66rem; white-space: nowrap;
  transform: translate(-50%, calc(-100% - 12px)); opacity: 0; pointer-events: none; transition: opacity .2s;
}
.sim-tip.is-on { opacity: 1; }
.sim-panel { min-width: 0; padding: .4rem .2rem; }
.sim-panel .range { --rc: var(--red); }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.metrics dd { margin-top: .3rem; font-family: var(--mono); font-size: clamp(1.25rem, 4.6vw, 1.8rem); font-weight: 500; letter-spacing: -0.02em; transition: color .4s; }
.metrics dd.is-g { color: var(--green-bright); }
.metrics dd.is-a { color: #FBBF24; }
.metrics dd.is-r { color: #F87171; }

/* ---- 04 Calculadora ---- */
.roi { display: grid; }
.roi-inputs { padding: 1.6rem 1.3rem .4rem; }
.roi-out { padding: 1.6rem 1.3rem 1.4rem; border-top: 1px solid var(--line); }
.roi-big {
  display: block; margin-top: .4rem;
  font-family: var(--serif); font-weight: 400; font-size: clamp(5rem, 18vw, 8rem); line-height: .85;
  color: var(--green-bright);
  background: var(--metal); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.roi-note { margin-top: .8rem; color: var(--text); font-weight: 300; font-size: 1.02rem; }
.roi-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.3rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.roi-figures dd { margin-top: .3rem; font-family: var(--mono); font-size: clamp(1.3rem, 5vw, 1.7rem); font-weight: 500; }
.bars { display: grid; gap: .8rem; }
.bar-label { display: block; margin-bottom: .35rem; font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.bar-track { display: block; height: 6px; border-radius: 999px; background: rgba(241, 245, 249, .1); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; border-radius: 999px; transition: width .7s var(--ease-out); }
.bar-fill--cost { background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.bar-fill--gain { background: var(--green); box-shadow: 0 0 12px var(--green); }

/* ---- 05 Antes / después (the profile is a light "phone" card) ---- */
.compare-wrap { width: 100%; max-width: 440px; margin-inline: auto; }
.compare {
  --pos: 50%;
  position: relative; border-radius: 22px; overflow: hidden;
  background: #fff; color: #0B0F17;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.pf { position: relative; background: #fff; }
.pf--before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.pf-photos { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; height: 168px; }
.ph { position: relative; display: block; }
.ph:first-child { grid-row: span 2; }
.ph i { position: absolute; left: 8px; bottom: 8px; padding: .2rem .45rem; border-radius: 6px; background: rgba(11, 15, 23, .55); color: #fff; font-family: var(--mono); font-size: .58rem; font-style: normal; letter-spacing: .06em; }
.ph--1 { background: radial-gradient(40% 30% at 30% 35%, rgba(255, 236, 200, .55), transparent 70%), linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .25)), linear-gradient(135deg, #6B4A33 0%, #A87A52 45%, #D9B48A 100%); }
.ph--2 { background: radial-gradient(50% 50% at 60% 40%, rgba(255, 214, 160, .5), transparent 70%), linear-gradient(160deg, #3A2B22, #7E5E43); }
.ph--3 { background: linear-gradient(200deg, #EFE3D1, #C49B70); }
.ph { overflow: hidden; background: #E5E7EB; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ph i { z-index: 1; }
.ph--old img { filter: grayscale(.8) sepia(.35) brightness(.5) contrast(.85) blur(1.5px); transform: scale(1.06); }
.ph--old::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .3)); }
.ph--empty { background: repeating-linear-gradient(135deg, #EEF0F3 0 10px, #E5E7EB 10px 20px); }
.ph--empty i { background: rgba(255, 255, 255, .9); color: #4B5563; }
.pf-body { padding: 1rem 1.15rem 1.2rem; }
.pf-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.pf-head .chip { position: absolute; top: 12px; }
.pf--before .pf-head .chip { left: 12px; }
.pf--after .pf-head .chip { right: 12px; }
.pf-name { font-family: var(--sans); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; }
.pf-rating { margin-top: .15rem; font-size: .9rem; }
.pf-rating .stars { position: relative; display: inline-block; color: #D1D5DB; letter-spacing: .05em; white-space: nowrap; }
.pf-rating .stars::before {
  content: "★★★★★";
  position: absolute; left: 0; top: 0;
  width: calc(var(--r, 5) / 5 * 100%);
  overflow: hidden; color: #F59E0B; letter-spacing: .05em; white-space: nowrap;
}
.pf .muted { color: #6B7280; }
.pf-cat { margin-top: .2rem; font-size: .86rem; font-weight: 600; }
.pf-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin: .85rem 0 .6rem; }
.pf-actions span { padding: .38rem .75rem; border-radius: 999px; border: 1px solid rgba(11, 15, 23, .18); font-size: .78rem; font-weight: 700; }
.pf-actions .off { opacity: .35; text-decoration: line-through; }
.pf-rows li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; border-top: 1px solid rgba(11, 15, 23, .08); font-size: .82rem; }
.pf-rows span { color: #4B5563; }
.pf-rows b { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-align: right; }
.pf-rows b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.ok { color: #047857; } .warn { color: #B45309; } .bad { color: #B91C1C; }
.pf-meter { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .7rem; margin-top: .9rem; }
.pf-meter .mono-label { color: #6B7280; }
.pf-meter b { font-family: var(--mono); font-size: .85rem; }
.meter { display: block; height: 8px; border-radius: 999px; background: #E5E7EB; overflow: hidden; }
.meter-fill { display: block; height: 100%; border-radius: 999px; }
.meter-fill--green { background: #10B981; } .meter-fill--red { background: #EF4444; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 4; width: 2px; margin-left: -1px; background: #0B0F17; pointer-events: none; }
.compare-handle span {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; border-radius: 50%;
  background: #0B0F17; color: #fff; transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .6), 0 8px 20px rgba(0, 0, 0, .4);
  display: grid; place-items: center;
}
.compare-handle span::before { content: "‹ ›"; font-weight: 800; font-size: 1rem; letter-spacing: .1em; }
.compare-range { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; }
.compare:focus-within .compare-handle span { outline: 3px solid var(--green-bright); outline-offset: 3px; }
.compare-btns { display: flex; justify-content: center; gap: .6rem; margin-top: 1.1rem; }

/* ---- 06 Precios (rows like a menu) ---- */
.plans-legend { display: none; }
.plan { border-bottom: 1px solid var(--line); }
.plan:last-child { border-bottom: 0; }
.plan summary {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto;
  grid-template-areas: "no name plus" "type type type" "price price price";
  align-items: center; gap: .35rem 1rem;
  padding: 1.5rem 1.2rem; cursor: pointer; list-style: none;
  transition: background-color .4s;
}
.plan summary::-webkit-details-marker { display: none; }
.plan summary::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--metal);
  transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease-out);
}
.plan summary:hover { background: rgba(241, 245, 249, .035); }
.plan summary:hover::before, .plan[open] summary::before { transform: scaleY(1); }
.plan-no { grid-area: no; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; color: var(--green-bright); }
.plan-name { grid-area: name; font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.05; transition: color .4s; }
.plan summary:hover .plan-name, .plan[open] .plan-name {
  color: var(--green-bright);
  background: var(--metal); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.plan-type { grid-area: type; font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.plan-price { grid-area: price; font-family: var(--mono); font-size: 1.35rem; font-weight: 500; color: var(--text); }
.plan-price small { margin-left: .4rem; font-size: .6rem; letter-spacing: .12em; color: var(--text-dim); }
.plan-price.is-free { color: var(--green-bright); }
.plan .plus { grid-area: plus; }
.plan-body { display: grid; gap: 1.6rem; padding: .2rem 1.2rem 2.2rem; }
.plan[open] .plan-body { animation: bodyIn .8s var(--ease-out); }
@keyframes bodyIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.plan-desc { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.3; max-width: 30rem; }
.plan-small { margin-top: 1rem; font-size: .9rem; color: var(--text-muted); max-width: 30rem; }
.plan-small b { color: var(--text); font-weight: 600; }
.plan-body .btn { margin-top: 1.4rem; }
.plan-plus { font-weight: 600; font-size: .92rem; margin-bottom: .2rem; }
.plan-facts { margin-top: 1.3rem; display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.4rem; font-size: .88rem; }
.plan-facts dt { padding-top: .15rem; font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); }
.plan-facts dd { color: var(--text-muted); }

/* ---- 07 Informe ---- */
.report { padding: 1.4rem 1.2rem; }
.report-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.report-head h3 { margin-top: .3rem; font-family: var(--serif); font-size: 2.4rem; line-height: 1; }
.report-head .muted { margin-top: .3rem; font-size: .9rem; }
.report-grid { display: grid; gap: 1.6rem; padding-top: 1.4rem; }
.gauge { position: relative; width: 100%; max-width: 240px; margin-inline: auto; text-align: center; }
.gauge svg { width: 100%; height: auto; overflow: visible; }
.gauge path { fill: none; stroke-width: 9; stroke-linecap: round; }
.gauge-track { stroke: rgba(241, 245, 249, .1); }
.gauge-fill { stroke: var(--amber); stroke-dasharray: 100; stroke-dashoffset: 54; filter: drop-shadow(0 0 6px rgba(245, 158, 11, .6)); transition: stroke-dashoffset 1.6s var(--ease-out); }
html.js .gauge-fill { stroke-dashoffset: 100; }
html.js .report.is-visible .gauge-fill { stroke-dashoffset: 54; }
.gauge-num { display: block; margin-top: -2.6rem; font-family: var(--serif); font-weight: 400; font-size: 3.4rem; line-height: 1; }
.gauge-num small { font-family: var(--mono); font-size: .9rem; color: var(--text-dim); }
.gauge .mono-label { margin-top: .4rem; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rtable { width: 100%; min-width: 420px; border-collapse: collapse; font-size: .86rem; }
.rtable th, .rtable td { padding: .65rem .5rem; border-bottom: 1px solid var(--line); text-align: right; }
.rtable thead th { font-family: var(--mono); font-size: .58rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.rtable th[scope="row"], .rtable thead th:first-child { text-align: left; font-weight: 500; color: var(--text-muted); }
.rtable td { font-family: var(--mono); color: var(--text-muted); }
.rtable td:nth-child(2), .rtable thead th:nth-child(2) { background: rgba(241, 245, 249, .04); }
.rtable td.bad { color: #F87171; font-weight: 600; }
.rtable td.warn { color: #FBBF24; font-weight: 600; }
.rtable td.ok { color: var(--green-bright); font-weight: 600; }
.recs { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.recs ol { margin-top: .5rem; }
.recs li { display: flex; align-items: baseline; gap: .8rem; padding: .5rem 0; color: var(--text); font-size: .96rem; }
.recs .dot { position: relative; top: -1px; }

/* ---- 08 Para quién (cards) ---- */
.ritual-grid { display: grid; gap: 1rem; }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 16rem; padding: 1.9rem 1.8rem 2.1rem;
  background: var(--panel); border: 1px solid var(--line);
  transition: transform .7s var(--ease-out), border-color .5s;
}
@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .card { background: var(--panel-glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(16, 185, 129, .2), transparent 60%);
  opacity: 0; transition: opacity .5s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(16, 185, 129, .5); }
.card:hover::before { opacity: 1; }
.card-num { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--green-bright); }
.card .mono-label { margin-top: auto; padding-top: 2.4rem; color: var(--green-bright); }
.card h3 { margin-top: .5rem; font-family: var(--serif); font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1.05; }
.card p:last-child { margin-top: .8rem; font-size: .95rem; color: var(--text-muted); }

/* ---- 09 Preguntas ---- */
.faq-list { border-top: 1px solid var(--line-strong); background: rgba(11, 15, 23, .55); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem .2rem;
  font-family: var(--serif); font-size: clamp(1.45rem, 2.2vw, 1.8rem); line-height: 1.2;
  cursor: pointer; list-style: none; transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-bright); }
.faq-a p { max-width: 36rem; padding: 0 .2rem 1.6rem; color: var(--text-muted); }
.faq-item[open] .faq-a { animation: bodyIn .7s var(--ease-out); }

/* ---- 10 Contacto ---- */
.cta { min-height: 100vh; display: flex; align-items: center; padding-block: clamp(6rem, 14vh, 10rem); }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta .lead { max-width: 34rem; color: var(--text-muted); }
.cta-box { position: relative; width: 100%; max-width: 34rem; margin-top: 2.8rem; text-align: left; }
.form {
  display: grid; gap: 1rem; padding: 1.8rem 1.5rem 1.4rem;
  background: var(--panel); border: 1px solid var(--line);
}
@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .form { background: var(--panel-glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
}
.field { position: relative; min-width: 0; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 3.6rem;
  padding: 1.35rem 0 .4rem;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  color: var(--text); font-size: 1.05rem; outline: none;
  transition: border-color .35s;
}
.field textarea { resize: vertical; min-height: 4.2rem; padding-top: 1.6rem; }
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--green); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--text); transition: background-color 99999s ease-out; }
.field label {
  position: absolute; left: 0; top: 1.25rem;
  color: var(--text-dim); pointer-events: none; transform-origin: left top;
  transition: transform .4s var(--ease-out), color .4s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-1.05rem) scale(.74); color: var(--green-bright);
}
.field--select select {
  -webkit-appearance: none; appearance: none; padding-top: 1rem; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%23A3ACB9' stroke-width='1.6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right .2rem center;
}
.field--select select option { background: #111827; color: var(--text); }
.field .is-invalid, .field input.is-invalid, .field select.is-invalid { border-bottom-color: #F87171; }
.field-2 { display: grid; gap: 1rem; }
.btn-submit { width: 100%; margin-top: .9rem; }
.form-msg { min-height: 1.3em; font-size: .9rem; color: var(--green-bright); }
.form-msg.is-error { color: #F87171; }
.form .note { margin-top: 0; }
.form-fallback { padding: 1rem 1.1rem; border: 1px dashed var(--line-strong); border-radius: 4px; font-size: .9rem; color: var(--text-muted); }
.form-fallback b { color: var(--text); font-weight: 600; word-break: break-all; }
.form-fallback-btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.fallback-text {
  display: block; width: 100%; margin-top: .8rem; padding: .7rem .8rem;
  background: rgba(11, 15, 23, .6); border: 1px solid var(--line); border-radius: 4px;
  color: var(--text); font-family: var(--mono); font-size: .78rem; line-height: 1.5; resize: vertical;
}
.contact-list { display: grid; gap: .2rem; width: 100%; max-width: 34rem; margin-top: 2rem; text-align: left; }
.contact-list li { display: grid; gap: .1rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.contact-list a { color: var(--green-bright); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; word-break: break-all; }

/* ---- Footer ---- */
.footer {
  padding-top: 4.5rem; overflow: hidden;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 15, 23, .55), var(--bg) 45%);
}
.footer-grid { display: grid; gap: 2.4rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--serif); font-size: 1.9rem; line-height: 1; }
.footer-brand em { font-style: italic; color: var(--green-bright); }
.footer p { margin-top: .7rem; max-width: 24rem; font-size: .9rem; color: var(--text-muted); }
.footer-nav { display: grid; gap: .65rem; align-content: start; }
.footer-nav a { width: fit-content; font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); transition: color .3s; }
.footer-nav a:hover { color: var(--green-bright); }
.footer-legal p { font-size: .8rem; color: var(--text-dim); }
.footer-legal a { text-decoration: underline; text-underline-offset: 2px; }
.footer-word {
  margin-top: 3.5rem;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(5rem, 25vw, 24rem); line-height: .8; letter-spacing: -0.01em;
  text-align: center; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(16, 185, 129, .55);
  transform: translateY(14%); user-select: none;
}

/* =============================================================
   8. Effects: split text + reveals
   ============================================================= */
.split-mask { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .08em .16em; margin: -.1em -.08em -.16em; }
.split-word { display: inline-block; transition: transform 1.25s var(--ease-out), opacity 1.25s var(--ease-out); transition-delay: calc(var(--i, 0) * 65ms); }
html.js .is-split:not(.is-in) .split-word { opacity: 0; transform: translate3d(0, 112%, 0) rotate(5deg); }
html.js [data-reveal] { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
.ritual-grid .card:nth-child(2), .figures-list li:nth-child(2) { transition-delay: .1s; }
.ritual-grid .card:nth-child(3), .figures-list li:nth-child(3) { transition-delay: .2s; }
.figures-list li:nth-child(4) { transition-delay: .3s; }
/* Defensive rule from the skill */
[data-reveal][data-split], .reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   9. Responsive (mobile-first)
   ============================================================= */
@media (min-width: 540px) {
  .seg { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .seg--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seg--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-2 { grid-template-columns: 1fr 1fr; }
  .sim { padding: 1.4rem; }
  .report { padding: 2rem 1.8rem; }
}

@media (min-width: 720px) {
  .hero-coords { display: block; }
  .ritual-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card { min-height: 20rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; }
  .plan summary { padding-inline: 1.6rem; }
  .plan-body { grid-template-columns: 1fr 1fr; padding-inline: 1.6rem; }
  .form { padding: 2.2rem 2.2rem 1.6rem; }
  .roi-inputs { padding: 2rem 1.8rem .6rem; }
  .roi-out { padding: 2rem 1.8rem 1.8rem; }
}

@media (min-width: 960px) {
  :root { --nav-h: 72px; }
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle, .menu, .mbar { display: none; }
  .scrim { background: rgba(11, 15, 23, .14); }

  .split .wrap { display: grid; grid-template-columns: 1fr 1fr; }
  .split-text { grid-column: 1; }

  .process-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 36rem);
    column-gap: clamp(3rem, 6vw, 6rem); align-items: start;
  }
  .process-head { grid-column: 1; grid-row: 1; position: sticky; top: calc(var(--nav-h) + 8vh); padding-bottom: 0; }
  .steps { grid-column: 2; grid-row: 1; padding-block: 12vh 16vh; }
  .step { grid-template-columns: 4rem 1fr; padding-block: 2.8rem; }

  .step-nav {
    display: grid; gap: .1rem;
    margin-top: 2.4rem; padding-left: 1.3rem;
    border-left: 1px solid var(--line-strong);
  }
  .step-nav li {
    position: relative; display: flex; align-items: baseline; gap: 1rem;
    padding: .5rem 0;
    color: var(--text-dim);
    transition: color .5s var(--ease-out);
  }
  .step-nav li::before {
    content: ""; position: absolute; left: calc(-1.3rem - 4.5px); top: 50%;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--bg); border: 1px solid var(--line-strong);
    transform: translateY(-50%);
    transition: background-color .5s, border-color .5s, box-shadow .5s;
  }
  .step-nav b { font-family: var(--mono); font-size: .66rem; font-weight: 500; letter-spacing: .16em; }
  .step-nav span { font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.1; }
  .step-nav li.is-done { color: var(--text-muted); }
  .step-nav li.is-done::before { background: var(--green-deep); border-color: var(--green-deep); }
  .step-nav li.is-active { color: var(--green-bright); }
  .step-nav li.is-active::before { background: var(--green); border-color: var(--green); box-shadow: 0 0 12px var(--green); }

  .figures-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .sim { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3rem; padding: 2rem; align-items: center; }
  .roi { grid-template-columns: 1fr 1fr; }
  .roi-out { border-top: 0; border-left: 1px solid var(--line); }

  .compare-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 4rem; align-items: center; }
  .compare-grid .section-head { margin-bottom: 0; }

  .plans-legend {
    display: grid; grid-template-columns: 4.5rem minmax(0, 1.6fr) minmax(0, .9fr) 11rem 2.1rem; gap: 1.4rem;
    padding: 1rem 1.8rem; border-bottom: 1px solid var(--line);
    font-family: var(--mono); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-dim);
  }
  .plan summary {
    grid-template-columns: 4.5rem minmax(0, 1.6fr) minmax(0, .9fr) 11rem 2.1rem;
    grid-template-areas: "no name type price plus";
    gap: 1.4rem; padding: 1.7rem 1.8rem;
  }
  .plan-body { padding: .2rem 1.8rem 2.6rem calc(4.5rem + 1.4rem + 1.8rem); gap: 3rem; }

  .report { padding: 2.6rem 2.8rem; }
  .report-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 3rem; align-items: center; }

  .faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 4rem; }
  .faq-col { grid-column: 1; }
}

/* =============================================================
   10. Reduced motion — only the intrusive loops
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scroll i::after { animation: none; transform: translateY(50%); }
  .brand-mark::after, .geo-pin { animation: none; }
}
