/* ============================================================
   Coven Travel — estilos del sitio (misma paleta que la app)
   ============================================================ */

:root {
  --bg: #0d0007;
  --bg-alt: #111111;
  --primary: #c9415a;
  --gold: #c9a84c;
  --cream: #faf5f0;
  --wine: #7a1a30;
  --muted: #8a7a80;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Círculos de resplandor de fondo, como en la pantalla de bienvenida de la app */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.glow-top {
  width: 420px;
  height: 420px;
  background: var(--primary);
  top: -160px;
  right: -140px;
}
.glow-bottom {
  width: 380px;
  height: 380px;
  background: var(--wine);
  bottom: -140px;
  left: -120px;
}

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

.wrap {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  max-width: 880px;
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.nav-brand span {
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--cream);
}
.nav-brand em {
  color: var(--gold);
  font-style: italic;
}
.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
}
.nav-links a {
  color: var(--muted);
}
.nav-links a:hover {
  color: var(--gold);
}
.lang-toggle {
  background: transparent;
  border: 1px solid var(--wine);
  color: var(--cream);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: inherit;
}
.lang-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 70px 24px 40px;
}
.hero-badge {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  color: var(--gold);
  border: 1px solid var(--wine);
  border-radius: 20px;
  padding: 6px 14px;
  margin-bottom: 22px;
}
.hero h1 {
  font-weight: 300;
  font-size: 42px;
  line-height: 1.25;
  margin: 0 0 18px;
  color: var(--cream);
}
.hero h1 em {
  color: var(--gold);
  font-style: italic;
  font-weight: 300;
}
.hero p.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 30px;
}
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 30px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: var(--cream);
}
.btn-primary:hover {
  background: #b5324a;
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--wine);
  color: var(--cream);
}
.btn-ghost:hover {
  border-color: var(--gold);
  text-decoration: none;
}

/* ---------- Sections ---------- */
section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}
.section-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}
h2 {
  font-weight: 300;
  font-size: 30px;
  color: var(--cream);
  margin: 0 0 30px;
}
h2 em {
  color: var(--gold);
  font-style: italic;
  font-weight: 300;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 680px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 32px;
  }
}

.card {
  background: var(--bg-alt);
  border: 1px solid var(--wine);
  border-radius: 16px;
  padding: 26px;
}
.card h3 {
  font-weight: 600;
  font-size: 16px;
  color: var(--cream);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.card .icon {
  font-size: 20px;
}

.step-num {
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 6px;
}

hr.divider {
  border: none;
  border-top: 1px solid var(--wine);
  opacity: 0.5;
  margin: 0;
}

/* ---------- Footer ---------- */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--wine);
  padding: 34px 24px 50px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
footer a {
  color: var(--muted);
  margin: 0 8px;
}
footer a:hover {
  color: var(--gold);
}
footer .footer-brand {
  color: var(--gold);
  font-style: italic;
  margin-bottom: 10px;
  display: block;
}

/* ---------- Hub: selector de productos ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 10px;
}
@media (max-width: 780px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
.product-card {
  display: block;
  background: var(--bg-alt);
  border: 1px solid var(--wine);
  border-radius: 20px;
  padding: 34px 26px;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  text-decoration: none;
}
.product-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--wine);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 18px;
}
.product-icon-img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  margin: 0 auto 18px;
  display: block;
}
.product-card h3 {
  font-weight: 300;
  font-size: 22px;
  color: var(--cream);
  margin: 0 0 8px;
}
.product-card h3 em {
  color: var(--gold);
  font-style: italic;
}
.product-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 16px;
}
.product-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
}
.product-card.disabled {
  opacity: 0.55;
  cursor: default;
}
.product-card.disabled:hover {
  border-color: var(--wine);
  transform: none;
}
.product-card.disabled .product-tag {
  color: var(--muted);
}

/* ---------- Descarga (QR) ---------- */
.download-box {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--wine);
  border-radius: 16px;
  padding: 16px 22px;
  margin-top: 26px;
  text-align: left;
}
.download-box img {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  display: block;
}
.download-box-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.download-box-label {
  color: var(--gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}
.download-box-sub {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Grupos por interés (pills) ---------- */
.groups-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.group-pill {
  background: var(--bg-alt);
  border: 1px solid var(--wine);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--cream);
}

/* ---------- Manifiesto ---------- */
.manifesto-quote {
  font-weight: 300;
  font-size: 22px;
  line-height: 1.5;
  color: var(--cream);
  text-align: center;
  max-width: 620px;
  margin: 0 auto 18px;
}
.manifesto-quote strong {
  color: var(--gold);
  font-weight: 600;
}
.manifesto-sub {
  color: var(--muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  font-size: 14px;
}

/* ---------- Waitlist ---------- */
.waitlist {
  background: var(--bg-alt);
  border: 1px solid var(--wine);
  border-radius: 20px;
  padding: 44px 30px;
  text-align: center;
}
.waitlist-form {
  max-width: 420px;
  margin: 22px auto 0;
}
.waitlist-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.waitlist-input {
  flex: 1;
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--wine);
  border-radius: 30px;
  padding: 13px 20px;
  color: var(--cream);
  font-size: 14px;
  font-family: inherit;
}
.waitlist-input:focus {
  outline: none;
  border-color: var(--gold);
}
.waitlist-btn {
  background: var(--primary);
  color: var(--cream);
  border: none;
  border-radius: 30px;
  padding: 13px 24px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: inherit;
}
.waitlist-btn:hover {
  background: #b5324a;
}
.waitlist-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 12px;
}
.waitlist-success {
  color: var(--gold);
  font-size: 14px;
  margin-top: 16px;
  display: none;
}

/* ---------- Legal pages ---------- */
.legal h1 {
  font-weight: 300;
  font-size: 34px;
  margin-bottom: 6px;
}
.legal .updated {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 42px;
  margin-bottom: 14px;
}
.legal p,
.legal li {
  color: var(--cream);
  opacity: 0.9;
  font-size: 15px;
}
.legal ul {
  padding-left: 20px;
}
.legal .callout {
  background: var(--bg-alt);
  border: 1px solid var(--wine);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 30px 0;
  font-size: 14px;
  color: var(--muted);
}
