/* ── FONTS ────────────────────────────────────────────────── */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/geist-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/geist-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ── TOKENS ───────────────────────────────────────────────── */
:root {
  /* Lienzo */
  --color-bg:            #0A0A09;
  --color-bg-elevated:   #151513;
  --color-bg-overlay:    #1F1F1C;
  --color-border:        #2B2B27;
  --color-border-strong: #3E3E39;

  /* Texto */
  --color-text:          #ECE6D9;
  --color-text-muted:    #A89F93;
  --color-text-subtle:   #6E6A60;

  /* Acentos */
  --accent-mostaza:      #C9A227;
  --accent-mostaza-hover: #B8911F;
  --accent-burdeos:      #8B2B1F;
  --on-accent-dark:      #151513;
  --on-accent-light:     #ECE6D9;

  /* Escala tipográfica — base 1rem = 16px */
  --text-xs:      0.6875rem;
  --text-sm:      0.8125rem;
  --text-base:    1rem;
  --text-md:      1.125rem;
  --text-lg:      1.25rem;
  --text-xl:      1.5rem;
  --text-2xl:     1.75rem;
  --text-display: clamp(1.75rem, 3vw, 2.5rem);
  --text-hero:    clamp(2.75rem, 5.5vw, 4.5rem);

  /* Pesos */
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-bold:    700;
  --weight-black:   800;
  --font-mono:      'Geist Mono', monospace;

  /* Espaciado */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --radius-sm:  3px;
  --radius-md:  6px;
  --border:     1px solid var(--color-border);
  --border-gap:  1px;
  --transition: 180ms ease;
  --page-x:     clamp(1.5rem, 6vw, 4rem);
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* ── NAV ──────────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--page-x);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  transition: border-bottom-color var(--transition);
}
.nav.is-scrolled { border-bottom-color: var(--color-border-strong); }
.nav-links {
  display: flex;
  gap: var(--space-8);
  align-items: center;
}
.nav-links a {
  color: var(--color-text);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-mostaza);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links .btn-nav { color: var(--on-accent-dark); }
.nav-links .btn-nav::after { display: none; }
.nav-links a:focus-visible {
  outline: 2px solid var(--accent-mostaza);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ── NAV HAMBURGER ────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  margin-right: calc(-1 * var(--space-2));
}
.nav-hamburger:focus-visible {
  outline: 2px solid var(--accent-mostaza);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.nav.is-open .hamburger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .hamburger-line:nth-child(2) { opacity: 0; }
.nav.is-open .hamburger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@keyframes nav-menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes nav-menu-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-6px); }
}

@media (max-width: 48em) {
  .nav { flex-wrap: wrap; }
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    border-top: var(--border);
    padding: var(--space-2) 0 var(--space-4);
    margin-top: var(--space-3);
  }
  .nav.is-open .nav-links {
    display: flex;
    animation: nav-menu-in 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .nav.is-closing .nav-links {
    display: flex;
    animation: nav-menu-out 0.16s ease-in both;
  }

  .nav-links .nav-text-link {
    padding: var(--space-3) 0;
    border-bottom: var(--border);
  }
  .nav-links .btn-nav {
    display: block;
    margin-top: var(--space-4);
    text-align: center;
    width: 100%;
  }
  .nav-links a::after { display: none; }
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--accent-mostaza);
  color: var(--on-accent-dark);
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-mostaza);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  text-align: center;
}
.btn-primary:hover { background: transparent; color: var(--accent-mostaza); }
.btn-primary:active { transform: scale(0.97); }
.btn-primary:focus-visible {
  outline: 2px solid var(--accent-mostaza);
  outline-offset: 3px;
}
/* modifier — always used together with .btn-primary */
.btn-primary--lg {
  font-size: var(--text-md);
  padding: var(--space-4) var(--space-8);
}
.btn-nav {
  display: inline-block;
  background: var(--accent-mostaza);
  color: var(--on-accent-dark);
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-mostaza);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-nav:hover { background: transparent; color: var(--accent-mostaza); }
.btn-nav:active { transform: scale(0.97); }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--accent-mostaza);
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-mostaza);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  text-align: center;
}
.btn-secondary:hover { background: var(--accent-mostaza); color: var(--on-accent-dark); }
.btn-secondary:active { transform: scale(0.97); }
.btn-secondary:focus-visible { outline: 2px solid var(--accent-mostaza); outline-offset: 3px; border-radius: var(--radius-sm); }

