/* ==========================================
   LES MARÍ - STYLES.CSS (QUIET LUXURY DEFINITIVE)
   Paleta Arena Neutra Cálida & Charcoal
   ========================================== */

:root {
  --bg-arena: #eee5c7;          /* Tono arena piedra cálido, 100% neutro */
  --bg-arena-soft: #e9e6dd;     /* Tono secundario uniforme */
  --text-charcoal: #2B241E;     /* Charcoal real (corregido: antes #0b440b verde) */
  --charcoal-soft: #4a3f35;     /* Charcoal más suave para bordes y hover */
  --white: #f3eace;             /* Crema/Marfil (no blanco puro, más cálido) */
  --font-script: 'Pinyon Script', cursive;    /* Corregido: antes 'Allura' que no estaba cargada */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Montserrat', sans-serif;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   RESET
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px; /* Compensa el navbar fijo al navegar con anclas */
}

body {
  background-color: var(--bg-arena);
  color: var(--text-charcoal);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================
   TIPOGRAFÍA — Jerarquía de lujo
   Pinyon Script: títulos display (h1, h2, editorial)
   Cormorant Garamond italic: subtítulos (h3, h4, nav)
   Montserrat: cuerpo y UI
   ========================================== */
h1, h2, .editorial-text, .section-title {
  font-family: var(--font-script);
  font-weight: 400;
  letter-spacing: 0.02em;
}

h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
}

