:root{
  --rojo-oscuro: #860C0C;
  --rojo-vivo: #A20506;
  --rojo-claro: #FA5151;
  --crema: #DED4C6;
  --crema-texto: #860C0C;
  --tinta: #221715;
  --tinta-suave: #55433f;
  --papel: #FFFFFF;
  --papel-alt: #FBF6F1;
  --borde: #EBE1D6;
  --radius-pill: 999px;
  --radius-card: 20px;
  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --shadow-soft: 0 10px 30px -12px rgba(134,12,12,0.25);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: var(--font-body);
  color: var(--tinta);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; }

.skip-link{
  position:absolute;
  left:-999px;
  top:0;
  background:var(--rojo-oscuro);
  color:#fff;
  padding:.75rem 1.25rem;
  border-radius:0 0 10px 0;
  z-index:100;
}
.skip-link:focus{ left:0; }

/* ===== HEADER ===== */
.site-header{
  width:100%;
  line-height:0;
}
.header-banner{
  width:100%;
  height:auto;
  object-fit:cover;
}

/* ===== NAV ===== */
.pill-nav{
  position: sticky;
  top:0;
  z-index:40;
  background: linear-gradient(100deg, var(--rojo-vivo) 0%, var(--rojo-claro) 100%);
  box-shadow: 0 6px 20px -8px rgba(134,12,12,0.45);
}
.pill-nav__track{
  display:flex;
  gap:14px;
  padding: 14px 20px;
  overflow-x:auto;
  scrollbar-width: thin;
  max-width: 1400px;
  margin:0 auto;
}
.pill-nav__track::-webkit-scrollbar{ height:6px; }
.pill-nav__track::-webkit-scrollbar-thumb{ background: rgba(255,255,255,0.4); border-radius: var(--radius-pill); }

