/* Alineación general */
.align-left {
  text-align: left;
}

/* ==== Hero header ==== */
.hero {
  background: #060640;
  color: white;
  padding: 2rem;
  text-align: center;
}

/* ==== Título del Hero ==== */
.hero-title {
  color: #ffffff;     /* Texto blanco */
  font-size: 2.2rem;  /* Un poco más grande para destacar */
  font-weight: 800;   /* Bien fuerte */
  margin: 0.5rem 0;
  line-height: 1.3;
}

/* ==== Local areas ==== */
.local-areas {
  background: #ecf9ff;
  padding: 2rem;
  text-align: center;
}
.local-box {
  background: white;
  border: 3px solid #060640;
  border-radius: 12px;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  color: #333;
  font-size: 0.95rem;
}
.local-box h2 {
  margin-bottom: 1rem;
  color: #004080;
  font-weight: 700;
}
/* ==== Párrafos ==== */
.local-box p.aviso {
  margin-bottom: 1.5rem;
  font-style: italic;
  color: #444;
 }

/* Estilos principales para la tabla ZIP */
.zip-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: center;
  font-family: Arial, sans-serif;
  background-color: #fefefe;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 1rem;
}

/* Encabezado */
.zip-table thead th {
  background-color: #004080;
  color: white;
  padding: 12px 8px;
  font-weight: 700;
  border-bottom: 2px solid #003060;
  font-size: 1rem;
}

/* Celdas */
.zip-table tbody td {
  border: 1px solid #ddd;
  padding: 10px 6px;
  vertical-align: top;
  color: #333;
  font-size: 0.9rem;
  line-height: 1.4;
  word-wrap: break-word;
}

/* Filas alternas */
.zip-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Hover */
.zip-table tbody tr:hover {
  background-color: #e6f0ff;
  transition: background-color 0.3s ease;
}

/* Ancho de columnas (3 columnas en total) */
.zip-table th, 
.zip-table td {
  width: calc(100% / 3);
}

/* ==== Estilos para enlaces de la columna Zona ==== */
.zip-link {
  color: #004080;               /* Azul corporativo (estado normal) */
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  padding: 2px 4px;          /* Movido al estado base */
  border-radius: 4px;        /* También desde el inicio */
}

/* Visitado (después de hacer clic) */
.zip-link:visited {
  color: #cc0000;               /* Rojo permanente */
}

/* Hover / Focus */
.zip-link:hover,
.zip-link:focus,
.zip-link:focus-visible {
  color: #002b5c;               /* Azul más oscuro */
  background-color: #e6f0ff;    /* Fondo azul claro */
  outline: 2px solid #004080;
  outline-offset: 2px;
  border-radius: 4px;
  padding: 2px 4px;
  text-decoration: underline;
}

/* Activo (mientras mantienes el clic presionado) */
.zip-link:active {
  color: #ff0000;               /* Rojo más fuerte en el momento del clic */
}

/* ==== Tipografía general ==== */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* ==== Encabezados principales ==== */
h1 {
  font-size: 2rem;            /* Tamaño destacado pero no exagerado */
  font-weight: 800;           /* Bien fuerte */
  color: #002b5c;             /* Azul corporativo oscuro */
  margin-bottom: 1rem;
  line-height: 1.3;
}

h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #004080;             /* Azul más claro que h1 */
  margin: 1.2rem 0 0.8rem 0;
  line-height: 1.4;
}

/* Responsive para móviles */
@media (max-width: 600px) {
  .zip-table {
    font-size: 0.8rem;
  }
  .zip-table thead {
    display: none; /* Ocultar encabezados en móviles */
  }
  .zip-table tbody td {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid #ddd;
  }
  .zip-table tbody tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
  }
}

/* ==== Footer ==== */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}
/* ==== Texto del Footer ==== */
.footer-text {
  color: #ffffff;      /* Blanco puro */
  font-size: 0.9rem;   /* Un poco más pequeño que el cuerpo normal */
  margin: 0;
  line-height: 1.4;
}

