/* ============================================================
   AZUL VOLEY — landing
   Mobile-first · Dark navy + electric blue
   ============================================================ */

:root {
  --bg: #070b14;
  --bg-2: #0a101d;
  --surface: #0e1626;
  --surface-2: #121d31;
  --ink: #eef3fb;
  --muted: #94a0b8;
  --blue: #2f6bff;
  --blue-2: #5b8bff;
  --blue-deep: #1b49c9;
  --blue-ink: #071027;
  --line: rgba(148, 160, 184, .15);
  --wa: #25d366;
  --rose: #ff7ac3;
  --radius: 18px;
  --font: 'Archivo', system-ui, -apple-system, sans-serif;
  --container: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--blue); color: var(--blue-ink); }

img, svg { display: block; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--blue-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -48px; left: 12px;
  z-index: 200;
  background: var(--ink);
  color: var(--blue-ink);
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 15px 26px;
  cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }

.btn-primary { background: var(--blue); color: var(--blue-ink); }
.btn-primary:hover {
  background: var(--blue-2);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -12px rgba(47, 107, 255, .7);
}

.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--blue); color: #fff; }

.btn-wa { background: var(--wa); color: #04250e; }
.btn-wa:hover {
  background: #3adf7b;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -12px rgba(37, 211, 102, .7);
}

.btn-sm { padding: 9px 16px; font-size: 13px; gap: 7px; }
.btn-sm svg { width: 15px; height: 15px; }

/* ================= HEADER ================= */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 14px 0;
  transition: background .3s, box-shadow .3s, padding .3s, backdrop-filter .3s;
}
.header.is-scrolled {
  background: rgba(7, 11, 20, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 10px;
}

.header-inner {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--blue);
  color: var(--blue-ink);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .02em;
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--ink);
}
.brand-text span:last-child { color: var(--blue-2); }

.nav { display: none; gap: 22px; align-items: center; }
.nav-link {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--muted);
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width .25s;
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { width: 100%; }

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 70px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 45% at 85% 8%, rgba(47, 107, 255, .32), transparent 70%),
    radial-gradient(55% 45% at 5% 90%, rgba(47, 107, 255, .14), transparent 70%),
    linear-gradient(180deg, rgba(7, 11, 20, 0) 55%, var(--bg) 100%);
}

.hero-deco {
  position: absolute;
  top: -6px;
  right: -38px;
  width: 190px; height: 190px;
  z-index: 0;
  pointer-events: none;
}
.hero-deco .ring { display: none; }

.ball {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 27%, rgba(255, 255, 255, .6), transparent 40%),
    linear-gradient(115deg, transparent 49.6%, rgba(7, 11, 20, .42) 50%, transparent 50.4%),
    linear-gradient(65deg, transparent 49.6%, rgba(7, 11, 20, .42) 50%, transparent 50.4%),
    conic-gradient(from 0deg,
      #e8edf7 0deg 55deg, #bcc8e0 55deg 70deg, #e8edf7 70deg 125deg, #bcc8e0 125deg 140deg,
      #e8edf7 140deg 195deg, #bcc8e0 195deg 210deg, #e8edf7 210deg 265deg, #bcc8e0 265deg 280deg,
      #e8edf7 280deg 335deg, #bcc8e0 335deg 360deg);
  box-shadow: inset -16px -20px 36px rgba(7, 11, 20, .45), 0 30px 60px -20px rgba(47, 107, 255, .55);
}

.hero-copy { position: relative; z-index: 1; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(18, 29, 49, .6);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2em;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.chip::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-2);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, .22);
}

.hero-title {
  margin: 0;
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -.03em;
  line-height: .93;
  font-size: clamp(4rem, 19vw, 8.5rem);
  display: flex;
  flex-direction: column;
}
.hero-title .t-outline {
  color: transparent;
  -webkit-text-stroke: 2px rgba(238, 243, 251, .92);
}
.hero-title .t-fill { color: var(--blue); }

