/* ==========================================================================
   Pasa Tu Ciudadanía — pasatuciudadania.com
   Dirección: patriótico-editorial. Navy profundo + rojo + crema.
   Tipografía: Fraunces (display) + Public Sans (texto).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy: #1B3A6B;
  --navy-deep: #12294D;
  --navy-ink: #0D1F3C;
  --red: #B22234;
  --red-dark: #8C1B29;
  --cream: #FBF6EC;
  --cream-2: #F3EBDA;
  --white: #FFFFFF;
  --ink: #14233C;
  --ink-soft: #4A5670;
  --line: #DCD2BC;
  --gold: #F2C14E;
  --blue-soft: #C3D0E8;

  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-base: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --text-lg: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --text-h2: clamp(2rem, 1.4rem + 3vw, 3.25rem);
  --text-hero: clamp(2.75rem, 1.5rem + 6vw, 5.25rem);

  --space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-card: 0 1px 2px rgba(13, 31, 60, 0.06), 0 10px 30px -12px rgba(13, 31, 60, 0.18);
  --shadow-lift: 0 2px 4px rgba(13, 31, 60, 0.08), 0 22px 44px -14px rgba(13, 31, 60, 0.28);
  --shadow-hard: 6px 6px 0 var(--navy);

  --stars-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='190' viewBox='0 0 190 190'%3E%3Cpath d='M34 22l3.4 9.6h10l-8 6.1 2.9 9.5-8.3-5.7-8.3 5.7 2.9-9.5-8-6.1h10z' fill='%23FBF6EC' fill-opacity='0.07'/%3E%3Cpath d='M138 76l2.5 7h7.3l-5.8 4.5 2.1 7-6.1-4.2-6.1 4.2 2.1-7-5.8-4.5h7.3z' fill='%23FBF6EC' fill-opacity='0.05'/%3E%3Cpath d='M84 146l2 5.7h5.9l-4.7 3.7 1.7 5.6-4.9-3.5-4.9 3.5 1.7-5.6-4.7-3.7h5.9z' fill='%23FBF6EC' fill-opacity='0.06'/%3E%3C/svg%3E");
  --stars-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='190' viewBox='0 0 190 190'%3E%3Cpath d='M34 22l3.4 9.6h10l-8 6.1 2.9 9.5-8.3-5.7-8.3 5.7 2.9-9.5-8-6.1h10z' fill='%231B3A6B' fill-opacity='0.05'/%3E%3Cpath d='M138 76l2.5 7h7.3l-5.8 4.5 2.1 7-6.1-4.2-6.1 4.2 2.1-7-5.8-4.5h7.3z' fill='%231B3A6B' fill-opacity='0.04'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-text);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red-dark);
}

::selection {
  background: var(--red);
  color: var(--cream);
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.on-dark :focus-visible,
.on-dark:focus-visible {
  outline-color: var(--gold);
}

[id] {
  scroll-margin-top: 6rem;
}

/* ---------- Utilidades ---------- */
.container {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
  color: var(--cream);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow::before {
  content: "★";
  font-size: 0.85em;
}

.on-dark .eyebrow {
  color: var(--gold);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 2rem + 3vw, 4rem);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-h2);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-top: 0.75rem;
}

.section-head p {
  margin-top: 1rem;
  font-size: var(--text-lg);
  color: var(--ink-soft);
  line-height: 1.55;
}

.on-dark .section-head p {
  color: var(--blue-soft);
}

.u-mark {
  background-image: linear-gradient(var(--red), var(--red));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 0.14em;
  padding-bottom: 0.06em;
}

/* Franjas de bandera como divisor decorativo */
.stripe-bar {
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0 3.5rem,
    var(--cream) 3.5rem 7rem,
    var(--navy) 7rem 10.5rem,
    var(--cream) 10.5rem 14rem
  );
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.2;
  padding: 1.05rem 2rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red-dark);
  box-shadow: 5px 5px 0 var(--navy-deep);
}

.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--navy-deep);
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(251, 246, 236, 0.45);
}

.btn-ghost:hover {
  color: var(--white);
  border-color: var(--cream);
  background: rgba(251, 246, 236, 0.08);
}

.btn-nav {
  background: var(--navy);
  color: var(--cream);
  font-size: 1rem;
  padding: 0.65rem 1.3rem;
  box-shadow: 3px 3px 0 var(--red);
}

.btn-nav:hover {
  background: var(--navy-deep);
  color: var(--white);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--red);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 2px solid var(--navy);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
}

.brand:hover {
  color: var(--navy-deep);
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--navy);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--red);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.brand-name span {
  color: var(--red);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  list-style: none;
}

.site-nav a:not(.btn) {
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  padding-bottom: 2px;
  transition: border-color 140ms ease, color 140ms ease;
}