h1 {
  font-size: clamp(3.5rem, 6.5vw, 5.5rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(3rem, 5vw, 4.2rem);
  line-height: 1.2;
}

h3 {
  font-size: 2.4rem;
  line-height: 1.25;
}

h4 {
  font-size: 1.9rem;
  line-height: 1.3;
}

.editorial-text {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.35;
  color: var(--text-charcoal);
  text-align: center;
}

/* Tipografía de marca manuscrita */
.brand-script {
  font-family: var(--font-script);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.4em;
  display: inline-block;
  vertical-align: middle;
}

/* ==========================================
   CONTENEDORES
   ========================================== */
.container-wide {
  width: 90%;
  max-width: 1350px;
  margin: 0 auto;
}

.container-narrow {
  width: 90%;
  max-width: 780px;
  margin: 0 auto;
}

/* ==========================================
   NAVBAR & LOGO
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  background-color: rgba(245, 240, 218, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(43, 36, 30, 0.15);
  overflow: visible;
}

/* Logo integrado genérico */
.inline-logo {
  height: 3.5em;
  width: auto;
  vertical-align: middle;
  display: inline-block;
  margin: 0 4px;
  object-fit: contain;
}

/* Tamaño específico ampliado para el Manifiesto y cabeceras */
.statement-section .inline-logo,
.maison-header .inline-logo {
  height: 4.5em;
}

/* Logo independiente y ampliado para el Manifiesto */
.manifesto-logo-img {
  height: 170px;
  width: auto;
  display: block;
  margin: 15px auto 25px auto;
  object-fit: contain;
}

.logo-center {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo-img {
  height: 160px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Elementos de la cabecera (Menú, Reservar) — estilo editorial serif italic */
.menu-toggle,
.nav-right a {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.04em;
  color: var(--text-charcoal);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-cta {
  padding: 11px 24px;
  border: 1px solid var(--text-charcoal);
  background: transparent;
}

.nav-cta:hover {
  background-color: var(--text-charcoal);
  color: var(--bg-arena);
}

.nav-right {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-left: auto;
}

/* ==========================================
   SIDE DRAWER (MENÚ LATERAL)
   ========================================== */
.side-drawer {
  position: fixed;
  top: 0;
  left: -420px;
  width: 400px;
  height: 100%;
  background-color: var(--bg-arena);
  z-index: 1100;
  padding: 60px 45px;
  transition: var(--transition-smooth);
  box-shadow: 15px 0 35px rgba(43, 36, 30, 0.08);
  overflow-y: auto;
}

.side-drawer.active {
  left: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 36, 30, 0.35);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.close-btn {
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-charcoal);
  margin-bottom: 25px;
  line-height: 1;
}

.drawer-logo-img {
  height: 140px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 35px;
}

.drawer-item {
  text-decoration: none;
  color: var(--text-charcoal);
  display: block;
  margin-bottom: 20px;
}

.drawer-item h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.drawer-item p {
  font-size: 0.8rem;
  opacity: 0.7;
}

.drawer-divider {
  height: 1px;
  background-color: rgba(43, 36, 30, 0.08);
  margin: 18px 0;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 140px;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

/* Overlay oscuro sobre el video para legibilidad del texto */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(43, 36, 30, 0.4) 0%, rgba(43, 36, 30, 0.55) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 25px;
  display: block;
  opacity: 0.9;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 22px;
  text-align: center;
}

.hero-description {
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 40px auto;
  opacity: 0.92;
  font-weight: 300;
  text-align: center;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* ==========================================
   BOTONES
   ========================================== */
.btn-minimal, .btn-solid, .btn-primary, .btn-secondary, .btn-submit {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 32px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-block;
  border: 1px solid transparent;
}

.btn-minimal {
  color: var(--white);
  border-color: var(--white);
}

.btn-minimal:hover {
  background-color: var(--white);
  color: var(--text-charcoal);
}

.btn-solid {
  background-color: var(--bg-arena);
  color: var(--text-charcoal);
  border-color: var(--bg-arena);
}

.btn-solid:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-primary {
  background-color: var(--text-charcoal);
  color: var(--bg-arena);
  border: 1px solid var(--text-charcoal);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--text-charcoal);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-charcoal);
  border: 1px solid var(--text-charcoal);
  margin-top: 15px;
}

.btn-secondary:hover {
  background-color: var(--text-charcoal);
  color: var(--bg-arena);
}

.btn-submit {
  width: 100%;
  background-color: var(--text-charcoal);
  color: var(--bg-arena);
  border: none;
  padding: 18px;
  font-weight: 400;
}

.btn-submit:hover {
  background-color: var(--charcoal-soft);
}

/* ==========================================
   MANIFIESTO & PILARES
   ========================================== */
.statement-section {
  padding: 130px 0 70px 0;
  text-align: center;
}

.section-tag {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
  opacity: 0.6;
}

.pillars-section {
  padding: 40px 0 130px 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
}

.pillar-card {
  background-color: transparent;
  border: 1px solid rgba(43, 36, 30, 0.12);
  padding: 55px 40px;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  border-color: rgba(43, 36, 30, 0.3);
  transform: translateY(-3px);
}

.pillar-tag {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 18px;
  opacity: 0.5;
}

.pillar-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.pillar-card p {
  font-size: 0.92rem;
  opacity: 0.8;
}

/* ==========================================
   SECCIÓN DE EXPERIENCIAS (TABS)
   ========================================== */
.services-interactive-section {
  padding: 120px 0;
  border-top: 1px solid rgba(43, 36, 30, 0.08);
}

.section-title {
  text-align: center;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  margin-bottom: 50px;
  width: 100%;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.tab-btn {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(43, 36, 30, 0.25);
  padding: 13px 28px;
  cursor: pointer;
  color: var(--text-charcoal);
  transition: var(--transition-smooth);
}

.tab-btn.active, .tab-btn:hover {
  background-color: var(--text-charcoal);
  color: var(--bg-arena);
  border-color: var(--text-charcoal);
}

.tab-content {
  display: none;
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-content.active {
  display: block;
}

.tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tab-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(43, 36, 30, 0.06);
}

.tab-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 15px;
  opacity: 0.6;
}

.tab-info h3 {
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.tab-description {
  font-size: 1.02rem;
  margin-bottom: 25px;
  opacity: 0.85;
}

.tab-features {
  list-style: none;
  margin-bottom: 35px;
}

.tab-features li {
  margin-bottom: 15px;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================
   GALERÍA VISUAL
   ========================================== */
.section-gallery {
  padding: 45px 2%;
  background-color: var(--bg-arena);
}

.gallery-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 350px 350px;
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.gallery-item.item-large {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(43, 36, 30, 0.85), transparent);
  color: var(--white);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ==========================================
   MAISON LES MARÍ (B2B)
   ========================================== */
.section-maison {
  padding: 130px 0;
  border-top: 1px solid rgba(43, 36, 30, 0.08);
}

.maison-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px auto;
}

.maison-header h2 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.maison-header p {
  font-size: 1.05rem;
  opacity: 0.85;
}

.maison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  margin-bottom: 50px;
}

.maison-card {
  background-color: transparent;
  border: 1px solid rgba(43, 36, 30, 0.12);
  padding: 45px 35px;
  transition: var(--transition-smooth);
}

.maison-card:hover {
  border-color: rgba(43, 36, 30, 0.3);
  transform: translateY(-3px);
}

.maison-card h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.maison-card p {
  font-size: 0.92rem;
  opacity: 0.8;
}

.maison-cta {
  text-align: center;
}

.maison-cta-text {
  font-size: 1.05rem;
  margin-bottom: 5px;
  opacity: 0.85;
}

/* ==========================================
   SECCIÓN FAQ
   ========================================== */
.section-faq {
  padding: 100px 0;
  border-top: 1px solid rgba(43, 36, 30, 0.08);
  background-color: var(--bg-arena);
}

.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  border-bottom: 1px solid rgba(43, 36, 30, 0.15);
  padding-bottom: 20px;
  transition: var(--transition-smooth);
}

.faq-item summary {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-charcoal);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.4rem;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin-top: 15px;
  font-size: 0.92rem;
  line-height: 1.8;
  opacity: 0.85;
}

