/* Club de Boxeo El Olímpico — landing */
:root {
  --red: #c8202e;
  --red-dark: #9e1621;
  --ink: #0d0d0f;
  --ink-2: #16161a;
  --ink-3: #222228;
  --paper: #f6f3ef;
  --text: #ecebea;
  --muted: #a7a5a3;
  --wa: #1fa855;
  --pend: #ffd34d;
  --radius: 14px;
  --wrap: 1160px;
  --display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: .01em; text-transform: uppercase; margin: 0 0 .5em; }
h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 span, h1 span { color: var(--red); }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font: 800 .78rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }

/* Marcadores de pendientes (visibles a propósito) */
.pend { color: var(--pend) !important; font-weight: 600; }
.pend-photo { margin: 0; display: grid; place-items: center; text-align: center; padding: 16px; border: 2px dashed rgba(255, 211, 77, .55); border-radius: var(--radius); background: repeating-linear-gradient(45deg, #1b1b20 0 12px, #18181c 12px 24px); color: var(--pend); font-weight: 600; font-size: .9rem; }
.pend-box { border: 2px dashed rgba(255, 211, 77, .45) !important; color: var(--pend); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; border: 2px solid var(--red); background: var(--red); color: #fff; font: 800 .95rem/1 var(--body); text-decoration: none; text-transform: uppercase; letter-spacing: .04em; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-2px); background: var(--red-dark); border-color: var(--red-dark); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn--wa { background: var(--wa); border-color: var(--wa); }
.btn--wa:hover { background: #178a45; border-color: #178a45; }
.btn--wa svg { width: 22px; height: 22px; fill: currentColor; }
.btn--sm { padding: 10px 16px; font-size: .8rem; }
.btn--lg { padding: 18px 32px; font-size: 1.05rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Barra superior */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(13,13,15,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .92rem; color: #d6d4d2; }
.nav a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 0; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,13,15,.96) 0%, rgba(13,13,15,.75) 55%, rgba(13,13,15,.55) 100%), url("../img/hero-saco.jpg") center 35% / cover no-repeat; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 80% 40%, rgba(200,32,46,.35), transparent 70%); }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; min-height: min(78vh, 680px); }
.hero h1 { font-size: clamp(3.4rem, 9vw, 7.2rem); margin-bottom: 20px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d9d7d5; max-width: 34ch; }
.lead strong { color: #fff; }
.hero__logo { width: 100%; max-width: 420px; justify-self: center; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.stats { list-style: none; padding: 0; margin-top: 48px; margin-bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--red); border-radius: var(--radius) var(--radius) 0 0; }
.stats li { padding: 22px 20px; border-left: 1px solid rgba(255,255,255,.2); }
.stats li:first-child { border-left: 0; }
.stats b { display: block; font: 400 clamp(1.5rem, 3vw, 2.2rem)/1 var(--display); text-transform: uppercase; margin-bottom: 6px; }
.stats span { font-size: .85rem; line-height: 1.35; color: #ffe3e5; }

/* Secciones */
.section { padding: clamp(64px, 9vw, 110px) 0; background: var(--ink); }
.section--dark { background: var(--ink-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.photo { border-radius: var(--radius); overflow: hidden; }
.photo--tall { aspect-ratio: 4 / 5; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z'/%3E%3C/svg%3E") center / 13px no-repeat; }
.timeline { list-style: none; padding: 0; margin: 28px 0 0; border-left: 2px solid var(--red); }
.timeline li { position: relative; padding: 0 0 14px 22px; color: #d6d4d2; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--ink-2); }
.timeline b { display: inline-block; min-width: 92px; color: #fff; font-family: var(--display); font-weight: 400; letter-spacing: .03em; }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 24px 24px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-3); }
.plan h3 { font-size: 1.7rem; margin-bottom: 12px; }
.plan .price { font: 400 2.3rem/1 var(--display); margin-bottom: 10px; }
.plan .price.pend { font: 600 1rem/1.3 var(--body); }
.plan .btn { margin-top: auto; }
.plan--hot { border: 2px solid var(--red); background: linear-gradient(180deg, rgba(200,32,46,.18), var(--ink-2) 60%); }
.tag { position: absolute; top: -13px; left: 24px; margin: 0; background: var(--red); padding: 5px 12px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.fineprint { margin: 26px auto 0; max-width: 820px; text-align: center; font-size: .85rem; color: var(--muted); }

/* Horarios */
.hours { width: 100%; border-collapse: collapse; background: var(--ink); border-radius: var(--radius); overflow: hidden; }
.hours th, .hours td { padding: 20px 22px; text-align: left; border-bottom: 1px solid var(--ink-3); vertical-align: top; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font: 400 1.25rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .03em; width: 44%; }
.hours td { font-weight: 600; color: #d6d4d2; }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 14px; margin-top: 40px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.gallery__real { grid-row: span 2; }
.gallery__real img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }

/* Testimonios */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.quote { margin: 0; padding: 28px; border-radius: var(--radius); background: var(--ink); border: 1px solid var(--ink-3); }
.quote footer { margin-top: 10px; font-weight: 600; font-size: .9rem; }

/* App */
.app { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 22px; background: var(--paper); color: #1a1a1a; }
.app h2 { color: #111; }
.app__logo { max-width: 260px; justify-self: center; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; border-radius: 12px; background: #111; color: #fff; text-decoration: none; min-width: 190px; }
.store svg { width: 28px; height: 28px; fill: #fff; }
.store span { display: flex; flex-direction: column; font-weight: 800; font-size: 1.15rem; line-height: 1.1; }
.store small { font-weight: 400; font-size: .7rem; opacity: .8; }
.pend-store { background: #3a3a40; outline: 2px dashed #c9a21c; }
.pend-store small { color: var(--pend); opacity: 1; font-weight: 600; }

/* Ubicación */
address { font-style: normal; font-size: 1.15rem; margin-bottom: 16px; }
.contact { list-style: none; padding: 0; margin: 0; color: #d6d4d2; }
.contact a { color: #fff; font-weight: 600; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-3); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }

/* CTA final */
.final { background: var(--red); padding: 64px 0; }
.final__in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.final h2 { margin: 0; max-width: 24ch; }
.final h2 span { color: #fff; opacity: .78; }

/* Pie */
.footer { background: #070708; padding: 48px 0 96px; text-align: center; color: var(--muted); font-size: .9rem; }
.footer__in > img { width: 200px; margin: 0 auto 20px; }
.social { display: flex; justify-content: center; gap: 12px; margin-bottom: 18px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink-3); transition: background .15s; }
.social a:hover { background: var(--red); }
.social svg { width: 20px; height: 20px; fill: #fff; }
.footer a { color: #d6d4d2; }

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

/* Responsive */
@media (max-width: 980px) {
  .plans { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.2); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--ink); border-bottom: 1px solid var(--ink-3); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--ink-3); font-size: 1rem; }
  .nav .btn { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 40px; }
  .hero__in { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .hero__logo { display: none; }
  .hero__bg { background: linear-gradient(180deg, rgba(13,13,15,.7) 0%, rgba(13,13,15,.92) 75%), url("../img/hero-saco.jpg") center 30% / cover no-repeat; }
  .split, .app { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 2; }
  .photo--tall { aspect-ratio: 4 / 3; }
  .app__logo { max-width: 180px; order: -1; }
  .quotes { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .final__in { flex-direction: column; text-align: center; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand img { height: 40px; }
  .plans { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
  .stats li { padding: 16px 14px; }
  .hours th, .hours td { padding: 16px; }
  .hours th { font-size: 1.05rem; }
  .hours th { width: auto; }
  .hours td { white-space: nowrap; font-size: .95rem; }
  .timeline b { display: block; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
