/* ============================================================
   HAWK TAX ADVISORS — Black & Gold Premium
   Archetype: Editorial Dark Warm (adapted to pure-black + gold)
   ============================================================ */

:root {
  --bg:        #050505;
  --bg-2:      #0a0908;
  --bg-3:      #110d08;   /* card */
  --bg-4:      #17110a;

  --cream:     #f3ead7;   /* primary text — never pure white */
  --cream-2:   #cfc4ac;
  --cream-3:   #8c8067;   /* metadata */

  --gold:      #c9a14e;
  --gold-2:    #b8893a;
  --gold-soft: #e3c785;
  --gold-deep: #8a6a2c;

  --line:      rgba(243, 234, 215, 0.10);
  --line-2:    rgba(201, 161, 78, 0.28);

  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io:   cubic-bezier(0.65, 0, 0.35, 1);

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

  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--gold); color: #050505; }

/* gold-on-black emblems: the screen blend makes the PNG's black bg vanish */
.brand-emblem, .hero-emblem, .splash-emblem, .contact-emblem {
  mix-blend-mode: screen;
}

/* ---------- BACKGROUND TEXTURE ---------- */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(201,161,78,0.07), transparent 60%),
    var(--bg);
  pointer-events: none;
}

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5.2vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  color: var(--gold-soft);
}

.section-lead {
  margin-top: 1.4rem;
  max-width: 52ch;
  color: var(--cream-2);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform .35s var(--ease-out), background .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, var(--gold-2));
  color: #100b03;
  box-shadow: 0 10px 30px -12px rgba(201,161,78,0.6);
}
.btn-primary:hover {
  box-shadow: 0 16px 40px -10px rgba(201,161,78,0.75);
  filter: brightness(1.06);
}
.btn-ghost {
  border: 1px solid var(--line-2);
  color: var(--cream);
  background: rgba(201,161,78,0.04);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  background: rgba(201,161,78,0.08);
}

/* ============================================================
   SPLASH
   ============================================================ */
.splash {
  position: fixed; inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity .7s var(--ease-out), visibility .7s;
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.splash-inner { display: grid; place-items: center; gap: 1.1rem; }
.splash-emblem {
  width: clamp(90px, 16vw, 150px);
  animation: splashPulse 2.4s var(--ease-io) infinite;
}
.splash-word {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: var(--gold-soft);
  opacity: 0;
  animation: fadeUp .9s .25s var(--ease-out) forwards;
}
@keyframes splashPulse {
  0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 0 rgba(201,161,78,0)); }
  50%      { transform: translateY(-6px) scale(1.04); filter: drop-shadow(0 12px 30px rgba(201,161,78,0.35)); }
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   CURSOR
   ============================================================ */
.cursor { position: fixed; top: 0; left: 0; z-index: 9000; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease-out); }
.cursor.is-ready { opacity: 1; }
.cursor-dot, .cursor-ring { position: absolute; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 6px; height: 6px; background: var(--gold); }
.cursor-ring { width: 38px; height: 38px; border: 1px solid var(--line-2); transition: width .3s var(--ease-out), height .3s var(--ease-out), border-color .3s; }
.cursor.is-hover .cursor-ring { width: 56px; height: 56px; border-color: var(--gold); }
.cursor.is-hover .cursor-dot { background: var(--gold-soft); }
@media (hover: none) { .cursor { display: none; } }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 800;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad);
  transition: background .4s var(--ease-out), padding .4s var(--ease-out), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5,5,5,0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  padding-block: 0.75rem;
}

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-emblem { width: 42px; height: auto; transition: width .4s var(--ease-out); }
.nav.is-scrolled .brand-emblem { width: 36px; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--cream);
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.42em;
  color: var(--gold);
  margin-top: 3px;
}

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: 0.9rem;
  color: var(--cream-2);
  position: relative;
  padding: 0.2rem 0;
  transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--gold);
  transition: width .35s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 1.3rem; }