/* ==========================================
   FORMULARIO DE RESERVA
   ========================================== */
.section-contact {
  padding: 130px 0;
  background-color: var(--bg-arena-soft);
  text-align: center;
  border-top: 1px solid rgba(43, 36, 30, 0.08);
}

.section-contact h2 {
  font-size: 2.6rem;
  margin-bottom: 15px;
}

.lead-text {
  font-size: 1rem;
  margin-bottom: 50px;
  opacity: 0.8;
}

.luxury-form {
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.luxury-form input,
.luxury-form select,
.luxury-form textarea {
  width: 100%;
  padding: 16px 22px;
  background: var(--bg-arena);
  border: 1px solid rgba(43, 36, 30, 0.2);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-charcoal);
  outline: none;
  transition: var(--transition-smooth);
}

.luxury-form input:focus,
.luxury-form select:focus,
.luxury-form textarea:focus {
  border-color: var(--text-charcoal);
}

.luxury-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* Checkbox privacidad y aviso RGPD */
.form-privacy-check {
  margin-top: 15px;
  margin-bottom: 15px;
  text-align: left;
}

.privacy-label {
  font-size: 0.82rem;
  color: var(--text-charcoal);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  opacity: 0.9;
}

.privacy-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--text-charcoal);
  cursor: pointer;
  flex-shrink: 0;
}

.privacy-label a {
  color: var(--text-charcoal);
  text-decoration: underline;
}

.rgpd-notice {
  font-size: 0.72rem;
  line-height: 1.5;
  opacity: 0.65;
  margin-bottom: 25px;
  text-align: left;
}

/* Mensaje de éxito */
.form-success-message {
  text-align: center;
  padding: 40px 20px;
}

.form-success-message h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.form-success-message p {
  font-size: 1rem;
  opacity: 0.85;
  max-width: 500px;
  margin: 0 auto;
}

/* ==========================================
   WHATSAPP FLOTANTE
   ========================================== */
.float-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--text-charcoal);
  color: var(--bg-arena);
  padding: 13px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgba(43, 36, 30, 0.18);
  z-index: 999;
  transition: var(--transition-smooth);
}

.float-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(43, 36, 30, 0.25);
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background-color: var(--text-charcoal);
  color: var(--white);
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(43, 36, 30, 0.3);
  font-family: var(--font-sans);
  width: 100%;
}

.footer-content {
  display: grid;
  grid-template-columns: 2.5fr 1.5fr 1fr;
  gap: 80px;
  padding-bottom: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Marca y Logo */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  height: 150px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  margin-bottom: 25px;
  display: block;
  /* Si tu logo es oscuro y no se ve sobre el fondo charcoal, descomenta: */
  /* filter: brightness(0) invert(0.9); */
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.75;
  max-width: 380px;
  margin: 0;
  color: var(--white);
}

/* Titulares de columnas */
.footer-nav h4,
.footer-social-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 25px;
  opacity: 0.9;
  color: var(--white);
  font-style: normal;
  font-weight: 400;
}

/* Enlaces rápidos */
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 14px;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 1;
}

/* Iconos de Redes Sociales */
.social-icons {
  display: flex;
  gap: 22px;
  align-items: center;
}

.social-icons a {
  color: var(--white);
  font-size: 1.3rem;
  opacity: 0.75;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  opacity: 1;
  transform: translateY(-3px);
}

/* Barra inferior de legales */
.footer-bottom {
  border-top: 1px solid rgba(243, 234, 206, 0.15);
  padding-top: 30px;
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  gap: 20px;
}

.footer-legal-links {
  display: flex;
  gap: 30px;
}

.footer-legal-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-legal-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ==========================================
   MODAL DE TEXTOS LEGALES
   ========================================== */
.legal-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 36, 30, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.legal-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.legal-modal-card {
  background-color: var(--bg-arena);
  color: var(--text-charcoal);
  width: 90%;
  max-width: 750px;
  max-height: 80vh;
  padding: 45px 40px;
  border-radius: 4px;
  position: relative;
  box-shadow: 0 25px 50px rgba(43, 36, 30, 0.3);
  border: 1px solid rgba(43, 36, 30, 0.15);
  overflow-y: auto;
}

.legal-modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-charcoal);
  cursor: pointer;
  line-height: 1;
  transition: opacity 0.3s ease;
}

