/* Ri2 Pdf — landing (alineado con la app: barra #121926, acentos de herramientas) */
:root {
  --bg: #f3f4f6;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-glow: rgba(37, 99, 235, 0.22);
  --app-shell: #121926;
  --app-active: #2d3d54;
  --hero-bg: #121926;
  --success: #059669;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 6px -1px rgb(15 23 42 / 0.08), 0 2px 4px -2px rgb(15 23 42 / 0.06);
  --shadow-lg: 0 25px 50px -12px rgb(15 23 42 / 0.22);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header — mismo tono que la barra lateral de la app */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--app-shell);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  box-shadow: 0 6px 24px rgb(0 0 0 / 0.25);
}

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

.logo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  text-decoration: none;
}
.logo-block:hover {
  opacity: 0.95;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-tagline {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-top: 0.15rem;
  padding-left: 0.15rem;
}

@media (max-width: 480px) {
  .logo-tagline {
    display: none;
  }
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a:not(.btn) {
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}
.nav-desktop a:not(.btn):hover {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #0284c7);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.45);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg);
}

.btn-ghost-light {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid rgb(255 255 255 / 0.22);
}
.btn-ghost-light:hover {
  background: rgb(255 255 255 / 0.08);
  color: #fff;
  text-decoration: none;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 8px;
  cursor: pointer;
  color: #e2e8f0;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  background: var(--app-shell);
}
.nav-mobile a {
  padding: 0.5rem 0;
  color: #e2e8f0;
  font-weight: 500;
}
.nav-mobile a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .site-header.nav-open .nav-mobile {
    display: flex;
  }
}

/* Hero */
.hero {
  background: var(--hero-bg);
  color: #f1f5f9;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 100% 0%, rgb(59 130 246 / 0.18), transparent),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgb(236 72 153 / 0.08), transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 2.5rem 3rem;
    align-items: center;
  }
}

/* Hero en columna: titular → vídeo → detalle y CTA */
.hero-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 56rem;
  margin: 0 auto;
}

.hero-stack .hero-copy--after-video {
  margin-top: 0.5rem;
}

.hero-slogan {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: -0.02em;
}

.hero-subtitle--lead {
  max-width: 36ch;
  font-size: clamp(1.12rem, 2.4vw, 1.35rem);
  color: #e2e8f0;
}

.hero-demo {
  margin: 0 0 1.75rem;
  padding: 0;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 56rem;
  align-self: center;
}

.hero-demo-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.12);
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.45), 0 0 0 1px rgb(255 255 255 / 0.06);
  background: #0f172a;
}

/* Vídeo vertical tipo Reels en pantallas estrechas */
@media (max-width: 767px) {
  .hero-demo-inner {
    aspect-ratio: 9 / 16;
    max-height: min(88vh, 920px);
    margin-left: auto;
    margin-right: auto;
    max-width: min(100%, 420px);
  }
}

.hero-demo-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-demo-fallback {
  margin: 0;
  padding: 1.5rem;
  font-size: 0.95rem;
  color: #94a3b8;
}

.hero-demo-fallback a {
  color: #7dd3fc;
  font-weight: 600;
}

.hero-demo-caption {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
  line-height: 1.45;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

/* Primera impresión: categoría + titular claro sin hacer scroll */
.hero-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #38bdf8;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 999px;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.hero-badge strong {
  color: #7dd3fc;
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.55rem, 3.8vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 100%;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.32);
}

@media (min-width: 900px) {
  .hero h1 {
    max-width: min(100%, 29rem);
  }
}

.hero-pills {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-pills li {
  display: inline-flex;
  align-items: center;
  background: rgb(255 255 255 / 0.09);
  border: 1px solid rgb(255 255 255 / 0.16);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #f1f5f9;
  letter-spacing: -0.01em;
}

.hero-lead {
  margin: 0 0 1.65rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #94a3b8;
  max-width: 42ch;
}

.hero-lead strong {
  color: #e2e8f0;
  font-weight: 600;
}

.hero-lead em {
  color: #cbd5e1;
  font-style: normal;
  font-weight: 600;
}

.hero h1 strong {
  color: #fff;
  font-weight: 800;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-size: 0.875rem;
  color: #64748b;
}

.hero-shot {
  margin: 0;
  position: relative;
  z-index: 1;
}

.hero-shot-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.12);
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.45), 0 0 0 1px rgb(255 255 255 / 0.06);
  background: #0f172a;
  line-height: 0;
}

