/* El Rincón de Soto — hoja de estilos única, organizada por capas (ITCSS-lite):
   1) Base: reset, html/body, tipografía, imágenes.
   2) Componentes de comportamiento: nav responsive, menú móvil, galería/slider,
      lightbox, modal, cookies, to-top, CTAs, selector de idioma.
   3) Componentes des-inlinados: encabezados de sección, features, tarjetas de
      habitación, tarifas (tabla/tarjetas), testimonios.
   4) Layout/estructura: envoltorio, contenedores de sección (por id), cabecera,
      hero, entorno, footer, y "Vive la experiencia".
   5) Utilidades: .mb-* de espaciado.
   El HTML NO lleva estilos inline: todo el diseño vive aquí. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Mulish', system-ui, sans-serif;
  color: #3b332a;
  background: #f4ece0;
  -webkit-font-smoothing: antialiased;
  /* Sin selección/copia de texto ni cursor de texto (petición del cliente). */
  cursor: default;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
/* Los elementos interactivos conservan el cursor de mano. */
a, button, summary, label, select, [role="button"], .gallery-img { cursor: pointer; }
/* El teléfono/email siguen funcionando al pulsar (llamar en el móvil). */
a[href^="tel:"], a[href^="mailto:"] { -webkit-touch-callout: default; }
/* Permite escribir/seleccionar en campos de formulario. */
input, textarea { -webkit-user-select: text; -moz-user-select: text; user-select: text; cursor: text; }

/* ===== Navegación responsive (sustituye a isDesktop/isMobile @ 900px) ===== */
.btn-burger { display: none; }

@media (max-width: 899px) {
  .nav-desktop { display: none !important; }
  .btn-burger { display: flex !important; }
}

/* ===== Menú móvil ===== */
.mobile-menu { display: none; }
.mobile-menu.is-open { display: flex; }
.mobile-menu a:hover { background: rgba(255, 255, 255, .06); }

/* ===== Tarifas: tabla en escritorio, tarjetas en móvil (sin conmutador) ===== */
.price-view-cards { display: none; }
@media (max-width: 899px) {
  .price-view-table { display: none; }
  .price-view-cards { display: block; }
}

/* <picture> envuelve al <img> para servir WebP con respaldo JPG. Con
   display:contents la caja del <picture> desaparece: el propio <img> sigue
   siendo el flex item de la galería y el elemento posicionado del hero, así
   que el layout no cambia respecto a usar <img> suelto. */
.hero-pic, .gallery-strip picture { display: contents; }

/* ===== Galería: tira horizontal (slider) ===== */
.gallery { position: relative; }
.gallery-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}
.gallery-strip::-webkit-scrollbar { height: 8px; }
.gallery-strip::-webkit-scrollbar-track { background: transparent; }
.gallery-strip::-webkit-scrollbar-thumb { background: rgba(176, 141, 74, .45); border-radius: 4px; }
.gallery-img {
  flex: 0 0 auto;
  height: 260px;
  width: auto;                 /* conserva proporción, sin recorte */
  border-radius: 12px;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-img:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(43, 34, 20, .2);
}
/* flechas del slider — indican que hay más fotos (la de un lado desaparece
   al llegar a ese extremo). Visibles en todas las pantallas. */
.gal-nav {
  position: absolute;
  top: calc(50% - 5px);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(227, 205, 152, .5);
  background: rgba(21, 34, 43, .85);
  color: #fbf7ef;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  z-index: 5;
  opacity: 1;
  transition: opacity .2s ease, background .15s ease;
}
.gal-nav.is-hidden { opacity: 0; pointer-events: none; }
.gal-prev { left: 8px; }
.gal-next { right: 8px; }
.gal-nav:hover { background: rgba(176, 141, 74, .92); }
@media (min-width: 700px) {
  .gallery-img { height: 300px; }
  .gal-nav { width: 48px; height: 48px; font-size: 32px; }
}

