/* =========================================================================
   ACCESIBILIDAD WCAG 2.1 AA (Kit Digital)
   Añadir AL FINAL de la hoja de estilos actual. Mantiene el aspecto visual
   tras los cambios de marcado en main.html y home.html.
   ========================================================================= */

/* Por si el tema no carga Bootstrap 3 en alguna página */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Títulos del carrusel: ahora todos son H2 con aspecto de H1 */
.main-slider .position-caption .content .h1-style {
  font-size: 4rem;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}

/* Texto del pie del slider (antes <p>) */
.main-slider .position-footer .text-footer > span:first-child p {
  margin: 0;
}

/* Proposals: subtítulo pasa de <div> a <p> */
.proposals-section .content p {
  margin: 0;
}

/* Cabecera: horario / cita pasan a ser button + a */
#web-header .first-line .header-quick-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
#web-header .first-line .header-quick-actions .btn-as-link {
  display: inline-flex;
  align-items: center;
  color: #555;
  cursor: pointer;
}

/* Menús desplegables (md-menu-content se renderiza en <body>) */
md-menu-content.submenu-special md-menu-item > a.md-button {
  font-size: 14px;
  text-transform: none;
  text-align: left;
  color: #5f5b5c;
}
md-menu-content.submenu-special md-menu-item > a.md-button:hover {
  color: #c16663;
}
md-menu-content .menu-schedule[disabled] {
  color: #555 !important;
  text-transform: none;
}

/* Botón cerrar del menú de destinos (antes <span>) */
#destinationMenu .btn-cerrar {
  cursor: pointer;
}
#destinationMenu .btn-cerrar .material-icons {
  font-size: 28px;
}

/* Desplegable de regiones (estilos antes en línea) */
#destinationMenu .region-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 8px 5px;
  background: none;
  border: 0;
  border-bottom: 1px solid #5f0313;
  color: #ccc;
  text-align: left;
  cursor: pointer;
}
#destinationMenu .region-toggle .region-name {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
#destinationMenu .region-toggle .region-icon {
  font-size: 18px;
  transition: transform 0.3s;
}
#destinationMenu .region-toggle .region-icon.is-open {
  transform: rotate(180deg);
}
#destinationMenu .region-list {
  border-radius: 2px;
  background: #5f0313;
}

/* About: antepretítulo pasa a <p>, textos a <div> */
.about-section .about-pretitle {
  margin: 0;
  letter-spacing: 0.15em;
}

/* Reseñas */
.reviews-section .subtitle {
  margin: 0;
}
.reviews-section .review-stars {
  margin: 0 0 10px;
}

/* Prefooter: <p> -> <h2> */
.newsletter-prefooter .prefooter-title {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 400;
  color: #555;
}

/* Footer: redes sociales pasan a <ul>, copyright a <p> */
#web-footer .contact-forms .social-networks {
  margin: 0;
  padding: 0;
}
#web-footer .copyright {
  margin: 0;
}

/* Foco visible para teclado (WCAG 2.4.7, nivel AA) */
a:focus-visible,
button:focus-visible,
.md-button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
#web-header .bottom-line a:focus-visible,
#web-header .bottom-line .btn-as-link:focus-visible {
  outline-color: #fff;
}
