/* ---------- Reset mínimo ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-deep);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { flex-shrink: 0; }

a, button, summary { cursor: pointer; }

a:focus-visible, summary:focus-visible, details:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Paleta ---------- */
:root {
  /* fondo: casi negro con matiz cálido (ciruela oscuro), no violeta saturado */
  --bg-deep: #0d0910;
  --bg-deep-2: #17101d;
  --bg-card: #1c1420;
  --bg-card-featured: #241a2e;

  /* acento principal: dorado antiguo, discreto y premium */
  --accent-gold: #cda45e;
  --accent-gold-bright: #e6c98a;
  --accent-gold-ink: #1c1420;

  /* acento secundario: vino profundo, uso puntual */
  --accent-wine: #7c3350;

  --text-light: #f6f1ea;
  --text-muted: #beb0c0;
  --text-faint: #8f8291;

  --hairline: rgba(246, 241, 234, 0.09);

  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  --radius: 16px;
  --radius-sm: 10px;
}

/* ---------- Layout base ---------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Fondo: estrellas y constelación ESTÁTICAS (evita el parpadeo global a pantalla completa,
   que resulta fatigante al leer). La animación se limita a un puñado de puntos individuales
   (ver .twinkle-stars), cada uno con su propio ritmo, para simular titileo real sin flash. */
.stars {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(1.3px 1.3px at 20px 30px, rgba(246,241,234,.4) 50%, transparent 50%),
    radial-gradient(1.3px 1.3px at 90px 110px, rgba(246,241,234,.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 140px 60px, rgba(246,241,234,.35) 50%, transparent 50%),
    radial-gradient(1.6px 1.6px at 180px 150px, rgba(205,164,94,.5) 50%, transparent 50%),
    radial-gradient(1px 1px at 40px 170px, rgba(246,241,234,.25) 50%, transparent 50%),
    radial-gradient(1px 1px at 60px 200px, rgba(246,241,234,.3) 50%, transparent 50%),
    radial-gradient(1.2px 1.2px at 200px 40px, rgba(205,164,94,.35) 50%, transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-deep-2) 55%, var(--bg-deep) 100%);
  background-repeat: repeat;
  background-size: 220px 220px, 220px 220px, 220px 220px, 220px 220px, 220px 220px, 220px 220px, 220px 220px, 100% 100%;
}

/* constelación: motivo de puntos unidos por líneas finas, repetido, estático y muy sutil */
.constellations {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-repeat: repeat;
  background-size: 380px 380px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M28 46 L66 24 L108 54 L150 30 L172 66' fill='none' stroke='%23cda45e' stroke-width='0.6' opacity='0.45'/%3E%3Ccircle cx='28' cy='46' r='1.6' fill='%23e6c98a'/%3E%3Ccircle cx='66' cy='24' r='1.3' fill='%23e6c98a'/%3E%3Ccircle cx='108' cy='54' r='1.8' fill='%23e6c98a'/%3E%3Ccircle cx='150' cy='30' r='1.3' fill='%23e6c98a'/%3E%3Ccircle cx='172' cy='66' r='1.5' fill='%23e6c98a'/%3E%3C/svg%3E");
  opacity: .4;
}

/* Estrellas individuales que titilan: pocas, pequeñas, cada una con su propia duración y
   demora para que nunca coincidan — así se percibe como titileo real y no como un flash
   sincronizado de toda la pantalla. Amplitud baja (opacidad .2–.7) a propósito. */
.twinkle-stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.twinkle-stars span {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--text-light);
  opacity: .2;
  animation: twinkle-soft 5s ease-in-out infinite;
}
.twinkle-stars span:nth-child(1) { top: 14%; left: 20%; animation-duration: 4.2s; animation-delay: 0s; }
.twinkle-stars span:nth-child(2) { top: 24%; left: 78%; width: 3px; height: 3px; background: var(--accent-gold); animation-duration: 5.6s; animation-delay: .9s; }
.twinkle-stars span:nth-child(3) { top: 40%; left: 8%; animation-duration: 6.3s; animation-delay: 1.8s; }
.twinkle-stars span:nth-child(4) { top: 58%; left: 90%; animation-duration: 4.8s; animation-delay: 2.6s; }
.twinkle-stars span:nth-child(5) { top: 70%; left: 32%; width: 3px; height: 3px; background: var(--accent-gold); animation-duration: 5.2s; animation-delay: .4s; }
.twinkle-stars span:nth-child(6) { top: 83%; left: 64%; animation-duration: 6.7s; animation-delay: 3.3s; }
.twinkle-stars span:nth-child(7) { top: 92%; left: 16%; animation-duration: 5.4s; animation-delay: 1.3s; }

@keyframes twinkle-soft {
  0%, 100% { opacity: .2; }
  50% { opacity: .7; }
}

/* ---------- Header ---------- */
.site-header {
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 9, 16, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-gold-bright);
  letter-spacing: .02em;
}
.nav-cta {
  font-size: .85rem;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid var(--accent-gold);
  border-radius: 999px;
  color: var(--accent-gold-bright);
  transition: background-color .2s ease, color .2s ease;
}
.nav-cta:hover { background: var(--accent-gold); color: var(--accent-gold-ink); }

