/* =============================================================
   QMedBank — landing premium
   1. Tokens
   ============================================================= */
:root {
  --bg:        #0a0918;
  --bg-2:      #0f0d22;
  --bg-3:      #16132f;   /* card base */
  --ink:       #f5f3ff;
  --mute:      rgba(245,243,255,0.68);
  --dim:       rgba(245,243,255,0.44);

  --violet:    #7c3aed;
  --violet-2:  #a855f7;
  --indigo:    #4f46e5;
  --cyan:      #22d3ee;
  --emerald:   #10b981;
  --pink:      #ec4899;

  --accent:    #a855f7;
  --grad-brand: linear-gradient(120deg, #7c3aed 0%, #4f46e5 45%, #22d3ee 100%);

  --line:      rgba(245,243,255,0.10);
  --line-2:    rgba(245,243,255,0.16);
  --glass:     rgba(255,255,255,0.045);
  --glass-2:   rgba(255,255,255,0.02);
  --glass-brd: rgba(255,255,255,0.12);

  --shadow:    0 24px 60px -24px rgba(5,3,20,0.8);
  --glow:      0 20px 60px -18px rgba(124,58,237,0.55);

  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", var(--sans);
  --mono:  "JetBrains Mono", ui-monospace, monospace;

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

  --maxw: 1200px;
  --pad: clamp(1.2rem, 5vw, 4rem);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  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%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; font-family: var(--display); font-weight: 600; }
::selection { background: var(--violet); color: #fff; }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Background field (degradado reactivo + estático de respaldo)
   ============================================================= */
.bg-field {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(50rem 40rem at var(--mx, 22%) var(--my, 14%), rgba(124,58,237,0.30), transparent 60%),
    radial-gradient(46rem 40rem at calc(var(--mx, 80%) + 6%) calc(var(--my, 78%) - 4%), rgba(34,211,238,0.16), transparent 62%),
    radial-gradient(60rem 50rem at 88% 8%, rgba(79,70,229,0.22), transparent 60%),
    var(--bg);
  transition: background-position .4s var(--ease-out);
}
.bg-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =============================================================
   4. Utilities
   ============================================================= */
.glass {
  background: var(--bg-3);
  border: 1px solid var(--glass-brd);
  border-radius: 20px;
}
@supports (backdrop-filter: blur(16px)) {
  .glass {
    background: var(--glass);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
  }
}

.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono);
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mute);
}
.kicker-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan);
}

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: -0.01em;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .3s var(--ease-out), border-color .3s var(--ease-out);
  will-change: transform;
}
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
  color: #fff;
  background: var(--grad-brand);
  background-size: 160% 160%;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 26px 70px -16px rgba(124,58,237,0.7); background-position: 100% 50%; }
.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.03);
}
.btn-ghost:hover { border-color: var(--cyan); transform: translateY(-2px); }
.link-quiet { color: var(--mute); font-weight: 500; transition: color .25s; }
.link-quiet:hover { color: var(--ink); }

