/* ICON — páginas interiores: centros, disciplinas, servicios, formulario, legales */

.section--tight { padding-block: clamp(64px, 8vw, 120px); }

/* Cabecera de página interior ------------------------------------------ */
.page-hero { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 120px)); padding-bottom: clamp(32px, 5vw, 64px); }
.page-hero .h-xxl { margin-bottom: clamp(24px, 3vw, 40px); }
.page-hero__lead { max-width: 52ch; font-size: clamp(1.05rem, 1vw + 0.7rem, 1.3rem); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); font-weight: 700; text-decoration: none; transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.chip:hover, .chip:focus-visible { background: var(--volt); color: var(--volt-ink); border-color: var(--volt); }

/* Tarjetas de centros (/centros) ---------------------------------------- */
.ccards { display: grid; gap: clamp(64px, 9vw, 140px); }
.ccard { display: grid; gap: 28px; align-items: center; }
.ccard__media { display: block; overflow: hidden; aspect-ratio: 4 / 5; max-height: 80vh; }
.ccard__media img { width: 100%; height: 100%; object-fit: cover; }
.ccard .h-xl a { text-decoration: none; }
.ccard .h-xl a:hover { color: var(--volt); }
.ccard__brand { font-weight: 700; margin: 12px 0 24px; }
.facts { display: grid; gap: 0; margin: 0 0 28px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; padding-top: 0.2em; }
.facts dd { margin: 0; }
.ccard__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) {
  .ccard { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
  .ccard:nth-child(even) .ccard__media { order: 2; }
}

/* Hero de centro ---------------------------------------------------------- */
.chero { display: grid; padding-top: var(--header-h); min-height: 100svh; }
.chero__text { padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: flex-end; }
.chero__text .eyebrow a { text-decoration: none; }
.chero__text .eyebrow a:hover { color: var(--volt); }
.chero__title { font-family: var(--display); text-transform: uppercase; line-height: 0.86; margin-bottom: 28px; }
.chero__title .ln:first-child { font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1; }
.chero__title .ln:last-child { font-size: clamp(4.4rem, 13vw, 12rem); }
.chero__lead { max-width: 46ch; font-size: clamp(1.05rem, 1vw + 0.7rem, 1.25rem); color: var(--bone); }
.chero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 32px; }
.chero__facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); max-width: 640px; }
.chero__facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.chero__facts dt { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; padding-top: 0.25em; }
.chero__facts dd { margin: 0; }
.chero__facts a { display: inline-block; padding: 2px 0; }
.chero__media { position: relative; overflow: hidden; min-height: 60svh; }
.chero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .chero { grid-template-columns: 1.1fr 0.9fr; }
  .chero__text { padding-right: clamp(24px, 4vw, 64px); max-width: none; margin: 0; }
  .chero__media { min-height: 0; }
}
@media (max-width: 899px) {
  .chero__media { order: -1; min-height: 46svh; }
  .chero__ctas .btn { flex: 1 1 100%; }
}

/* Subnavegación fija de la página de centro ----------------------------- */
.subnav { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 10, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.subnav__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav__in::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none; display: inline-flex; align-items: center; min-height: 52px; padding: 0 16px; text-decoration: none;
  font-weight: 700; font-size: 0.92rem; border-bottom: 2px solid transparent;
}
.subnav a:hover, .subnav a.is-current { border-bottom-color: var(--volt); color: var(--volt); }

/* Horario ----------------------------------------------------------------- */
.tt { margin-bottom: clamp(40px, 5vw, 64px); }
.tt__title { font-family: var(--display); text-transform: uppercase; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; margin-bottom: 18px; }
.tt__grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 10px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin;
}
.day { scroll-snap-align: start; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.day__name { font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 10px; color: var(--volt); }
.slot { display: grid; grid-template-columns: 58px 1fr; gap: 8px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--line); font-size: 0.92rem; }
.slot__t { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.slot__c { font-weight: 700; }
.slot--training .slot__c::before, .slot--hybrid .slot__c::before, .slot--crossfit .slot__c::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; vertical-align: 0.1em; border-radius: 50%;
}
.slot--crossfit .slot__c::before { background: var(--bone); }
.slot--training .slot__c::before { background: var(--volt); }
.slot--hybrid .slot__c::before { background: transparent; border: 1.5px solid var(--volt); }
.tt__note { color: var(--muted); font-size: 0.88rem; margin-top: 12px; max-width: 80ch; }
.tt__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.note-card { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 1200px) { .tt__grid { overflow: visible; grid-auto-columns: 1fr; } }