.hero-shot-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-shot-caption {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
}

.hero-subtitle {
  margin: 0 0 1.1rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.5;
  color: #cbd5e1;
  font-weight: 500;
  max-width: 40ch;
}

@media (min-width: 900px) {
  .hero-subtitle {
    max-width: min(100%, 30rem);
  }
}

.hero-cta-secondary {
  margin: -0.35rem 0 1.25rem;
  font-size: 0.95rem;
}
.hero-cta-secondary a {
  color: #7dd3fc;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgb(125 211 252 / 0.45);
}
.hero-cta-secondary a:hover {
  color: #bae6fd;
  border-bottom-color: rgb(186 230 253 / 0.7);
}

/* Franja de confianza bajo el hero */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}

.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.trust-strip-inner span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-strip-inner span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

/* Demo en 3 pasos */
.demo-flow {
  padding: clamp(2.75rem, 5vw, 4rem) 0;
  background: linear-gradient(180deg, #f8fafc 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.demo-steps {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .demo-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.demo-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.demo-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.demo-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.demo-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.demo-contact-hint {
  text-align: center;
  margin: 2rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 42ch;
  margin-inline: auto;
}

.demo-contact-hint a {
  font-weight: 600;
}

.feature-card .feature-hook {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
}

.feature-card .feature-detail {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.52;
}

.price-equiv {
  margin: -0.35rem 0 1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted);
}

.price-equiv strong {
  color: var(--text);
  font-weight: 600;
}

/* Ventajas (antes / con Ri2 Pdf) */
.benefits {
  background: #fff;
  border-block: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 4.25rem) 0;
}

.benefits-heading {
  text-align: center;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 auto 0.75rem;
  max-width: 48ch;
  color: var(--text);
}