/* =============================================================
   6. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .7s var(--ease-out), clip-path .8s var(--ease-out);
  animation: splashSafety .01s 4.2s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-mark { display: grid; gap: 1rem; justify-items: center; }
.splash-logo { font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.03em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.splash-bar { width: 140px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.1); overflow: hidden; }
.splash-bar i { display: block; height: 100%; width: 40%; border-radius: 3px; background: var(--grad-brand); animation: splashBar 1.1s var(--ease-soft) infinite; }
@keyframes splashBar { 0% { transform: translateX(-120%); } 100% { transform: translateX(360%); } }

/* =============================================================
   7. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background .35s var(--ease-out), border-color .35s var(--ease-out), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(10,9,24,0.72);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: .9rem var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 16px rgba(124,58,237,0.8); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.03em; }
.nav-links { display: none; gap: 1.7rem; }
.nav-links a { color: var(--mute); font-weight: 500; font-size: .93rem; position: relative; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1.5px; width: 0; background: var(--cyan); transition: width .3s var(--ease-out); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: none; align-items: center; gap: 1rem; }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: .5rem; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .3s; }
.nav.is-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav-drawer {
  display: grid; gap: .3rem; padding: 0 var(--pad);
  max-height: 0; overflow: hidden;
  background: rgba(10,9,24,0.96);
  border-bottom: 1px solid transparent;
  transition: max-height .4s var(--ease-out), padding .4s var(--ease-out), border-color .4s;
}
.nav.is-open .nav-drawer { max-height: 420px; padding: .5rem var(--pad) 1.4rem; border-bottom-color: var(--line); }
.nav-drawer a { padding: .75rem .2rem; color: var(--mute); font-weight: 500; border-bottom: 1px solid var(--line); }
.nav-drawer a.btn { color: #fff; border: 0; margin-top: .7rem; justify-content: center; }

/* =============================================================
   8. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 8rem var(--pad) 4rem;
}
.hero-halo {
  position: absolute; inset: -30% -10% 0 -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 40% at 30% 30%, rgba(124,58,237,0.28), transparent 70%);
  filter: blur(60px);
}
.hero-inner {
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  display: grid; gap: 3rem; align-items: center;
}
.hero-copy { max-width: 40rem; }
.hero-title {
  font-size: clamp(2.5rem, 7.2vw, 5.2rem);
  line-height: 1.0;
  margin: 1.1rem 0 0;
  letter-spacing: -0.035em;
}
.hero-title em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--mute); font-size: clamp(1.02rem, 1.8vw, 1.22rem); margin-top: 1.4rem; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem;
  margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  color: var(--mute); font-size: .92rem;
}
.hero-trust strong { color: var(--ink); font-family: var(--display); }

/* Hero demo card */
.hero-demo { position: relative; justify-self: center; width: 100%; max-width: 30rem; }
.hero-demo-glow { position: absolute; inset: -12% -8%; z-index: -1; background: radial-gradient(50% 50% at 60% 40%, rgba(34,211,238,0.22), transparent 70%); filter: blur(50px); pointer-events: none; }
.q-card { padding: 1.5rem; box-shadow: var(--shadow); transition: transform .35s var(--ease-out); }
.q-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.q-tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.q-timer { font-family: var(--mono); font-size: .82rem; color: var(--mute); padding: .25rem .6rem; border: 1px solid var(--line); border-radius: 999px; }
.q-stem { font-size: 1rem; line-height: 1.5; color: var(--ink); margin-bottom: 1.1rem; }
.q-options { list-style: none; display: grid; gap: .55rem; }
.q-options li {
  display: flex; align-items: center; gap: .7rem;
  padding: .7rem .85rem; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.02);
  font-size: .92rem; color: var(--mute);
  transition: border-color .3s, background .3s, color .3s;
}
.q-key { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: rgba(255,255,255,0.06); font-family: var(--mono); font-size: .78rem; color: var(--ink); flex: none; }
.q-options li.is-correct { border-color: rgba(16,185,129,0.55); background: rgba(16,185,129,0.12); color: var(--ink); }
.q-options li.is-correct .q-key { background: var(--emerald); color: #04150e; }
.q-check { margin-left: auto; color: var(--emerald); font-weight: 700; }
.q-explain { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px dashed var(--line-2); font-size: .86rem; color: var(--mute); line-height: 1.55; }
.q-explain-label { display: block; font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--violet-2); margin-bottom: .3rem; }

.hero-scroll { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--dim); font-family: var(--mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; }
.hero-scroll i { width: 1px; height: 34px; background: linear-gradient(var(--cyan), transparent); animation: scrollLine 2s var(--ease-soft) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* =============================================================
   9. Marquee
   ============================================================= */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 1.4rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: 1.1rem; font-weight: 500; color: var(--dim); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   10. Sections shell
   ============================================================= */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(4.5rem, 10vw, 8rem) var(--pad); }