.hero-sub {
  margin: 26px 0 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.hero-sub strong { color: var(--ink); font-weight: 800; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.stats {
  display: flex;
  flex-wrap: wrap;
  margin: 40px 0 0;
  padding: 0;
}
.stat {
  margin: 0;
  padding-right: 26px;
  margin-right: 26px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.stat dt {
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(1.7rem, 6vw, 2.3rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -.02em;
}
.stat dd {
  margin: 6px 0 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  color: var(--muted);
}

/* ================= SECCIONES ================= */
.sec { padding-block: 86px; }
.sec-alt { background: linear-gradient(180deg, transparent, rgba(47, 107, 255, .05) 40%, rgba(47, 107, 255, .05) 60%, transparent); }

.sec-head { max-width: 720px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 11px;
  margin-bottom: 16px;
}
.kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.sec-title {
  margin: 0;
  font-size: clamp(2.1rem, 8vw, 3.5rem);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: .98;
  color: var(--ink);
}
.sec-title .hl { color: var(--blue-2); }

.sec-sub {
  margin: 16px 0 0;
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.65;
}

/* ================= CATEGORÍAS ================= */
.grid-cat {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}

.cat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.cat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(130% 90% at 100% 0%, rgba(47, 107, 255, .18), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.cat:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 107, 255, .55);
  box-shadow: 0 26px 55px -32px rgba(47, 107, 255, .55);
}
.cat:hover::before { opacity: 1; }

.cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.gen-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid;
}
.gen-chip::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--chip-color, var(--blue));
}
.gen-mas { --chip-color: var(--blue); color: #9cc0ff; border-color: rgba(47, 107, 255, .45); background: rgba(47, 107, 255, .08); }
.gen-fem { --chip-color: var(--rose); color: #ffbcdd; border-color: rgba(255, 122, 195, .4); background: rgba(255, 122, 195, .08); }

.cat-num { color: var(--muted); font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; }

.cat-age {
  font-size: clamp(2.6rem, 11vw, 3.1rem);
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -.02em;
  line-height: .95;
  color: #fff;
}
.cat-age small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  font-stretch: 100%;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .14em;
}

.cat-desc { color: var(--muted); font-size: 15px; line-height: 1.6; flex: 1; margin: 0; }

.cat-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  transition: background .2s, border-color .2s, color .2s;
  position: relative;
  z-index: 1;
}
.cat-link svg { width: 16px; height: 16px; color: var(--wa); }
.cat-link:hover { background: var(--wa); border-color: var(--wa); color: #04250e; }
.cat-link:hover svg { color: #04250e; }

/* ================= HORARIOS ================= */
.tabs {
  display: flex;
  gap: 6px;
  margin-top: 36px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
}
.tab {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  padding: 12px 20px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--blue); color: var(--blue-ink); }

.s-list { display: grid; gap: 12px; margin-top: 22px; }

.s-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  transition: border-color .25s, background .25s;
}
.s-row:hover { border-color: rgba(47, 107, 255, .5); background: var(--surface-2); }

.s-edad {
  font-weight: 900;
  font-stretch: 125%;
  font-size: 1.15rem;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: #fff;
}

.s-dias {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  min-width: 0;
}
.s-dias svg { width: 14px; height: 14px; color: var(--blue-2); flex: none; }

.s-hora {
  font-weight: 800;
  color: var(--blue-2);
  font-size: 14px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.s-cta {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  color: var(--ink);
  transition: border-color .2s, color .2s;
  width: 100%;
}
.s-cta svg { width: 15px; height: 15px; color: var(--wa); }
.s-cta:hover { border-color: var(--wa); color: var(--wa); }

.s-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  margin: 18px 0 0;
  line-height: 1.6;
}
.s-note svg { width: 16px; height: 16px; color: var(--blue-2); flex: none; margin-top: 2px; }

/* ================= SEDE ================= */
.sede-card {
  position: relative;
  display: grid;
  gap: 34px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px 26px;
  overflow: hidden;
}
.sede-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(110% 120% at 15% 0%, rgba(47, 107, 255, .14), transparent 60%);
  pointer-events: none;
}

.sede-info { position: relative; z-index: 1; }
.sede-info .sec-title { font-size: clamp(2rem, 7.5vw, 3rem); }

.sede-text { color: var(--muted); line-height: 1.65; margin: 18px 0 0; max-width: 52ch; }

