/* ============================================================
   ZGYM DIAZ · Componentes de las páginas interiores
   Se carga después de styles.css
   ============================================================ */

/* ---------- Cabecera de página ---------- */

.phero {
  position: relative;
  min-height: 56svh;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.phero-bg { position: absolute; inset: 0; z-index: 0; }
.phero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.06) brightness(0.72);
}
.phero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 11, 0.92) 0%, rgba(10, 10, 11, 0.62) 60%, rgba(10, 10, 11, 0.4) 100%),
    linear-gradient(0deg, var(--bg) 2%, transparent 55%);
}
.phero-in { width: 100%; position: relative; z-index: 2; }
.phero h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  margin: 16px 0 18px;
  max-width: 18ch;
}
.phero p.lead {
  color: #c9c5bd;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  max-width: 56ch;
}

/* Migas de pan */
.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.crumbs a { color: var(--muted); transition: color 0.2s ease; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--red-hot); }

/* Menú activo */
.nav a.here { color: var(--ink); }
.nav a.here::after { width: 100%; }

/* ---------- Bloque de disciplina (alterno) ---------- */

.disc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 7vw, 86px) 0;
  border-bottom: 1px solid var(--line);
}
.disc:last-of-type { border-bottom: 0; }
.disc:nth-child(even) .disc-media { order: 2; }

.disc-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.disc-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.disc-media:hover img { transform: scale(1.04); }
.disc-media .num {
  position: absolute;
  top: 16px;
  left: 18px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.disc-body h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 0.98;
  margin: 12px 0 16px;
}
.disc-body > p { color: var(--muted); font-size: 1rem; max-width: 52ch; }

.disc-meta { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0; }
.disc-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #cfccc5;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 100px;
}
.disc-meta span b { color: var(--muted-2); font-weight: 600; }

.disc-list { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; }
.disc-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #d3d0c9;
  font-size: 0.94rem;
}
.disc-list li::before {
  content: "";
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23e8483d' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ---------- Rejilla de artes marciales ---------- */

.mart-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mart {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.mart:hover { transform: translateY(-5px); border-color: var(--line-2); }
.mart .pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.mart .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.85);
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.5s ease;
}
.mart:hover .pic img { transform: scale(1.06); filter: saturate(1) brightness(0.95); }
.mart .pic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 11, 0.85), transparent 60%);
}
.mart .pic b {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: 0.02em;
}
.mart .body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.mart .body p { color: var(--muted); font-size: 0.89rem; }
.mart .body .gain {
  margin-top: auto;
  font-size: 0.78rem;
  color: #cfccc5;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.mart .body .gain b { color: var(--red-hot); font-weight: 700; }

/* ---------- Clases dirigidas ---------- */

.cls-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cls {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 22px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.cls:hover { transform: translateY(-4px); border-color: rgba(209, 51, 42, 0.4); background: rgba(209, 51, 42, 0.04); }
.cls h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.cls h3 small {
  display: block;
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-top: 3px;
}
.cls p { color: var(--muted); font-size: 0.87rem; }

/* ---------- Bloque de tarjetas informativas ---------- */

.icards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.icard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.icard:hover { transform: translateY(-4px); border-color: var(--line-2); }
.icard .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--red-soft);
  border: 1px solid rgba(209, 51, 42, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-hot);
  margin-bottom: 16px;
}
.icard h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.icard p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Tabla comparativa ---------- */