/* ===== Testimonios / opiniones: carrusel horizontal (mismo mecanismo que la galería) ===== */
.testimonios { position: relative; }
.testimonios-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 12px;
}
.testimonios-strip::-webkit-scrollbar { height: 8px; }
.testimonios-strip::-webkit-scrollbar-track { background: transparent; }
.testimonios-strip::-webkit-scrollbar-thumb { background: rgba(176, 141, 74, .45); border-radius: 4px; }
/* cada tarjeta de opinión = una diapositiva de ancho fijo (el Worker inyecta los <div>) */
.testimonios-strip > * {
  flex: 0 0 360px;
  max-width: 84vw;
  scroll-snap-align: start;
}
.tst-prev { left: 8px; }
.tst-next { right: 8px; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 22, 27, .94);
}
.lightbox.is-open { display: flex; }
.lb-img {
  max-width: 92vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .55);
}
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(227, 205, 152, .45);
  color: #fbf7ef;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background .15s ease;
}
.lightbox button:hover { background: rgba(227, 205, 152, .28); }
.lb-close { top: 18px; right: 18px; width: 46px; height: 46px; font-size: 28px; line-height: 1; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 36px; line-height: 1; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-caption {
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(90vw, 680px);
  text-align: center;
  color: #f4ece0;
  font-size: 15px;
  line-height: 1.4;
  background: rgba(0, 0, 0, .38);
  padding: 8px 18px;
  border-radius: 999px;
}
.lb-caption:empty { display: none; }
.lb-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #e7dcc8;
  font-size: 14px;
  letter-spacing: 1.5px;
}
@media (max-width: 600px) {
  .lb-prev, .lb-next { width: 44px; height: 44px; font-size: 30px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-img { max-width: 96vw; }
}

/* ===== Modal de servicios ===== */
.am-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 22, 27, .6);
}
.am-modal.is-open { display: flex; }
.am-box {
  position: relative;
  background: #fbf8f2;
  border-radius: 18px;
  max-width: 760px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
}
.am-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid #e0d3b4;
  background: #fff;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  color: #6b6151;
  cursor: pointer;
  z-index: 3;
}
.am-close:hover { background: #f1e6cf; }
/* Móvil: la caja se ancla arriba y la X queda fija al viewport mientras se
   hace scroll del listado de servicios. */
@media (max-width: 640px) {
  .am-modal { align-items: flex-start; padding: 12px; }
  .am-box { max-height: calc(100vh - 24px); }
  .am-close { position: fixed; top: 22px; right: 22px; }
}
.am-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px 34px;
}
.am-group h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 20px;
  color: #3b332a;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ece3d2;
}
.am-group ul { list-style: none; margin: 0; padding: 0; }
/* Cada ítem lleva un icono de línea dorado propio (fogón, cama, WiFi, …), inyectado
   por app.js (initAmenityIcons). Aquí solo el layout y el estilo del icono. */
