/* ========================================
   MIGUELITO · GUÍAS DE VOLUNTARIADO
   Estilo maestro común — v1.0
   ======================================== */

/* === RESET === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #0A2540;
  background: #FAFCFE;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1A8CD8; text-decoration: none; }
a:hover { text-decoration: underline; }

/* === VARIABLES PALETA MIGUELITO === */
:root {
  --azul-petroleo: #1B5C75;
  --azul-miguelito: #1A8CD8;
  --azul-oscuro: #0A2540;
  --verde-menta: #5DCAA5;
  --pastel-azul: #E6F1FB;
  --pastel-verde: #E1F5EE;
  --pastel-ambar: #FAEEDA;
  --gris-fondo: #F5F8FA;
  --gris-borde: #E1E7EC;
  --gris-texto: #5A6B7A;
  --blanco: #FFFFFF;

  /* Por rol */
  --rol-tatami: #1A8CD8;
  --rol-jueces: #0A2540;
  --rol-gradas: #5DCAA5;
  --rol-regalos: #1B5C75;
  --rol-organizacion: #0A2540;
  --rol-munecom: #1A8CD8;
}

/* === LAYOUT === */
.contenedor {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* === BREADCRUMB === */
.breadcrumb {
  padding: 1rem 0 0;
  font-size: 13px;
  color: var(--gris-texto);
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a {
  color: var(--gris-texto);
}
.breadcrumb a:hover {
  color: var(--azul-miguelito);
}
.breadcrumb-sep {
  opacity: 0.5;
}
.breadcrumb-actual {
  color: var(--azul-petroleo);
  font-weight: 500;
}

/* === HERO POR ROL === */
.hero {
  margin: 1.25rem 0 2rem;
  padding: 2rem 1.75rem;
  border-radius: 20px;
  color: white;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.hero-titulo {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.hero-bajada {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.92;
  max-width: 540px;
  position: relative;
  z-index: 1;
}
.hero-icono {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.hero-icono svg {
  width: 36px;
  height: 36px;
  stroke: white;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Variantes de color por rol */
.hero-tatami { background: linear-gradient(135deg, #1A8CD8 0%, #1B5C75 100%); }
.hero-jueces { background: linear-gradient(135deg, #0A2540 0%, #1B5C75 100%); }
.hero-gradas { background: linear-gradient(135deg, #5DCAA5 0%, #1B5C75 100%); }
.hero-regalos { background: linear-gradient(135deg, #1B5C75 0%, #0A2540 100%); }
.hero-organizacion { background: linear-gradient(135deg, #0A2540 0%, #1A8CD8 100%); }
.hero-munecom { background: linear-gradient(135deg, #1A8CD8 0%, #5DCAA5 100%); }

/* === TARJETA RESUMEN (datos clave) === */
.resumen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  background: white;
  border: 1px solid var(--gris-borde);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.resumen-celda {
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--gris-borde);
  border-bottom: 1px solid var(--gris-borde);
}
.resumen-celda:last-child { border-right: 0; }
.resumen-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gris-texto);
  margin-bottom: 4px;
}
.resumen-valor {
  font-size: 15px;
  font-weight: 600;
  color: var(--azul-oscuro);
}

/* === SECCIONES === */
.seccion {
  margin-bottom: 2.5rem;
}
.seccion-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--azul-miguelito);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.seccion-eyebrow-num {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: var(--azul-miguelito);
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 11px;
  line-height: 22px;
  font-weight: 600;
}
.seccion-titulo {
  font-size: 24px;
  font-weight: 700;
  color: var(--azul-oscuro);
  margin-bottom: 1rem;
  letter-spacing: -0.3px;
}
.seccion-texto {
  font-size: 16px;
  line-height: 1.7;
  color: #2C3E50;
  margin-bottom: 1rem;
}
.seccion-texto strong {
  color: var(--azul-petroleo);
  font-weight: 600;
}

.subseccion-titulo {
  font-size: 17px;
  font-weight: 600;
  color: var(--azul-oscuro);
  margin: 1.5rem 0 0.75rem;
  letter-spacing: -0.2px;
}

/* === UNIFORMIDAD (chips) === */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
}
.chip {
  background: var(--gris-fondo);
  border: 1px solid var(--gris-borde);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--azul-oscuro);
}
.chip-destacado {
  background: var(--azul-miguelito);
  color: white;
  border-color: var(--azul-miguelito);
  font-weight: 500;
}
.chip svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* === PASOS NUMERADOS === */
.pasos {
  margin-top: 1.25rem;
}
.paso {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--gris-borde);
}
.paso:last-child { border-bottom: 0; }
.paso-numero {
  font-size: 44px;
  font-weight: 700;
  color: var(--azul-miguelito);
  opacity: 0.4;
  line-height: 1;
  min-width: 56px;
  letter-spacing: -2px;
}
.paso-cuerpo {
  flex: 1;
}
.paso-titulo {
  font-size: 18px;
  font-weight: 600;
  color: var(--azul-oscuro);
  margin-bottom: 6px;
}
.paso-texto {
  font-size: 15px;
  color: #2C3E50;
  line-height: 1.6;
}
.paso-texto + .paso-texto {
  margin-top: 8px;
}

/* === BLOQUES DE AVISO === */
.aviso {
  padding: 14px 18px;
  border-radius: 12px;
  margin: 1rem 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.aviso-icono {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}
.aviso-icono svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.aviso-cuerpo { flex: 1; }
.aviso-titulo {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.aviso-texto {
  font-size: 14px;
  line-height: 1.55;
}
.aviso-tip {
  background: var(--pastel-verde);
  color: #0F6E56;
}
.aviso-tip .aviso-icono svg { stroke: #0F6E56; }
.aviso-ojo {
  background: var(--pastel-ambar);
  color: #854F0B;
}
.aviso-ojo .aviso-icono svg { stroke: #854F0B; }
.aviso-importante {
  background: var(--pastel-azul);
  color: #0C447C;
  border-left: 4px solid var(--azul-miguelito);
  border-radius: 0 12px 12px 0;
}
.aviso-importante .aviso-icono svg { stroke: #0C447C; }

/* === BLOQUE INFO BICOLUMNA === */
.info-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 1.5rem 0;
}
.info-card {
  background: white;
  border: 1px solid var(--gris-borde);
  border-radius: 12px;
  padding: 1rem 1.25rem;
}
.info-card-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gris-texto);
  margin-bottom: 6px;
}
.info-card-valor {
  font-size: 16px;
  font-weight: 600;
  color: var(--azul-oscuro);
}

/* === MAPA COLISEUM === */
.mapa-wrap {
  background: white;
  border: 1px solid var(--gris-borde);
  border-radius: 14px;
  padding: 1.25rem;
  margin: 1rem 0;
  text-align: center;
}
.mapa-wrap svg {
  max-width: 100%;
  height: auto;
}
.mapa-leyenda {
  font-size: 13px;
  color: var(--gris-texto);
  margin-top: 8px;
}

/* === FOOTER === */
.footer-guia {
  margin: 3rem 0 1rem;
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--gris-borde);
  border-radius: 14px;
  text-align: center;
}
.footer-guia-titulo {
  font-size: 18px;
  font-weight: 600;
  color: var(--azul-oscuro);
  margin-bottom: 6px;
}
.footer-guia-texto {
  font-size: 14px;
  color: var(--gris-texto);
  margin-bottom: 1rem;
}
.btn-volver {
  display: inline-block;
  background: var(--azul-miguelito);
  color: white;
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
}
.btn-volver:hover {
  background: var(--azul-petroleo);
  text-decoration: none;
  transform: translateY(-1px);
}

/* === FOOTER FINAL === */
.footer-final {
  margin: 2rem 0 1rem;
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid var(--gris-borde);
  font-size: 13px;
  color: var(--gris-texto);
}
.footer-final a {
  color: var(--gris-texto);
}

/* === BLOQUE DESCARGA PDF === */
.descarga {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, #E6F1FB 0%, #E1F5EE 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border: 1px solid var(--gris-borde);
}
.descarga-icono {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--azul-miguelito);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.descarga-icono svg {
  width: 28px;
  height: 28px;
  stroke: white;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.descarga-cuerpo {
  flex: 1;
  min-width: 0;
}
.descarga-titulo {
  font-size: 16px;
  font-weight: 600;
  color: var(--azul-oscuro);
  margin-bottom: 4px;
}
.descarga-texto {
  font-size: 14px;
  color: var(--gris-texto);
  line-height: 1.4;
  margin-bottom: 12px;
}
.btn-descarga {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--azul-miguelito);
  color: white;
  padding: 10px 18px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
}
.btn-descarga:hover {
  background: var(--azul-petroleo);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-descarga svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-descarga-peso {
  font-size: 12px;
  opacity: 0.85;
  margin-left: 4px;
}

@media (max-width: 600px) {
  .descarga {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }
}

/* === FOTO PORTADA (post-hero) === */
.foto-portada {
  margin: -1rem 0 2rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(10, 37, 64, 0.08);
  border: 1px solid var(--gris-borde);
}
.foto-portada img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* === LISTA CON BULLET PERSONALIZADO === */
.lista-bullet {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}
.lista-bullet li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 15px;
  line-height: 1.6;
  color: #2C3E50;
}
.lista-bullet li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--azul-miguelito);
}

/* === SUB-LISTA NUMERADA dentro de pasos === */
.sub-lista {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 0;
  counter-reset: sublist;
}
.sub-lista li {
  padding: 4px 0 4px 28px;
  position: relative;
  font-size: 15px;
  line-height: 1.6;
  color: #2C3E50;
  counter-increment: sublist;
}
.sub-lista li::before {
  content: counter(sublist);
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--azul-miguelito);
  min-width: 20px;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .hero {
    padding: 1.5rem 1.25rem;
  }
  .hero-icono {
    width: 48px;
    height: 48px;
    top: 1.25rem;
    right: 1.25rem;
  }
  .hero-icono svg {
    width: 26px;
    height: 26px;
  }
  .paso {
    gap: 1rem;
  }
  .paso-numero {
    font-size: 32px;
    min-width: 42px;
  }
}


/* ================================================
   FOOTER COMÚN A TODAS LAS PÁGINAS
   ================================================ */

.tm-footer {
  margin-top: 4rem;
  padding: 3rem 1.25rem 2rem;
  background: #FAFCFE;
  color: #4A6680;
  border-top: 4px solid #1A8CD8;
  border-radius: 0;
}

.tm-footer-inner {
  max-width: 760px;
  margin: 0 auto;
}

.tm-footer-top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #E1E8EE;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tm-footer-logo {
  flex-shrink: 0;
}

.tm-footer-logo img {
  height: 64px;
  width: auto;
  display: block;
}

.tm-footer-prop {
  flex: 1;
  min-width: 200px;
}

.tm-footer-prop-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1A8CD8;
  margin-bottom: 6px;
}

.tm-footer-prop-name {
  font-size: 16px;
  font-weight: 600;
  color: #0A2540;
  line-height: 1.3;
}

.tm-footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.tm-footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0A2540;
  margin-bottom: 12px;
}

.tm-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tm-footer-col li {
  margin-bottom: 8px;
}

.tm-footer-col a {
  font-size: 14px;
  color: #4A6680;
  text-decoration: none;
  transition: color 0.2s;
}

.tm-footer-col a:hover {
  color: #1A8CD8;
}

.tm-footer-col p {
  font-size: 14px;
  color: #4A6680;
  line-height: 1.5;
  margin: 0 0 6px;
}

.tm-footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid #E1E8EE;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.tm-footer-credit {
  font-size: 12px;
  color: #4A6680;
}

.tm-footer-credit strong {
  color: #0A2540;
  font-weight: 500;
}

.tm-footer-meta {
  font-size: 12px;
  color: #95A5B8;
}

@media (max-width: 600px) {
  .tm-footer {
    margin-top: 3rem;
    padding: 2rem 1rem 1.5rem;
    border-radius: 0;
  }
  .tm-footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .tm-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ================================================
   PÁGINAS LEGALES
   ================================================ */

.legal-hero {
  margin: 1.5rem 0 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--gris-borde);
}

.legal-hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--azul-miguelito);
  margin-bottom: 8px;
}

.legal-hero-titulo {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  color: var(--azul-oscuro);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: #2C3E50;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--azul-oscuro);
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.3px;
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--azul-oscuro);
  margin: 1.25rem 0 0.5rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
  margin: 0 0 1rem 1.5rem;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content strong {
  color: var(--azul-petroleo);
  font-weight: 600;
}

.legal-aviso-actualizacion {
  background: #E6F1FB;
  border-left: 4px solid var(--azul-miguelito);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.5rem;
  font-size: 13px;
  color: #0C447C;
}

/* ================================================
   TM-FOOTER FORCE OVERRIDE (temporal, limpiar después)
   ================================================ */
.tm-footer {
  background: #FAFCFE !important;
  color: #4A6680 !important;
  border-top: 4px solid #1A8CD8 !important;
  border-radius: 0 !important;
  padding: 3rem 1.25rem 2rem;
  margin-top: 4rem;
}
.tm-footer-prop-label { color: #1A8CD8 !important; }
.tm-footer-prop-name { color: #0A2540 !important; }
.tm-footer-top { border-bottom-color: #E1E8EE !important; }
.tm-footer-col h4 { color: #0A2540 !important; }
.tm-footer-col a,
.tm-footer-col p { color: #4A6680 !important; }
.tm-footer-col a:hover { color: #1A8CD8 !important; }
.tm-footer-bottom { border-top-color: #E1E8EE !important; }
.tm-footer-credit { color: #4A6680 !important; }
.tm-footer-credit strong { color: #0A2540 !important; }
.tm-footer-meta { color: #95A5B8 !important; }

/* ================================================
   HEADER COMÚN (sticky + banner-hero)
   ================================================ */
.tm-site-header { position: sticky; top: 0; z-index: 100; background: #ffffff; box-shadow: 0 2px 8px rgba(10,37,64,0.06); }
.tm-site-header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1.25rem; }
.tm-brand-mini { font-size: 1.05rem; font-weight: 800; color: #0A2540; text-decoration: none; letter-spacing: -0.01em; }
.tm-brand-mini:hover { color: #1A8CD8; }
.tm-nav { display: flex; gap: 1.5rem; align-items: center; }
.tm-nav a { color: #0A2540; text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.5rem 0.25rem; border-bottom: 2px solid transparent; transition: all 0.2s; }
.tm-nav a:hover, .tm-nav a.active { color: #1A8CD8; border-bottom-color: #1A8CD8; }
.tm-banner-hero { background: #ffffff; }
.tm-banner-hero a { display: block; }
.tm-banner-hero img { display: block; width: 100%; height: auto; max-height: 220px; object-fit: contain; background: #ffffff; }
@media (max-width: 600px) {
  .tm-banner-hero img { max-height: 120px; }
  .tm-nav { gap: 1rem; }
  .tm-nav a { font-size: 0.9rem; }
  .tm-brand-mini { font-size: 0.95rem; }
  .tm-site-header-inner { padding: 0.6rem 1rem; }
}

/* ================================================
   PÁGINA NIVELES
   ================================================ */
.tm-niveles-hero { background: linear-gradient(135deg, #1B5C75, #1A8CD8); color: #fff; padding: 4rem 1.25rem 3rem; text-align: center; }
.tm-niveles-hero-inner { max-width: 800px; margin: 0 auto; }
.tm-eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; opacity: 0.9; margin: 0 0 0.75rem; }
.tm-niveles-hero h1 { font-size: 2.75rem; font-weight: 800; margin: 0 0 1.25rem; }
.tm-niveles-intro { font-size: 1.05rem; line-height: 1.6; opacity: 0.95; margin: 0; }
.tm-nivel-section { padding: 4rem 1.25rem; }
.tm-nivel-section:nth-of-type(odd) { background: #F7FAFD; }
.tm-nivel-section:nth-of-type(even) { background: #ffffff; }
.tm-nivel-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.tm-nivel-section:nth-of-type(even) .tm-nivel-inner { direction: rtl; }
.tm-nivel-section:nth-of-type(even) .tm-nivel-meta,
.tm-nivel-section:nth-of-type(even) .tm-nivel-imagen { direction: ltr; }
.tm-nivel-num { font-size: 0.85rem; font-weight: 700; color: #1A8CD8; text-transform: uppercase; letter-spacing: 2px; margin: 0 0 0.5rem; }
.tm-nivel-meta h2 { font-size: 2rem; font-weight: 800; color: #0A2540; margin: 0 0 0.5rem; }
.tm-nivel-edad { color: #4A6680; font-size: 1.05rem; margin: 0 0 1.25rem; }
.tm-nivel-cinturones { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.tm-belt { display: inline-block; width: 32px; height: 12px; border-radius: 3px; border: 1px solid rgba(0,0,0,0.1); }
.belt-red { background: #C0392B; }
.belt-white { background: #ffffff; border-color: #C0CCD9; }
.belt-yellow { background: #F1C40F; }
.belt-orange { background: #E67E22; }
.belt-green { background: #27AE60; }
.belt-blue { background: #2980B9; }
.belt-white-yellow {
  background: linear-gradient(to right, #ffffff 0%, #ffffff 50%, #F1C40F 50%, #F1C40F 100%);
  border-color: #C0CCD9;
}
.tm-belt-text { font-size: 0.85rem; color: #4A6680; margin-left: 0.5rem; }
.tm-nivel-meta h3 { font-size: 1rem; font-weight: 700; color: #0A2540; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 1rem; }
.tm-tecnicas { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.tm-tecnicas li { background: #E6F1FB; color: #0A2540; padding: 0.5rem 0.85rem; border-radius: 6px; font-size: 0.9rem; font-weight: 500; }
.tm-nivel-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.tm-btn-download { display: inline-block; background: #1B5C75; color: #fff; padding: 0.75rem 1.25rem; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: background 0.2s; }
.tm-btn-download:hover { background: #1A8CD8; }
.tm-btn-download-secondary { background: transparent; color: #1B5C75; border: 1.5px solid #1B5C75; }
.tm-btn-download-secondary:hover { background: #1B5C75; color: #fff; }
.tm-nivel-imagen img { width: 100%; height: auto; display: block; border-radius: 12px; box-shadow: 0 8px 24px rgba(10,37,64,0.12); }
@media (max-width: 768px) {
  .tm-nivel-inner { grid-template-columns: 1fr; gap: 2rem; }
  .tm-nivel-section:nth-of-type(even) .tm-nivel-inner { direction: ltr; }
  .tm-niveles-hero h1 { font-size: 2rem; }
  .tm-tecnicas { grid-template-columns: 1fr; }
}

/* ================================================
   GRID DE NIVELES EN HOME
   ================================================ */
.tm-niveles-grid-section { padding: 5rem 1.25rem; background: #ffffff; }
.tm-niveles-grid-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.tm-eyebrow-dark { color: #1A8CD8; font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 0.75rem; }
.tm-niveles-grid-section h2 { font-size: 2.25rem; font-weight: 800; color: #0A2540; margin: 0 0 1rem; }
.tm-niveles-grid-intro { color: #4A6680; font-size: 1.05rem; max-width: 640px; margin: 0 auto 3rem; line-height: 1.6; }
.tm-niveles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.tm-nivel-card { display: block; background: #F7FAFD; border-radius: 16px; overflow: hidden; text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 4px 12px rgba(10,37,64,0.05); }
.tm-nivel-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(10,37,64,0.18); }
.tm-nivel-card-image { aspect-ratio: 3/4; overflow: hidden; background: #fff; }
.tm-nivel-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tm-nivel-card:hover .tm-nivel-card-image img { transform: scale(1.06); }
.tm-nivel-card-body { padding: 1.25rem; text-align: center; }
.tm-nivel-card-num { color: #1A8CD8; font-weight: 700; font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 0.5rem; }
.tm-nivel-card-stage { color: #0A2540; font-size: 1.1rem; font-weight: 700; margin: 0 0 0.25rem; }
.tm-nivel-card-age { color: #4A6680; font-size: 0.9rem; margin: 0; }
@media (max-width: 900px) { .tm-niveles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tm-niveles-grid { grid-template-columns: 1fr; } .tm-niveles-grid-section h2 { font-size: 1.75rem; } }

/* ================================================
   MODAL ENCUESTA
   ================================================ */
.tm-modal-overlay { position: fixed; inset: 0; background: rgba(10,37,64,0.78); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 1rem; animation: tmFade 0.2s; }
.tm-modal-overlay[hidden] { display: none; }
@keyframes tmFade { from { opacity: 0; } to { opacity: 1; } }
.tm-modal { background: #ffffff; border-radius: 16px; padding: 2rem; max-width: 480px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.3); position: relative; animation: tmSlide 0.25s; }
@keyframes tmSlide { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.tm-modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 1.8rem; color: #95A5B8; cursor: pointer; line-height: 1; padding: 0; width: 32px; height: 32px; }
.tm-modal-close:hover { color: #0A2540; }
.tm-modal-eyebrow { color: #1A8CD8; font-size: 0.75rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 0.5rem; }
.tm-modal-title { color: #0A2540; font-size: 1.5rem; font-weight: 800; margin: 0 0 1rem; line-height: 1.3; }
.tm-modal-text { color: #4A6680; font-size: 1rem; line-height: 1.6; margin: 0 0 1.75rem; }
.tm-modal-cta { display: flex; flex-direction: column; gap: 0.75rem; }
.tm-modal-btn-primary, .tm-modal-btn-secondary { padding: 0.85rem 1.5rem; border-radius: 50px; font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none; font-family: inherit; transition: all 0.2s; }
.tm-modal-btn-primary { background: #1B5C75; color: #ffffff; }
.tm-modal-btn-primary:hover { background: #1A8CD8; }
.tm-modal-btn-secondary { background: transparent; color: #1B5C75; border: 1.5px solid #1B5C75; }
.tm-modal-btn-secondary:hover { background: #1B5C75; color: #ffffff; }
