@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* =====================================================
   HOTEL PEDRAZA — style.css
   ===================================================== */

:root {
  --gold:        #C5964A;
  --gold-dark:   #A07838;
  --gold-light:  #DDB87A;
  --navy:        #1C2B3A;
  --navy-light:  #2D3F52;
  --cream:       #F7F4EF;
  --cream-dark:  #EDE8DF;
  --white:       #FFFFFF;
  --text:        #1A1A2E;
  --text-muted:  #3D4A5C;
  --border:      rgba(197, 150, 74, 0.22);
  --border-dark: rgba(197, 150, 74, 0.5);
  --shadow-sm:   0 1px 8px rgba(28, 43, 58, 0.07);
  --shadow-md:   0 4px 20px rgba(28, 43, 58, 0.13);
  --shadow-lg:   0 10px 40px rgba(28, 43, 58, 0.18);
  --radius:      6px;
  --t:           all 0.25s ease;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ===================== HEADER ===================== */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid rgba(197, 150, 74, 0.18);
  transition: background 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 25%, var(--gold-light) 50%, var(--gold) 75%, transparent 100%);
  opacity: 0.55;
  pointer-events: none;
}

header h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

header > p,
header section > h2 { display: none; }
header > div { display: none; }
header section { padding: 0; margin: 0; width: 100%; border-top: 1px solid rgba(197, 150, 74, 0.1); }

header h2 { display: none; }

header ul,
header section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.header-logo {
  display: block;
  height: 66px;
  width: auto;
  object-fit: contain;
  margin: 0.4rem 0 0.4rem 0.75rem;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid rgba(197, 150, 74, 0.42);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  opacity: 0.97;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, height 0.45s ease, padding 0.45s ease;
}

.header-logo:hover {
  opacity: 1;
  transform: scale(1.05) translateY(-2px);
  border-color: rgba(197, 150, 74, 0.7);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.38), 0 0 16px rgba(197, 150, 74, 0.28);
}

header nav {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 2.2rem;
  gap: 0;
}

header nav li { list-style: none; }

header nav li a {
  display: block;
  position: relative;
  color: rgba(247, 244, 239, 0.85);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.88rem 1.3rem;
  border-bottom: none;
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

header nav li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

header nav li a:hover {
  color: var(--gold);
  background: rgba(197, 150, 74, 0.07);
}

header nav li a:hover::after,
header nav li a.nav-link--active::after {
  transform: scaleX(1);
}

header nav li a.nav-link--active {
  color: var(--gold-light);
}

/* ===================== HERO ===================== */
.hero {
  position: sticky;
  top: 0;
  z-index: 0;          /* queda detrás de main y footer */
  width: 100%;
  height: 92vh;
  min-height: 520px;
  overflow: hidden;
  flex-shrink: 0;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  max-width: none;
  animation: hero-zoom 10s ease forwards;
}

@keyframes hero-zoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(28, 43, 58, 0.65) 0%,
    rgba(28, 43, 58, 0.15) 55%,
    rgba(28, 43, 58, 0.0) 100%
  );
  pointer-events: none;
}

.hero__content {
  position: absolute;
  top: 4rem;
  left: 0;
  padding: 0 0 0 2.5rem;
  max-width: 580px;
  animation: hero-fade-up 0.9s ease 0.3s both;
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.15;
  margin: 0 0 1.1rem;
  border: none;
  padding: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero__desc {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: rgba(247, 244, 239, 0.82);
  max-width: 520px;
  line-height: 1.8;
  margin: 0 0 2.2rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.88rem 2.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.28s ease;
  white-space: nowrap;
}

.hero__btn--primary {
  background: var(--gold);
  color: var(--navy);
  border: 1.5px solid var(--gold);
  box-shadow: 0 4px 20px rgba(197, 150, 74, 0.4);
}

.hero__btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(197, 150, 74, 0.55);
}

.hero__btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  border: 1.5px solid rgba(247, 244, 239, 0.45);
  backdrop-filter: blur(6px);
}

.hero__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(247, 244, 239, 0.8);
  transform: translateY(-2px);
}

.hero__watermark {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  height: 80px;
  width: auto;
  object-fit: contain;
  opacity: 0.16;
  filter: grayscale(1) brightness(8);
  pointer-events: none;
  display: block;
  max-width: none;
}

/* ===================== MAIN ===================== */
main {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 2rem 2rem;
  width: 100%;
  position: relative;
  z-index: 1;          /* se desliza encima del hero sticky */
  background: var(--cream);
  box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.2);
}

/* Extiende el fondo al ancho completo para cubrir el hero en pantallas anchas */
main::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(-50vw + 50%);
  width: 100vw;
  height: 100%;
  background: var(--cream);
  z-index: -1;
  pointer-events: none;
}

main section { margin-bottom: 3.5rem; }

/* Card styling para secciones sin clase (libro-de-quejas, preguntas-frecuentes, terminos, etc.) */
main > section:not(.vistazo):not(.room-includes):not(.channels-section):not(.faq-section):not(#info-ubicacion):not(:has(.habitacion)):not(.amenities-section):not(.testimonials-section) {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.8rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

main > section:not(.vistazo):not(.room-includes):not(.channels-section):not(.faq-section):not(#info-ubicacion):not(:has(.habitacion)):not(.amenities-section):not(.testimonials-section):hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-md);
}

main h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 2rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border);
}

main h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

main p {
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 0.8rem;
}

/* ---- Lista de servicios ---- */
main section > ul {
  list-style: none;
  padding: 0;
}

main section > ul > li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--text-muted);
  font-size: 0.92rem;
  list-style: none;
}

main section > ul > li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 0.65rem;
}

main section > ul > li:last-child { border-bottom: none; }

main section > ul > li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--t);
}
main section > ul > li a:hover { color: var(--gold); }

/* ---- TARIFAS (.reserva cards) ---- */
main section > ul:has(nav) { display: contents; }

/* Grid 3 columnas simétricas — 6 cards = 2 filas perfectas */
.tarifas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  list-style: none;
  padding: 0;
}

/* ---- Card base ---- */
.reserva {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  list-style: none;
  overflow: hidden;
  text-align: center;
}

/* Barra dorada fija en el tope */
.reserva::before {
  content: '';
  height: 4px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  flex-shrink: 0;
}

/* Sin el efecto antiguo de ::after */
.reserva::after { display: none; }

.reserva:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-dark);
}

/* Tipo de habitación */
.reserva p {
  padding: 1.5rem 1.4rem 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
  max-width: none;
}

/* Precio en grande */
.precio {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 0.4rem;
}