.nav-login { font-size: 0.9rem; color: var(--cream-2); position: relative; transition: color .3s; }
.nav-login::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--gold); transition: width .35s var(--ease-out); }
.nav-login:hover { color: var(--cream); }
.nav-login:hover::after { width: 100%; }

/* account icon + dropdown */
.nav-account { position: relative; display: flex; align-items: center; }
.nav-account-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  color: var(--cream-2); background: rgba(201,161,78,0.05);
  transition: border-color .3s, color .3s, background .3s, transform .3s var(--ease-out);
}
.nav-account-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-account-btn:hover { border-color: var(--gold); color: var(--gold-soft); background: rgba(201,161,78,0.1); transform: translateY(-1px); }
.nav.is-scrolled .nav-account-btn { width: 38px; height: 38px; }
.nav-account.is-auth .nav-account-btn { border-color: var(--gold); color: var(--gold-soft); }
.nav-account.is-auth .nav-account-btn::after { content: ""; position: absolute; top: 2px; right: 2px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); border: 2px solid var(--bg); }

.account-menu {
  position: absolute; top: calc(100% + 12px); right: 0;
  min-width: 210px;
  background: linear-gradient(165deg, rgba(23,17,10,0.97), rgba(8,7,6,0.98));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2); border-radius: 14px;
  padding: 0.5rem; display: grid; gap: 0.1rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.85), 0 0 0 1px rgba(201,161,78,0.08);
  z-index: 900;
}
.nav-account.is-open .account-menu { opacity: 1; visibility: visible; transform: none; }
.account-hd { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); padding: 0.55rem 0.8rem 0.45rem; }
.account-hi { display: block; padding: 0.55rem 0.8rem 0.2rem; font-size: 0.82rem; color: var(--cream-3); }
.account-hi strong { color: var(--gold-soft); font-weight: 500; }
.account-menu a, .account-menu .account-logout {
  display: block; width: 100%; text-align: left;
  padding: 0.7rem 0.8rem; border-radius: 9px;
  font-size: 0.9rem; color: var(--cream-2);
  transition: background .2s, color .2s;
}
.account-menu a:hover, .account-menu .account-logout:hover { background: rgba(201,161,78,0.1); color: var(--gold-soft); }
.account-menu .account-sep { height: 1px; background: var(--line); margin: 0.3rem 0.4rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 1.5px; background: var(--cream); transition: transform .3s, opacity .3s; }

/* mobile drawer */
.nav-drawer {
  position: fixed; inset: 0;
  z-index: 790;
  background: rgba(5,5,5,0.97);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.6rem;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease-out), visibility .4s;
}
.nav-drawer.is-open { opacity: 1; visibility: visible; }
.nav-drawer a { font-family: var(--font-display); font-size: 1.7rem; color: var(--cream); }
.nav-drawer .btn { font-family: var(--font-body); font-size: 1rem; margin-top: 0.6rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  text-align: center;
  padding: 7rem var(--pad) 4rem;
  overflow: hidden;
}
.hero-mesh {
  position: absolute; inset: -20%;
  z-index: 0;
  background:
    radial-gradient(34% 30% at 12% 26%, rgba(201,161,78,0.20), transparent 70%),
    radial-gradient(36% 32% at 88% 62%, rgba(184,137,58,0.18), transparent 70%),
    radial-gradient(30% 26% at 50% 104%, rgba(227,199,133,0.16), transparent 70%);
  filter: blur(46px);
  animation: meshDrift 22s var(--ease-io) infinite;
  pointer-events: none;
}
@keyframes meshDrift {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50%      { transform: scale(1.15) translate(2%, -2%); }
}
.hero-grain {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* NO z-index here — keeping it z-auto avoids creating a stacking context,
   so the emblem's `screen` blend can dissolve its black bg against the hero mesh. */
.hero-inner { position: relative; max-width: 920px; display: grid; justify-items: center; }

.hero-meta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream-2);
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(201,161,78,0.04);
}
.hero-meta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(201,161,78,0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201,161,78,0.5); } 70% { box-shadow: 0 0 0 10px rgba(201,161,78,0); } 100% { box-shadow: 0 0 0 0 rgba(201,161,78,0); } }