.section-head { max-width: 44rem; margin-bottom: 3rem; }
.section-title { font-size: clamp(1.9rem, 4.2vw, 3.1rem); margin-top: 1rem; }
.section-lead { color: var(--mute); font-size: clamp(1rem, 1.6vw, 1.15rem); margin-top: 1.1rem; }

/* =============================================================
   11. Stats
   ============================================================= */
.stats { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 6vw, 4.5rem) var(--pad); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
.stat { text-align: center; padding: 1rem; }
.stat-num { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 6vw, 3.4rem); letter-spacing: -0.04em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { display: block; color: var(--mute); font-size: .9rem; margin-top: .4rem; }

/* =============================================================
   12. Features
   ============================================================= */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.feature { padding: 1.7rem; transition: transform .35s var(--ease-out), border-color .35s; }
.feature:hover { border-color: var(--line-2); }
.feature-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; font-size: 1.3rem; background: rgba(124,58,237,0.16); color: var(--violet-2); margin-bottom: 1.1rem; }
.feature h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.feature p { color: var(--mute); font-size: .95rem; }

/* =============================================================
   13. How (steps)
   ============================================================= */
.steps { list-style: none; display: grid; gap: 1.1rem; counter-reset: s; }
.step { position: relative; padding: 1.8rem; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent); }
.step-num { font-family: var(--mono); font-size: .9rem; color: var(--cyan); }
.step h3 { font-size: 1.3rem; margin: .8rem 0 .5rem; }
.step p { color: var(--mute); font-size: .96rem; }

/* =============================================================
   14. Specialties / FAQ accordion
   ============================================================= */
.spec-list, .faq-list { list-style: none; border-top: 1px solid var(--line); }
.spec-row, .faq-row { border-bottom: 1px solid var(--line); }
.spec-trigger, .faq-trigger {
  width: 100%; display: flex; align-items: center; gap: 1rem;
  padding: 1.4rem .3rem; text-align: left;
  transition: color .25s;
}
.faq-trigger { justify-content: space-between; }
.faq-trigger span:first-child { font-family: var(--display); font-weight: 500; font-size: clamp(1.05rem, 2.2vw, 1.3rem); }
.spec-name { font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 2.6vw, 1.6rem); flex: 1; transition: color .3s; }
.spec-meta { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); display: none; }
.spec-plus { position: relative; width: 18px; height: 18px; flex: none; }
.spec-plus::before, .spec-plus::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--mute); transition: transform .35s var(--ease-out), background .3s; }
.spec-plus::before { width: 16px; height: 2px; }
.spec-plus::after { width: 2px; height: 16px; }
.spec-row.is-open .spec-plus::after, .faq-row.is-open .spec-plus::after { transform: rotate(90deg); }
.spec-row.is-open .spec-name, .spec-trigger:hover .spec-name { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spec-row.is-open .spec-plus::before, .spec-row.is-open .spec-plus::after,
.faq-row.is-open .spec-plus::before, .faq-row.is-open .spec-plus::after { background: var(--cyan); }
.spec-panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-out); }
.spec-panel p { padding: 0 3rem 1.4rem .3rem; color: var(--mute); font-size: .98rem; max-width: 52rem; }

/* =============================================================
   15. Proof
   ============================================================= */