/* Separador y subtexto */
.reserva h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
  padding: 1rem 1.4rem 0;
  margin-top: auto;
  border-top: 1px solid var(--border);
}

/* Botón empujado al fondo */
.reserva li {
  list-style: none;
  padding: 0.85rem 1.4rem 1.4rem;
}

.reserva li::before { display: none; }

.reserva li a {
  display: block;
  padding: 0.62rem 1rem;
  background: var(--navy);
  color: var(--cream);
  border: none;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: var(--t);
}

.reserva li a:hover {
  background: var(--gold);
  color: var(--white);
}

/* Day use: barra ámbar en vez de gold */
.reserva--dayuse::before {
  background: linear-gradient(90deg, var(--gold), #E8C57A, var(--gold));
}

.reserva--dayuse .precio {
  color: var(--gold-dark);
}

/* ---- GALERÍA CARRUSEL (.vistazo) ---- */

/* Sección full-width que rompe el contenedor de main */
.vistazo {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  padding: 3rem 0 3.2rem;
  margin-bottom: 1.8rem;
  border-top: 1px solid rgba(197, 150, 74, 0.12);
  border-bottom: 1px solid rgba(197, 150, 74, 0.12);
}

/* h2 y p del bloque — texto claro sobre fondo oscuro, recentrado */
.vistazo > h2 {
  color: var(--cream);
  border-bottom-color: rgba(197, 150, 74, 0.22);
  max-width: 1100px;
  margin: 0 auto 0.6rem;
  padding: 0 2.5rem 0.5rem;
}

.vistazo > p {
  color: rgba(247, 244, 239, 0.72);
  max-width: 1100px;
  margin: 0 auto 2rem;
  padding: 0 2.5rem;
}

/* Contenedor con overflow oculto y máscara de fade en los bordes */
.slider-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 0.75rem 0 1.25rem;
  position: relative;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 7%,
    black 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 7%,
    black 93%,
    transparent 100%
  );
}

/* Pausa la animación al hacer hover sobre el wrapper */
.slider-wrapper:hover .slider-track {
  animation-play-state: paused;
}

/* Track: fila infinita de imágenes */
.slider-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  width: max-content !important;
  list-style: none !important;
  padding: 0 !important;
  grid-template-columns: unset !important;
  grid-auto-rows: unset !important;
  animation: slider-scroll 34s linear infinite;
}

/* Cada slide — más grande para ocupar más ancho */
.slider-track > li {
  flex-shrink: 0 !important;
  width: 460px !important;
  height: 290px !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  display: block !important;
  padding: 0 !important;
  border: 1px solid rgba(197, 150, 74, 0.1) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2) !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
  position: relative;
}

.slider-track > li::before { display: none !important; }

/* Hover individual: levanta y escala el slide */
.slider-track > li:hover {
  transform: scale(1.06) translateY(-5px) !important;
  box-shadow: 0 16px 44px rgba(28, 43, 58, 0.28), 0 4px 10px rgba(28, 43, 58, 0.18) !important;
  z-index: 5;
}

/* Imagen dentro del slide */
.slider-track > li > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  filter: brightness(0.88) saturate(1.05) !important;
  transition: transform 0.5s ease, filter 0.4s ease !important;
}

.slider-track > li:hover > img {
  transform: scale(1.1) !important;
  filter: brightness(1.02) saturate(1.1) !important;
}

/* Keyframe: mueve el track -50% (= 1 set completo) para loop perfecto */
@keyframes slider-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- HABITACIONES (.habitacion) ---- */
main section:has(.habitacion) {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.4rem !important;
}

main section:has(.habitacion) > h2 { display: none; }

.habitacion {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  display: flex;
  flex-direction: row;
  position: relative;
  min-height: 240px;
}

/* Barra dorada en el tope de la card */
.habitacion::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  z-index: 1;
}

.habitacion:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-dark);
}

/* Contenedor de imagen: columna izquierda de la card horizontal */
.habitacion__img {
  width: 38%;
  min-width: 180px;
  overflow: hidden;
  flex-shrink: 0;
  align-self: stretch;
}

.habitacion__img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: transform 0.45s ease !important;
}

.habitacion:hover .habitacion__img img { transform: scale(1.06) !important; }

/* Cuerpo de la card */
.habitacion__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.2rem 1.4rem 1.4rem;
  gap: 0.7rem;
}

/* Fila título + precio */
.habitacion__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.habitacion h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--navy);
  margin: 0;
  padding: 0;
  letter-spacing: 0.02em;
  border: none;
  line-height: 1.35;
  flex: 1;
}

.hab-precio {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-dark);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.3;
}

.hab-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  max-width: none;
}

/* Pills de capacidad / amenidades */
.hab-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.hab-features > li {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
  list-style: none;
}

.hab-features > li::before { display: none; }

/* Botón CTA — empujado al fondo */
.hab-btn {
  display: block;
  text-align: center;
  margin-top: auto;
  padding: 0.68rem 1rem;
  background: var(--navy);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--t);
}

.hab-btn:hover {
  background: var(--gold);
  color: var(--white);
}

/* ---- HABITACIONES: servicios incluidos ---- */
.room-includes {
  background: var(--navy);
  border-radius: 12px;
  border: 1px solid rgba(197, 150, 74, 0.2);
  box-shadow: var(--shadow-lg);
  padding: 2.2rem 2.5rem 2.5rem;
  margin-top: 2rem;
}

.room-includes > h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--cream);
  font-weight: 400;
  margin: 0 0 1.6rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(197, 150, 74, 0.22);
}

/* Grid de 2 columnas — 3 filas de items en cada columna */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  gap: 0;
  counter-reset: include-counter;
}

/* Cada item: fila horizontal compacta */
.include-item {
  counter-increment: include-counter;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 1rem 0.9rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(197, 150, 74, 0.14);
  border-radius: 0;
  transition: background 0.2s ease;
}

/* Línea inferior solo en los 4 primeros items */
.include-item:nth-child(5),
.include-item:nth-child(6) { border-bottom: none; }

/* Separador vertical entre columnas */
.include-item:nth-child(odd) {
  padding-right: 1.5rem;
  border-right: 1px solid rgba(197, 150, 74, 0.14);
}
.include-item:nth-child(even) {
  padding-left: 1.5rem;
}

.include-item:hover { background: rgba(255, 255, 255, 0.04); }

/* Número ordinal */
.include-item::before {
  content: counter(include-counter, decimal-leading-zero);
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gold);
  opacity: 0.6;
  line-height: 1.2;
  flex-shrink: 0;
  min-width: 30px;
  transition: opacity 0.2s ease;
}

.include-item:hover::before { opacity: 1; }

