/* Tappet landing — tokens del Sistema de Diseño Maestro v1.0 (universo comunidad) */
:root {
  --navy-900: #2d2549;
  --navy-950: #211b37;
  --pink-500: #f37a9c;
  --pink-700: #c42c5c;
  --blush: #fde8ef;
  --lilac: #f2f0f7;
  --text-primary: #1f2937;
  --text-secondary: #667085;
  --border: #e5e1ec;
  --white: #ffffff;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Nunito Sans", var(--font-ui);
  --shadow-1: 0 1px 3px rgba(33, 27, 55, 0.07);
  --shadow-2: 0 6px 20px rgba(33, 27, 55, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.narrow {
  max-width: 760px;
}
.center {
  text-align: center;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.2;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.5rem, 4vw, 2.125rem);
  font-weight: 800;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}
p {
  margin-bottom: 12px;
}
.lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
}
.section-lead {
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.eyebrow {
  display: inline-block;
  background: var(--blush);
  color: var(--pink-700);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
em {
  font-style: normal;
  color: var(--pink-700);
}

/* Botones — una acción primaria por vista */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition:
    background-color 0.18s ease,
    transform 0.18s ease;
}
.btn:focus-visible {
  outline: 3px solid var(--pink-700);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--pink-700);
  color: var(--white);
}
.btn-primary:hover {
  background: #a92450;
}
.btn-primary:active {
  transform: scale(0.98);
}
.btn-secondary {
  background: var(--white);
  color: var(--navy-900);
  border: 1.5px solid var(--navy-900);
}
.btn-secondary:hover {
  background: var(--lilac);
}
.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.9375rem;
}
.btn-lg {
  min-height: 52px;
  padding: 14px 32px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img {
  width: 44px;
  height: auto;
  border-radius: 8px;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--navy-900);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--blush) 0%, var(--white) 100%);
  padding: 48px 0 32px;
}
.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
.hero-copy .lead {
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 24px;
}
.hero-img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2);
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.badges li {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-1);
}

/* Secciones */
.section {
  padding: 64px 0;
}
.section-blush {
  background: var(--blush);
}
.section-lilac {
  background: var(--lilac);
}
.section-navy {
  background: var(--navy-900);
}
.section-navy h2 {
  color: var(--white);
}

/* Cómo funciona */
.steps {
  display: grid;
  gap: 16px;
  list-style: none;
  counter-reset: step;
  margin-bottom: 32px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-1);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--blush);
  color: var(--pink-700);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  margin-bottom: 12px;
}
.media-split {
  display: grid;
  gap: 16px;
}
.media-split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  width: 100%;
  object-fit: cover;
}

/* Splits */
.split {
  display: grid;
  gap: 32px;
  align-items: center;
}
.split img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2);
}

/* Listas */
.checklist {
  list-style: none;
  margin-top: 8px;
}
.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--pink-700);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>')
    center / contain no-repeat;
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-top: 16px;
}
.pill-list li {
  background: var(--lilac);
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 10px 16px;
  border-radius: 999px;
}

/* Privacidad */
.privacy-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.privacy-item {
  background: var(--navy-950);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.privacy-item h3 {
  color: var(--pink-500);
}
.privacy-item p {
  color: #cfc9e0;
  margin: 0;
}

/* Beneficios */
.benefits {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

/* FAQ */
details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 10px;
}
summary {
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  min-height: 32px;
}
summary:focus-visible {
  outline: 3px solid var(--pink-700);
  outline-offset: 2px;
  border-radius: 6px;
}
details[open] summary {
  margin-bottom: 8px;
}
details p {
  color: var(--text-secondary);
  margin: 0;
}

/* CTA final */
.cta-final {
  background: linear-gradient(180deg, var(--white) 0%, var(--blush) 100%);
}
.cta-img {
  width: min(320px, 70%);
  margin: 0 auto 24px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2);
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: #cfc9e0;
  padding: 48px 0 24px;
}
.site-footer .brand-name {
  color: var(--white);
}
.footer-grid {
  display: grid;
  gap: 32px;
  padding-bottom: 32px;
}
.footer-title {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 10px;
}
.site-footer ul {
  list-style: none;
}
.site-footer li {
  margin-bottom: 8px;
}
.site-footer a {
  color: var(--pink-500);
  text-decoration: none;
}
.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}
.site-footer em {
  color: #8f87a8;
  font-size: 0.875rem;
}
.footer-bottom {
  border-top: 1px solid #3a3159;
  padding-top: 20px;
  font-size: 0.875rem;
  color: #8f87a8;
}

/* Responsive ≥768 */
@media (min-width: 768px) {
  .hero {
    padding: 72px 0 48px;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .media-split {
    grid-template-columns: 1fr 1fr;
  }
  .split {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .split-reverse img {
    order: -1;
  }
  .privacy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .split img,
  .media-split img {
    max-height: 480px;
    object-fit: cover;
    width: 100%;
  }
}