.feats { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 12px; }
.feats li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.feat-ic {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(47, 107, 255, .12);
  color: var(--blue-2);
  flex: none;
}
.feat-ic svg { width: 17px; height: 17px; }

.sede-aside {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
  z-index: 1;
}
.ball-lg { width: 150px; height: 150px; position: relative; opacity: .85; }
.sede-aside .pin { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 78px; height: 78px; color: var(--rose); }
.pin-tag {
  position: absolute;
  bottom: 10px; left: 0;
  background: rgba(7, 11, 20, .75);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink);
}

/* ================= SUMATE / PANEL ================= */
.panel {
  position: relative;
  text-align: center;
  background: radial-gradient(120% 170% at 18% 0%, var(--blue-2), var(--blue) 55%, var(--blue-deep));
  border-radius: 28px;
  padding: 52px 24px;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .28), transparent 55%);
  pointer-events: none;
}
.panel::after {
  content: "";
  position: absolute;
  inset: -60% auto auto -20%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 60%, rgba(255, 255, 255, .12), transparent 60%);
  pointer-events: none;
}

.panel-kicker {
  position: relative;
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: rgba(7, 16, 39, .7);
  margin-bottom: 16px;
}
.panel-title {
  position: relative;
  margin: 0;
  font-size: clamp(2.2rem, 9vw, 3.6rem);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: .98;
  color: var(--blue-ink);
}
.panel-acc { color: var(--ink); }
.panel-text {
  position: relative;
  max-width: 46ch;
  margin: 18px auto 0;
  color: rgba(7, 16, 39, .78);
  font-weight: 500;
  line-height: 1.65;
}
.panel-ctas {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.panel-ghost { border-color: rgba(7, 16, 39, .35); color: var(--blue-ink); }
.panel-ghost:hover { border-color: var(--blue-ink); color: var(--blue-ink); background: rgba(255, 255, 255, .08); }
.panel-note {
  position: relative;
  margin: 22px 0 0;
  font-size: 12.5px;
  color: rgba(7, 16, 39, .6);
  font-weight: 600;
}

/* ================= FOOTER ================= */
.footer { border-top: 1px solid var(--line); padding-block: 34px 90px; }
.footer-inner { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.brand-sm .brand-mark { width: 34px; height: 34px; font-size: 13px; border-radius: 9px; }
.footer-note { margin: 0; color: var(--muted); font-size: 13px; }

/* ================= FLOATING WHATSAPP ================= */
.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 14px 32px -10px rgba(37, 211, 102, .65);
  transition: transform .2s;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 28px; height: 28px; }
.wa-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: fab-pulse 2.6s ease-out infinite;
}
@keyframes fab-pulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* ================= REVEAL / MOTION ================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ================= RESPONSIVE ================= */
@media (min-width: 640px) {
  .grid-cat { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px) {
  .s-row {
    grid-template-columns: 150px 1fr auto auto;
    gap: 18px;
  }
  .s-dias { grid-column: auto; }
  .s-cta { grid-column: auto; width: auto; }
  .sede-card { grid-template-columns: 1.2fr .8fr; align-items: center; padding: 46px 42px; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .hero { padding-top: 40px; }
  .hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; min-height: 74svh; }
  .hero-deco { display: none; }
  .hero-copy::after {
    content: "";
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 340px; height: 340px;
    z-index: -1;
    background: conic-gradient(from 0deg, rgba(47, 107, 255, 0) 0deg, rgba(47, 107, 255, .14) 60deg, transparent 90deg, transparent 220deg, rgba(47, 107, 255, .1) 280deg, transparent 320deg);
    border-radius: 50%;
    -webkit-mask: radial-gradient(circle, black 34%, transparent 35%);
    mask: radial-gradient(circle, black 34%, transparent 35%);
  }
}

@media (min-width: 1024px) {
  .grid-cat { grid-template-columns: repeat(3, 1fr); }
  .sec { padding-block: 104px; }
  .wa-fab { right: 28px; bottom: 28px; }
  .footer { padding-bottom: 44px; }
}

/* ================= ACCESIBILIDAD ================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}