/* Texto en bloque a la derecha del ordinal */
.include-item__name {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 0.2rem;
  max-width: none;
  line-height: 1.3;
}

.include-item__detail {
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  color: rgba(247, 244, 239, 0.88);
  margin: 0;
  max-width: none;
  line-height: 1.45;
  font-weight: 400;
}

.include-item__extra {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: rgba(247, 244, 239, 0.58);
  margin: 0.15rem 0 0;
  max-width: none;
  line-height: 1.4;
}

/* ---- RESERVAS ---- */
.reservas-layout {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Columna izquierda — formulario */
.reservas-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.reservas-form:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-md);
}

.reservas-form h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 0.4rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border);
}

.reservas-form__intro {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
  max-width: none;
}

/* Reset del form genérico dentro de esta sección */
.reservas-form form {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  max-width: none;
}

/* Fila de 2 inputs lado a lado */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

/* Columna derecha — panel informativo */
.reservas-info {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.info-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.info-block h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-block h3::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.info-block p {
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.65;
  margin: 0;
  max-width: none;
}

/* Lista con label + valor */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-list > li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--cream-dark);
  list-style: none;
}

.info-list > li:last-child { border-bottom: none; padding-bottom: 0; }
.info-list > li::before { display: none; }

.info-list__label {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.info-list__val {
  color: var(--text-muted);
  font-size: 0.84rem;
  text-align: right;
}

/* Lista simple con bullets dorados */
.info-list--simple > li {
  justify-content: flex-start;
  gap: 0.6rem;
}

.info-list--simple > li::before {
  content: '◆';
  display: inline-block;
  font-size: 0.4rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.35rem;
  line-height: 1;
}

/* Card accent — fondo navy */
.info-block--accent {
  background: var(--navy);
  border-color: rgba(197, 150, 74, 0.3);
  border-left-color: var(--gold);
}

.info-block--accent h3 {
  color: var(--gold-light);
}

.info-block--accent h3::before { background: var(--gold-light); }

.info-block--accent p {
  color: rgba(247, 244, 239, 0.75);
}

.info-cta {
  display: inline-block;
  margin-top: 0.85rem;
  padding: 0.6rem 1.4rem;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--t);
}

.info-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(197, 150, 74, 0.4);
}

/* ---- FORMULARIOS ---- */
form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 540px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

form p:empty { display: none; }

label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 1.2rem;
  margin-bottom: 0.35rem;
}

input[type="text"],
input[type="email"],
input[type="date"],
textarea,
select {
  width: 100%;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--cream);
  transition: var(--t);
  outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(197, 150, 74, 0.12);
}

button[type="submit"] {
  margin-top: 1.8rem;
  align-self: flex-start;
  padding: 0.75rem 2.2rem;
  background: var(--navy);
  color: var(--cream);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: var(--t);
}

button[type="submit"]:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(197, 150, 74, 0.35);
}

form > p:not(:empty) {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* ---- LIBRO DE QUEJAS: formulario ---- */
#queja-form { max-width: none; }

.btn-secondary {
  margin-top: 1.8rem;
  align-self: flex-start;
  padding: 0.75rem 2.2rem;
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: var(--t);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--navy);
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  line-height: 1.5;
  display: none;
}

.form-feedback:not(:empty) { display: block; }

.form-feedback--success {
  background: rgba(30, 100, 50, 0.08);
  border: 1px solid rgba(30, 100, 50, 0.22);
  color: #1d6a34;
}

.form-feedback--error {
  background: rgba(180, 30, 30, 0.07);
  border: 1px solid rgba(180, 30, 30, 0.2);
  color: #c0392b;
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ---- UBICACIÓN: sección principal con 3 columnas ---- */
#info-ubicacion {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

#info-ubicacion > h1 {
  grid-column: 1 / -1;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 0.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

/* ---- Tarjetas de info ---- */
.loc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.4rem 1.75rem;
  margin-bottom: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
  position: relative;
  overflow: hidden;
}

.loc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Marca decorativa en la esquina superior derecha */
.loc-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40px; height: 40px;
  background: linear-gradient(225deg, rgba(197,150,74,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.loc-card h2 {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-dark);
  margin-bottom: 0.65rem;
  font-weight: 600;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.loc-card h2::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.loc-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  max-width: none;
  line-height: 1.75;
}

/* ---- CONTACTO ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 2rem;
  align-items: start;
}

.contact-info,
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-info:hover,
.contact-form:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-md);
}

.contact-info h2,
.contact-form h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 1.2rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border);
}

.contact-form > p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
  max-width: none;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--cream-dark);
  list-style: none !important;
}

.contact-item:last-child { border-bottom: none; }
.contact-item::before { display: none !important; }

.contact-item__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
  min-width: 80px;
}

.contact-item__val {
  font-family: 'Inter', sans-serif;
  font-size: 0.91rem;
  color: var(--text);
  text-decoration: none;
  transition: var(--t);
}

a.contact-item__val { color: var(--gold-dark); }
a.contact-item__val:hover { color: var(--gold); }

/* Reset del form genérico cuando está dentro de .contact-form */
.contact-form form {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  max-width: none;
}

textarea {
  resize: vertical;
  min-height: 128px;
}

/* ---- CONTACTO: strip de horarios ---- */
.hours-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.hours-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
  gap: 0.4rem;
  border-right: 1px solid rgba(197, 150, 74, 0.18);
  transition: background 0.25s ease;
}

.hours-strip__item:last-child { border-right: none; }
.hours-strip__item:hover { background: rgba(255, 255, 255, 0.04); }

.hours-strip__val {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
}

.hours-strip__lbl {
  font-family: 'Inter', sans-serif;
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.7);
}

/* ---- CONTACTO: canales de atención ---- */
.channels-section,
.faq-section {
  margin-bottom: 2rem;
}

.channels-section h2,
.faq-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 1.25rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border);
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.channel-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.6rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-dark);
}

.channel-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0;
  max-width: none;
}

.channel-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
  max-width: none;
  flex: 1;
}