/* emblem floats free — `screen` blend dissolves the PNG's black bg into the
   hero mesh (no stacking-context isolation around it). */
.emblem-halo {
  display: inline-block;
  margin: 1.4rem 0 0.6rem;
  line-height: 0;
}
.hero-emblem {
  width: clamp(120px, 20vw, 196px);
  mix-blend-mode: screen;
}
.emblem-halo-sm { margin: 0 0 1.4rem; }
.emblem-halo-sm .contact-emblem { width: 80px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 16ch;
  margin: 0.4rem auto 0;
}
.hero-title em { font-style: italic; color: var(--gold-soft); }

.hero-sub {
  margin: 1.8rem auto 0;
  max-width: 56ch;
  color: var(--cream-2);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.4rem; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 3.6rem);
  justify-content: center;
  margin-top: 3.4rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
  width: min(680px, 100%);
}
.stat { display: grid; gap: 0.3rem; }
.stat-num { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--gold-soft); line-height: 1; }
.stat-label { font-size: 0.78rem; letter-spacing: 0.04em; color: var(--cream-3); text-transform: uppercase; }

.hero-scroll {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: grid; justify-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--cream-3);
}
.hero-scroll-line { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2s var(--ease-io) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 40% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   TRUST / MARQUEE
   ============================================================ */
.trust { padding: 4rem 0 1rem; border-top: 1px solid var(--line); }
.trust-label {
  text-align: center;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--cream-3);
  margin-bottom: 2rem;
}
.marquee { overflow: hidden; -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; align-items: center; gap: 2.4rem;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-family: var(--font-display); font-size: clamp(1.2rem, 2.4vw, 1.9rem); font-style: italic;
  color: var(--cream-2);
}
.marquee-track .sep { color: var(--gold); font-size: 0.8em; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { position: relative; padding: clamp(5rem, 10vw, 9rem) var(--pad); max-width: var(--maxw); margin-inline: auto; }
.section-head { max-width: 720px; margin-bottom: clamp(2.8rem, 5vw, 4.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }

.section-halo {
  position: absolute; z-index: -1; pointer-events: none;
  inset: -10% -20% auto -20%; height: 60%;
  background: radial-gradient(50% 60% at 30% 30%, rgba(201,161,78,0.16), transparent 70%);
  filter: blur(80px);
}
.section-halo.halo-right { inset: -10% -20% auto 40%; background: radial-gradient(50% 60% at 70% 30%, rgba(201,161,78,0.16), transparent 70%); }

/* ============================================================
   SERVICES — cards
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.card {
  position: relative;
  padding: 2.2rem 1.9rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(165deg, var(--bg-3), var(--bg-2));
  transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s;
  transform-style: preserve-3d;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(60% 60% at var(--mx, 50%) var(--my, 0%), rgba(201,161,78,0.16), transparent 70%);
  opacity: 0; transition: opacity .4s var(--ease-out);
  pointer-events: none;
}
.card:hover {
  border-color: var(--line-2);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(201,161,78,0.12);
}
.card:hover::before { opacity: 1; }
.card-index {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.2em;
  color: var(--gold); opacity: 0.7;
}
.card-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.5rem; margin: 0.9rem 0 0.8rem; color: var(--cream);
}
.card-text { color: var(--cream-2); font-size: 0.95rem; }
.card-list { margin-top: 1.2rem; display: grid; gap: 0.5rem; }
.card-list li {
  position: relative; padding-left: 1.3rem;
  font-size: 0.85rem; color: var(--cream-3);
}
.card-list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: 0.7rem; top: 2px; }
.card-feature {
  background: linear-gradient(165deg, var(--bg-4), var(--bg-3));
  border-color: var(--line-2);
}

/* ============================================================
   MÉTODO — steps
   ============================================================ */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  counter-reset: step;
}
.step {
  padding: 2rem 1.6rem;
  border-top: 1px solid var(--line-2);
  position: relative;
}
.step-num {
  font-family: var(--font-display); font-style: italic;
  font-size: 2.6rem; color: var(--gold); line-height: 1;
  display: block; margin-bottom: 1.1rem;
}
.step h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.32rem; margin-bottom: 0.6rem; color: var(--cream); }
.step p { font-size: 0.92rem; color: var(--cream-2); }