.legal-modal-close:hover {
  opacity: 0.6;
}

.legal-modal-body h3 {
  font-family: var(--font-serif) !important;
  font-style: normal !important;
  font-size: 2rem;
  margin-bottom: 20px;
}

.legal-modal-body h4 {
  font-family: var(--font-sans) !important;
  font-style: normal !important;
  font-size: 1.05rem;
  font-weight: 500;
  margin: 20px 0 8px 0;
}

.legal-modal-body p {
  font-size: 0.88rem;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 12px;
}

.legal-modal-body a {
  color: var(--text-charcoal);
  text-decoration: underline;
}

/* ==========================================
   BANNER DE COOKIES (RGPD / LSSI-CE)
   ========================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--text-charcoal);
  color: var(--white);
  padding: 20px 30px;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 30px rgba(43, 36, 30, 0.2);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  width: 100%;
}

.cookie-text {
  font-size: 0.82rem;
  line-height: 1.6;
  opacity: 0.85;
  flex: 1;
}

.cookie-text a {
  color: var(--white);
  text-decoration: underline;
  opacity: 0.8;
}

.cookie-accept {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background-color: var(--bg-arena);
  color: var(--text-charcoal);
  border: 1px solid var(--bg-arena);
  padding: 12px 28px;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
  border-radius: 2px;
}

.cookie-accept:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* ==========================================
   SELECTOR DE IDIOMAS
   ========================================== */
.lang-selector-wrapper {
  position: relative;
  display: inline-block;
}

.lang-select {
  background-color: transparent;
  color: var(--text-charcoal);
  border: 1px solid rgba(43, 36, 30, 0.25);
  padding: 8px 32px 8px 16px;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  outline: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B241E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3e%3Cpolyline points='6 9 12 15 18 9'%3e%3C/polyline%3e%3C/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 11px;
}

.lang-select:hover {
  border-color: var(--text-charcoal);
  background-color: rgba(43, 36, 30, 0.04);
}

.lang-select option {
  background-color: var(--bg-arena);
  color: var(--text-charcoal);
  padding: 12px;
  font-family: var(--font-sans);
}

/* ==========================================
   PRE-LOADER
   ========================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-arena);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.preloader-logo {
  height: 180px;
  width: auto;
  object-fit: contain;
  animation: preloaderPulse 1.2s infinite alternate ease-in-out;
}

@keyframes preloaderPulse {
  0% { opacity: 0.65; transform: scale(0.97); }
  100% { opacity: 1; transform: scale(1); }
}

/* ==========================================
   RTL — ÁRABE (Derecha a Izquierda)
   ========================================== */
.arabic-rtl {
  direction: rtl;
  text-align: right;
}

.arabic-rtl .navbar,
.arabic-rtl .hero-content,
.arabic-rtl .statement-section,
.arabic-rtl .services-interactive-section,
.arabic-rtl .section-gallery,
.arabic-rtl .section-maison,
.arabic-rtl .section-faq,
.arabic-rtl .section-contact,
.arabic-rtl .site-footer {
  direction: rtl;
}

.arabic-rtl .nav-right {
  flex-direction: row-reverse;
}

.arabic-rtl .side-drawer {
  left: auto;
  right: -420px;
}

.arabic-rtl .side-drawer.active {
  left: auto;
  right: 0;
}

.arabic-rtl .float-whatsapp {
  right: auto;
  left: 30px;
}

/* ==========================================
   ACCESIBILIDAD — Focus visible
   ========================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--text-charcoal);
  outline-offset: 2px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
  .tab-grid, .form-row {
    grid-template-columns: 1fr;
  }
  .navbar {
    padding: 0 20px;
    height: 100px;
  }
  .logo-img {
    height: 100px;
  }
  .hero {
    padding-top: 100px;
  }
  .side-drawer {
    width: 100%;
    left: -100%;
  }
  .tab-image img {
    height: 350px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .footer-legal-links {
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
  }
  .cookie-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 18px;
    height: 85px;
    justify-content: space-between;
  }

  .logo-center {
    position: static;
    transform: none;
  }

  .logo-img {
    height: 45px;
  }

  .nav-right .nav-cta {
    display: none;
  }

  .nav-right {
    gap: 10px;
    margin-left: 0;
  }

  .menu-toggle {
    font-size: 1.25rem;
  }

  .lang-select {
    padding: 6px 24px 6px 10px;
    font-size: 0.7rem;
  }

  .hero {
    padding-top: 85px;
    min-height: 600px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-item.item-large {
    grid-row: span 1;
    height: 300px;
  }
  .gallery-item {
    height: 250px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .float-whatsapp {
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    font-size: 0.7rem;
  }
}
