/* ========================================
   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: #0A2540;
  color: #95B3CC;
  border-radius: 24px 24px 0 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 rgba(149, 179, 204, 0.15);
  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: #5DCAA5;
  margin-bottom: 6px;
}

.tm-footer-prop-name {
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  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: #FFFFFF;
  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: #95B3CC;
  text-decoration: none;
  transition: color 0.2s;
}

.tm-footer-col a:hover {
  color: #5DCAA5;
}

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

.tm-footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(149, 179, 204, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.tm-footer-credit {
  font-size: 12px;
  color: #5A6B7A;
}

.tm-footer-credit strong {
  color: #95B3CC;
  font-weight: 500;
}

.tm-footer-meta {
  font-size: 12px;
  color: #5A6B7A;
}

@media (max-width: 600px) {
  .tm-footer {
    margin-top: 3rem;
    padding: 2rem 1rem 1.5rem;
    border-radius: 16px 16px 0 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;
}