.ctable-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.ctable { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--panel); }
.ctable th, .ctable td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.ctable thead th {
  background: var(--bg-2);
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  position: sticky;
  top: 0;
}
.ctable thead th:first-child {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  color: var(--muted-2);
  font-weight: 700;
}
.ctable thead th small { display: block; font-family: var(--body); font-size: 0.78rem; font-weight: 600; color: var(--muted); letter-spacing: 0; text-transform: none; margin-top: 3px; }
.ctable tbody td { font-size: 0.93rem; color: #d3d0c9; }
.ctable tbody td:first-child { color: var(--muted); }
.ctable tbody tr:last-child td { border-bottom: 0; }
.ctable tbody tr:hover td { background: rgba(255, 255, 255, 0.018); }
.ctable .yes, .ctable .no { text-align: center; width: 150px; }
.ctable .yes::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(62, 207, 110, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233ecf6e' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ctable .no::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
}
.ctable .hot-col { background: rgba(209, 51, 42, 0.05); }

/* ---------- Parrilla de horarios ---------- */

.tt-tabs { display: none; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; }
.tt-tab {
  flex: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 11px 20px;
  cursor: pointer;
  min-height: 44px;
  transition: all 0.2s ease;
}
.tt-tab.on { background: var(--red); border-color: var(--red); color: #fff; }

.tt {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.tt-day { min-width: 0; }
.tt-day > h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
  text-align: center;
}
.tt-day.wknd > h3 { color: var(--red-hot); }
.tt-slots { display: grid; gap: 9px; }
.slot {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-2);
  border-radius: 10px;
  padding: 12px 13px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.slot:hover { transform: translateY(-2px); border-color: var(--line-2); }
.slot time {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.slot b { display: block; font-size: 0.83rem; font-weight: 600; margin-top: 2px; }
.slot span { display: block; font-size: 0.72rem; color: var(--muted-2); margin-top: 3px; }
.slot.mt { border-left-color: #e8483d; }
.slot.box { border-left-color: #e0a422; }
.slot.def { border-left-color: #3ecf6e; }
.slot.kid { border-left-color: #5b9dd9; }
.slot.dir { border-left-color: #22b8a6; }
.slot.free { border-left-color: var(--muted-2); }

.tt-key { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; }
.tt-key span { display: inline-flex; align-items: center; gap: 8px; font-size: 0.83rem; color: var(--muted); }
.tt-key i { width: 12px; height: 12px; border-radius: 3px; flex: none; }

/* ---------- Aviso de contenido de ejemplo ---------- */

.note-demo {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 170, 60, 0.07);
  border: 1px solid rgba(255, 170, 60, 0.3);
  border-radius: var(--radius-s);
  padding: 18px 20px;
  color: #ffd9a8;
  font-size: 0.88rem;
  line-height: 1.5;
}
.note-demo svg { flex: none; margin-top: 2px; }
.note-demo b { color: #ffe9c9; }

/* ---------- Tarjetas de contacto ---------- */

.ccards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ccard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.ccard:hover { transform: translateY(-4px); border-color: var(--line-2); }
.ccard .ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bone);
}
.ccard h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.ccard .val { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.05; }
.ccard p { color: var(--muted); font-size: 0.86rem; }
.ccard a.go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--red-hot);
}
.ccard a.go svg { transition: transform 0.25s ease; }
.ccard a.go:hover svg { transform: translateX(4px); }

/* ---------- Mapa grande ---------- */

.map-big {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 21 / 8;
}
.map-big iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.9) invert(0.92) contrast(0.9); }

/* ---------- Equipo ---------- */

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.team-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.team-card .ph {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #1a1a1d, #121214);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted-2);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 20px;
}
.team-card .ph svg { opacity: 0.35; }
.team-card .ph span { font-size: 0.76rem; letter-spacing: 0.06em; }
.team-card .body { padding: 20px 22px 24px; }
.team-card h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}
.team-card p { color: var(--muted); font-size: 0.87rem; margin-top: 5px; }

/* ---------- Instalaciones ---------- */

.facil { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.facil figure {
  position: relative;
  border-radius: var(--radius-s);
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 0;
}
.facil figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.facil figure:nth-child(6) { grid-column: span 2; }
.facil img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 190px;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.5s ease;
  filter: saturate(0.8) brightness(0.88);
}
.facil figure:hover img { transform: scale(1.05); filter: saturate(1) brightness(1); }
.facil figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: rgba(10, 10, 11, 0.74);
  border: 1px solid var(--line-2);
  padding: 7px 13px;
  border-radius: 100px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* ---------- Cita destacada ---------- */

.pull {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(30px, 5vw, 50px) 0;
}
.pull blockquote {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.04;
  color: var(--ink);
}
.pull blockquote em { font-style: normal; color: var(--red-hot); }
.pull cite { display: block; margin-top: 20px; font-style: normal; color: var(--muted-2); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Formulario de contacto ---------- */

.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow);
}
.contact-form h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 6px;
}
.contact-form > p, #formWrap > p { color: var(--muted); font-size: 0.93rem; margin-bottom: 24px; }
.contact-ok {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.contact-ok.show { display: block; }
.contact-ok .success-check { width: 74px; height: 74px; margin-bottom: 20px; }
.contact-ok h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; }
.contact-ok p { color: var(--muted); margin-top: 10px; }
.contact-side { display: grid; gap: 16px; }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .tt { grid-template-columns: repeat(4, 1fr); }
  .mart-grid { grid-template-columns: repeat(2, 1fr); }
  .cls-grid { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .ccards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .facil { grid-template-columns: repeat(2, 1fr); }
  .facil figure:nth-child(1) { grid-column: span 2; grid-row: auto; }
  .facil figure:nth-child(6) { grid-column: span 2; }
}