/* ============================================================
   POR QUÉ HAWK
   ============================================================ */
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.why-text .btn { margin-top: 2rem; }
.why-list { display: grid; gap: 1.4rem; }
.why-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(165deg, var(--bg-3), var(--bg-2));
  transition: border-color .4s, transform .4s var(--ease-out);
}
.why-item:hover { border-color: var(--line-2); transform: translateX(6px); }
.why-ico { color: var(--gold); font-size: 1.1rem; line-height: 1.4; }
.why-item h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; margin-bottom: 0.3rem; color: var(--cream); }
.why-item p { font-size: 0.9rem; color: var(--cream-2); }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.quote {
  padding: 2.2rem 1.9rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(165deg, var(--bg-3), var(--bg-2));
  display: grid; gap: 1.6rem;
  transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s;
  transform-style: preserve-3d;
}
.quote::before { content: "“"; font-family: var(--font-display); font-size: 3.4rem; color: var(--gold); line-height: 0.4; height: 1.2rem; }
.quote:hover { border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8); }
.quote blockquote { font-family: var(--font-display); font-size: 1.18rem; line-height: 1.45; color: var(--cream); font-style: italic; }
.quote figcaption { display: grid; gap: 0.2rem; }
.quote figcaption strong { font-weight: 500; color: var(--gold-soft); }
.quote figcaption span { font-size: 0.82rem; color: var(--cream-3); }

/* ============================================================
   PLANES
   ============================================================ */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 2.4rem 2rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(165deg, var(--bg-3), var(--bg-2));
  transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s;
}
.plan:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 40px 70px -40px rgba(0,0,0,0.9); }
.plan-pro {
  border-color: var(--line-2);
  background: linear-gradient(165deg, var(--bg-4), var(--bg-3));
  box-shadow: 0 0 0 1px rgba(201,161,78,0.18), 0 40px 80px -40px rgba(201,161,78,0.25);
}
.plan-badge {
  position: absolute; top: -0.8rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.4rem 0.9rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #100b03; white-space: nowrap;
}
.plan-name { font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; color: var(--cream); }
.plan-desc { color: var(--cream-3); font-size: 0.9rem; margin: 0.5rem 0 1.4rem; }
.plan-price { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold-soft); line-height: 1; margin-bottom: 1.6rem; }
.plan-price span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cream-3); display: block; margin-bottom: 0.3rem; }
.plan-price small { font-size: 0.9rem; color: var(--cream-3); font-family: var(--font-body); }
.plan-feats { display: grid; gap: 0.7rem; margin-bottom: 2rem; flex: 1; }
.plan-feats li { position: relative; padding-left: 1.5rem; font-size: 0.9rem; color: var(--cream-2); }
.plan-feats li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: 0.72rem; top: 3px; }
.plan .btn { justify-content: center; width: 100%; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: grid; gap: 0; max-width: 840px; margin-inline: auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 0.2rem;
  font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--cream);
  transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-body); font-weight: 300; font-size: 1.6rem; color: var(--gold);
  transition: transform .35s var(--ease-out); flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--gold-soft); }