/* Tarifas ----------------------------------------------------------------- */
.rates { margin-bottom: clamp(40px, 5vw, 64px); }
.rates__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-bottom: 18px; }
.rates__title { font-family: var(--display); text-transform: uppercase; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; }
.rates__head p { margin: 0; color: var(--muted-on-bone); }
.rates__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-on-bone); border: 1px solid var(--line-on-bone); }
.rate { background: var(--bone); padding: clamp(16px, 2vw, 24px); display: grid; gap: 6px; align-content: start; transition: background-color 0.3s; }
.rate:hover { background: var(--bone-2); }
.rate__name { font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.82rem; }
.rate__price { display: flex; align-items: baseline; gap: 6px; }
.rate__num { font-family: var(--display); font-size: clamp(3.4rem, 6vw, 5.4rem); line-height: 0.9; }
.rate__cur { font-weight: 700; font-size: 0.9rem; }
.rate__desc { color: var(--muted-on-bone); font-size: 0.92rem; }
.rate--pro { background: var(--ink); color: var(--bone); }
.rate--pro:hover { background: var(--ink-3); }
.rate--pro .rate__desc { color: var(--muted); }
.rate--pro .rate__num { color: var(--volt); }
.fees { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 0; padding-top: 8px; }
.fees strong { font-family: var(--display); font-size: 2rem; font-weight: 400; margin-left: 6px; vertical-align: -0.1em; }
@media (min-width: 700px) { .rates__grid { grid-template-columns: repeat(3, 1fr); } }

/* Clases del centro ------------------------------------------------------- */
.cls-list { display: grid; padding: 1px 0 0 1px; }
.cls a { display: grid; gap: 8px; align-content: start; padding: clamp(20px, 2.4vw, 32px); background: var(--ink); border: 1px solid var(--line); margin: -1px 0 0 -1px; text-decoration: none; height: calc(100% + 1px); transition: background-color 0.3s; }
.cls a:hover, .cls a:focus-visible { background: var(--ink-3); }
.cls__fam { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--volt); font-weight: 700; }
.cls__name { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.2rem, 3vw, 3rem); line-height: 0.95; }
.cls__text { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 700px) { .cls-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cls-list { grid-template-columns: repeat(3, 1fr); } }

/* Equipo -------------------------------------------------------------- */
.coaches { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 2vw, 24px); }
.coaches--1 { grid-template-columns: minmax(0, 420px); }
.coach__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-3); position: relative; }
.coach__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.6s, transform 0.9s var(--ease-out); }
.coach:hover .coach__media img { filter: none; transform: scale(1.04); }
.coach__mono {
  position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: clamp(4rem, 10vw, 8rem);
  color: var(--ink); background: var(--volt);
}
.coach__role { margin: 14px 0 4px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); font-weight: 700; }
.coach__name { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.9rem, 2.6vw, 2.6rem); line-height: 1; }
@media (min-width: 900px) {
  .coaches { grid-template-columns: repeat(3, 1fr); }
  .coaches--1 { grid-template-columns: minmax(0, 420px); }
}
@media (min-width: 1200px) { .coaches--5, .coaches--6 { grid-template-columns: repeat(6, 1fr); } .coaches--5 { grid-template-columns: repeat(5, 1fr); } }