.channel-card__time {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin: 0;
  max-width: none;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* ---- CONTACTO: FAQ ---- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.faq-item__q {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.6rem;
  max-width: none;
  line-height: 1.45;
}

.faq-item__a {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  max-width: none;
  line-height: 1.7;
}

/* ---- UBICACIÓN: hero banner ---- */
.loc-hero {
  width: 100%;
  background: var(--navy);
  padding: 4.5rem 2.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(197, 150, 74, 0.18);
  border-bottom: 3px solid rgba(197, 150, 74, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.loc-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.loc-eyebrow {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.loc-hero__address {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  border: none;
  padding: 0;
}

.loc-hero__city {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: rgba(247, 244, 239, 0.72);
  margin-bottom: 2rem;
  max-width: none;
}

.btn-mapa-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.4rem;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--t);
  box-shadow: 0 4px 20px rgba(197, 150, 74, 0.35);
}

.btn-mapa-hero:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(197, 150, 74, 0.5);
}

.loc-hero__stats {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.loc-stat {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(197, 150, 74, 0.15);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  transition: background 0.25s ease;
}

.loc-stat:hover {
  background: rgba(255, 255, 255, 0.08);
}

.loc-stat__num {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
  flex-shrink: 0;
  min-width: 46px;
  text-align: center;
}

.loc-stat__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(247, 244, 239, 0.78);
  line-height: 1.45;
}

/* ---- UBICACIÓN: strip de transporte ---- */
.loc-strip {
  width: 100%;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 2rem;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.loc-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
  gap: 0.45rem;
  border-right: 1px solid var(--border);
  transition: background 0.25s ease;
}

.loc-strip__item:last-child { border-right: none; }

.loc-strip__item:hover { background: rgba(197, 150, 74, 0.06); }

.loc-strip__val {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
}

.loc-strip__lbl {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===================== FOOTER ===================== */
footer {
  background: var(--navy);
  border-top: 3px solid var(--gold);
  margin-top: auto;
  position: relative;
  z-index: 1;          /* también por encima del hero */
}

.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-col--brand {
  padding-right: 2rem;
  border-right: 1px solid rgba(197, 150, 74, 0.18);
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--cream);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 0.6rem;
}

.footer-tagline {
  color: rgba(247, 244, 239, 0.6);
  font-size: 0.83rem;
  line-height: 1.6;
  margin: 0 0 1.2rem;
}

.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-address span {
  color: rgba(247, 244, 239, 0.48);
  font-size: 0.78rem;
}

.footer-col__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(197, 150, 74, 0.2);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links li { list-style: none !important; border: none !important; padding: 0 !important; }
.footer-links li::before { display: none !important; }

.footer-links a {
  color: rgba(247, 244, 239, 0.58);
  font-size: 0.84rem;
  text-decoration: none;
  transition: var(--t);
}

.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-contacts li {
  list-style: none !important;
  border: none !important;
  padding: 0 !important;
  color: rgba(247, 244, 239, 0.58);
  font-size: 0.84rem;
}

.footer-contacts li::before { display: none !important; }

.footer-contacts a {
  color: rgba(247, 244, 239, 0.58);
  text-decoration: none;
  transition: var(--t);
}

.footer-contacts a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.2rem 2.5rem;
  border-top: 1px solid rgba(197, 150, 74, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: rgba(247, 244, 239, 0.36);
  font-size: 0.73rem;
  margin: 0;
}

/* ===================== POLÍTICA DE PRIVACIDAD ===================== */
.privacy-hero {
  background: var(--navy);
  padding: 4.5rem 2.5rem 4rem;
  border-bottom: 1px solid rgba(197, 150, 74, 0.18);
}

.privacy-hero__inner {
  max-width: 760px;
  margin: 0 auto;
}

.privacy-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--cream);
  margin: 0.5rem 0 0.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.privacy-hero__sub {
  color: rgba(247, 244, 239, 0.45);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1.4rem;
}

.privacy-hero__desc {
  color: rgba(247, 244, 239, 0.7);
  font-size: 1rem;
  line-height: 1.78;
  margin: 0;
  max-width: 600px;
}

.privacy-content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem 2.5rem;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

.privacy-block {
  background: white;
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 1.8rem 2rem 2rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  transition: var(--t);
}

.privacy-block:hover {
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.11);
  transform: translateY(-2px);
}

.privacy-block--wide { grid-column: 1 / -1; }

.privacy-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  color: var(--text);
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(197, 150, 74, 0.22);
  font-weight: 600;
}

.privacy-block p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.78;
  margin: 0 0 0.75rem;
}

.privacy-block p:last-child { margin-bottom: 0; }

.privacy-block ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.privacy-block ul li {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  padding-left: 1.3rem;
  position: relative;
}

.privacy-block ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.48rem;
  top: 0.48rem;
}

.privacy-cookies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.cookie-type {
  background: var(--bg);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  border-top: 2px solid var(--gold);
}

.cookie-type__name {
  font-family: 'Playfair Display', serif;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.cookie-type__desc {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.65;
  margin: 0;
}

/* ---- TRANSICIÓN DE SALIDA (logo click → home) ---- */
body.page-exit {
  animation: page-exit-anim 0.38s ease forwards;
  pointer-events: none;
}
@keyframes page-exit-anim {
  to { opacity: 0; transform: translateY(-8px); }
}

/* ---- LOGO LINK ---- */
.logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
  margin: 0.3rem 0 0.3rem 0.85rem;
}

.logo-link::before {
  content: '';
  display: block;
  width: 226px;
  height: 64px;
  background: url('imagenes/logo-hp.svg') no-repeat left center / contain;
  opacity: 0.95;
  transition: opacity 0.3s ease, transform 0.32s ease, width 0.45s ease, height 0.45s ease;
}

.logo-link:hover::before {
  opacity: 1;
  transform: translateY(-1px) scale(1.015);
}

.header-logo { display: none !important; }

/* ---- BOTÓN FLOTANTE WHATSAPP ---- */
.whatsapp-float {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.22);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  display: block;
}

@media (max-width: 540px) {
  .whatsapp-float {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* ---- BOTONES DE SCROLL (top / bottom) ---- */
.scroll-btn {
  position: fixed;
  left: 1.8rem;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--navy);
  border: 1px solid rgba(197, 150, 74, 0.32);
  border-radius: 50%;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.scroll-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 150, 74, 0.4);
}

.scroll-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--cream);
  display: block;
}

.scroll-btn--top    { bottom: 6.5rem; }
.scroll-btn--bottom { bottom: 1.8rem; }

@media (max-width: 540px) {
  .scroll-btn {
    left: 1.2rem;
    width: 42px;
    height: 42px;
  }
  .scroll-btn svg       { width: 20px; height: 20px; }
  .scroll-btn--top      { bottom: 6rem; }
  .scroll-btn--bottom   { bottom: 1.2rem; }
}

/* ============================================================
   PRUEBA.HTML — MEJORAS VISUALES PREMIUM
   ============================================================ */

/* ── LOADER DE ENTRADA — diseño premium ── */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(ellipse at 50% 44%, #223143 0%, var(--navy) 68%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease 0.15s, visibility 0.7s ease 0.15s;
}
#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Ocultar el logo — el nombre es el protagonista */
.loader-logo {
  display: none;
}