.site-nav a:not(.btn):hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  color: var(--navy);
}

.menu-toggle:hover {
  background: var(--cream-2);
}

@media (max-width: 47.9rem) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--navy);
    box-shadow: var(--shadow-lift);
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .site-nav li {
    border-bottom: 1px solid var(--line);
  }

  .site-nav li:last-child {
    border-bottom: none;
    padding-top: 1rem;
  }

  .site-nav a:not(.btn) {
    display: block;
    padding: 0.9rem 0.25rem;
    font-size: 1.15rem;
    border-bottom: none;
  }

  .site-nav .btn {
    width: 100%;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(168deg, var(--navy) 0%, var(--navy-deep) 78%, var(--navy-ink) 100%);
  background-color: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--stars-light);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(4rem, 3rem + 5vw, 7.5rem);
}

.hero-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1.5px solid rgba(242, 193, 78, 0.45);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-hero);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-top: 1.5rem;
  text-wrap: balance;
}

.hero h1 em {
  font-style: italic;
  font-weight: 700;
  background-image: linear-gradient(var(--red), var(--red));
  background-repeat: no-repeat;
  background-position: 0 94%;
  background-size: 100% 0.13em;
  padding-bottom: 0.04em;
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--blue-soft);
  max-width: 34rem;
}

.hero-sub strong {
  color: var(--cream);
}

.hero-cta {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-note {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--blue-soft);
}

.hero-note strong {
  color: var(--gold);
}

@media (max-width: 63.9rem) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-self: center;
  }
}

/* ---------- Teléfono (mockup CSS) ---------- */
.hero-visual {
  position: relative;
  width: min(21rem, 88vw);
  justify-self: end;
}

.hero-visual::before {
  content: "★";
  position: absolute;
  top: -1.6rem;
  right: -1.2rem;
  z-index: 2;
  width: 4.2rem;
  height: 4.2rem;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--red);
  transform: rotate(12deg);
}

.phone {
  background: var(--navy-ink);
  border-radius: 2.4rem;
  padding: 0.8rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(251, 246, 236, 0.12);
  transform: rotate(-2deg);
  transition: transform 300ms ease;
}

.phone:hover {
  transform: rotate(0deg) translateY(-4px);
}

.screen {
  background: var(--cream);
  border-radius: 1.8rem;
  padding: 1.2rem 1.1rem 1.3rem;
  color: var(--ink);
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.chip {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}

.counter {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.qcard {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow-card);
}

.q-en {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--navy);
}

.q-es {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-style: italic;
}

.q-answer {
  margin-top: 0.9rem;
  border-top: 2px dashed var(--line);
  padding-top: 0.8rem;
}

.a-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.25rem;
}

.a-en {
  font-weight: 700;
  font-size: 1.05rem;
}

.a-es {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.audio-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  background: rgba(27, 58, 107, 0.08);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}

.screen-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1rem;
}

.pill {
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.65rem 0.5rem;
  border-radius: 999px;
}

.pill-no {
  background: rgba(178, 34, 52, 0.1);
  color: var(--red-dark);
  border: 1.5px solid rgba(178, 34, 52, 0.35);
}

.pill-yes {
  background: var(--navy);
  color: var(--cream);
  border: 1.5px solid var(--navy);
}

/* ---------- Banda de datos ---------- */
.stats-band {
  background: var(--red);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-block: clamp(2rem, 1.5rem + 2vw, 3rem);
  text-align: center;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.98rem;
  font-weight: 600;
  opacity: 0.95;
}

@media (max-width: 47.9rem) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Secciones ---------- */
.section {
  padding-block: var(--space-section);
}

.section-cream {
  background: var(--cream);
}

.section-white {
  background: var(--white);
  background-image: var(--stars-dark);
}

.section-navy {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  background-color: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.section-navy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--stars-light);
  pointer-events: none;
}

.section-navy > .container {
  position: relative;
}