/* Galería -------------------------------------------------------------- */
.gal { padding-bottom: clamp(48px, 6vw, 80px); }
.gal__track { display: flex; gap: 12px; overflow-x: auto; padding-inline: var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__item { flex: none; width: clamp(240px, 30vw, 440px); scroll-snap-align: start; overflow: hidden; }
.gal__item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.gal__item:hover img { transform: scale(1.04); }
.gal__item:nth-child(even) { margin-top: clamp(24px, 5vw, 72px); }
.gal__cap { margin-top: 24px; }

/* Contacto ------------------------------------------------------------- */
.contact { background: var(--ink-2); }
.contact__grid { display: grid; gap: 40px; }
.contact__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.contact__list { border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__list span { color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; padding-top: 0.25em; }
.contact__list a { font-weight: 700; overflow-wrap: anywhere; display: inline-block; padding: 2px 0; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1fr; align-items: end; } }
@media (max-width: 520px) { .contact__list li { grid-template-columns: 1fr; gap: 4px; } .contact__ctas .btn { flex: 1 1 100%; } }

/* Otros centros -------------------------------------------------------- */
.others { padding-block: clamp(48px, 6vw, 80px); }
.others__row { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.other { display: grid; gap: 4px; padding: 20px; background: var(--ink); text-decoration: none; transition: background-color 0.3s, color 0.3s; }
.other span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; }
.other strong { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 3.4vw, 3.4rem); line-height: 1; }
.other:hover, .other:focus-visible { background: var(--volt); color: var(--volt-ink); }
.other:hover span, .other:focus-visible span { color: var(--volt-ink); }
@media (min-width: 700px) { .others__row { grid-template-columns: repeat(3, 1fr); } }

.closing--compact .closing__inner { padding-block: clamp(64px, 9vw, 140px); }