/* Nombre principal — grande, dorado, cinematográfico */
.loader-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 7vw, 3.8rem);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  padding: 0 1.5rem;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(16px);
  animation: loader-name-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

/* Línea decorativa — fina, con fade lateral */
.loader-bar {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 1.5rem auto 0;
  width: 0;
  animation: loader-bar-grow 0.65s ease 1.05s forwards;
}

/* Subtítulo inyectado por JS */
.loader-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 300;
  color: rgba(247, 244, 239, 0.5);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  text-align: center;
  margin: 1.2rem 0 0;
  padding: 0 1.5rem;
  opacity: 0;
  animation: loader-appear 0.65s ease 1.45s forwards;
}

@keyframes loader-name-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes loader-appear   { to { opacity: 1; } }
@keyframes loader-bar-grow { to { width: 160px; } }

@media (max-width: 480px) {
  .loader-name { letter-spacing: 0.12em; }
  .loader-bar  { max-width: 80%; }
}

/* ── HERO: capa GPU para efectos de scroll JS ── */
.hero__content { will-change: opacity, transform; }

/* ── SCROLL REVEAL (activado solo con .has-animations) ── */
.has-animations main > section:not(.vistazo),
.has-animations .reserva,
.has-animations .amenity-item,
.has-animations .info-block {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.has-animations main > section:not(.vistazo).visible,
.has-animations .reserva.visible,
.has-animations .amenity-item.visible,
.has-animations .info-block.visible {
  opacity: 1;
  transform: none;
}

/* ── HEADER SCROLL BLUR ── */
header.scrolled {
  background: rgba(20, 33, 46, 0.94);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: 0 6px 36px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(197, 150, 74, 0.22);
  border-bottom-color: rgba(197, 150, 74, 0.32);
}

header.scrolled .header-logo {
  height: 50px;
  padding: 0.26rem 0.7rem;
}

header.scrolled .logo-link::before {
  width: 180px;
  height: 51px;
}

/* ── AMENITIES SECTION ── */
.amenities-section {
  background: var(--navy);
  border: 1px solid rgba(197, 150, 74, 0.18);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.8rem;
}
.amenities-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.2rem 1rem;
  gap: 0.8rem;
  border-right: 1px solid rgba(197, 150, 74, 0.15);
  transition: background 0.25s ease;
}
.amenity-item:last-child { border-right: none; }
.amenity-item:hover { background: rgba(197, 150, 74, 0.07); }
.amenity-icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.amenity-name {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.82);
  margin: 0;
  line-height: 1.45;
}

/* ── TESTIMONIALS SECTION ── */
.testimonials-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 2.2rem 2.2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.8rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.testimonials-section:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-md);
}
.testimonials-section > h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0.04em;
  margin-bottom: 1.6rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