.proof-inner { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 3rem; align-items: center; }
.proof-points { list-style: none; display: grid; gap: .8rem; margin-top: 1.8rem; }
.proof-points li { display: flex; gap: .7rem; color: var(--mute); }
.proof-points span { color: var(--cyan); }
.proof-visual { display: grid; place-items: center; }
.ring-stat { position: relative; width: min(20rem, 80vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: .3rem; padding: 2rem; }
.ring-stat::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; padding: 2px; background: conic-gradient(from 200deg, var(--violet), var(--cyan), var(--indigo), var(--violet)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.ring-num { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 12vw, 4.6rem); letter-spacing: -0.04em; line-height: 1; }
.ring-label { color: var(--mute); font-size: .92rem; max-width: 14rem; margin: 0 auto; }
.ring-foot { font-family: var(--mono); font-size: .7rem; color: var(--dim); margin-top: .4rem; }

/* =============================================================
   16. Pricing
   ============================================================= */
.pricing .section-head { text-align: center; margin-inline: auto; }
.plan-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 2rem; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.plan-featured { border-color: rgba(124,58,237,0.5); box-shadow: var(--glow); }
.plan-featured::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-brand); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2rem; }
.plan-name { font-family: var(--display); font-weight: 600; font-size: 1.25rem; }
.plan-badge { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--grad-brand); border-radius: 999px; padding: .3rem .7rem; }
.plan-badge-soft { color: var(--cyan); background: none; border: 1px solid rgba(34,211,238,0.4); }
.plan-price { display: flex; align-items: baseline; gap: .25rem; margin: 1.4rem 0 .2rem; }
.plan-currency { font-family: var(--display); font-size: 1.3rem; color: var(--mute); }
.plan-amount { font-family: var(--display); font-weight: 700; font-size: 3rem; letter-spacing: -0.04em; }
.plan-period { color: var(--mute); font-size: .95rem; }
.plan-tagline { font-size: .9rem; color: var(--mute); margin-bottom: .4rem; min-height: 2.6rem; }
.plan-features { list-style: none; display: grid; gap: .7rem; margin: 1rem 0 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); flex: 1; }
.plan-features li { position: relative; padding-left: 1.6rem; color: var(--mute); font-size: .92rem; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--emerald); font-weight: 700; }
.plan .btn { margin-top: auto; }
.plan-foot { text-align: center; font-size: .82rem; color: var(--dim); margin-top: 1.6rem; }

/* =============================================================
   17. CTA
   ============================================================= */
.cta { max-width: var(--maxw); }
.cta-card { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line-2); padding: clamp(2.5rem, 7vw, 5rem) var(--pad); text-align: center; background: var(--bg-2); }
.cta-mesh { position: absolute; inset: -30%; z-index: 0; background: radial-gradient(30% 40% at 25% 30%, rgba(124,58,237,0.5), transparent 60%), radial-gradient(30% 40% at 75% 70%, rgba(34,211,238,0.35), transparent 60%), radial-gradient(30% 40% at 60% 20%, rgba(79,70,229,0.4), transparent 60%); filter: blur(50px); animation: meshDrift 22s ease-in-out infinite; }
@keyframes meshDrift { 0%,100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.25) rotate(180deg); } }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.cta-content p { color: var(--mute); margin: 1rem auto 0; max-width: 34rem; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2rem; }

/* =============================================================
   18. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line); margin-top: 2rem; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 3.5rem var(--pad) 2rem; display: grid; gap: 2rem; }
.footer-brand .brand-name { font-size: 1.3rem; }
.footer-brand p { color: var(--mute); font-size: .92rem; margin-top: .6rem; max-width: 22rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-links a { color: var(--mute); font-size: .92rem; transition: color .25s; }
.footer-links a:hover { color: var(--ink); }
.footer-base { max-width: var(--maxw); margin: 0 auto; padding: 1.4rem var(--pad) 2.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; color: var(--dim); font-size: .82rem; }

/* =============================================================
   19. Reveal (base state, JS adds .is-visible)
   ============================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
/* Si el JS no corre, el respaldo del <noscript>/timeout las muestra igual */

/* =============================================================
   20. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .spec-meta { display: block; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .nav-toggle { display: none; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; }
  .hero-copy { max-width: none; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-inner { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
  .plan-grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
  .plan-featured { transform: translateY(-10px); }
}

/* =============================================================
   21. Reduced motion — solo lo intrusivo (bucles, drift, marquee)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .cta-mesh { animation: none; }
  .splash-bar i { animation: none; width: 100%; }
  .hero-scroll i { animation: none; }
  .bg-field { transition: none; }
  /* No se desactivan: reveal, hover, tilt, contadores, degradados */
}