.faq-body { overflow: hidden; padding: 0 0.2rem 1.6rem; }
.faq-body p { color: var(--cream-2); max-width: 64ch; font-size: 0.98rem; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact { overflow: hidden; }
.contact-mesh {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 25% 30%, rgba(201,161,78,0.16), transparent 70%);
  filter: blur(70px);
}
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.contact-emblem { position: relative; z-index: 1; width: 84px; }
.contact-meta { margin-top: 2rem; display: grid; gap: 0.9rem; }
.contact-meta li { font-size: 1rem; color: var(--cream); display: grid; }
.contact-meta span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.2rem; }

.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(23,17,10,0.9), rgba(10,9,8,0.9));
  backdrop-filter: blur(6px);
}
.field { display: grid; gap: 0.4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-3); }
.field input, .field select, .field textarea {
  background: rgba(5,5,5,0.6);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
  color: var(--cream);
  font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color .3s, box-shadow .3s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: var(--cream-3); opacity: 0.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,161,78,0.14);
}
.field select option { background: #0a0908; }

.btn-submit { grid-column: 1 / -1; justify-content: center; position: relative; overflow: hidden; }
.btn-check { width: 20px; height: 20px; fill: none; stroke: #100b03; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; opacity: 0; }
.btn-submit.is-sent .btn-label { opacity: 0.5; }
.btn-submit.is-sent .btn-check { opacity: 1; animation: drawCheck .5s var(--ease-out) forwards; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.form-note { grid-column: 1 / -1; font-size: 0.78rem; color: var(--cream-3); text-align: center; }
.form-note.is-ok { color: var(--gold-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 5rem) var(--pad) 2.4rem; max-width: var(--maxw); margin-inline: auto; }
.footer-top { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; padding-bottom: 2.4rem; border-bottom: 1px solid var(--line); }
.brand-footer .brand-emblem { width: 50px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-links a { font-size: 0.9rem; color: var(--cream-2); transition: color .3s; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; justify-content: space-between; padding-top: 1.8rem; }
.footer-bottom p { font-size: 0.82rem; color: var(--cream-3); }
.footer-legal a { transition: color .3s; }
.footer-legal a:hover { color: var(--gold); }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-wrap {
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(8rem, 14vw, 11rem) var(--pad) clamp(4rem, 8vw, 6rem);
}
.legal-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.legal-head .kicker { margin-bottom: 1rem; }
.legal-head h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.01em;
  text-wrap: balance;
}
.legal-head h1 em { font-style: italic; color: var(--gold-soft); }
.legal-updated { margin-top: 1.2rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; color: var(--cream-3); text-transform: uppercase; }

.legal-body { color: var(--cream-2); font-size: 1rem; line-height: 1.75; }
.legal-body section { margin-bottom: 2.6rem; }
.legal-body h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: var(--cream);
  margin-bottom: 1rem; display: flex; align-items: baseline; gap: 0.7rem;
}
.legal-body h2 .num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--gold); letter-spacing: 0.1em; }
.legal-body h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; color: var(--cream); margin: 1.4rem 0 0.6rem; }
.legal-body p { margin-bottom: 1rem; }
.legal-body a { color: var(--gold-soft); border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.legal-body a:hover { color: var(--gold); border-color: var(--gold); }
.legal-body strong { color: var(--cream); font-weight: 500; }
.legal-body ul { margin: 0 0 1.2rem; display: grid; gap: 0.6rem; }
.legal-body ul li { position: relative; padding-left: 1.5rem; }
.legal-body ul li::before { content: "✦"; position: absolute; left: 0; top: 1px; color: var(--gold); font-size: 0.74rem; }

.legal-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(165deg, var(--bg-3), var(--bg-2));
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.4rem;
}
.legal-card p { margin-bottom: 0.4rem; }
.legal-card p:last-child { margin-bottom: 0; }

.legal-table-wrap { overflow-x: auto; margin: 1rem 0 1.4rem; border: 1px solid var(--line); border-radius: 12px; }
.legal-table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 0.86rem; }
.legal-table th, .legal-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table thead th {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); background: rgba(201,161,78,0.05);
}
.legal-table tbody tr:last-child td { border-bottom: none; }
.legal-table td strong { color: var(--cream); }