@media (max-width: 860px) {
  .phero { min-height: auto; padding: 116px 0 40px; }
  .disc { grid-template-columns: 1fr; gap: 26px; padding: 40px 0; }
  .disc:nth-child(even) .disc-media { order: 0; }
  .disc-media img { aspect-ratio: 3 / 2; }
  .disc-body .btn { width: 100%; }
  .team { grid-template-columns: 1fr; }
  .map-big { aspect-ratio: 4 / 3; }

  /* Horarios: un día cada vez */
  .tt-tabs { display: flex; }
  .tt { grid-template-columns: 1fr; gap: 0; }
  .tt-day { display: none; }
  .tt-day.on { display: block; }
  .tt-day > h3 { text-align: left; }
}

@media (max-width: 560px) {
  .mart-grid { grid-template-columns: 1fr; }
  .cls-grid { grid-template-columns: 1fr; }
  .facil { grid-template-columns: 1fr; }
  .facil figure:nth-child(1), .facil figure:nth-child(6) { grid-column: span 1; }
  .icards { grid-template-columns: 1fr; }
}

/* ---- Tarifas extra y accesos por edad (cuotas) ---- */
.tarifas-extra { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.tx { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.tx-k { color: var(--muted); font-size: 0.86rem; font-weight: 600; line-height: 1.35; }
.tx-k em { display: block; font-style: normal; font-weight: 500; font-size: 0.76rem; color: var(--muted-2); margin-top: 3px; }
.tx b { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--ink); }
.tx b small { font-family: var(--body); font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-left: 6px; }
.edades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.edad { padding: 24px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 6px; }
.edad-k { color: var(--muted); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.edad b { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--ink); }
.edad span:last-child { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 900px) { .tarifas-extra { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tarifas-extra, .edades { grid-template-columns: 1fr; } .tx { flex-direction: row; align-items: center; } .tx b { font-size: 1.6rem; white-space: nowrap; } }

/* ---- Horarios: lista de clases real ---- */
.clases-lista { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cl-grupo { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cl-grupo h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.3rem; margin-bottom: 14px; }
.cl-grupo ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.cl-grupo li { font-size: 0.86rem; color: #d3d0c9; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 100px; padding: 6px 12px; }

/* ---- Contacto: mapa que se carga al pulsar ---- */
.map-load { width: 100%; height: 100%; min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px; text-align: center; cursor: pointer; color: var(--ink); background: radial-gradient(120% 90% at 50% 0%, rgba(209, 51, 42, 0.16), var(--panel) 70%); border: 0; font: inherit; }
.map-load svg { color: var(--red-hot); }
.map-load b { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; letter-spacing: 0.03em; }
.map-load span { color: var(--muted); font-size: 0.92rem; }
.map-load small { color: var(--muted-2); font-size: 0.75rem; margin-top: 6px; }
.map-load:hover b { color: var(--red-hot); }

/* ---- Paginas legales ---- */
.phero-legal { min-height: 0; padding: 130px 0 40px; }
.legal-body { max-width: 780px; }
.legal-body h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 1.8rem); letter-spacing: 0.02em; margin: 38px 0 12px; }
.legal-body p, .legal-body li { color: #cfccc5; font-size: 0.95rem; line-height: 1.7; }
.legal-body p + p { margin-top: 10px; }
.legal-body ul { padding-left: 20px; display: grid; gap: 8px; margin: 10px 0; }
.legal-body a { color: var(--red-hot); }
.legal-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 6px; margin: 8px 0 18px; }
.legal-card p { margin: 0 !important; }
.legal-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-s); margin: 12px 0; }
.legal-table table { width: 100%; border-collapse: collapse; min-width: 480px; background: var(--panel); }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 0.88rem; vertical-align: top; color: #cfccc5; }
.legal-table th { color: var(--ink); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.legal-date { margin-top: 34px; color: var(--muted-2) !important; font-size: 0.82rem !important; }

.tarifas-extra { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* ---- Movil (revision 2026-09-15) ---- */
@media (max-width: 860px) {
  .clases-lista { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .phero { padding: 100px 0 30px; }
  .phero h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .phero-legal { padding: 100px 0 18px; }
  .icards { grid-template-columns: 1fr; gap: 10px; }
  .icard { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 18px; align-items: start; }
  .icard .ico { grid-row: span 2; margin-bottom: 0; }
  .icard h3 { font-size: 1.08rem; margin: 3px 0 4px; }
  .icard p { font-size: 0.88rem; }
  .cls-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cls { padding: 15px; }
  .cls h3 { font-size: 1rem; }
  .cls p { font-size: 0.8rem; line-height: 1.45; }
  .mart-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mart .pic { aspect-ratio: 1 / 1; }
  .mart .body { padding: 12px 13px 15px; gap: 6px; }
  .mart .body p { font-size: 0.8rem; line-height: 1.45; }
  .facil { grid-template-columns: 1fr 1fr; gap: 10px; }
  .facil figure:nth-child(1), .facil figure:nth-child(6) { grid-column: span 2; grid-row: auto; }
  .facil figure { aspect-ratio: 3 / 4; }
  .facil figure:nth-child(1), .facil figure:nth-child(6) { aspect-ratio: 16 / 10; }
  .facil img { min-height: 0; }
  .disc { padding: 30px 0; }
  .edades { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .edad { padding: 14px 12px; }
  .edad-k { font-size: 0.6rem; letter-spacing: 0.05em; }
  .edad b { font-size: 1.9rem; }
  .edad span:last-child { font-size: 0.74rem; }
  .cl-grupo { padding: 18px; }
  .legal-body p, .legal-body li { font-size: 0.92rem; }
}

.section.legal { padding-top: 34px; }
.legal-body > h2:first-child { margin-top: 0; }
@media (max-width: 700px) {
  .legal-table table { min-width: 0; }
  .legal-table th, .legal-table td { padding: 10px; font-size: 0.82rem; }
  .section.legal { padding-top: 20px; }
}

/* ============ Páginas locales (niños, Muay Thai, Boxeo) · generar-landings.py ============ */
.lp-ctas { margin: 26px 0 0; }
.lp-horario { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 18px; }
.lp-dia { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px 14px; }
.lp-dia h3 { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.lp-dia ul { list-style: none; display: grid; gap: 8px; }
.lp-dia li { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.lp-dia time { font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.lp-dia li span { color: var(--muted-2); font-size: 0.76rem; }
.lp-precios { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.lp-precio { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.lp-precio span { color: var(--muted); font-size: 0.82rem; }
.lp-precio b { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1.1; color: var(--ink); }
.lp-precio small { color: var(--muted-2); font-size: 0.8rem; line-height: 1.45; }
.rv-grid.lp-rv { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) { .lp-horario { grid-template-columns: repeat(3, 1fr); } .lp-precios { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lp-horario { grid-template-columns: 1fr 1fr; } .lp-precios { grid-template-columns: 1fr; } .rv-grid.lp-rv { grid-template-columns: 1fr; } }