/* ── SECTION LABELS ───────────────────────────────────────── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-subtle);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 1.25rem;
  height: 1px;
  background: var(--accent-mostaza);
  flex-shrink: 0;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  border-top: var(--border);
  padding: var(--space-8) var(--page-x);
  display: flex;
  justify-content: space-between;
  background: var(--color-bg-elevated);
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-left {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  position: relative;
  transition: color var(--transition);
}
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-mostaza);
  transition: width var(--transition);
}
.footer-links a:hover { color: var(--color-text); }
.footer-links a:hover::after { width: 100%; }
.footer-links a:focus-visible {
  outline: 2px solid var(--accent-mostaza);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.footer-social {
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  transition: color var(--transition);
}
.footer-social:hover { color: var(--color-text); }
.footer-social:focus-visible {
  outline: 2px solid var(--accent-mostaza);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.footer-copy {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.footer-brand {
  color: inherit;
  position: relative;
  transition: color var(--transition);
}
.footer-brand::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-mostaza);
  transition: width var(--transition);
}
.footer-brand:hover { color: var(--color-text); }
.footer-brand:hover::after { width: 100%; }

/* ── PAGE HERO (páginas interiores) ───────────────────────── */
.page-hero {
  padding: var(--space-16) var(--page-x) var(--space-12);
  border-bottom: var(--border);
}
.page-hero h1 {
  font-size: var(--text-display);
  font-weight: var(--weight-black);
  margin-bottom: var(--space-4);
  max-width: 36rem;
}
.page-hero p {
  color: var(--color-text-muted);
  font-size: var(--text-md);
  max-width: 36rem;
  line-height: 1.75;
}

/* ── RESPONSIVE — compartido ──────────────────────────────── */
@media (max-width: 48em) {
  .br-desktop { display: none; }
  .footer-left { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .footer { flex-direction: column; align-items: flex-start; }
}

/* ── LAUNCH BANNER ────────────────────────────────────────── */
#launch-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--page-x);
  background: var(--color-bg-elevated);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
  position: relative;
}
.launch-banner-content {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  font-weight: var(--weight-medium);
}
.launch-banner-cta {
  color: var(--accent-mostaza);
  font-weight: var(--weight-bold);
  text-decoration: none;
  white-space: nowrap;
}
.launch-banner-cta:hover { text-decoration: underline; }
.launch-banner-close {
  position: absolute;
  right: var(--page-x);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-text-subtle);
  cursor: pointer;
  padding: var(--space-1) var(--space-2);
  font-size: var(--text-base);
  line-height: 1;
}
.launch-banner-close:hover { color: var(--color-text); }
.launch-banner-close:focus-visible { outline: 2px solid var(--accent-mostaza); border-radius: 2px; }

/* ── HOME — HERO ──────────────────────────────────────────── */
/* CSS keyframe animations — no JS needed, no opacity:0 flash before script runs */
@keyframes hero-eyebrow {
  from { opacity: 0; transform: translateX(-14px); clip-path: inset(0 100% 0 0); }
  to   { opacity: 1; transform: none;               clip-path: inset(0 0 0 0); }
}
@keyframes hero-headline {
  from { opacity: 0; transform: translateY(32px) scaleY(0.95); }
  to   { opacity: 1; transform: none; }
}
@keyframes hero-slide-right {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: none; }
}
@keyframes hero-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

.hero-left .eyebrow { animation: hero-eyebrow    0.5s  cubic-bezier(0.16,1,0.3,1) 0ms    both; }
.hero-right         { animation: hero-slide-right 0.8s  cubic-bezier(0.16,1,0.3,1) 0ms    both; }
.hero-headline      { animation: hero-headline    0.75s cubic-bezier(0.16,1,0.3,1) 120ms  both; }
.hero-sub           { animation: hero-up          0.55s cubic-bezier(0.16,1,0.3,1) 200ms  both; }
.hero-price         { animation: hero-up          0.55s cubic-bezier(0.16,1,0.3,1) 280ms  both; }
.hero-actions       { animation: hero-up          0.55s cubic-bezier(0.16,1,0.3,1) 360ms  both; }

/* Stat card float — desktop only (mobile uses translateX(-50%) for positioning) */
@media (min-width: 48.01em) {
  .stat-card { animation: hero-float 4s ease-in-out 1.2s infinite; }
}

