/* Cam-Picúa — paleta "Azul bandera"
   fondo: #EDF1F9 | primario: #0B3D91 | acento: #D21034 | texto: #16233D */

:root {
  --bg: #EDF1F9;
  --primary: #0B3D91;
  --primary-dark: #08306e;
  --accent: #D21034;
  --card: #ffffff;
  --text: #16233D;
  --muted: #5a6b8c;
  --border: #d4ddee;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

h1, h2, h3 { color: var(--primary); line-height: 1.25; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); text-align: center; margin-bottom: .4rem; }

.section { padding: 4.5rem 0; }
.section-alt { background: #e2e9f7; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 2.5rem; font-size: 1.05rem; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 4px 18px rgba(11, 61, 145, .07);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 800; font-size: 1.25rem; color: var(--primary); }
.brand-logo { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.nav-links { display: flex; gap: 1.4rem; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--primary); cursor: pointer; }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1550b8 55%, #1d63d6 100%);
  color: #fff;
  padding: 5rem 0 4rem;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2.5rem;
  align-items: center;
}
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -1px; }
.tagline { font-size: 1.2rem; margin: 1rem 0 1.8rem; opacity: .95; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-points { list-style: none; display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .95rem; opacity: .9; }
.hero-logo img {
  width: 100%;
  max-width: 340px;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
  display: block;
  margin: 0 auto;
}

/* ---------- BOTONES ---------- */
.btn {
  display: inline-block;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(210, 16, 52, .35); }
.btn-primary:hover { background: #b30d2c; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { border-color: #fff; }
.btn-big { padding: 1rem 2rem; font-size: 1.05rem; }

.section-alt .btn-outline, .card .btn-outline { color: var(--primary); border-color: var(--primary); }
.section-alt .btn-outline:hover, .card .btn-outline:hover { background: var(--primary); color: #fff; }

/* ---------- PÍLDORAS ---------- */
.pill {
  display: inline-block;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,.35);
}
.pill-red { background: var(--accent); color: #fff; border: none; }

/* ---------- PASOS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.step { position: relative; }
.step-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- CARACTERÍSTICAS ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-icon { font-size: 2rem; margin-bottom: .6rem; }
.feature h3 { margin-bottom: .4rem; font-size: 1.1rem; }
.feature p { color: var(--muted); font-size: .94rem; }

/* ---------- CLUBES ---------- */
.club-soon { max-width: 720px; margin: 0 auto; text-align: left; }
.club-soon .pill { margin-bottom: 1rem; }
.club-list { list-style: none; margin: 1.2rem 0; display: grid; gap: .55rem; font-size: 1.02rem; }
.club-note { color: var(--muted); margin-bottom: 1rem; }
.notify-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.notify-form input {
  flex: 1 1 240px;
  padding: .8rem 1.1rem;
  border: 2px solid var(--border);
  border-radius: 999px;
  font-size: 1rem;
  color: var(--text);
}
.notify-form input:focus { outline: none; border-color: var(--primary); }
.notify-msg { margin-top: 1rem; font-weight: 700; color: var(--primary); font-size: 1.05rem; }

/* ---------- DESCARGA ---------- */
.download-inner { text-align: center; max-width: 680px; }
.download-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin: 1.5rem 0; }
.download-note { color: var(--muted); font-size: .92rem; }

/* ---------- CONTACTO ---------- */
.contact-inner { text-align: center; }
.contact-inner .btn { margin-top: 1.2rem; }

/* ---------- FOOTER ---------- */
.footer { background: var(--primary); color: #fff; padding: 2rem 0; text-align: center; }
.footer-inner p { margin: .25rem 0; }
.footer-note { opacity: .75; font-size: .9rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 220px; }
  .steps, .features { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem 4%;
    gap: .9rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
}
