/* =============================================================
   TERRALABS — "Health OS" — dark editorial-tech theme
   1. Tokens
   ============================================================= */
:root {
  /* Surfaces (deep navy-slate) */
  --bg:        #070B16;
  --bg-2:      #0B1120;
  --surface:   #0F1828;
  --surface-2: #131F33;
  --surface-3: #18263E;

  /* Brand */
  --ink:       #0F172A;
  --blue:      #3B82F6;
  --blue-deep: #2563EB;
  --cyan:      #22D3EE;
  --cyan-deep: #06B6D4;
  --violet:    #8B5CF6;

  /* Text */
  --text:      #EAF1FB;
  --text-soft: #A6B6CE;
  --text-mute: #5C6E8A;

  /* Lines */
  --line:      rgba(148, 163, 184, .14);
  --line-2:    rgba(148, 163, 184, .26);
  --glow-cyan: rgba(34, 211, 238, .35);

  /* Gradients */
  --grad-brand: linear-gradient(115deg, var(--blue) 0%, var(--cyan) 100%);
  --grad-text:  linear-gradient(100deg, #93C5FD 0%, #67E8F9 60%, #A78BFA 120%);
  --grad-line:  linear-gradient(90deg, transparent, var(--cyan-deep), transparent);

  /* Shadows / glows */
  --sh-card: 0 1px 0 rgba(255,255,255,.04) inset, 0 24px 60px -20px rgba(0,0,0,.7);
  --sh-glow: 0 0 0 1px rgba(34,211,238,.25), 0 20px 60px -18px rgba(34,211,238,.35);
  --sh-blue: 0 14px 40px -10px rgba(37,99,235,.6);

  /* Type */
  --display: "Space Grotesk", system-ui, sans-serif;
  --sans:    "Inter", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1.1rem, 4vw, 2.4rem);
  --nav-h: 76px;
  --radius: 18px;
  --radius-lg: 24px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: calc(var(--nav-h) + 18px); }
body {
  font-family: var(--sans);
  font-size: 16px; line-height: 1.65;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; color: #fff; text-wrap: balance; }
::selection { background: var(--cyan); color: #04121a; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 9999; padding: .65rem 1rem; background: var(--cyan); color: #04121a; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* =============================================================
   3. Ambient layers — aurora + grid + cursor glow
   ============================================================= */
.aurora {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(38% 40% at var(--mx, 28%) var(--my, 14%), rgba(34,211,238,.16), transparent 62%),
    radial-gradient(45% 42% at 82% -4%, rgba(37,99,235,.22), transparent 60%),
    radial-gradient(50% 55% at 6% 104%, rgba(139,92,246,.16), transparent 60%),
    var(--bg);
}
.aurora::after {
  content: ""; position: absolute; inset: -25%;
  background: radial-gradient(28% 28% at 60% 40%, rgba(34,211,238,.10), transparent 70%);
  filter: blur(60px); animation: auroraDrift 28s ease-in-out infinite;
}
@keyframes auroraDrift { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(4%, 3%, 0) scale(1.15); } }

.grid-bg {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .6;
  background-image: linear-gradient(rgba(148,163,184,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(148,163,184,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
}
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: -1; width: 420px; height: 420px; border-radius: 50%;
  transform: translate3d(-50%, -50%, 0); pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(34,211,238,.12), transparent 65%);
  transition: opacity .4s ease;
}
.cursor-glow.is-on { opacity: 1; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font-family: var(--display); font-weight: 600; font-size: .95rem; padding: .85rem 1.5rem; border-radius: 12px; line-height: 1; white-space: nowrap; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .25s, color .25s, border-color .25s; }
.btn .ico { width: 1.05em; height: 1.05em; transition: transform .35s var(--ease-out); }
.btn-sm { padding: .62rem 1.05rem; font-size: .875rem; border-radius: 10px; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.02rem; }

.btn-primary { background: var(--grad-brand); color: #04121a; box-shadow: var(--sh-blue); background-size: 150% 150%; background-position: 0% 50%; font-weight: 700; }
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 18px 48px -10px rgba(34,211,238,.6); }
.btn-primary:hover .ico { transform: translateX(3px); }

.btn-ghost { color: var(--text); border: 1px solid var(--line-2); background: rgba(255,255,255,.02); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--cyan); box-shadow: 0 0 0 1px rgba(34,211,238,.3), 0 16px 40px -16px rgba(34,211,238,.4); }
.btn-ghost:hover .ico { transform: translateX(3px); }

.btn-line { color: var(--text-soft); padding-inline: 0; }
.btn-line:hover { color: #fff; }

/* =============================================================
   5. Eyebrow / section heads (editorial mono)
   ============================================================= */
.kicker { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--cyan); opacity: .6; }
.kicker.dot::before { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--glow-cyan); animation: livePulse 2.4s infinite; }

