/* NK Sports — paleta y tipografía del brief.
   Gotham (fuente original, paga) → Montserrat (alternativa gratuita en Google Fonts). */
:root {
  --purple: #3e189b;
  --purple-2: #34108d;
  --deep: #22066e;
  --ink: #160449;
  --violet: #4b22b8;
  --pill: #8a5cff;
  --lime: #c6f135;
  --lime-2: #a8d81c;
  --white: #fff;
  --muted: #d9d0ff;
  --radius: 18px;
  --font: "Montserrat", "Gotham", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--white);
  background: var(--purple);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font: 700 .95rem/1 var(--font); text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #d6ff4a; }
.btn--ghost { border-color: var(--white); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--sm { padding: .65em 1.2em; font-size: .8rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(34, 6, 110, .85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__brand img { height: 40px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__menu a:not(.btn) {
  text-decoration: none; font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em;
}
.nav__menu a:not(.btn):hover { color: var(--lime); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--white); }

/* Hero */
.hero {
  position: relative; min-height: calc(100svh - 68px);
  display: grid; place-items: center; text-align: center; overflow: hidden;
  padding: 72px 0;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(62,24,155,.55) 0%, rgba(34,6,110,.8) 70%, var(--deep) 100%),
    url("/assets/img/hero.webp") center / cover no-repeat;
  filter: saturate(1.1);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(75, 34, 184, .35); mix-blend-mode: color;
}
.hero__content { position: relative; }
.hero__logo { width: min(640px, 88%); height: auto; margin: 0 auto 28px; }
.hero__tag {
  max-width: 820px; margin: 0 auto; text-transform: uppercase;
  font-size: clamp(.95rem, 2.2vw, 1.3rem); font-weight: 300; letter-spacing: .02em;
}
.hero__tag strong { font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }

.stats {
  list-style: none; padding: 0; margin: 56px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 860px;
}
.stats li {
  padding: 18px 10px; border-radius: var(--radius);
  background: rgba(22, 4, 73, .55); border: 1px solid rgba(198, 241, 53, .2);
}
.stats b { display: block; font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; color: var(--lime); line-height: 1; }
.stats span { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

/* Secciones */
.section { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.section--deep { background: linear-gradient(90deg, var(--purple) 0%, var(--deep) 100%); }
.pattern { background: linear-gradient(90deg, var(--purple) 0%, var(--purple-2) 60%, var(--deep) 100%); overflow: hidden; }
/* Patrón de flechas del brief, recreado en SVG para no cargar imágenes extra */
.pattern::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 34%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='120' viewBox='0 0 48 120'%3E%3Cpath d='M24 0 48 60H34L24 30 14 60H0Z' fill='%234b22b8'/%3E%3Cpath d='M0 60 24 120 48 60H34L24 90 14 60Z' fill='%23290a80' opacity='.6'/%3E%3C/svg%3E") 0 0 / 48px 120px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
          mask-image: linear-gradient(90deg, transparent, #000 45%);
  opacity: .9; pointer-events: none;
}
.pattern > .wrap { position: relative; }

.title {
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em;
}
.title span { font-weight: 300; }
.lead { max-width: 720px; margin: 18px 0 0; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--muted); }

/* Cards ADN */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.card {
  background: var(--deep); border-radius: var(--radius); padding: 36px 30px;
  box-shadow: 0 20px 40px rgba(10, 0, 40, .35); transition: transform .2s;
}
.card:hover { transform: translateY(-4px); }
.card__icon { width: 44px; height: 44px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; color: var(--lime); }
.card__icon--fill { fill: var(--lime); stroke: none; }
.card h3 { margin: 20px 0 10px; color: var(--lime); font-size: 1.4rem; font-weight: 700; }
.card p { margin: 0; }

/* Servicios */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.services { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 26px; }
.services li { position: relative; padding-left: 64px; }
.services li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23160449' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat;
}
.services h3 { color: var(--lime); font-size: 1.25rem; font-weight: 700; }
.services p { margin: 6px 0 0; color: var(--muted); }

.collage { position: relative; aspect-ratio: 1 / 1; }
.collage img { position: absolute; border-radius: 28px; object-fit: cover; box-shadow: 0 24px 50px rgba(10,0,40,.45); }
.collage img:first-child { top: 0; left: 0; width: 70%; height: 66%; }
.collage img:last-child { right: 0; bottom: 0; width: 56%; height: 56%; border: 6px solid var(--deep); }

/* Activos */
.venues { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.venue {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--deep); box-shadow: 0 20px 40px rgba(10, 0, 40, .35);
}
.venue__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.venue__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.venue:hover .venue__media img { transform: scale(1.05); }
@media (min-width: 961px) {
  .venue--soon { grid-column: 1 / -1; flex-direction: row; }
  .venue--soon .venue__media { flex: 0 0 50%; aspect-ratio: auto; min-height: 320px; }
}
.venue__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.venue__head { display: flex; align-items: center; gap: 16px; }
.venue__logo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #fff; flex: none; }
.venue__logo--wide { object-fit: contain; padding: 4px; }
.venue__loc { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.venue h3 { font-size: 1.6rem; font-weight: 800; text-transform: uppercase; }
.venue__hl { margin: 0; color: var(--lime); font-weight: 700; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .03em;
  padding: .45em .9em; border-radius: 999px; background: rgba(255,255,255,.08);
}
.ig {
  margin-top: auto; align-self: flex-start; text-decoration: none; text-transform: uppercase;
  font-size: .8rem; letter-spacing: .04em; padding: .7em 1.3em; border-radius: 999px; background: var(--pill);
  transition: background .15s;
}
.ig::before { content: "IG: "; }
.ig:hover { background: var(--lime); color: var(--ink); }
.badge {
  position: absolute; right: 0; bottom: 16px; padding: .6em 1.4em; border-radius: 999px 0 0 999px;
  background: linear-gradient(90deg, var(--lime), var(--lime-2)); color: var(--white);
  font-weight: 800; text-transform: uppercase; letter-spacing: .04em; text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

/* Contacto */
.lead--left { margin-bottom: 32px; }
.contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 22px; border-radius: 999px; background: rgba(22, 4, 73, .7);
}
.contact span { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact a { text-decoration: none; font-weight: 600; }
.contact a:hover { color: var(--lime); }

.form {
  display: grid; gap: 14px; padding: 32px; border-radius: var(--radius);
  background: var(--ink); box-shadow: 0 20px 40px rgba(10, 0, 40, .45);
}
.form label { display: grid; gap: 6px; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06); color: var(--white); font: 400 1rem var(--font);
}
.form select option { color: #000; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--lime); border-color: transparent; }
.form .btn { margin-top: 6px; }

/* Footer */
.footer { background: var(--ink); padding: 32px 0; font-size: .85rem; color: var(--muted); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer img { width: 160px; height: auto; }
.footer p { margin: 0; }

/* WhatsApp flotante */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--lime); box-shadow: 0 10px 24px rgba(0,0,0,.35);
  transition: transform .15s;
}
.wa:hover { transform: scale(1.08); }
.wa svg { width: 30px; height: 30px; fill: var(--ink); }

/* Gracias */
.thanks { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 32px 16px; }
.thanks img { width: min(420px, 80%); margin: 0 auto 32px; }
.thanks p { color: var(--muted); margin: 16px 0 32px; }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .collage { max-width: 520px; width: 100%; margin-inline: auto; }
  .venues { grid-template-columns: 1fr; }
  .pattern::before { width: 60%; opacity: .35; }
}
@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--deep); padding: 8px 16px 20px; display: none;
  }
  .nav__menu.open { display: flex; }
  .nav__menu a:not(.btn) { padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__menu .btn { margin-top: 14px; width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact li { border-radius: 16px; flex-direction: column; align-items: flex-start; gap: 2px; }
  .form { padding: 24px 18px; }
  .footer__inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
