:root {
  --bg: #090911;
  --surface: #0e0e17;
  --border: #2a2836;
  --text: #f8f4ed;
  --muted: #bdb6c9;
  --purple: #a77bf3;
  --purple-deep: #5f2290;
  --gold: #f6d16f;
  --gold-2: #e6bf62;
  --gold-brand: #c9a35c;
  --mint: #62dfba;
  --serif: 'Crimson Pro', Georgia, serif;
  --display: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Marca */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark {
  font: 700 22px/1 var(--display);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex; flex-direction: column;
}
.wordmark small {
  font: 600 10px/1 var(--sans);
  letter-spacing: .5em;
  color: var(--gold-brand);
  margin-top: 4px;
  text-align: center;
}
.wordmark.small { font-size: 18px; }

/* Navegación */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px max(20px, calc((100vw - 1140px) / 2 + 20px));
  background: rgba(9, 9, 17, .78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42, 40, 54, .6);
}
.nav nav { display: flex; align-items: center; gap: 26px; }
.nav nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav nav a:hover { color: var(--text); }
.nav nav a.btn { color: #21160a; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3d98c, var(--gold-2));
  color: #21160a;
  font-weight: 600; text-decoration: none;
  box-shadow: 0 8px 30px rgba(230, 191, 98, .22);
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border); box-shadow: none;
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(95, 34, 144, .55), transparent 60%),
    linear-gradient(180deg, rgba(9, 9, 17, .55), var(--bg) 92%),
    url(img/hero.jpg) center / cover;
  filter: saturate(.8);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(14, 14, 23, .7);
  font-size: 14px; color: var(--muted);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.pill.live { color: var(--mint); border-color: rgba(98, 223, 186, .4); }
.pill.live .dot { background: var(--mint); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(98, 223, 186, .6); } 50% { box-shadow: 0 0 0 7px rgba(98, 223, 186, 0); } }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 66px); margin: 22px 0 18px; }
h1 em { color: var(--gold); font-style: italic; }
h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 18px; }
h3 { font-size: 24px; margin-bottom: 8px; }
.lead { font-size: 19px; color: var(--muted); max-width: 520px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 38px; }
.stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 34px; flex-wrap: wrap; }
.stats b { display: block; font: 600 26px var(--serif); color: var(--gold); }
.stats span { font-size: 13px; color: var(--muted); }

/* Teléfonos */
.phone {
  margin: 0;
  border-radius: 44px;
  padding: 10px;
  background: #15141e;
  border: 1px solid #34323f;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .03) inset;
  max-width: 300px;
}
.phone img { border-radius: 34px; }
.hero-phones { position: relative; height: 620px; }
.hero-phones .phone { position: absolute; width: 290px; }
.phone-back { right: 0; top: 40px; transform: rotate(6deg); opacity: .85; }
.phone-front { left: 6%; top: 0; transform: rotate(-3deg); }

/* Secciones */
.section { padding: 100px 20px; }
.kicker {
  margin: 0 0 12px;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-brand); font-weight: 600;
}
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px;
}
.features article {
  padding: 28px; border-radius: 22px;
  background: linear-gradient(180deg, #12111c, var(--surface));
  border: 1px solid var(--border);
}
.features p { color: var(--muted); margin: 0; font-size: 15.5px; }
.ic {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 14px; margin-bottom: 18px;
  background: rgba(167, 123, 243, .14); font-size: 22px;
}

.band {
  padding: 100px 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(95, 34, 144, .35), transparent 55%), #0b0b13;
  border-block: 1px solid var(--border);
}
.split {
  display: grid; grid-template-columns: 340px 1fr; gap: 80px; align-items: center;
}
.split + .split { margin-top: 90px; }
.split.reverse { grid-template-columns: 1fr 340px; }
.split.reverse .phone { order: 2; }
.split p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; }
.checks li { padding: 8px 0 8px 32px; position: relative; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(98, 223, 186, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362dfba' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Hermandades */
.thrones {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 34px;
}
.throne {
  display: flex; align-items: center; gap: 16px;
  padding: 14px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--c, var(--purple));
}
.throne img, .throne .avatar {
  width: 68px; height: 68px; border-radius: 14px; object-fit: cover; flex: none;
}
.throne .avatar {
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--c, var(--purple)) 25%, transparent);
  font: 600 30px var(--serif); color: var(--c, var(--purple));
}
.throne h3 { font-size: 22px; margin: 0; }
.throne p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.tag {
  display: inline-block; margin-top: 6px;
  padding: 2px 9px; border-radius: 999px; font-size: 12px;
}
.tag.live { color: var(--mint); background: rgba(98, 223, 186, .12); }

/* Descarga */
.download { text-align: center; }
.download img { margin: 0 auto 20px; }
.download p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; }
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.store {
  padding: 12px 20px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: 14px; color: var(--muted);
}

.footer { border-top: 1px solid var(--border); padding: 40px 0 50px; text-align: center; }
.footer p { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.footer .wordmark { justify-content: center; align-items: center; }

/* Legal */
.legal { max-width: 760px; padding-top: 40px; padding-bottom: 80px; }
.legal h1 { font-size: 44px; margin-top: 40px; }
.legal h2 { font-size: 26px; margin-top: 36px; }
.legal p, .legal li { color: var(--muted); }
.muted { font-size: 14px; }

/* Móvil */
@media (max-width: 900px) {
  .nav nav a:not(.btn) { display: none; }
  .hero { padding: 40px 0 60px; }
  .hero-grid, .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .phone { order: 0; }
  .hero-phones { height: 520px; }
  .hero-phones .phone { width: 240px; }
  .phone-front { left: 0; }
  .phone { margin: 0 auto; }
  .features { grid-template-columns: 1fr; }
  .section, .band { padding: 70px 0; }
  .section { padding-left: 16px; padding-right: 16px; }
  .wrap { padding: 0 16px; }
}