/* ── TESTIMONIALS CAROUSEL ── */
.testimonials-carousel {
  overflow: hidden;
  position: relative;
  padding: 0.4rem 0 0.6rem;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.testimonials-carousel:hover .testimonials-track {
  animation-play-state: paused;
}
.testimonials-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.2rem;
  width: max-content;
  animation: t-scroll 42s linear infinite;
}
@keyframes t-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.testimonials-track .testimonial-card {
  flex: 0 0 295px;
  width: 295px;
}
.testimonial-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-dark);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
}
.testimonial-text {
  font-family: 'Playfair Display', serif;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.75;
  flex: 1;
  margin: 0;
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.t-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0;
}
.t-av-1 { background: linear-gradient(135deg, #1C2B3A 0%, #2D3F52 100%); }
.t-av-2 { background: linear-gradient(135deg, #7B3F00 0%, #C5964A 100%); }
.t-av-3 { background: linear-gradient(135deg, #1a472a 0%, #2d6a4f 100%); }
.t-av-4 { background: linear-gradient(135deg, #4a1942 0%, #7b2d8b 100%); }
.t-av-5 { background: linear-gradient(135deg, #0d3b66 0%, #1e6fa8 100%); }
.t-av-6 { background: linear-gradient(135deg, #6b2d2d 0%, #a84444 100%); }
.testimonial-author { display: flex; flex-direction: column; }
.testimonial-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}
.testimonial-origin {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin: 0.1rem 0 0;
  letter-spacing: 0.04em;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  transform: scale(0.96);
  transition: transform 0.3s ease;
  display: block;
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
  line-height: 1;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
}

/* ── RESPONSIVE NUEVAS SECCIONES ── */
@media (max-width: 900px) {
  .amenities-strip { grid-template-columns: repeat(3, 1fr); }
  .amenity-item:nth-child(3) { border-right: none; }
}
@media (max-width: 600px) {
  .testimonials-track { animation-duration: 28s; }
  .testimonials-track .testimonial-card { flex: 0 0 265px; width: 265px; }
  .amenities-strip { grid-template-columns: repeat(2, 1fr); }
  .amenity-item:nth-child(2n) { border-right: none; }
  .amenity-item:nth-child(n+3) { border-top: 1px solid rgba(197, 150, 74, 0.15); }
  .amenity-item { padding: 1.5rem 0.75rem; }
  .testimonials-section { padding: 1.5rem; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .habitacion__img { width: 34%; }
  .room-includes { padding: 1.8rem 1.8rem 2rem; }
  .slider-track > li {
    width: 380px !important;
    height: 245px !important;
  }
  /* Tarifas: 2 columnas × 3 filas — 6 cards perfectas */
  .tarifas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
  }
  /* Ubicación hero: columna única */
  .loc-hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  /* Info cards: 2 columnas */
  #info-ubicacion {
    grid-template-columns: 1fr 1fr;
  }
  /* Strip: 2 columnas */
  .loc-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .loc-strip__item:nth-child(2) { border-right: none; }
  .loc-strip__item:nth-child(3),
  .loc-strip__item:nth-child(4) { border-top: 1px solid var(--border); }
  .privacy-cookies-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  header h1 { font-size: 1rem; padding: 0 0.75rem 0 0.5rem; }
  header nav { padding: 0 0.5rem; flex-wrap: wrap; }
  header nav li a { padding: 0.6rem 0.75rem; font-size: 0.66rem; }
  .header-logo { height: 48px; margin: 0.3rem 0 0.3rem 0.5rem; padding: 0.25rem 0.55rem; }
  .logo-link { margin: 0.2rem 0 0.2rem 0.5rem; }
  .logo-link::before { width: 184px; height: 52px; }
  .hero { height: 72vh; min-height: 460px; }
  .hero__content { top: 2.5rem; padding: 0 0 0 1.5rem; max-width: 85%; }
  .hero__watermark { height: 58px; bottom: 1.5rem; right: 1.5rem; }
  main { padding: 2rem 1rem 4rem; }
  form { padding: 1.5rem; }
  footer { padding: 2rem 1.5rem; gap: 1.5rem; }
  .slider-track > li {
    width: 300px !important;
    height: 195px !important;
  }
  /* Reservas: columna única en tablet */
  .reservas-layout { grid-template-columns: 1fr; }
  .reservas-form { padding: 1.6rem 1.8rem; }
  /* Contacto: columna única en tablet */
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info,
  .contact-form { padding: 1.6rem 1.8rem; }
  .channels-grid { grid-template-columns: 1fr 1fr; }
  .hours-strip { grid-template-columns: repeat(2, 1fr); }
  .hours-strip__item:nth-child(2) { border-right: none; }
  .hours-strip__item:nth-child(3),
  .hours-strip__item:nth-child(4) { border-top: 1px solid rgba(197, 150, 74, 0.18); }
  /* Ubicación: 1 columna en tablet */
  #info-ubicacion {
    grid-template-columns: 1fr;
  }
  #info-ubicacion > div:first-of-type {
    grid-column: 1;
    padding: 1.4rem 1.5rem;
  }
  /* Privacidad: 1 columna en tablet */
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-hero__title { font-size: 1.9rem; }
  .privacy-hero { padding: 3.5rem 2rem 3rem; }
}

/* ===================== SELECTOR DE IDIOMAS ===================== */
.lang-item {
  list-style: none;
  position: relative;
  margin-left: auto;
  display: flex;
  align-items: center;
  padding: 0 1rem 0 0.5rem;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  background: none;
  border: 1px solid rgba(197, 150, 74, 0.32);
  border-radius: 4px;
  color: rgba(247, 244, 239, 0.82);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.36rem 0.62rem;
  transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
  white-space: nowrap;
  line-height: 1;
}

.lang-btn:hover,
.lang-item--open .lang-btn {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(197, 150, 74, 0.09);
}

.lang-globe {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.lang-chevron {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.lang-item--open .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  right: 1rem;
  background: var(--navy);
  border: 1px solid rgba(197, 150, 74, 0.32);
  border-radius: 6px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.32);
  list-style: none;
  padding: 0.3rem;
  margin: 0;
  min-width: 118px;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.lang-item--open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown li {
  list-style: none !important;
  padding: 0 !important;
  border: none !important;
}

.lang-dropdown li::before { display: none !important; }

.lang-option {
  display: block;
  width: 100%;
  background: none;
  border: none;
  border-radius: 4px;
  color: rgba(247, 244, 239, 0.72);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.9rem;
  text-align: left;
  transition: background 0.18s ease, color 0.18s ease;
}

.lang-option:hover { background: rgba(197, 150, 74, 0.13); color: var(--gold); }
.lang-option--active { color: var(--gold); font-weight: 700; }

/* ─── Banderas reales en el selector de idioma ─── */

/* Globo y código de idioma ocultos — la bandera los reemplaza */
.lang-globe  { display: none; }
.lang-current { display: none; }

/* Base compartida: imagen de bandera en botón activador y en dropdown */
.lang-btn[data-lang]::before,
.lang-option[data-lang]::before {
  content: '';
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.32), 0 0 0 1px rgba(255,255,255,0.07);
  flex-shrink: 0;
}

/* Tamaño en el botón activador */
.lang-btn[data-lang]::before {
  display: inline-block;
  width: 24px;
  height: 16px;
}

/* Tamaño en las opciones del dropdown */
.lang-option[data-lang]::before {
  display: inline-block;
  width: 20px;
  height: 14px;
  margin-right: 0.65rem;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* Banderas específicas */
.lang-btn[data-lang="es"]::before,
.lang-option[data-lang="es"]::before { background-image: url('imagenes/flag-es.svg'); }

.lang-btn[data-lang="en"]::before,
.lang-option[data-lang="en"]::before { background-image: url('imagenes/flag-us.svg'); }

.lang-btn[data-lang="pt"]::before,
.lang-option[data-lang="pt"]::before { background-image: url('imagenes/flag-br.svg'); }

/* Botón activador: ajustes de gap y borde */
.lang-btn {
  border-color: rgba(197, 150, 74, 0.45);
  gap: 0.45rem;
}

/* Dropdown más ancho para bandera + nombre */
.lang-dropdown { min-width: 152px; }

@media (max-width: 768px) {
  .lang-item { padding: 0 0.4rem 0 0.25rem; }
  .lang-btn  { padding: 0.3rem 0.5rem; }
  .lang-dropdown { right: 0.4rem; }
}

@media (max-width: 540px) {
  .lang-btn[data-lang]::before { width: 20px; height: 13px; }
  .lang-btn { padding: 0.28rem 0.45rem; gap: 0.35rem; }
}

/* ===================== FIN SELECTOR DE IDIOMAS ===================== */

@media (max-width: 540px) {
  .habitacion {
    flex-direction: column;
    min-height: unset;
  }
  .habitacion__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-width: unset;
  }
  /* Tarifas: 1 columna en móvil */
  .tarifas-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .precio { font-size: 1.5rem; }
  footer { flex-direction: column; gap: 1.5rem; }
  .slider-track > li {
    width: 250px !important;
    height: 165px !important;
  }
  .slider-track {
    animation-duration: 24s !important;
  }
  /* Habitaciones en móvil */
  .includes-grid {
    grid-template-columns: 1fr !important;
  }
  .include-item:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }
  .include-item:nth-child(even) { padding-left: 0; }
  .include-item:nth-child(5) { border-bottom: 1px solid rgba(197, 150, 74, 0.14); }
  .include-item:nth-child(6) { border-bottom: none; }
  /* Reservas en móvil */
  .form-row { grid-template-columns: 1fr; }
  /* Contacto en móvil */
  .channels-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  /* Ubicación en móvil */
  .loc-hero { padding: 3rem 1.25rem; }
  .loc-hero__address { font-size: 1.8rem; }
  #info-ubicacion { grid-template-columns: 1fr; }
  .loc-strip { grid-template-columns: repeat(2, 1fr); }
  .loc-strip__val { font-size: 1.6rem; }
  /* Privacidad en móvil */
  .privacy-hero { padding: 2.5rem 1.25rem; }
  .privacy-hero__title { font-size: 1.55rem; }
  .privacy-content { padding: 2rem 1rem 3rem; }
  .privacy-cookies-grid { grid-template-columns: 1fr; }
  /* Hero en móvil */
  .hero { height: 66vh; min-height: 420px; }
  .hero__content { top: 2rem; padding: 0 0 0 1.25rem; max-width: 90%; }
  .hero__title { font-size: 2rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero__btn { padding: 0.85rem 2rem; }
  .hero__watermark { height: 44px; bottom: 1.2rem; right: 1.25rem; }
}

/* =====================================================
   MOBILE — HAMBURGER BUTTON (base, visible solo en móvil)
   ===================================================== */

.hamburger-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0.5rem;
  background: none;
  border: 1px solid rgba(197, 150, 74, 0.38);
  border-radius: 6px;
  cursor: pointer;
  margin-left: auto;
  margin-right: 0.85rem;
  flex-shrink: 0;
  transition: border-color 0.22s ease, background 0.22s ease;
}

.hamburger-btn:hover,
.hamburger-btn:focus-visible {
  border-color: var(--gold);
  background: rgba(197, 150, 74, 0.1);
  outline: none;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

header.nav-mobile-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
header.nav-mobile-open .hamburger-line:nth-child(2) {
  opacity: 0;
}
header.nav-mobile-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =====================================================
   RESPONSIVE — FOOTER GRID (faltaba completamente)
   ===================================================== */

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
    padding: 2.5rem 1.5rem 2rem;
  }
  .footer-col--brand {
    grid-column: 1 / -1;
    padding-right: 0;
    border-right: none;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(197, 150, 74, 0.15);
  }
  .footer-bottom {
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1.25rem 1.5rem;
  }
  .footer-col--brand {
    padding-bottom: 0;
    border-bottom: none;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding: 1rem 1.25rem;
  }
}

/* =====================================================
   RESPONSIVE — NAVBAR HAMBURGUESA (< 640px)
   ===================================================== */

@media (max-width: 640px) {
  .hamburger-btn { display: flex; }

  header {
    flex-wrap: nowrap;
    position: relative;
  }

  header h1 {
    flex: 1;
    min-width: 0;
    padding-right: 0;
  }

  /* Nav section: colapsa al 0 por defecto, se expande con .nav-mobile-open */
  header section {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100% !important;
    background: var(--navy);
    border-top: 1px solid rgba(197, 150, 74, 0.2);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 200;
  }

  header.nav-mobile-open section {
    max-height: 420px;
  }

  header nav {
    flex-direction: column;
    padding: 0.4rem 0 0.6rem;
    gap: 0;
    width: 100%;
  }

  header nav li {
    width: 100%;
    border-bottom: 1px solid rgba(197, 150, 74, 0.1);
  }

  header nav li:last-child {
    border-bottom: none;
  }

  header nav li a {
    padding: 0.92rem 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.13em;
    white-space: nowrap;
    border-bottom: none !important;
  }

  header nav li a:hover {
    border-bottom: none !important;
    background: rgba(197, 150, 74, 0.08);
    color: var(--gold);
  }

  header nav li a::after,
  header nav li a.nav-link--active::after {
    display: none;
  }

  header nav li a.nav-link--active {
    color: var(--gold);
    border-left: 2px solid var(--gold);
    padding-left: calc(1.5rem - 2px);
    background: rgba(197, 150, 74, 0.06);
  }

  /* El border-top de header section ya es suficiente — evitar doble borde */
  header section {
    border-top: none;
    border-top: 1px solid rgba(197, 150, 74, 0.22);
  }

  .lang-item {
    margin-left: 0;
    padding: 0.62rem 1.5rem;
    border-top: 2px solid rgba(197, 150, 74, 0.18);
    border-bottom: none !important;
    width: 100%;
    justify-content: flex-start;
  }

  .lang-dropdown {
    right: auto;
    left: 1rem;
  }
}

/* =====================================================
   MOBILE — MEJORAS ADICIONALES (< 540px)
   ===================================================== */

@media (max-width: 540px) {
  button[type="submit"],
  .btn-secondary {
    align-self: stretch;
    width: 100%;
    text-align: center;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
  }

  .form-actions {
    flex-direction: column;
    gap: 0.6rem;
  }

  .info-cta {
    display: block;
    text-align: center;
  }

  .hero__btn {
    width: 100%;
    justify-content: center;
  }
}

/* =====================================================
   MOBILE — PANTALLAS MUY PEQUEÑAS (< 400px)
   ===================================================== */

@media (max-width: 400px) {
  .header-logo { height: 42px; }
  header h1 { font-size: 0.78rem; letter-spacing: 0.12em; }
  .hamburger-btn { margin-right: 0.5rem; width: 40px; height: 40px; }
  .logo-link { margin: 0.15rem 0 0.15rem 0.5rem; }
  .logo-link::before { width: 152px; height: 43px; }

  main { padding: 1.5rem 0.85rem 3rem; }

  .hero { min-height: 340px; }
  .hero__content { top: 1.75rem; padding-left: 1rem; }
  .hero__title { font-size: 1.6rem; }
  .hero__desc { font-size: 0.87rem; }

  .hours-strip__val,
  .loc-strip__val { font-size: 1.4rem; }

  .room-includes { padding: 1.4rem 1rem 1.5rem; }

  .loc-hero { padding: 2.5rem 1rem; }
  .loc-hero__address { font-size: 1.4rem; }

  .privacy-hero { padding: 2rem 1rem; }
  .privacy-hero__title { font-size: 1.25rem; }
  .privacy-content { padding: 1.5rem 0.85rem 2rem; }

  .reservas-form { padding: 1.25rem 1rem; }
  .contact-info,
  .contact-form { padding: 1.25rem 1rem; }

  .testimonials-section { padding: 1.25rem 1rem; }
  .amenity-item { padding: 1.2rem 0.5rem; }
}

/* En pantallas muy pequeñas (< 360px) el h1 se oculta — el logo ya muestra el nombre */
@media (max-width: 360px) {
  header h1 { display: none; }
}

/* ╔═══════════════════════════════════════════════════════════════════
   ║  SISTEMA RESPONSIVE 3 TIERS — HOTEL PEDRAZA
   ║  Tier 1: Desktop    ≥ 1025px  (base ya establecido)
   ║  Tier 2: Tablet      641–1024px
   ║  Tier 3: Mobile      ≤ 640px  (hamburguesa, ya implementado)
   ╚═══════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────
   GLOBAL — Correcciones universales iOS / Android / Cross-browser
   ───────────────────────────────────────────────────────────────── */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

/* ─────────────────────────────────────────────────────────────────
   TIER 1 — LARGE DESKTOP  (≥ 1200px)
   Aprovecha pantallas anchas: más respiro, imágenes más grandes
   ───────────────────────────────────────────────────────────────── */

@media (min-width: 1200px) {

  main {
    max-width: 1200px;
    padding: 4rem 2.5rem 3rem;
  }

  .hero {
    height: 96vh;
    min-height: 640px;
  }

  .hero__content {
    max-width: 720px;
    top: 4.5rem;
  }

  .hero__title {
    font-size: 4.2rem;
  }

  .slider-track > li {
    width: 520px !important;
    height: 330px !important;
  }

  .slider-track { animation-duration: 38s; }

  .tarifas-grid { gap: 1.6rem; }

  .amenity-item { padding: 2.5rem 1.2rem; }

  .footer-grid {
    max-width: 1280px;
    padding: 4rem 3rem 3rem;
    gap: 3rem;
  }

  .footer-bottom {
    max-width: 1280px;
    padding: 1.4rem 3rem;
  }
}

/* ─────────────────────────────────────────────────────────────────
   TIER 2A — TABLET LANDSCAPE  (≤ 1024px)
   Hero más compacto — evita que ocupe casi toda la pantalla
   ───────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .hero {
    height: 82vh;
    min-height: 500px;
  }
}

/* ─────────────────────────────────────────────────────────────────
   TIER 2B — TABLET PORTRAIT  (≤ 900px)
   Footer 2 columnas — actualmente solo colapsaba a 768px
   ───────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
    padding: 3rem 2rem 2.5rem;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
    padding-right: 0;
    border-right: none;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(197, 150, 74, 0.15);
  }

  .footer-bottom { padding: 1.2rem 2rem; }
}

/* ─────────────────────────────────────────────────────────────────
   TIER 2C — TABLET EXCLUSIVO  (769px – 1024px)
   Estilos que solo aplican en tablet, no en mobile ni desktop
   ───────────────────────────────────────────────────────────────── */

@media (min-width: 769px) and (max-width: 1024px) {

  /* Padding intermedio: más que mobile, menos que desktop */
  main { padding: 2.5rem 1.5rem 3rem; }

  /* Habitaciones: imagen ocupa más en tablet horizontal */
  .habitacion__img { width: 42%; }

  /* Gallery: tamaño intermedio cómodo para tablet */
  .slider-track > li {
    width: 360px !important;
    height: 230px !important;
  }

  /* Testimonials: cards un poco más anchas en tablet */
  .testimonials-track .testimonial-card {
    flex: 0 0 290px;
    width: 290px;
  }

  /* Amenities: 5 columnas si la pantalla tiene espacio */
  .amenities-strip { grid-template-columns: repeat(5, 1fr); }
  .amenity-item:nth-child(3) {
    border-right: 1px solid rgba(197, 150, 74, 0.15);
  }

  /* Reservas sidebar: columnas equilibradas en tablet */
  .reservas-layout { grid-template-columns: 1.2fr 1fr; }

  /* Ubicación hero: columna única en tablet portrait */
  .loc-hero__inner { gap: 2.5rem; }

  /* Privacidad: 2 columnas en tablet */
  .privacy-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─────────────────────────────────────────────────────────────────
   TOUCH TARGETS — Tablet + Mobile  (≤ 1024px)
   Elementos táctiles con altura mínima de 44px (guía Apple/Google)
   ───────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {

  /* Inputs: font-size 16px evita el zoom automático en iOS Safari */
  input[type="text"],
  input[type="email"],
  input[type="date"],
  select {
    font-size: 16px;
    min-height: 44px;
  }

  textarea {
    font-size: 16px;
    min-height: 110px;
  }

  /* Botones de acción: altura mínima táctil */
  .hero__btn    { min-height: 48px; }
  .hab-btn      { min-height: 44px; }
  .info-cta     { min-height: 44px; }
  .btn-mapa-hero { min-height: 48px; }

  button[type="submit"],
  .btn-secondary { min-height: 44px; }

  /* Overflow táctil para sliders (momentum scroll en iOS) */
  .slider-wrapper,
  .testimonials-carousel { -webkit-overflow-scrolling: touch; }

  /* Evita el doble-tap zoom en enlaces de navegación */
  header nav li a { touch-action: manipulation; }
}

/* ════════════════════════════════════════════════════════════════════
   LOAD PERFORMANCE — contain para secciones auto-contenidas
   Impide que cambios internos (como la animación del carrusel de
   testimonios) fuercen re-layout del resto de la página.
   No afecta IntersectionObserver ni animaciones CSS.
   ════════════════════════════════════════════════════════════════════ */

.amenities-section,
.testimonials-section {
  contain: layout style;
}

/* ╔═══════════════════════════════════════════════════════════════════
   ║  PERFORMANCE — 60hz / 120hz / 144hz / 165hz
   ║  GPU layers, hover asimétrico, scroll reveal fluido
   ╚═══════════════════════════════════════════════════════════════════ */

/* Compositor layers permanentes: animaciones CSS de larga duración */
.slider-track,
.testimonials-track {
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Header sticky: reduce repaints en scroll activo */
header {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Hero img: layer GPU para objectPosition/transform JS continuos */
.hero__img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* ── Hover asimétrico: entrada ágil con resorte / salida suave ──
   La diferencia de easing entre base y :hover es intencional:
   el :hover aplica al ENTRAR y el base aplica al SALIR.           */
.habitacion,
.reserva,
.channel-card,
.faq-item,
.loc-card,
.info-block,
.loc-stat {
  transition:
    transform    0.32s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow   0.32s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.habitacion:hover,
.reserva:hover,
.channel-card:hover,
.loc-card:hover {
  transition:
    transform    0.15s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow   0.22s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Scroll reveal: ease-out exponencial — más natural que ease ── */
.has-animations main > section:not(.vistazo),
.has-animations .reserva,
.has-animations .amenity-item,
.has-animations .info-block {
  transition:
    opacity   0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Botones: curva premium en todas las páginas ── */
.hero__btn,
.hab-btn,
.info-cta,
.reserva li a,
.btn-mapa-hero {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero__btn:hover,
.hab-btn:hover,
.info-cta:hover,
.reserva li a:hover,
.btn-mapa-hero:hover {
  transition: all 0.13s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =====================================================
   TOUCH OPTIMIZATIONS (dispositivos táctiles)
   ===================================================== */

@media (hover: none) and (pointer: coarse) {
  .hab-btn,
  .reserva li a,
  .info-cta,
  .btn-mapa-hero,
  .hero__btn {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
  }

  /* Feedback táctil: :active reemplaza al :hover en touch */
  .habitacion:active,
  .reserva:active,
  .channel-card:active,
  .faq-item:active,
  .loc-card:active,
  .info-block:active {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
}