/* Disciplinas (CrossFit / Training) ------------------------------------- */
.dhero { position: relative; min-height: 92svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; padding-top: calc(var(--header-h) + 40px); }
.dhero__media { position: absolute; inset: 0; z-index: -2; }
.dhero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.motion .dhero__img { animation: hero-zoom 2.2s var(--ease-out) both; }
.dhero__content { padding-bottom: clamp(40px, 6vw, 80px); }
.dhero__lead { font-size: clamp(1.1rem, 1.2vw + 0.6rem, 1.4rem); font-weight: 600; max-width: 40ch; margin: 24px 0 24px; }
.intro__grid { display: grid; gap: 32px; }
.intro__big { font-size: clamp(1.5rem, 2.8vw, 2.6rem); line-height: 1.18; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.intro__small { color: var(--muted); font-size: 1.1rem; max-width: 46ch; align-self: end; margin: 0; }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 1.6fr 1fr; gap: 64px; } }
.forlist { display: grid; gap: 1px; background: var(--line-on-bone); border: 1px solid var(--line-on-bone); }
.forlist li { background: var(--bone); padding: clamp(20px, 2.6vw, 36px); font-size: clamp(1.1rem, 1.3vw, 1.35rem); font-weight: 600; line-height: 1.35; }
.forlist__k { display: block; font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: clamp(1.8rem, 2.4vw, 2.4rem); line-height: 1; margin-bottom: 12px; }
@media (min-width: 900px) { .forlist { grid-template-columns: repeat(2, 1fr); } }
.krows { display: grid; gap: clamp(56px, 8vw, 120px); }
.krow { display: grid; gap: 24px; align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
.krow__media { overflow: hidden; aspect-ratio: 1; }
@media (min-width: 900px) { .krow__media { aspect-ratio: 5 / 4; } }
.krow__media img { width: 100%; height: 100%; object-fit: cover; }
.krow__num { font-weight: 800; color: var(--volt); font-size: 0.9rem; }
.krow__name { font-family: var(--display); text-transform: uppercase; font-size: clamp(3.2rem, 7vw, 6.4rem); line-height: 0.9; margin: 8px 0 20px; }
.krow__body p { color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
.krow__label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.krow__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip--sm { min-height: 44px; padding: 0 14px; font-size: 0.9rem; }
@media (min-width: 900px) {
  .krow { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
  .krow:nth-child(even) .krow__media { order: 2; }
}
.gains-sec { overflow: hidden; }
.gains-sec__grid { display: grid; gap: 32px; }
.gains-sec__title { max-width: 14ch; }
.gains { border-top: 1px solid var(--line); }
.gain { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
.gain__tick { grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--volt); color: var(--volt-ink); display: grid; place-items: center; font-weight: 800; }
.gain span:last-child { color: var(--muted); grid-column: 2; }
@media (min-width: 900px) { .gains-sec__grid { grid-template-columns: 1fr 1.2fr; gap: 80px; } }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: clamp(56px, 8vw, 110px); padding-inline: var(--gutter); }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.strip li:nth-child(even) { transform: translateY(32px); }
@media (max-width: 699px) { .strip { grid-template-columns: repeat(2, 1fr); } .strip li:nth-child(n + 3) { display: none; } }
.chips--big .chip { min-height: 64px; padding: 0 26px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.pick .h-xl { margin-bottom: 8px; }

/* Servicios -------------------------------------------------------------- */
.wide-media { overflow: hidden; height: clamp(320px, 62vh, 680px); margin-inline: var(--gutter); }
.wide-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.srows { border-top: 1px solid var(--line); margin-top: 8px; }
.srow { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.srow__num { font-weight: 800; color: var(--volt); padding-top: 0.6em; }
.srow__name { font-family: var(--display); text-transform: uppercase; font-size: clamp(3rem, 7vw, 6.4rem); line-height: 0.9; }
.srow__note, .srow__text { grid-column: 2; margin: 0; }
.srow__note { font-weight: 700; font-size: 1.1rem; }
.srow__text { color: var(--muted); max-width: 60ch; }
@media (min-width: 1000px) {
  .srow { grid-template-columns: 60px 1.2fr 1fr; align-items: end; }
  .srow__note { grid-column: 3; grid-row: 1; }
  .srow__text { grid-column: 3; }
  .srow__name { grid-column: 2; grid-row: 1 / span 2; }
}
.srows__foot { color: var(--muted); max-width: 60ch; margin-top: 32px; }

/* Clase gratuita --------------------------------------------------------- */
.trial { display: grid; padding-top: var(--header-h); }
.trial__intro { display: grid; }
.trial__intro-in { padding: clamp(40px, 6vw, 80px) var(--gutter) 32px; }
.trial__lead { max-width: 42ch; font-size: 1.15rem; margin-top: 20px; }
.trial__phones { margin-top: 24px; border-top: 1px solid var(--line); max-width: 460px; }
.trial__phones li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.trial__phones strong { padding: 12px 0; }
.trial__phones a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.trial__media { overflow: hidden; height: 320px; }
.trial__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.trial__form-wrap { background: var(--bone); color: var(--ink); padding: clamp(32px, 5vw, 72px) var(--gutter); }
.trial__h { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 0.95; margin-bottom: 24px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 700; font-size: 0.92rem; }
.opt { font-weight: 400; color: var(--muted-on-bone); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid rgba(11, 11, 10, 0.3); border-radius: var(--radius); transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--volt); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__err { margin: 0; min-height: 0; color: #9c1f17; font-size: 0.88rem; font-weight: 600; }
.field__err:empty { display: none; }
.field--check { grid-template-columns: 28px 1fr; align-items: start; column-gap: 10px; }
.field--check input { width: 24px; height: 24px; min-height: 0; margin: 2px 0 0; accent-color: var(--ink); }
.field--check label { font-weight: 500; }
.field--check .field__err { grid-column: 1 / -1; }
.trial__submit { width: 100%; margin-top: 8px; }
.trial__submit:hover { color: var(--volt-ink); }
.trial__ok { padding: 24px 0; outline: none; }
.trial__ok-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--volt); display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 20px; }
.trial__ok .h-lg { margin-bottom: 16px; }
.trial__demo { background: var(--volt); padding: 12px 14px; font-weight: 700; border-radius: var(--radius); }
.trial__ok .btn--ghost { --bd: var(--ink); --fg: var(--ink); --fill: var(--ink); }
.trial__ok .btn--ghost:hover { color: var(--bone); }
.on-bone .btn--ghost, .trial__form-wrap .btn--ghost { color: var(--ink); }
@media (min-width: 900px) {
  .trial { grid-template-columns: 1fr 1fr; min-height: 100svh; }
  .trial__intro { grid-template-rows: auto 1fr; }
  .trial__media { height: auto; min-height: 280px; }
  .trial__form-wrap { display: flex; flex-direction: column; justify-content: center; }
  .trial__form, .trial__ok { max-width: 560px; width: 100%; }
}

/* Legales ---------------------------------------------------------------- */
.legal { padding-bottom: clamp(64px, 8vw, 120px); }
.legal > * { max-width: 72ch; }
.legal h2 { font-family: var(--display); text-transform: uppercase; font-size: 2rem; line-height: 1; margin: 40px 0 12px; }
.legal p { color: var(--muted); }

/* Objetivos táctiles mínimos de 44 px en enlaces de datos */
.chero__facts a, .contact__list a, .facts dd a, .chero__text .eyebrow a, .legal a { display: inline-flex; align-items: center; min-height: 44px; }
.contact__list li { align-items: center; }