.benefits-intro {
  text-align: center;
  max-width: 52ch;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.benefits-intro strong {
  color: var(--text);
}

.benefits-intro--mid {
  max-width: 54ch;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.62;
  color: var(--muted);
}

.benefits-intro--mid strong {
  color: var(--text);
}

.benefit-card--mid {
  text-align: left;
}

.benefit-card-lead {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.4;
}

.benefit-card-lead strong {
  color: var(--brand-dark);
}

.benefit-card-text {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.55;
}

.benefits-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

@media (min-width: 1100px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.65rem;
  box-shadow: var(--shadow);
}

.benefit-label {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.benefit-label-now {
  margin-top: 1.15rem;
  margin-bottom: 0.45rem;
  color: var(--brand);
}

.benefit-before {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.55;
}

.benefit-before strong {
  color: var(--text);
}

.benefit-after {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.55;
}

.benefit-after strong {
  color: var(--brand-dark);
}

/* Sections */
section {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.section-title {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-title h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.section-title--tight {
  margin-bottom: 1.85rem;
}

.lead-short {
  max-width: 38ch;
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.45;
  text-align: center;
  text-wrap: balance;
}

.p-tight {
  font-size: 0.9rem;
  line-height: 1.4;
}

.features-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgb(37 99 235 / 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.feature-duplex .feature-icon {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 6px 16px rgb(59 130 246 / 0.35);
}

.feature-merge .feature-icon {
  background: linear-gradient(135deg, #22c55e, #15803d);
  box-shadow: 0 6px 16px rgb(34 197 94 / 0.3);
}

.feature-img .feature-icon {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  box-shadow: 0 6px 16px rgb(6 182 212 / 0.3);
}

.feature-img2 .feature-icon {
  background: linear-gradient(135deg, #06b6d4, #0e7490);
  box-shadow: 0 6px 16px rgb(6 182 212 / 0.3);
}

.feature-nup .feature-icon {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  box-shadow: 0 6px 16px rgb(99 102 241 / 0.35);
}

.feature-dash .feature-icon {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9);
}

.feature-credits .feature-icon {
  background: linear-gradient(135deg, #f97316, #ea580c);
  box-shadow: 0 6px 16px rgb(249 115 22 / 0.35);
}

.feature-pdf2img .feature-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 6px 16px rgb(139 92 246 / 0.35);
}

.feature-editor .feature-icon {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  box-shadow: 0 6px 16px rgb(20 184 166 / 0.35);
}

.feature-suite .feature-icon {
  background: #111827 url("assets/ri2_logo.svg") center / cover no-repeat;
  box-shadow: 0 6px 16px rgb(0 0 0 / 0.2);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.feature-card .feature-hook {
  margin-bottom: 6px;
}

.feature-card .feature-detail {
  margin-bottom: 0;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Steps */
.steps {
  background: #fff;
  border-block: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.step {
  text-align: center;
  padding: 0 0.5rem;
}

.step-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-lg);
  position: relative;
}

.price-card.featured::before {
  content: "Recomendado";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.price-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
}

.price-card .credits {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.price-card .ul-compact {
  margin-bottom: 1rem;
}

.price-card .ul-compact li {
  padding: 0.25rem 0;
}

.price-card .amount {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.price-card .amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.price-card ul {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price-card li {
  padding: 0.4rem 0;
  padding-left: 1.35rem;
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.price-card .btn {
  width: 100%;
}

.pricing-note {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
}

details summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--muted);
  font-weight: 400;
}

details[open] summary::after {
  content: "−";
}

details .answer {
  padding: 0 1.25rem 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 40%, #06b6d4 100%);
  color: #fff;
  text-align: center;
  padding: clamp(3rem, 6vw, 4rem) 1.5rem;
  border-radius: var(--radius-lg);
  margin: 0 1rem;
  max-width: calc(var(--max) + 2rem);
  margin-inline: auto;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
}

.cta-band p {
  margin: 0 0 1.5rem;
  opacity: 0.92;
  max-width: 520px;
  margin-inline: auto;
}

.cta-band-lead {
  font-size: 1.05rem;
  line-height: 1.55;
}

.cta-band .btn {
  background: #fff;
  color: var(--brand-dark);
}
.cta-band .btn:hover {
  background: #f1f5f9;
  text-decoration: none;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgb(255 255 255 / 0.85);
  box-shadow: none;
}
.btn-outline-light:hover {
  background: rgb(255 255 255 / 0.12);
  color: #fff;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.cta-band-note {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.88;
  max-width: 540px;
  margin-inline: auto;
}

.cta-band-note a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-band-note a:hover {
  opacity: 0.95;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-logo-link img {
  height: 40px;
  width: auto;
}

.footer-about p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 32ch;
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text);
  font-size: 0.95rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ===== CENTRADO REAL DE TITULOS Y TEXTOS ===== */

.section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title p,
.lead-short {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 520px; /* más estrecho = mejor centrado visual */
}

/* —— Página legal (privacidad) —— */
.legal-page {
  padding: 2.5rem 0 3.5rem;
  background: var(--surface);
  min-height: 50vh;
}

.legal-doc {
  max-width: 42rem;
  margin: 0 auto;
}

.legal-doc h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.legal-doc h2 {
  font-size: 1.125rem;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
  font-size: 0.98rem;
}

.legal-doc ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.legal-doc li {
  margin-bottom: 0.5rem;
}

.legal-kicker {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
}

.legal-kicker a {
  color: var(--brand);
  font-weight: 500;
}

.legal-meta {
  margin: 0 0 0.25rem;
  font-weight: 600;
  color: var(--text);
}

.legal-updated {
  margin: 0 0 2rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.legal-footnote {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
}

.site-footer .footer-bottom a {
  margin-left: 0.35rem;
}