.legal-toc {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-top: 1.6rem;
}
.legal-toc a {
  font-size: 0.82rem; padding: 0.4rem 0.9rem;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--cream-2); background: rgba(201,161,78,0.04);
  transition: border-color .3s, color .3s;
}
.legal-toc a:hover { border-color: var(--gold); color: var(--gold-soft); }

/* ============================================================
   AUTH (LOGIN / REGISTRO)
   ============================================================ */
.auth-page {
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: 6rem var(--pad) 3rem;
  position: relative; overflow: hidden;
}
.auth-mesh {
  position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(34% 30% at 18% 20%, rgba(201,161,78,0.18), transparent 70%),
    radial-gradient(36% 32% at 82% 78%, rgba(184,137,58,0.16), transparent 70%);
  filter: blur(50px);
  animation: meshDrift 24s var(--ease-io) infinite;
}
.auth-card {
  position: relative; z-index: 1;
  width: min(460px, 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(23,17,10,0.92), rgba(10,9,8,0.95));
  backdrop-filter: blur(10px);
  padding: clamp(1.8rem, 4vw, 2.7rem);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(201,161,78,0.08);
}
.auth-brand { display: grid; justify-items: center; gap: 0.7rem; margin-bottom: 1.8rem; }
.auth-brand img { width: 64px; mix-blend-mode: screen; }
.auth-brand .brand-name { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.16em; color: var(--cream); }
.auth-brand .brand-tag { font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.4em; color: var(--gold); }
.auth-title { text-align: center; font-family: var(--font-display); font-size: 1.5rem; color: var(--cream); margin-bottom: 0.3rem; }
.auth-sub { text-align: center; color: var(--cream-3); font-size: 0.86rem; margin-bottom: 1.8rem; }