.sec-head { margin-bottom: clamp(2.4rem, 5vw, 3.8rem); }
.sec-index { font-family: var(--mono); font-size: .8rem; color: var(--text-mute); letter-spacing: .1em; }
.sec-title { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-top: .9rem; max-width: 18ch; }
.sec-lead { margin-top: 1.1rem; max-width: 56ch; color: var(--text-soft); font-size: clamp(1.02rem, 1.5vw, 1.15rem); }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section { position: relative; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.rule { height: 1px; border: 0; background: var(--line); margin: 0; }

@keyframes livePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(34,211,238,.5); } 60% { box-shadow: 0 0 0 7px rgba(34,211,238,0); } }

/* =============================================================
   6. Nav
   ============================================================= */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.nav.is-stuck { background: rgba(7,11,22,.72); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; font-size: 1.16rem; color: #fff; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; filter: drop-shadow(0 4px 14px rgba(34,211,238,.45)); }
.brand-mark svg rect.tg-bg { fill: #0B1120; }
.brand-mark .tg-ring { fill: none; stroke: rgba(148,163,184,.4); stroke-width: 1.2; }
.brand-mark .tg-a { fill: var(--cyan); }
.brand-mark .tg-b { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.brand-mark .tg-c { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; opacity: .6; }
.b-accent { color: var(--cyan); }

.nav-links { display: none; gap: .3rem; }
.nav-links a { position: relative; padding: .5rem .8rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .03em; color: var(--text-soft); border-radius: 8px; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .35rem; height: 1px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav-links a:hover, .nav-links a.is-active { color: #fff; }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }

.nav-cta { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: 1.5rem; color: #fff; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }

.mobile-menu { position: absolute; top: var(--nav-h); left: 0; right: 0; display: flex; flex-direction: column; gap: .2rem; padding: 1rem var(--gutter) 1.5rem; background: rgba(8,13,24,.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: .9rem .4rem; font-family: var(--mono); font-size: .92rem; color: var(--text); border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border: 0; margin-top: .7rem; }

/* =============================================================
   7. HERO
   ============================================================= */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(2.5rem, 7vw, 5.5rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.6rem, 5vw, 4rem); align-items: center; }
.hero-copy { max-width: 38rem; }
.hero-title { font-size: clamp(2.5rem, 6.4vw, 4.6rem); letter-spacing: -.04em; margin-top: 1.4rem; }
.hero-title .grad { display: inline; }
.hero-sub { margin-top: 1.5rem; max-width: 50ch; font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--text-soft); }
.hero-actions { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-trust { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1.1rem; font-family: var(--mono); font-size: .76rem; color: var(--text-mute); letter-spacing: .02em; }
.hero-trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust .ico { color: var(--cyan); width: 1.05em; height: 1.05em; stroke-width: 2.4; }

/* Console (dark product window) */
.hero-visual { position: relative; perspective: 1500px; min-width: 0; }
.console { position: relative; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); box-shadow: var(--sh-card); overflow: hidden; transform: rotateX(7deg) rotateY(-8deg) rotate(1deg); transform-style: preserve-3d; transition: transform .6s var(--ease-out); }
.console::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--grad-line); }
.console-top { display: flex; align-items: center; gap: .45rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.console-top .dot { width: 10px; height: 10px; border-radius: 50%; background: #2A3650; }
.console-top .dot:nth-child(1){ background:#F87171; } .console-top .dot:nth-child(2){ background:#FBBF24; } .console-top .dot:nth-child(3){ background:#34D399; }
.console-url { margin-left: .6rem; font-family: var(--mono); font-size: .7rem; color: var(--text-mute); border: 1px solid var(--line); padding: .25rem .7rem; border-radius: 7px; }
.console-body { display: grid; grid-template-columns: 124px 1fr; min-height: 350px; }
.console-side { display: flex; flex-direction: column; gap: .15rem; padding: .9rem .7rem; border-right: 1px solid var(--line); }
.console-brand { display: flex; align-items: center; gap: .4rem; padding: .2rem .3rem 1rem; }
.console-brand .brand-mark { width: 20px; height: 20px; }
.console-brand span { font-family: var(--display); font-weight: 700; font-size: .8rem; color: #fff; }
.console-nav { display: flex; align-items: center; gap: .55rem; padding: .5rem .55rem; border-radius: 9px; color: var(--text-mute); font-family: var(--mono); font-size: .72rem; }
.console-nav .ico { width: 1.05em; height: 1.05em; }
.console-nav.is-active { background: rgba(34,211,238,.12); color: var(--cyan); }
.console-main { padding: 1.1rem 1.2rem 1.3rem; }
.console-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; }
.console-kick { font-family: var(--mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .12em; color: var(--cyan); }
.console-h { font-size: 1.05rem; margin-top: .2rem; color: #fff; }
.chip-live { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .68rem; color: var(--text-soft); border: 1px solid var(--line); padding: .35rem .6rem; border-radius: 100px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: dotPulse 2s infinite; }
@keyframes dotPulse { 0%{box-shadow:0 0 0 0 rgba(52,211,153,.5);} 70%{box-shadow:0 0 0 7px rgba(52,211,153,0);} 100%{box-shadow:0 0 0 0 rgba(52,211,153,0);} }

.kpis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .55rem; margin-bottom: 1.1rem; }
.kpi { min-width: 0; padding: .65rem .7rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.02); }
.kpi-l { font-family: var(--mono); font-size: .6rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-v { font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: #fff; margin-top: .2rem; }
.kpi-v.cy { color: var(--cyan); }
.kpi-v.gr { color: #34D399; }

.chartbox { border: 1px solid var(--line); border-radius: 13px; padding: .85rem .9rem; background: rgba(255,255,255,.02); }
.chartbox-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .65rem; }
.chartbox-top span { font-size: .76rem; color: #fff; }
.chartbox-top em { font-style: normal; font-family: var(--mono); font-size: .66rem; color: var(--cyan); }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; align-items: end; height: 72px; }
.bars i { display: block; border-radius: 4px 4px 1px 1px; background: rgba(148,163,184,.16); }
.bars i.on { background: var(--grad-brand); box-shadow: 0 0 18px rgba(34,211,238,.4); }

.float-card { position: absolute; padding: .8rem .95rem; border-radius: 15px; background: rgba(15,24,40,.72); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--sh-card); }
.fc-up { top: 6%; right: -5%; display: flex; flex-direction: column; gap: .15rem; animation: floatY 5.6s ease-in-out infinite; }
.fc-up .l { font-family: var(--mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-mute); }
.fc-up .v { font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--cyan); }
.fc-ai { bottom: 7%; left: -6%; display: flex; align-items: center; gap: .65rem; max-width: 220px; animation: floatY 6.6s ease-in-out infinite .4s; }
.fc-ai .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #04121a; background: var(--grad-brand); flex: none; }
.fc-ai strong { display: block; font-size: .8rem; color: #fff; }
.fc-ai span { font-size: .7rem; color: var(--text-mute); }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* =============================================================
   8. Marquee
   ============================================================= */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); padding: 1.1rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: .8rem; padding: 0 1.6rem; font-family: var(--display); font-weight: 600; font-size: clamp(1rem, 2vw, 1.35rem); color: var(--text-soft); white-space: nowrap; }
.marquee-item::after { content: "✳"; color: var(--cyan); font-size: .7em; margin-left: 1.6rem; opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   9. Cards (shared) + glow hover
   ============================================================= */
.card { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 2.4vw, 1.8rem); transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s, background .4s; }
.card:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.35); box-shadow: var(--sh-glow); }
.card-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.45rem; color: var(--cyan); background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.2); margin-bottom: 1.1rem; }
.card h3 { font-size: 1.18rem; margin-bottom: .45rem; }
.card p { color: var(--text-soft); font-size: .95rem; }

/* =============================================================
   10. Bento (capacidades + producto)
   ============================================================= */
.bento { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.bento-tile { position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 2.6vw, 1.9rem); transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s; transform-style: preserve-3d; }
.bento-tile:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.35); box-shadow: var(--sh-glow); }
.bento-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; color: var(--cyan); background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.2); margin-bottom: .9rem; }
.bento-tile h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.bento-tile p { color: var(--text-soft); font-size: .92rem; }