.am-group li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 5px 0;
  font-size: 14.5px;
  color: #5b5345;
  line-height: 1.4;
}
.am-ic {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  stroke: #b9974f;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== Selector de idioma ===== */
.lang-switch { display: inline-flex; gap: 2px; align-items: center; font-size: 13px; font-weight: 700; }
.lang-switch a { color: #efe7d9; opacity: .6; text-decoration: none; padding: 4px 8px; border-radius: 6px; text-shadow: 0 1px 3px rgba(0, 0, 0, .55); }
.lang-switch a:hover { opacity: .9; }
.lang-switch a.active { opacity: 1; background: rgba(255, 255, 255, .16); }

/* ===== CTAs fijos ===== */
/* WhatsApp: solo el icono, flotante abajo a la derecha en todas las pantallas;
   la flecha de "subir arriba" se apila justo encima. */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
}
.wa-float:hover { background: #1fbe5a; }
.wa-float svg { width: 30px; height: 30px; }

/* Botón flotante "Reservar": solo en móvil (en escritorio el CTA ya está en el nav).
   En móvil el WhatsApp no flota (va en el menú) y flota "Reservar" en su lugar; la
   flecha "subir arriba" se apila justo encima (ver #to-top { bottom: 84px }). */
.reserve-float {
  display: none;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  align-items: center;
  gap: 8px;
  background: #e3cd98;
  color: #5e4f2a;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 20px;
  border-radius: 30px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
  white-space: nowrap;
}
.reserve-float svg { flex: none; }
@media (max-width: 899px) {
  .wa-float { display: none; }
  .reserve-float { display: inline-flex; }
}

/* ===== Qué ver en la zona ===== */
.zona-card { background: #fbf8f2; border-radius: 14px; padding: 24px 26px; box-shadow: 0 8px 24px rgba(43, 34, 20, .06); display: flex; flex-direction: column; }
.zona-tag { display: inline-block; font-size: 12px; font-weight: 700; color: #9a7b34; background: #f1e6cf; padding: 5px 12px; border-radius: 20px; margin-bottom: 12px; }
.zona-card h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 22px; color: #3b332a; margin: 0 0 8px; }
.zona-card p { font-size: 14.5px; line-height: 1.6; color: #6b6151; margin: 0; }
.zona-actions { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.zona-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: #6b5b28;
  background: #f1e6cf; border: 1px solid #e3d3ad;
  padding: 8px 14px; border-radius: 8px; transition: background .15s ease, border-color .15s ease;
}
.zona-btn:hover { background: #e9d8b4; border-color: #cdb787; }
.zona-btn svg { flex: none; }

/* ===== FAQ (acordeón) ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fbf8f2; border: 1px solid #ece3d2; border-radius: 12px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-size: 16px; font-weight: 700; color: #3b332a; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; font-weight: 400; color: #b9974f; line-height: 1; flex: none; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; font-size: 15px; line-height: 1.7; color: #6b6151; }

/* ===== Banner de cookies ===== */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  flex-wrap: wrap;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(21, 34, 43, .97);
  color: #e7dcc8;
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .25);
}
.cookie-bar a { color: #e3cd98; text-decoration: underline; }
.cookie-bar button {
  flex: 0 0 auto;
  background: #e3cd98;
  color: #5e4f2a;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.cookie-bar button:hover { background: #d8bf85; }

/* Placeholder de consentimiento sobre los iframes de terceros */
.consent-ph {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  background: #fbf8f2;
  color: #6b6151;
  font-size: 14px;
  line-height: 1.5;
}
.consent-ph p { margin: 0; max-width: 300px; }
.consent-ph button {
  background: #15222b;
  color: #fbf7ef;
  border: none;
  border-radius: 8px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.consent-ph button:hover { background: #1d2f3a; }

/* ===== Botón flotante "subir arriba" ===== */
#to-top {
  position: fixed;
  bottom: 84px;              /* apilada justo encima del WhatsApp flotante (bottom:22) */
  right: 22px;
  z-index: 60;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(227, 205, 152, .55);
  background: #15222b;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, background .15s ease;
}
#to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#to-top:hover { background: #1d2f3a; }

/* ===== Detalles de interacción ===== */
/* Foco visible por teclado en cualquier elemento interactivo. Solo aparece con
   navegación por teclado (:focus-visible), así que no altera el aspecto al ratón. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible { outline: 2px solid #e3cd98; outline-offset: 3px; }
/* Sobre fondo oscuro (footer, hero, barras), el oro claro contrasta mejor. */
.site-header a:focus-visible,
#to-top:focus-visible,
footer a:focus-visible { outline-color: #e9d6a8; }

/* ============================================================
   COMPONENTES — estilos movidos desde el HTML inline (refactor)
   ============================================================ */

/* Encabezados de sección (kicker + título + intro) */
.section-kicker { font-size: 13px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: #b9974f; margin: 0 0 16px; }
.section-title { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.08; color: #3b332a; margin: 0; }
.section-title--xl { font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.06; }
.section-intro { font-size: 16px; line-height: 1.75; color: #6b6151; margin: 0; }

/* Utilidades de espaciado (deltas puntuales de margen; van al final para ganar la cascada) */
.mb-16 { margin-bottom: 16px; }
.mb-18 { margin-bottom: 18px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }

/* Franja de características (feature strip) */
.feature-grid { background: #fbf8f2; border-radius: 18px; box-shadow: 0 22px 50px rgba(43, 34, 20, .12); padding: 34px clamp(16px, 3vw, 30px); display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 18px; }
.feature { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 6px 4px; }
.feature__icon { color: #b08d4a; }
.feature__label { font-size: 13.5px; font-weight: 600; color: #5b5345; line-height: 1.35; }

/* Tarjetas de distribución (la casa por dentro) */
.room-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.room-card { background: #fbf8f2; border-radius: 14px; padding: 26px 24px; box-shadow: 0 10px 30px rgba(43, 34, 20, .06); }
.room-card__tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #9a7b34; background: #f1e6cf; padding: 5px 11px; border-radius: 20px; margin-bottom: 16px; }
.room-card__title { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 22px; color: #3b332a; margin: 0 0 14px; }
.room-card__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.room-card__item { display: flex; gap: 9px; font-size: 14px; line-height: 1.5; color: #6b6151; }
.room-card__item svg { flex: 0 0 auto; margin-top: 2px; }

/* Tarifas — tabla */
.price-table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: 0 12px 34px rgba(43, 34, 20, .08); background: #fbf8f2; }
.price-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.price-table thead tr { background: #15222b; }
.price-table th { text-align: left; padding: 16px 26px; font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 800; color: #e9d6a8; }
.price-table th:nth-child(3) { text-align: center; }
.price-table th:nth-child(4) { text-align: right; }
.price-table tbody tr { border-top: 1px solid #ece3d2; }
.price-table td { padding: 16px 26px; font-size: 14px; color: #6b6151; }
.price-table td:nth-child(1) { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 19px; color: #3b332a; white-space: nowrap; }
.price-table td:nth-child(3) { text-align: center; white-space: nowrap; }
.price-table td:nth-child(4) { text-align: right; font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 23px; color: #9a7b34; white-space: nowrap; }

/* Tarifas — tarjetas (móvil) */
.price-cards { display: flex; flex-direction: column; gap: 12px; }
.price-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; background: #fbf8f2; border-radius: 14px; padding: 22px 28px; box-shadow: 0 8px 24px rgba(43, 34, 20, .06); }
.price-card__info { flex: 1 1 240px; }
.price-card__season { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 22px; color: #3b332a; margin: 0 0 4px; }
.price-card__period { font-size: 13.5px; color: #8a7f6d; margin: 0; }
.price-card__badge { font-size: 13px; font-weight: 600; color: #9a7b34; background: #f1e6cf; padding: 7px 14px; border-radius: 20px; white-space: nowrap; }
.price-card__price { text-align: right; white-space: nowrap; }
.price-card__amount { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 30px; color: #9a7b34; }
.price-card__unit { font-size: 13px; color: #8a7f6d; }
.price-note { font-size: 13px; color: #8a7f6d; margin: 16px 0 0; }

/* ============================================================
   LAYOUT / ESTRUCTURA (des-inlinado, etapa 4)
   ============================================================ */

/* Envoltorio de página */
.page { background: #f4ece0; min-height: 100%; overflow-x: hidden; }

/* Contenedores de sección (por id, conservando su espaciado original) */
#servicios { position: relative; z-index: 10; max-width: 1240px; margin: -64px auto 0; padding: 0 clamp(16px, 4vw, 40px); }
#galeria   { max-width: 1240px; margin: 54px auto 0; padding: 0 clamp(16px, 4vw, 40px); }
#lacasa    { max-width: 1240px; margin: 0 auto; padding: 72px clamp(20px, 5vw, 40px) 20px; }
#distribucion { max-width: 1240px; margin: 0 auto; padding: 20px clamp(20px, 5vw, 40px) 36px; }
#tarifas   { max-width: 1240px; margin: 0 auto; padding: 36px clamp(20px, 5vw, 40px) 36px; }
#entorno   { max-width: 1240px; margin: 0 auto; padding: 50px clamp(20px, 5vw, 40px) 72px; }
/* "Qué ver cerca" ya vive dentro de #entorno: sepáralo del bloque del mapa. */
#entorno .quever-head { margin-top: 56px; }
#quever    { max-width: 1240px; margin: 0 auto; padding: 20px clamp(20px, 5vw, 40px) 40px; }
#testimonios-section { max-width: 1240px; margin: 0 auto; padding: 20px clamp(20px, 5vw, 40px) 80px; }
#faq       { max-width: 820px; margin: 0 auto; padding: 20px clamp(20px, 5vw, 40px) 72px; }

/* Cabecera + marca — fija (escritorio y móvil): transparente sobre el hero y
   sólida al hacer scroll (clase .is-scrolled desde app.js). Así el menú, el icono,
   el subtítulo y el botón Reservar quedan siempre visibles. */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px clamp(20px, 5vw, 64px); transition: background .25s ease, box-shadow .25s ease, padding .25s ease; }
.site-header.is-scrolled { background: rgba(21, 34, 43, .97); box-shadow: 0 2px 16px rgba(0, 0, 0, .28); padding-top: 13px; padding-bottom: 13px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand__text { line-height: 1; }
.brand__name { display: block; font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 26px; color: #fbf7ef; letter-spacing: .5px; }
.brand__sub { display: block; font-size: 10px; letter-spacing: 3.5px; color: #e7dcc8; margin-top: 3px; text-transform: uppercase; }

/* Navegación de escritorio */
.nav-desktop { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-link { font-size: 14px; font-weight: 600; color: #efe7d9; text-shadow: 0 1px 3px rgba(0, 0, 0, .55); }
.nav-link--active { font-weight: 700; padding-bottom: 4px; border-bottom: 2px solid #e3cd98; }

/* Botón reservar (cabecera) */
.btn-reserve { background: #e3cd98; color: #5e4f2a; font-weight: 700; font-size: 14px; padding: 13px 26px; border-radius: 8px; box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }

/* Botón hamburguesa (visual; el display lo controla el media query de arriba) */
.btn-burger { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; }

/* Menú móvil (posición/estilo; display lo controla .is-open). Fixed para que
   caiga bajo la cabecera fija sin importar el scroll. */
.mobile-menu { position: fixed; top: 74px; left: 16px; right: 16px; z-index: 55; background: #16232c; border-radius: 16px; box-shadow: 0 24px 56px rgba(0, 0, 0, .45); padding: 14px; flex-direction: column; gap: 2px; }
.mobile-menu__link { padding: 14px 16px; font-size: 16px; font-weight: 600; color: #f0e8da; border-radius: 9px; }
.mobile-menu__reserve { margin-top: 8px; text-align: center; background: #e3cd98; color: #5e4f2a; font-weight: 700; font-size: 15px; padding: 15px; border-radius: 10px; }

/* ============================================================
   HERO / ENTORNO / FOOTER / MISC (des-inlinado, etapa 5)
   ============================================================ */

/* Hero */
#inicio { position: relative; min-height: 760px; display: flex; align-items: center; padding: 140px clamp(20px, 5vw, 64px) 110px; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 72%; z-index: 0; }
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, rgba(20,26,20,.78) 0%, rgba(28,34,26,.5) 42%, rgba(28,34,26,.15) 70%, rgba(28,34,26,.35) 100%); }
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; display: flex; gap: 40px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.hero__text { flex: 1 1 440px; max-width: 600px; color: #fbf7ef; padding-top: 18px; }
.hero__eyebrow { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(20px, 2.4vw, 26px); color: #e9d6a8; margin: 0 0 10px; }
.hero__title { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(3.2rem, 7vw, 6rem); line-height: .98; margin: 0 0 18px; letter-spacing: .5px; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero__subtitle { font-size: clamp(15px, 1.6vw, 19px); font-weight: 700; letter-spacing: 5px; text-transform: uppercase; color: #e9d6a8; margin: 0 0 26px; }
.hero__lead { font-size: 17px; line-height: 1.7; color: #efe7d9; max-width: 430px; margin: 0 0 34px; }
.hero__cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.btn-reserve--hero { display: inline-flex; align-items: center; gap: 11px; background: #e3cd98; color: #5e4f2a; font-weight: 700; font-size: 16px; padding: 16px 30px; border-radius: 9px; box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.hero__link { display: inline-flex; align-items: center; gap: 9px; color: #fbf7ef; font-weight: 600; font-size: 15px; }

/* Tarjeta de disponibilidad (calendario) */
.avail-card { flex: 0 1 380px; min-width: 300px; background: #fbf8f2; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.32); padding: 24px 24px 22px; }
.avail-card__head { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid #ece3d2; }
.avail-card__title { font-weight: 700; font-size: 16px; color: #3b332a; }
.avail-card__frame { margin-top: 16px; border-radius: 12px; overflow: hidden; background: #fff; }
.avail-card__frame iframe { width: 100%; height: 360px; border: 0; display: block; }

/* Línea extra de servicios + botón "ver todos" */
.feature-extra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 20px 4px 0; }
.feature-extra__text { font-size: 13.5px; color: #8a7f6d; margin: 0; }
.feature-extra__text b { color: #6b6151; }
.btn-outline { flex: none; background: #fff; border: 1px solid #e0d3b4; color: #6b5a2e; font-weight: 700; font-size: 14px; padding: 11px 20px; border-radius: 10px; cursor: pointer; }

/* Entorno: grid + lista de distancias + mapa */
.entorno-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 5vw, 56px); align-items: stretch; }
.dist-list { display: flex; flex-direction: column; gap: 12px; }
.dist-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; background: #fbf8f2; border-radius: 10px; }
.dist-item__name { font-size: 15px; font-weight: 600; color: #4a4233; }
.dist-item__km { font-size: 13px; font-weight: 700; color: #b9974f; white-space: nowrap; }
.btn-directions { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; background: #15222b; color: #efe7d9; font-weight: 700; font-size: 14px; padding: 12px 22px; border-radius: 10px; text-decoration: none; }
.map-wrap { border-radius: 16px; overflow: hidden; box-shadow: 0 18px 44px rgba(43,34,20,.16); min-height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Encabezados centrados (Qué ver / Testimonios / FAQ) */
.quever-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.testimonios-head { text-align: center; margin: 0 auto 30px; max-width: 640px; }
.faq-head { text-align: center; margin: 0 auto 30px; }

/* Modal de servicios: cabecera */
.am-kicker { font-size: 12px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: #b9974f; margin: 0 0 8px; }
.am-title { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.2rem); color: #3b332a; margin: 0 0 22px; }

/* WhatsApp dentro del menú móvil */
.mm-wa { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 14px 16px; font-size: 16px; font-weight: 700; color: #25d366; border: 1px solid rgba(37, 211, 102, .5); border-radius: 10px; }
.mm-wa svg { width: 22px; height: 22px; }

/* Selector de idioma en móvil */
.lang-switch--mobile { justify-content: center; margin-top: 12px; }

/* Footer */
#contacto { background: #15222b; color: #dfe6e3; padding: 48px clamp(20px, 5vw, 64px) 40px; }
.footer-top { max-width: 1240px; margin: 0 auto; display: flex; gap: 40px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.footer-contacts { display: flex; gap: clamp(36px, 6vw, 80px); flex-wrap: wrap; }
.footer-contact { display: flex; gap: 13px; }
.footer-contact--loc { max-width: 240px; }
.footer-contact__label { font-weight: 700; font-size: 14px; margin: 0 0 5px; color: #fbf7ef; }
.footer-contact__value { font-size: 14px; line-height: 1.5; margin: 0; color: #a9b4af; }
.footer-social { display: flex; align-items: center; gap: 12px; }
.social-btn { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-bottom { max-width: 1240px; margin: 34px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-meta { font-size: 12.5px; color: #7e8b86; }
.footer-meta a { color: #a9b4af; }

/* Sección "Vive la experiencia" (La casa) */
.experience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: clamp(36px, 6vw, 90px); align-items: start; }
.experience-lead { font-size: 16px; line-height: 1.75; color: #6b6151; max-width: 460px; }
.experience-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px 36px; }
.experience-item { border-top: 1px solid #e2d8c6; padding-top: 18px; }
.experience-item__icon { display: inline-flex; color: #b9974f; margin-bottom: 12px; }
.experience-item__title { font-size: 16px; font-weight: 700; color: #3b332a; margin: 0 0 8px; }
.experience-item__text { font-size: 14px; line-height: 1.6; color: #857b69; margin: 0; }

/* Encabezado de sección con ancho limitado (tarifas / distribución) */
.section-head { max-width: 700px; }

/* Utilidades de margen extra */
.mb-28 { margin-bottom: 28px; }
.mb-30 { margin-bottom: 30px; }
.mb-34 { margin-bottom: 34px; }

/* Rejilla de "Qué ver en la zona" */
.quever-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

/* Tarjetas de testimonio (las inyecta el Worker en #testimonios-list) */
.testimonio { background: #fbf8f2; border-radius: 16px; padding: 26px 28px; box-shadow: 0 8px 24px rgba(43, 34, 20, .06); display: flex; flex-direction: column; }
.testimonio__stars { color: #b9974f; font-size: 16px; letter-spacing: 3px; margin-bottom: 14px; }
.testimonio__quote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 19px; line-height: 1.55; color: #3b332a; margin: 0 0 16px; flex: 1; }
.testimonio__author { font-size: 14px; font-weight: 700; color: #6b6151; margin: 0; }
.testimonio__origin { font-weight: 400; color: #8a7f6d; }

/* Iconos del botón hamburguesa (conmutados por .btn-burger.is-open) */
.btn-burger [data-icon-close] { display: none; }
.btn-burger.is-open [data-icon-open] { display: none; }
.btn-burger.is-open [data-icon-close] { display: block; }

/* ===== Página legal ===== */
.legal-header { background: #15222b; padding: 22px clamp(20px, 5vw, 64px); }
.legal-brand__name { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 24px; color: #fbf7ef; letter-spacing: .5px; }
.legal { max-width: 820px; margin: 0 auto; padding: 48px clamp(20px, 5vw, 40px) 80px; color: #4a4233; font-size: 15.5px; line-height: 1.7; }
.legal__back { margin: 0 0 28px; }
.legal__back-link { color: #9a7b34; font-weight: 600; }
.legal__section { margin-bottom: 48px; }
.legal__h1 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(2rem, 4vw, 2.6rem); color: #3b332a; margin: 0 0 18px; }
.legal__h2 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(1.7rem, 3.2vw, 2.2rem); color: #3b332a; margin: 0 0 16px; }
.legal__list { margin: 14px 0; padding-left: 20px; }
.legal__note { margin-top: 40px; font-size: 13px; color: #8a7f6d; }
.legal-footer { background: #15222b; color: #7e8b86; padding: 26px clamp(20px, 5vw, 64px); text-align: center; font-size: 12.5px; }

/* ===== Página 404 ===== */
.notfound { background: #15222b; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.notfound__box { max-width: 520px; color: #f0e8da; }
.notfound__icon { margin-bottom: 22px; }
.notfound__code { font-family: 'Cormorant Garamond', serif; font-size: clamp(3.5rem, 10vw, 5.5rem); font-weight: 600; line-height: 1; color: #fbf7ef; margin: 0; }
.notfound__title { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(1.6rem, 4vw, 2.2rem); color: #e9d6a8; margin: 10px 0 16px; }
.notfound__text { font-size: 16px; line-height: 1.7; color: #cdd6d1; margin: 0 0 30px; }
.notfound__btn { display: inline-block; background: #e3cd98; color: #5e4f2a; font-weight: 700; font-size: 15px; padding: 15px 30px; border-radius: 9px; }