.pill{
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight:600;
  font-size: clamp(.85rem, 1.4vw, 1rem);
  border:none;
  cursor:pointer;
  padding: .8rem 1.6rem;
  border-radius: var(--radius-pill);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space:nowrap;
}
.pill:hover{ transform: translateY(-2px); filter:brightness(1.05); }
.pill:focus-visible{ outline:3px solid #fff; outline-offset:2px; }
.pill--red{ background: var(--rojo-oscuro); color:#fff; }
.pill--cream{ background: var(--crema); color: var(--crema-texto); }
.pill.is-active{ box-shadow: 0 6px 16px -4px rgba(0,0,0,0.35); }

/* ===== SECTIONS ===== */
.section{
  padding: 4.5rem 1.5rem;
  background: var(--papel);
  scroll-margin-top: 90px;
}
.section--alt{ background: var(--papel-alt); }
.section__inner{
  max-width: 880px;
  margin: 0 auto;
}

.badge{
  display:inline-block;
  font-family: var(--font-display);
  font-weight:600;
  font-size: 1.15rem;
  padding: .6rem 1.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 2rem;
}
.badge--red{ background: var(--rojo-oscuro); color:#fff; }
.badge--cream{ background: var(--crema); color: var(--crema-texto); }

.section p{
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--tinta-suave);
  margin: 0 0 1.4rem;
}
.section .lead{
  font-family: var(--font-display);
  font-weight:600;
  color: var(--rojo-oscuro);
  font-size:1.15rem;
}

.subhead{
  font-family: var(--font-display);
  font-weight:600;
  font-size: 1.3rem;
  color: var(--tinta);
  margin: 2.2rem 0 1rem;
}
.subhead strong{ color: var(--rojo-oscuro); }

/* chip lists (disciplinas) */
.chip-list{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  padding:0;
  margin: 0 0 1rem;
}
.chip-list li{
  background: var(--papel-alt);
  border:1px solid var(--borde);
  color: var(--tinta);
  padding:.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size:.95rem;
  font-weight:500;
}
.chip-list--new li{
  background: var(--rojo-oscuro);
  color:#fff;
  border-color: var(--rojo-oscuro);
  display:flex;
  gap:.4rem;
  align-items:baseline;
}
.chip-list--new li span{
  font-weight:400;
  font-size:.82rem;
  opacity:.85;
}

/* CTA banner image inside atletas */
.cta-banner{
  width:100%;
  border-radius: var(--radius-card);
  margin: 1.8rem 0 2.2rem;
  box-shadow: var(--shadow-soft);
}

/* referentes table */
.table-wrap{
  overflow-x:auto;
  border-radius: var(--radius-card);
  border:1px solid var(--borde);
  box-shadow: var(--shadow-soft);
}
table.referentes{
  width:100%;
  border-collapse: collapse;
  font-size:.95rem;
  background: var(--papel);
}
table.referentes th, table.referentes td{
  text-align:left;
  padding: .85rem 1.1rem;
  border-bottom:1px solid var(--borde);
}
table.referentes th{
  font-family: var(--font-display);
  font-weight:600;
  color: var(--tinta);
  width: 42%;
}
table.referentes td a{
  color: var(--rojo-oscuro);
  font-weight:600;
  text-decoration:none;
}
table.referentes td a:hover{ text-decoration:underline; }
table.referentes tr:last-child th, table.referentes tr:last-child td{ border-bottom:none; }
.pending{ color:#a08a7a; font-style:italic; }

/* pricing */
.price-cards{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap:1.2rem;
  margin: 1.5rem 0 2rem;
}
.price-card{
  background: linear-gradient(160deg, var(--rojo-oscuro), var(--rojo-vivo));
  color:#fff;
  border-radius: var(--radius-card);
  padding: 1.6rem 1.6rem;
  display:flex;
  flex-direction:column;
  gap:.35rem;
  box-shadow: var(--shadow-soft);
}
.price-card__label{
  font-family: var(--font-display);
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:.85rem;
  opacity:.85;
}
.price-card__amount{
  font-family: var(--font-display);
  font-weight:700;
  font-size: 2.1rem;
}
.price-card__note{ font-size:.85rem; opacity:.85; }

.pending-note{
  background:#FFF4F0;
  border:1px solid #F3C9BE;
  color:#8a2f1c;
  border-radius: var(--radius-card);
  padding: 1.1rem 1.4rem;
  font-size:.95rem;
  line-height:1.6;
  margin-bottom:2rem;
}

.bank-card{
  background: var(--papel-alt);
  border:1px solid var(--borde);
  border-radius: var(--radius-card);
  padding: 1.4rem 1.6rem;
  margin-bottom:1.5rem;
}
.bank-card dl{ margin:0; display:grid; gap:.7rem; }
.bank-card dl div{ display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; border-bottom:1px dashed var(--borde); padding-bottom:.6rem; }
.bank-card dl div:last-child{ border-bottom:none; padding-bottom:0; }
.bank-card dt{ font-weight:600; color:var(--tinta); }
.bank-card dd{ margin:0; color:var(--tinta-suave); text-align:right; }

.fine-print{ font-size:.9rem; color:var(--tinta-suave); }

/* cronograma */
.link-button{
  display:inline-block;
  font-family: var(--font-display);
  font-weight:600;
  background: var(--rojo-oscuro);
  color:#fff;
  padding:.9rem 1.8rem;
  border-radius: var(--radius-pill);
  text-decoration:none;
  margin-bottom:1rem;
  transition: transform .18s ease, filter .18s ease;
}
.link-button:hover{ transform: translateY(-2px); filter:brightness(1.08); }

.social-links{ display:flex; flex-direction:column; gap:.7rem; }
.social-link{
  color: var(--rojo-oscuro);
  font-weight:600;
  text-decoration:none;
  border-bottom:2px solid transparent;
}
.social-link:hover{ border-color: var(--rojo-oscuro); }

/* novedades: galería de fotos */
.gallery{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap:1rem;
  margin:1.5rem 0;
}
.gallery__item{
  position:relative;
  aspect-ratio: 3/2;
  border-radius: var(--radius-card);
  overflow:hidden;
  border:1px solid var(--borde);
  padding:0;
  cursor: zoom-in;
  background: var(--papel-alt);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery__item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: transform .35s ease;
}
.gallery__item:hover{ transform: translateY(-3px); }
.gallery__item:hover img{ transform: scale(1.05); }
.gallery__item:focus-visible{ outline:3px solid var(--rojo-oscuro); outline-offset:3px; }

/* lightbox */
.lightbox{
  position:fixed;
  inset:0;
  background: rgba(20,12,10,0.92);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:100;
  padding: 2rem;
}
.lightbox.is-open{ display:flex; }
.lightbox img{
  max-width:100%;
  max-height:90vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.6);
}
.lightbox__close{
  position:absolute;
  top:1.2rem;
  right:1.5rem;
  width:44px;
  height:44px;
  border-radius:50%;
  border:none;
  background: rgba(255,255,255,0.15);
  color:#fff;
  font-size:1.6rem;
  line-height:1;
  cursor:pointer;
  transition: background .2s ease;
}
.lightbox__close:hover{ background: rgba(255,255,255,0.3); }

/* ===== FOOTER ===== */
.site-footer{
  background: var(--tinta);
  color:#f1e9e4;
  padding: 3rem 1.5rem 2.2rem;
}
.site-footer__inner{ max-width:880px; margin:0 auto; }
.site-footer h3{
  font-family: var(--font-display);
  font-size:1.3rem;
  margin:0 0 .8rem;
}
.site-footer p{ color:#cbb9b2; line-height:1.6; }
.footer-contact{ list-style:none; padding:0; margin:0 0 1.5rem; display:grid; gap:.5rem; }
.footer-contact a{ color:#ffdad2; text-decoration:none; font-weight:600; }
.footer-contact a:hover{ text-decoration:underline; }
.copyright{ font-size:.8rem; color:#a58f88; border-top:1px solid #3a2d2a; padding-top:1.2rem; }

/* ===== BACK TO TOP ===== */
.back-to-top{
  position:fixed;
  right:1.4rem;
  bottom:1.4rem;
  width:48px;
  height:48px;
  border-radius:50%;
  border:none;
  background: var(--rojo-oscuro);
  color:#fff;
  font-size:1.3rem;
  cursor:pointer;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.4);
  opacity:0;
  visibility:hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index:50;
}
.back-to-top.is-visible{ opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top:hover{ filter:brightness(1.1); }

@media (max-width: 640px){
  .section{ padding: 3rem 1.1rem; }
  .badge{ font-size:1rem; padding:.55rem 1.4rem; }
  .bank-card dl div{ flex-direction:column; gap:.15rem; }
  .bank-card dd{ text-align:left; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; animation:none !important; }
}