/* ---------- Cómo funciona (pasos) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: paso;
}

.step {
  position: relative;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem 1.8rem;
  box-shadow: var(--shadow-hard);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.step:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--navy);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--red);
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-top: 0.8rem;
  color: var(--navy);
}

.step p {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

@media (max-width: 63.9rem) {
  .steps {
    grid-template-columns: 1fr;
    max-width: 34rem;
  }
}

/* ---------- Características (bento) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.feature {
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: var(--navy);
}

.feature-icon {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: var(--cream);
  box-shadow: 3px 3px 0 var(--red);
  margin-bottom: 1.1rem;
}

.feature h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--navy);
}

.feature p {
  margin-top: 0.65rem;
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.feature-wide {
  grid-column: span 2;
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.feature-stat {
  flex: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 2rem + 2vw, 3.6rem);
  line-height: 0.95;
  color: var(--red);
  text-align: center;
}

.feature-stat small {
  display: block;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

.feature-full {
  grid-column: 1 / -1;
  background: var(--navy);
  border-color: var(--navy-deep);
  color: var(--cream);
  background-image: var(--stars-light);
}

.feature-full:hover {
  border-color: var(--red);
}

.feature-full h3 {
  color: var(--cream);
}

.feature-full p {
  color: var(--blue-soft);
}

.feature-full .feature-icon {
  background: var(--red);
  box-shadow: 3px 3px 0 var(--gold);
}

@media (max-width: 63.9rem) {
  .features {
    grid-template-columns: 1fr 1fr;
  }

  .feature-wide {
    grid-column: span 2;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 47.9rem) {
  .features {
    grid-template-columns: 1fr;
  }

  .feature-wide {
    grid-column: span 1;
  }
}

/* ---------- Para quién es ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.audience-card {
  background: rgba(251, 246, 236, 0.06);
  border: 1.5px solid rgba(251, 246, 236, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.audience-card:hover {
  background: rgba(251, 246, 236, 0.1);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.audience-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-ink);
  background: var(--gold);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1rem;
}

.audience-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--cream);
}

.audience-card p {
  margin-top: 0.7rem;
  color: var(--blue-soft);
  font-size: 1.03rem;
}

.audience-card strong {
  color: var(--cream);
}

@media (max-width: 47.9rem) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 50rem;
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 180ms ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-hard);
}

.faq-item[open] {
  box-shadow: var(--shadow-hard);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.3rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  color: var(--red);
  transition: transform 180ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--red);
}

.faq-body {
  padding: 0 1.5rem 1.4rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.faq-body p + p {
  margin-top: 0.75rem;
}

.faq-body strong {
  color: var(--ink);
}

/* ---------- Descarga ---------- */
.download-card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  background-color: var(--navy);
  background-image: var(--stars-light);
  color: var(--cream);
  border-radius: calc(var(--radius-lg) + 6px);
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  text-align: center;
  box-shadow: var(--shadow-lift);
  position: relative;
  overflow: hidden;
}

.download-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--red) 0 3rem, var(--cream) 3rem 6rem);
}

.download-card h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-h2);
  line-height: 1.08;
  margin-top: 0.75rem;
}

.download-card > p {
  margin-top: 1rem;
  font-size: var(--text-lg);
  color: var(--blue-soft);
  max-width: 38rem;
  margin-inline: auto;
}

.store-buttons {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  justify-content: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  background: var(--navy-ink);
  color: var(--cream);
  border: 1.5px solid rgba(251, 246, 236, 0.35);
  border-radius: var(--radius);
  padding: 0.85rem 1.5rem;
  min-width: 15.5rem;
}

.store-btn svg {
  flex: none;
}

.store-btn b {
  display: block;
  font-size: 1.2rem;
  line-height: 1.15;
}

.store-btn small {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.store-btn.is-disabled {
  border-style: dashed;
  opacity: 0.85;
  cursor: not-allowed;
  user-select: none;
}

.store-note {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--blue-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-ink);
  color: var(--blue-soft);
  padding-block: 3.5rem 2.5rem;
  border-top: 6px solid var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-brand .brand {
  color: var(--cream);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 1rem;
  max-width: 30rem;
}

.footer-links h2 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.footer-links ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--cream);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--gold);
}

.disclaimer {
  margin-top: 2.5rem;
  padding: 1.4rem 1.5rem;
  background: rgba(251, 246, 236, 0.07);
  border: 1.5px solid rgba(251, 246, 236, 0.2);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--cream);
}

.copyright {
  margin-top: 1.75rem;
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 47.9rem) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Página de privacidad ---------- */
.page-hero {
  background: linear-gradient(168deg, var(--navy) 0%, var(--navy-deep) 100%);
  background-color: var(--navy);
  background-image: var(--stars-light);
  color: var(--cream);
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 1.5rem + 3.5vw, 3.75rem);
  line-height: 1.05;
  margin-top: 0.9rem;
}

.page-hero p {
  margin-top: 1rem;
  font-size: var(--text-lg);
  color: var(--blue-soft);
  max-width: 40rem;
}

.prose {
  max-width: 46rem;
  padding-block: var(--space-section);
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--navy);
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--line);
}

.prose h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.prose p {
  margin-top: 1rem;
  color: var(--ink);
}

.prose ul {
  margin-top: 1rem;
  padding-left: 1.4rem;
  display: grid;
  gap: 0.5rem;
}

.prose li::marker {
  color: var(--red);
}

.prose .highlight-box {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  padding: 1.5rem 1.6rem;
  margin-bottom: 2.5rem;
  font-size: var(--text-lg);
  line-height: 1.5;
}

.prose .highlight-box strong {
  color: var(--red);
}

.effective-date {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