/* Compensate sticky nav (~58px) so section titles land below it with breathing room */
#features, #precio, #privacidad, #faq {
  scroll-margin-top: 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  padding: var(--space-20) var(--page-x);
  border-bottom: var(--border);
  background: var(--color-bg-elevated);
}
.hero-headline {
  font-size: var(--text-hero);
  font-weight: var(--weight-black);
  line-height: 1.05;
  margin-bottom: var(--space-6);
}
.hero-headline .accent { color: var(--accent-mostaza); }
.hero-sub {
  color: var(--color-text);
  font-size: var(--text-md);
  line-height: 1.75;
  margin-bottom: var(--space-6);
  max-width: 30rem;
}
.hero-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: var(--space-2);
  row-gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.hero-price .price { font-size: var(--text-display); font-family: var(--font-mono); color: var(--accent-mostaza); line-height: 1.05; }
.hero-price .price-suffix { font-size: var(--text-xs); font-family: var(--font-mono); color: var(--color-text-subtle); letter-spacing: 0.08em; text-transform: uppercase; flex-basis: 100%; }
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.hero-right { position: relative; }
.hero-right img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}
.stat-card {
  position: absolute;
  bottom: calc(-1 * var(--space-4));
  left: calc(-1 * var(--space-8));
  background: var(--color-bg-elevated);
  border-radius: 50%;
  border: 2px dotted var(--accent-mostaza);
  width: 8rem;
  height: 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.stat-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: var(--weight-black);
  line-height: 1;
  color: var(--accent-mostaza);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  color: var(--color-text);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-1);
}
@media (max-width: 48em) {
  .hero { grid-template-columns: 1fr; padding-bottom: var(--space-24); }
  .stat-card { bottom: -4rem; left: 50%; transform: translateX(-50%); }
  .hero-actions { grid-template-columns: 1fr; }
}


/* ── HOME — FEATURES ─────────────────────────────────────── */
.features {
  padding: var(--space-16) var(--page-x) var(--space-20);
  background: var(--color-bg-elevated);
  border-bottom: var(--border);
}
.features-header { margin-bottom: var(--space-10); }
.features-header h2 {
  font-size: var(--text-display);
  font-weight: var(--weight-black);
  line-height: 1.1;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  list-style: none;
}
.feature-card {
  background: var(--color-bg-overlay);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
}
.feature-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent-mostaza);
  margin-bottom: var(--space-5);
  flex-shrink: 0;
}
.feature-card h3 {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-2);
}
.feature-card p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.65;
  flex: 1;
}
@media (max-width: 48em) {
  .features-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-card { opacity: 1; transform: none; transition: none; }
}

/* ── HOME — VALUES ───────────────────────────────────────── */
.values {
  padding: var(--space-16) var(--page-x) var(--space-20);
  background: var(--color-bg-elevated);
  border-bottom: var(--border);
}
.values-header {
  margin-bottom: var(--space-12);
}
.values-header h2 {
  font-size: var(--text-display);
  font-weight: var(--weight-black);
  line-height: 1.1;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.value {
  background: var(--color-bg-overlay);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
}
.value-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent-mostaza);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.value h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-black);
  line-height: 1.15;
  margin-bottom: var(--space-4);
  color: var(--accent-mostaza);
}
.value > p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
@media (max-width: 48em) {
  .values-grid { grid-template-columns: 1fr; }
}
.values-cta {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-12);
}
@media (max-width: 48em) {
  .values-cta { flex-direction: column; }
}

/* ── HOME — PRICING ──────────────────────────────────────── */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
  background: var(--color-bg-elevated);
  padding: var(--space-20) var(--page-x);
  border-top: 2px solid var(--accent-mostaza);
  border-bottom: 2px solid var(--accent-mostaza);
}
.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.price {
  font-family: var(--font-mono);
  font-size: var(--text-hero);
  font-weight: var(--weight-black);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-suffix {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  font-family: var(--font-mono);
}
.price-iva {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-text-subtle);
  letter-spacing: 0.04em;
}
.pricing-amount .price { color: var(--accent-mostaza); }
.highlight-underline {
  text-decoration: underline;
  text-decoration-color: var(--accent-mostaza);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.pricing-desc {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}
.pricing-left .btn-primary {
  display: block;
  width: 100%;
}
.pricing-includes {
  border-radius: var(--radius-md);
  overflow: hidden;
}
.pricing-includes li {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
  border-bottom: var(--border);
  background: var(--color-bg-elevated);
  font-size: var(--text-base);
}
.pricing-includes li:last-child { border-bottom: none; }
.pricing-includes li svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent-mostaza);
  flex-shrink: 0;
}
@media (max-width: 48em) {
  .pricing { grid-template-columns: 1fr; }
}

