/* =========================================
   OVERRIDES — ajustes finos y accesibilidad
   ========================================= */

/* 1) Titulares unificados */


.section-title,
.services-title,
.techniques-title {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin: 0 auto 28px;
  position: relative;
  display: block;
}
.section-title::after,
.services-title::after,
.techniques-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* 2) Color AA para elementos interactivos */
:root{
  --btn-primary: #14818c;   /* AA (≥4.5:1) con texto blanco */
  --btn-accent:  #00838f;   /* hover */
  --whatsapp:    #188741;   /* AA */
  --scroll-top:  #008487;   /* AA */
  --link-color:  #00838f;   /* AA */
}
a { color: var(--link-color); }
a:hover { text-decoration: underline; }
.btn { background: var(--btn-primary); }
.btn:hover { background: var(--btn-accent); }
.whatsapp-btn { background: var(--whatsapp); }
.scroll-top-btn { background: var(--scroll-top); }
.cookie-banner button { background: var(--btn-primary); }
.cookie-banner button:hover { background: var(--btn-accent); }

/* 3) Hero y tipografía responsive */
.hero .overlay .btn { letter-spacing: .02em; box-shadow: var(--shadow-lg); }
@media (max-width: 768px) {
  .hero { min-height: 360px; }
  .hero .overlay h2 { font-size: clamp(2rem, 6.5vw, 3rem); }
  .hero .overlay .btn { box-shadow: var(--shadow); transform: none; }
}

/* 4) Menú móvil foco + altura segura (iOS) */
@media (max-width: 768px) {
  header nav a:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: 6px;
  }
  header nav { height: calc(100svh - var(--header-height)) !important; }
}

/* 5) Elevación coherente */
.scroll-top-btn, .whatsapp-btn { box-shadow: var(--shadow-lg); }

/* 6) Secciones: ancla suave */
.section,
.welcome,
.reviews,
.reservations,
.donde-encontrarnos,
.equipo { scroll-margin-top: 96px; }

/* 7) Formularios foco accesible */
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(77, 217, 230, 0.25);
}

/* 8) Footer legible */
.footer { font-size: 15px; }
.footer-section h4 { letter-spacing: .01em; }

/* Dimensiones del panel en móvil */
@media (max-width: 768px){
  /* El panel ocupa 80vw (ajusta si usas otro ancho fijo) */
  #mainNav { width: 80vw !important; }

  /* Cuando el menú está abierto, el overlay empieza DESPUÉS del panel */
  body.menu-open .menu-overlay {
    left: 80vw !important;      /* igual al ancho del panel */
    right: 0 !important;
    /* si usas position: fixed; inset:0 en el overlay, esto sobrescribe el left */
  }
}

:root { --z-overlay: 1000; --z-header: 1001; }
.menu-overlay { z-index: 1000 !important; }
header, #mainNav { z-index: 1001 !important; }
@media (max-width: 768px) {
  .dropdown-link::after,
  .submenu-link::after {
    content: none !important;
  }
}
#privacidad { max-width: 900px; margin: 0 auto; padding: 4rem 2rem; }
#privacidad h1 { text-align: center; margin-bottom: 2.5rem; }
#privacidad h2 { margin: 2.5rem 0 1rem; }
#privacidad p { margin-bottom: 1.3rem; line-height: 1.8; }
#privacidad ul { margin: 1.5rem 0; padding-left: 1.5rem; }
#privacidad ul li { margin-bottom: .9rem; line-height: 1.7; }