/* Featured product tile */
.tile-product { display: flex; flex-direction: column; justify-content: space-between; gap: 1.4rem; background:
  radial-gradient(80% 100% at 100% 0%, rgba(34,211,238,.12), transparent 55%),
  radial-gradient(80% 100% at 0% 100%, rgba(37,99,235,.14), transparent 55%),
  linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border-color: rgba(34,211,238,.3); }
.tile-product .pf-top { display: flex; align-items: center; gap: .8rem; }
.pf-logo { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #04121a; background: var(--grad-brand); box-shadow: var(--sh-blue); font-size: 1.5rem; }
.pf-tag { font-family: var(--mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: var(--cyan); }
.tile-product h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.tile-product p { color: var(--text-soft); font-size: 1rem; margin-top: .5rem; max-width: 46ch; }
.pf-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.pf-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.pf-chip { font-family: var(--mono); font-size: .72rem; color: var(--text-soft); padding: .35rem .7rem; border-radius: 100px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }

/* =============================================================
   11. Compare (desafío)
   ============================================================= */
.compare { display: grid; gap: 1rem; }
.compare-col { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 2.6vw, 2rem); background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }
.compare-col.good { border-color: rgba(34,211,238,.3); background:
  radial-gradient(90% 60% at 100% 0%, rgba(34,211,238,.1), transparent 60%),
  linear-gradient(180deg, rgba(255,255,255,.03), transparent); position: relative; overflow: hidden; }
.compare-col.good::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--grad-line); }
.compare-head { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.3rem; }
.compare-head h3 { font-size: 1.1rem; }
.badge { font-family: var(--mono); font-size: .62rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 100px; }
.badge.bad { color: #FBBF24; background: rgba(251,191,36,.12); }
.badge.good { color: #04121a; background: var(--grad-brand); font-weight: 700; }
.compare-list { display: flex; flex-direction: column; gap: .9rem; }
.compare-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: .95rem; }
.compare-list .mk { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; flex: none; font-size: .8rem; margin-top: .05rem; }
.bad .compare-list { color: var(--text-mute); } .bad .mk { color: #FBBF24; background: rgba(251,191,36,.12); }
.good .compare-list { color: var(--text); } .good .mk { color: #04121a; background: var(--grad-brand); }
.compare-list .ico { width: 1em; height: 1em; stroke-width: 2.4; }

/* =============================================================
   12. Metrics (resultados)
   ============================================================= */
.metrics { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.metric { padding: clamp(1.6rem, 3vw, 2.4rem); background: var(--bg-2); transition: background .4s; }
.metric:hover { background: var(--surface); }
.metric-v { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1; letter-spacing: -.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric-l { display: block; margin-top: .7rem; font-family: var(--display); font-weight: 600; color: #fff; font-size: 1.02rem; }
.metric-s { display: block; margin-top: .35rem; color: var(--text-mute); font-size: .86rem; }

/* =============================================================
   13. Flow (cómo trabajamos)
   ============================================================= */
.flow { display: grid; gap: 1rem; counter-reset: step; }
.flow-step { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s; }
.flow-step:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.3); box-shadow: var(--sh-glow); }
.flow-n { font-family: var(--mono); font-size: .8rem; color: var(--cyan); letter-spacing: .1em; }
.flow-step h3 { font-size: 1.12rem; margin: .8rem 0 .45rem; }
.flow-step p { color: var(--text-soft); font-size: .92rem; }
.flow-step .bar { height: 2px; width: 36px; background: var(--grad-brand); border-radius: 2px; margin-top: 1.1rem; }

/* =============================================================
   14. Split (por qué / seguridad)
   ============================================================= */
.split { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.list-feat { display: flex; flex-direction: column; gap: .2rem; }
.list-feat li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.list-feat li:last-child { border-bottom: 0; }
.list-feat .lf-ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-size: 1.2rem; color: var(--cyan); background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.18); }
.list-feat h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.list-feat p { color: var(--text-soft); font-size: .9rem; }

/* =============================================================
   15. Testimonials
   ============================================================= */
.tm-grid { display: grid; gap: 1rem; }
.tm-card { display: flex; flex-direction: column; gap: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 2.6vw, 2rem); background: linear-gradient(180deg, rgba(255,255,255,.03), transparent); transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s; }
.tm-card:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.3); box-shadow: var(--sh-glow); }
.tm-stars { display: flex; gap: .15rem; color: var(--cyan); font-size: .95rem; }
.tm-stars .ico { fill: var(--cyan); stroke: var(--cyan); }
.tm-card blockquote { font-family: var(--display); font-weight: 500; font-size: 1.06rem; line-height: 1.5; color: #fff; }
.tm-card figcaption { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.tm-av { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: #04121a; background: var(--c, var(--cyan)); flex: none; }
.tm-meta strong { display: block; font-size: .92rem; color: #fff; }
.tm-meta span { font-size: .8rem; color: var(--text-mute); }

/* =============================================================
   16. CTA
   ============================================================= */
.cta { position: relative; overflow: hidden; border-radius: 28px; margin: 0 var(--gutter); padding: clamp(3rem, 7vw, 5.5rem) clamp(1.4rem, 5vw, 4rem); text-align: center; border: 1px solid var(--line-2); background:
  radial-gradient(60% 120% at 50% 0%, rgba(34,211,238,.18), transparent 60%),
  radial-gradient(80% 120% at 50% 120%, rgba(37,99,235,.2), transparent 60%),
  var(--surface); }
.cta-wrap { max-width: 700px; margin: 0 auto; }
.cta h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.cta p { margin: 1.1rem auto 0; max-width: 48ch; color: var(--text-soft); font-size: clamp(1.02rem, 1.6vw, 1.18rem); }
.cta-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.cta-fine { margin-top: 1.4rem; font-family: var(--mono); font-size: .8rem; color: var(--cyan); display: inline-flex; gap: .4rem; align-items: center; }

/* =============================================================
   17. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; margin-top: clamp(4rem, 8vw, 7rem); }
.footer-inner { display: grid; gap: 2.4rem; }
.footer-tag { margin-top: 1rem; color: var(--text-soft); font-size: .92rem; max-width: 34ch; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.3rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--text-soft); border: 1px solid var(--line); transition: all .25s; }
.footer-social a:hover { color: var(--cyan); border-color: var(--cyan); transform: translateY(-2px); }
.footer-social .ico { width: 18px; height: 18px; }
.footer-col { display: flex; flex-direction: column; gap: .7rem; }
.footer-col h4 { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); margin-bottom: .3rem; }
.footer-col a, .footer-addr { font-size: .92rem; color: var(--text-soft); transition: color .25s; }
.footer-col a:hover { color: var(--cyan); }
.footer-cta { margin-top: .6rem; align-self: start; }
.footer-bottom { display: flex; flex-direction: column; gap: .6rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .78rem; color: var(--text-mute); }
.footer-legal a:hover { color: var(--cyan); }

/* =============================================================
   18. Booking modal
   ============================================================= */
.book-modal { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: transparent; }
.book-modal:not([open]) { display: none; }
.book-modal[open] { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: clamp(.8rem, 3vw, 2rem); }
.book-modal::backdrop { background: rgba(4,8,16,.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.book-card { position: relative; width: 100%; max-width: 720px; background: #fff; border-radius: 20px; box-shadow: 0 40px 100px rgba(0,0,0,.6); overflow: hidden; animation: bookIn .35s var(--ease-out); }
@keyframes bookIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.book-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.3rem; background: var(--bg-2); border-bottom: 1px solid rgba(148,163,184,.18); }
.book-head h3 { font-size: 1.1rem; color: #fff; }
.book-head p { font-size: .84rem; color: var(--text-soft); margin-top: .15rem; }
.book-close { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--text-soft); border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: 1.2rem; flex: none; transition: all .25s; }
.book-close:hover { color: #fff; border-color: var(--cyan); }
.book-frame { display: block; width: 100%; height: 600px; border: 0; background: #fff; }
.book-frame:not([src]) { display: none; }
.book-loading { position: absolute; inset: 0; top: 70px; z-index: 2; display: grid; place-items: center; align-content: center; gap: .8rem; background: #fff; color: #64748B; font-size: .9rem; }
.book-loading[hidden] { display: none; }
.book-spinner { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #E2E8F0; border-top-color: var(--blue); animation: bookSpin .8s linear infinite; }
@keyframes bookSpin { to { transform: rotate(360deg); } }
@media (max-width: 560px) { .book-frame { height: 76vh; } }

/* =============================================================
   19. Reveal
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* =============================================================
   20. Responsive
   ============================================================= */
@media (min-width: 600px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .compare { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 760px) {
  .tm-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .nav-links, .nav-cta { display: flex; align-items: center; gap: .5rem; }
  .nav-toggle { display: none; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; }
  .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; }
  .bento .tile-product { grid-column: span 2; grid-row: span 2; }
  .metrics { grid-template-columns: repeat(4, 1fr); }
  .flow { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1.1fr; }
  .split .split-head { position: sticky; top: calc(var(--nav-h) + 2rem); }
  .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .footer-brand { grid-column: auto; }
}

/* =============================================================
   21. Reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora::after, .marquee-track, .float-card, .live-dot, .kicker.dot::before { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