/* ── HOME — SECURITY ─────────────────────────────────────── */
.security {
  padding: var(--space-20) var(--page-x);
  border-bottom: var(--border);
  background: var(--color-bg-elevated);
}
.security-header {
  margin-bottom: var(--space-12);
}
.security-header h2 {
  font-size: var(--text-display);
  font-weight: var(--weight-black);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}
.security-header p:not(.eyebrow) {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.security-img {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: var(--border);
}
.security-item {
  background: var(--color-bg-overlay);
  border-radius: var(--radius-md);
  padding: var(--space-8);
}
.security-item h3 {
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-3);
  line-height: 1.3;
  color: var(--accent-mostaza);
}
.security-item p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
}
.tech-badge {
  display: inline-block;
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  background: var(--color-bg-overlay);
  border: var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-1) var(--space-3);
}
@media (max-width: 48em) {
  .security-grid { grid-template-columns: 1fr; }
  .security-img { display: none; }
}

/* ── HOME — FAQ ──────────────────────────────────────────── */
.faq {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-16);
  align-items: start;
  padding: var(--space-20) var(--page-x);
  background: var(--color-bg-elevated);
  border-bottom: var(--border);
}
.faq-img {
  width: 100%;
  border-radius: var(--radius-md);
  border: var(--border);
  margin-top: var(--space-8);
}
.faq-header h2 {
  font-size: var(--text-display);
  font-weight: var(--weight-black);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}
.faq-header p:not(.eyebrow) {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
}
.faq-header a {
  color: var(--accent-mostaza);
  position: relative;
}
.faq-header a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-mostaza);
  transition: width var(--transition);
}
.faq-header a:hover::after { width: 100%; }
.faq-group { margin-bottom: var(--space-6); }
.faq-group-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: var(--space-2);
  padding-bottom: var(--space-3);
  border-bottom: var(--border);
}
details { border-bottom: var(--border); }
details summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--transition);
}
details summary::-webkit-details-marker { display: none; }
details summary:hover { color: var(--accent-mostaza); }
details summary:focus-visible { outline: 2px solid var(--accent-mostaza); outline-offset: 2px; border-radius: var(--radius-sm); }
details summary .faq-icon {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--color-text-subtle);
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
details[open] summary .faq-icon { transform: rotate(45deg); }
details[open] summary { color: var(--accent-mostaza); }
.faq-answer {
  overflow: hidden;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
details.is-closing .faq-answer {
  transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
}
.faq-answer p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.75;
  padding-bottom: var(--space-5);
}
.faq-answer a {
  color: var(--accent-mostaza);
  position: relative;
}
.faq-answer a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-mostaza);
  transition: width var(--transition);
}
.faq-answer a:hover::after { width: 100%; }
@media (max-width: 48em) {
  .faq { grid-template-columns: 1fr; }
}

/* ── HOME — CONTACT ──────────────────────────────────────── */
.contact {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-16);
  align-items: start;
  background: var(--color-bg-elevated);
  padding: var(--space-20) var(--page-x);
  border-bottom: var(--border);
}
.contact-header h2 {
  font-size: var(--text-display);
  font-weight: var(--weight-black);
  line-height: 1.1;
}
.contact-body p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.75;
  margin-bottom: var(--space-6);
  max-width: 36rem;
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--accent-mostaza);
  transition: opacity var(--transition);
}
.contact-email:hover { opacity: 0.8; }
.contact-email:focus-visible { outline: 2px solid var(--accent-mostaza); outline-offset: 3px; border-radius: var(--radius-sm); }
@media (max-width: 48em) {
  .contact { grid-template-columns: 1fr; }
}

/* ── SCROLL REVEAL ───────────────────────────────────────── */
/* Elements start at opacity:0 via CSS (before JS runs), so the computed value
   before the first rendering phase is 0. When the observer adds .is-visible,
   the change is 0→1 and the CSS transition fires — even on mid-page reload. */
.reveal {
  opacity: 0;
  transform: translateY(var(--ry, 0px)) translateX(var(--rx, 0px));
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Card hover — only after reveal completes (avoid conflict during animation) */
/* Includes opacity+transform so reveal animation isn't broken by cascade override */
.feature-card, .value, .security-item {
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card.is-visible:hover,
.value.is-visible:hover,
.security-item.is-visible:hover {
  transform: translateY(-5px);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-left .eyebrow,
  .hero-headline,
  .hero-sub,
  .hero-price,
  .hero-actions,
  .hero-right { animation: none; }
  .stat-card  { animation: none; }
  .btn-primary:active,
  .btn-secondary:active,
  .btn-nav:active { transform: none; }
}