.auth-tabs { display: flex; gap: 0.4rem; margin-bottom: 1.6rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem; }
.auth-tab {
  flex: 1; text-align: center; padding: 0.6rem 1rem; border-radius: 999px;
  font-size: 0.86rem; color: var(--cream-2); transition: background .3s, color .3s;
}
.auth-tab.is-active { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #100b03; font-weight: 500; }

.auth-form { display: grid; gap: 1rem; }
.auth-form.is-hidden { display: none; }
.auth-form .btn { justify-content: center; width: 100%; margin-top: 0.4rem; }
.auth-msg { font-size: 0.82rem; text-align: center; min-height: 1.1em; color: var(--gold-soft); }
.auth-msg.is-error { color: #e0795f; }
.auth-foot { text-align: center; margin-top: 1.4rem; font-size: 0.84rem; color: var(--cream-3); }
.auth-foot a { color: var(--gold-soft); border-bottom: 1px solid var(--line-2); }
.auth-foot a:hover { color: var(--gold); }
.auth-note { margin-top: 1rem; font-size: 0.72rem; color: var(--cream-3); text-align: center; line-height: 1.5; }

/* ============================================================
   PORTAL (ÁREA CLIENTE / ONBOARDING)
   ============================================================ */
.portal-topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.9rem var(--pad);
  background: rgba(5,5,5,0.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.portal-topbar .brand-emblem { width: 34px; }
.portal-user { display: flex; align-items: center; gap: 1rem; }
.portal-user span { font-size: 0.86rem; color: var(--cream-2); }
.portal-user span strong { color: var(--gold-soft); font-weight: 500; }
.btn-logout { font-size: 0.82rem; color: var(--cream-2); border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 1rem; transition: border-color .3s, color .3s; }
.btn-logout:hover { border-color: var(--gold); color: var(--gold-soft); }

.portal-main { max-width: 920px; margin-inline: auto; padding: clamp(2rem, 5vw, 3.4rem) var(--pad) 5rem; }
.portal-hero { margin-bottom: 2.4rem; }
.portal-hero .kicker { margin-bottom: 0.9rem; }
.portal-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 4.5vw, 2.8rem); line-height: 1.05; color: var(--cream); }
.portal-hero h1 em { font-style: italic; color: var(--gold-soft); }
.portal-hero p { color: var(--cream-2); margin-top: 0.8rem; max-width: 56ch; }
.status-pill { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.2rem; padding: 0.5rem 1rem; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-soft); }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* WIZARD */
.wizard { border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(165deg, var(--bg-3), var(--bg-2)); overflow: hidden; }
.wizard-head { padding: 1.6rem clamp(1.4rem, 4vw, 2.2rem) 0; }
.wizard-steps { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.wstep { display: flex; align-items: center; gap: 0.5rem; font-size: 0.74rem; color: var(--cream-3); padding: 0.3rem 0; }
.wstep .wstep-num { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.66rem; color: var(--cream-3); flex-shrink: 0; transition: all .3s; }
.wstep.is-active .wstep-num { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #100b03; border-color: transparent; }
.wstep.is-done .wstep-num { border-color: var(--gold); color: var(--gold-soft); }
.wstep.is-active .wstep-label { color: var(--cream); }
.wstep-label { display: none; }
@media (min-width: 880px) { .wstep-label { display: inline; } .wstep:not(:last-child)::after { content: ""; width: 18px; height: 1px; background: var(--line); margin-left: 0.2rem; } }

.wizard-progress { height: 3px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 0.8rem 0 0; }
.wizard-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transition: width .5s var(--ease-out); }

.wizard-body { padding: clamp(1.4rem, 4vw, 2.2rem); }
.wpanel { display: none; animation: wfade .5s var(--ease-out); }
.wpanel.is-active { display: block; }
@keyframes wfade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.wpanel-kicker { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.wpanel h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; color: var(--cream); margin-bottom: 0.5rem; }
.wpanel > p.wpanel-lead { color: var(--cream-2); font-size: 0.92rem; margin-bottom: 1.6rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .field-full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.9rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice-box { display: grid; gap: 0.4rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(5,5,5,0.4); transition: border-color .3s, background .3s, transform .3s; height: 100%; }
.choice:hover .choice-box { border-color: var(--line-2); transform: translateY(-2px); }
.choice input:checked + .choice-box { border-color: var(--gold); background: rgba(201,161,78,0.07); box-shadow: 0 0 0 1px rgba(201,161,78,0.3); }
.choice input:focus-visible + .choice-box { outline: 2px solid var(--gold); }
.choice-box strong { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; color: var(--cream); }
.choice-box small { color: var(--cream-3); font-size: 0.82rem; }
.choice-box .choice-ico { font-size: 1.3rem; color: var(--gold); }

.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
@media (max-width: 640px) { .check-grid { grid-template-columns: 1fr; } }
.check-item { display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.9rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .3s, background .3s; }
.check-item:hover { border-color: var(--line-2); }
.check-item input { margin-top: 0.2rem; accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; }
.check-item input:checked ~ .check-text { color: var(--cream); }
.check-item:has(input:checked) { border-color: var(--gold); background: rgba(201,161,78,0.06); }
.check-text { font-size: 0.88rem; color: var(--cream-2); }
.check-text small { display: block; color: var(--cream-3); font-size: 0.78rem; }

.field-hint { font-size: 0.74rem; color: var(--cream-3); margin-top: 0.3rem; }
.field-sensitive label::after { content: " 🔒"; font-size: 0.7em; }

.wizard-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem clamp(1.4rem, 4vw, 2.2rem); border-top: 1px solid var(--line); }
.wizard-nav .btn { min-width: 120px; justify-content: center; }
.wizard-nav .spacer { flex: 1; }

/* REVIEW */
.review-list { display: grid; gap: 1.2rem; }
.review-group { border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem 1.5rem; background: rgba(5,5,5,0.3); }
.review-group h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.review-row { display: grid; grid-template-columns: 40% 60%; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.review-row:last-child { border-bottom: none; }
.review-row dt { color: var(--cream-3); }
.review-row dd { color: var(--cream); }
.review-empty { color: var(--cream-3); font-style: italic; }

.consent-box { display: grid; gap: 0.9rem; margin-top: 1.6rem; }

/* SUCCESS */
.wsuccess { display: none; text-align: center; padding: clamp(2rem,5vw,3.5rem); }
.wsuccess.is-active { display: block; animation: wfade .6s var(--ease-out); }
.wsuccess-ring { width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; margin: 0 auto 1.6rem; background: rgba(201,161,78,0.06); }
.wsuccess-ring svg { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: drawCheck .6s .2s var(--ease-out) forwards; }
.wsuccess h2 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; color: var(--cream); margin-bottom: 0.6rem; }
.wsuccess h2 em { font-style: italic; color: var(--gold-soft); }
.wsuccess p { color: var(--cream-2); max-width: 48ch; margin: 0 auto 1.6rem; }
.wsuccess-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 50%; bottom: clamp(1rem, 3vw, 2rem);
  transform: translate(-50%, 160%);
  z-index: 1200;
  width: min(720px, calc(100% - 2rem));
  background: linear-gradient(165deg, rgba(23,17,10,0.96), rgba(8,7,6,0.97));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.85), 0 0 0 1px rgba(201,161,78,0.10), 0 0 60px -20px rgba(201,161,78,0.30);
  opacity: 0;
  pointer-events: none;
  transition: transform .6s var(--ease-out), opacity .6s var(--ease-out);
}
.cookie-banner.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.cookie-inner {
  display: flex; align-items: center; gap: 1.6rem;
  padding: 1.4rem 1.6rem;
}
.cookie-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(201,161,78,0.06);
  color: var(--gold-soft);
  font-size: 1.3rem;
}
.cookie-text { flex: 1; }
.cookie-title { font-family: var(--font-display); font-size: 1.12rem; color: var(--cream); margin-bottom: 0.3rem; }
.cookie-text p:not(.cookie-title) { font-size: 0.86rem; color: var(--cream-2); line-height: 1.55; }
.cookie-text a { color: var(--gold-soft); border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.cookie-text a:hover { color: var(--gold); border-color: var(--gold); }
.cookie-actions { display: flex; gap: 0.7rem; flex-shrink: 0; }
.cookie-actions .btn { padding: 0.7rem 1.3rem; font-size: 0.85rem; }

@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 1.1rem; text-align: left; padding: 1.3rem; }
  .cookie-icon { display: none; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}

/* reopen link in footer */
.cookie-pref-link { background: none; border: none; cursor: pointer; font: inherit; color: inherit; padding: 0; transition: color .3s; }
.cookie-pref-link:hover { color: var(--gold); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
/* DEFENSIVE: split-text elements must never stay invisible */
.reveal[data-split] { opacity: 1; transform: none; }

/* split words */
.split-word { display: inline-block; opacity: 0; transform: translateY(0.5em) rotate(2deg); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.split-word.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .cards, .steps, .quotes, .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .contact-inner { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-account { display: block; }
  .nav-toggle { display: flex; }
  .nav-drawer.is-open + * { }
  .cards, .steps, .quotes, .plan-grid { grid-template-columns: 1fr; }
  .plan-pro { order: -1; }
  .hero-stats { gap: 1.6rem; }
  .stat { flex: 1 1 40%; }
}

@media (max-width: 480px) {
  .contact-form { grid-template-columns: 1fr; }
  .brand-tag { font-size: 0.46rem; letter-spacing: 0.34em; }
  .hero-meta { font-size: 0.62rem; }
}

/* gate only intrusive motion */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh, .splash-emblem, .hero-scroll-line, .hero-meta .dot { animation: none; }
  .marquee-track { animation-duration: 80s; }
}