/* ---------- Hero ---------- */
.hero {
  padding: 48px 20px 40px;
  display: grid;
  gap: 32px;
  align-items: center;
}
.eyebrow {
  color: var(--accent-gold-bright);
  letter-spacing: .04em;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--text-light);
}
.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 50ch;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 20px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: var(--text-muted);
  font-size: .85rem;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-badges svg { color: var(--accent-gold); }

.hero-art {
  max-width: 320px;
  margin: 0 auto;
  opacity: .95;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-block { display: flex; width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold-bright), var(--accent-gold));
  color: var(--accent-gold-ink);
  box-shadow: 0 8px 22px rgba(205, 164, 94, .25);
}
.btn-primary:hover { box-shadow: 0 10px 28px rgba(205, 164, 94, .38); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #06210f;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .25);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

/* ---------- Quién te lee ---------- */
.about {
  padding: 8px 0 44px;
}
.about-inner {
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
}
.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { margin-bottom: 4px; }
.about-name {
  color: var(--accent-gold-bright);
  font-weight: 600;
  margin-bottom: 14px;
}
.about-copy p { color: var(--text-muted); max-width: 60ch; margin-left: auto; margin-right: auto; }
.about-points {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  text-align: left;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}
.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: .92rem;
}
.about-points svg { color: var(--accent-gold); margin-top: 2px; }

/* ---------- Cómo funciona ---------- */
.how {
  padding: 40px 0 8px;
}
.how h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 28px;
  color: var(--text-light);
}
.how-steps {
  display: grid;
  gap: 20px;
}
.how-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 18px;
}
.step-num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-card-featured);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
}
.how-steps h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  font-family: inherit;
  color: var(--text-light);
}
.how-steps p {
  color: var(--text-muted);
  font-size: .9rem;
  margin: 0;
}

/* ---------- Precios ---------- */
.pricing {
  padding: 48px 20px 16px;
  text-align: center;
}
.pricing h2 {
  font-size: 1.6rem;
}
.pricing-subtitle {
  color: var(--text-muted);
  margin-bottom: 28px;
}
.pricing-grid {
  display: grid;
  gap: 20px;
}
.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
}
.price-card-featured {
  background: var(--bg-card-featured);
  border-color: var(--accent-gold);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gold);
  color: var(--accent-gold-ink);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin: 0;
}
.price-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.price {
  margin: 6px 0 18px;
}
.price-amount {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-gold-bright);
  font-family: "Playfair Display", Georgia, serif;
}
.price-currency {
  font-size: .9rem;
  color: var(--text-muted);
  margin-left: 6px;
}
.price-savings {
  display: inline-block;
  margin: 0 0 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(205, 164, 94, .15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold-bright);
  font-size: .8rem;
  font-weight: 700;
}
.price-features {
  text-align: left;
  margin: 0 0 22px;
  display: grid;
  gap: 8px;
}
.price-features li {
  color: var(--text-muted);
  font-size: .92rem;
  padding-left: 22px;
  position: relative;
}
.price-features li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
}
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  color: var(--text-muted);
  font-size: .85rem;
}
.trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust-bar svg { color: var(--accent-gold); }
.pricing-footnote {
  margin-top: 24px;
  color: var(--text-muted);
  font-size: .9rem;
}
.pricing-whatsapp {
  max-width: 420px;
  margin: 10px auto 0;
}

/* ---------- Testimonios ---------- */
.testimonials {
  padding: 44px 0;
}
.testimonials h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 6px;
}
.testimonials-hint {
  text-align: center;
  color: var(--text-faint);
  font-size: .78rem;
  font-style: italic;
  margin-bottom: 28px;
}
.testimonials-grid {
  display: grid;
  gap: 18px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 22px;
}
.testimonial-card p:first-child {
  color: var(--text-light);
  font-size: .95rem;
}
.testimonial-author {
  color: var(--accent-gold-bright);
  font-size: .85rem;
  font-weight: 600;
  margin: 0;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 12px 20px 44px;
}
.faq h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 4px 18px;
}
.faq-list summary {
  padding: 14px 0;
  font-weight: 600;
  color: var(--text-light);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  color: var(--accent-gold);
  font-size: 1.3rem;
  font-weight: 400;
  flex-shrink: 0;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
  color: var(--text-muted);
  font-size: .9rem;
  padding-bottom: 16px;
  margin: 0;
}

/* ---------- Aviso legal ---------- */
.legal {
  padding: 8px 20px 48px;
}
.legal-box {
  background: rgba(28, 20, 32, .6);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: var(--text-muted);
  font-size: .82rem;
  max-width: 720px;
  margin: 0 auto;
}
.legal-box p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 28px 20px 40px;
  color: var(--text-muted);
  font-size: .85rem;
  border-top: 1px solid var(--hairline);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-gold-bright);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  margin: 0 0 4px;
}
.footer-fine { font-size: .75rem; opacity: .7; margin: 0; }

/* ---------- Tablet / desktop ---------- */
@media (min-width: 640px) {
  .hero h1 { font-size: 2.6rem; }
  .hero-actions {
    flex-direction: row;
  }
  .hero-actions .btn { min-width: 240px; }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin: 0 auto; }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    padding-top: 64px;
    padding-bottom: 56px;
  }
  .hero h1 { font-size: 3rem; }
  .hero-art { max-width: 100%; order: 2; }
  .how-steps { grid-template-columns: repeat(4, 1fr); }
  .about-inner {
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
    gap: 36px;
  }
  .about-copy p, .about-points { margin-left: 0; margin-right: 0; }
}
