/* =========================================================
   Can Patró — Agroturismo en Mallorca
   Hoja de estilos completa · Lujo rústico · Mobile-first
   ========================================================= */

:root {
  /* ============================================================
     Paleta — lujo rústico mallorquín
     Arena y crema cálidas · verde oliva profundo · tierra / terracota
     ============================================================ */
 --paper: #fcfbf9;     /* Fondo principal: blanco cal limpísimo */
  --cream: #f4f3ef;     /* Secciones alternas (Finca, Contacto): gris piedra balear muy suave */
--sand: #ded9cd; /* Neutro claro para marcadores de foto y divisores */
--sand-soft: #eeece6; /* Fondos de Comodidades y Ubicación */

 /* --olive-deep: #2f3b27; /* verde oliva profundo — cabecera, footer, títulos */
  --olive-deep: #1c2b36; /* Azul marino pizarra profundo (para títulos y textos principales) */
  --olive-900: #202a19; /* casi negro-oliva — estados hover/pressed */
  --olive: #294354;      /* Azul océano templado (para botones y contrastes) */
  --olive-soft: #38a8c4; /* Celeste agua de piscina (para detalles y toques de luz) */

  --terracotta: #c1652a; /* acento tierra / terracota — más vivo, uso decorativo */
  --terracotta-deep: #8b4a20; /* variante oscura, segura para texto/enlaces — sin cambios */

  /* Acento "sol mallorquín" — el toque de alegría, siempre puntual */
  --sun: #e3a23b; /* dorado vivo — fondos e iconos decorativos, NO usar en texto pequeño */
  --sun-deep: #8a5a12; /* dorado oscuro — seguro para texto (contraste AA verificado) */
  --sun-rgb: 227, 162, 59;

  --ink: #262420; /* texto principal — casi negro cálido */
  --stone: #6e6656; /* texto secundario, gris-tierra */
  --white: #ffffff; /* tarjetas */

  /* Sombras muy sutiles, propias de un acabado premium */
  --shadow-xs: 0 2px 10px rgba(38, 34, 28, 0.05);
  --shadow-sm: 0 8px 24px rgba(38, 34, 28, 0.06);
  --shadow-md: 0 16px 38px rgba(38, 34, 28, 0.08);
  --shadow-lg: 0 28px 58px rgba(38, 34, 28, 0.1);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --header-h: 84px;

  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);

  /* Tipografía — Playfair Display es ahora la serif de toda la página
     (títulos de sección, tarjetas, footer...); la portada principal
     conserva su propia fuente (Fraunces) sin verse afectada por esto,
     ver regla .hero-title-main más abajo */
  --font-serif: "Playfair Display", "Fraunces", Georgia, serif;
  --font-sans: "Montserrat", "Inter", "Segoe UI", sans-serif;
}

/* =========================================================
   Reset base
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
figure {
  max-width: 100%;
}

a {
  color: var(--terracotta-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--olive-deep);
}

h1,
h2,
h3,
.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--olive-deep);
}

/* Logotipo tipográfico: itálica sutil para un trazo de firma boutique */
.brand-name {
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  margin: 0.2em 0 0.35em;
}

h2 {
  /* Mínimo y escalado en vw sin cambios; solo se amplía el tope máximo
     para dar más presencia en escritorio grande */
  font-size: clamp(1.85rem, 4.2vw, 3.3rem);
  margin: 0.15em 0 0.45em;
}

h3 {
  font-size: 1.4rem;
  margin: 0 0 0.4em;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  padding-left: 1.2em;
}

button {
  font-family: inherit;
}

/* Foco visible accesible en toda la web */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-toggle-label:focus-visible {
  outline: 3px solid var(--olive-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--olive-deep);
  color: var(--cream);
  padding: 0.7rem 1.1rem;
  z-index: 200;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 600;
  color: #2b7a94; /* Azul mediterráneo fresco y legible */
}

.section-inner {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 4rem 0;
}

.section-header {
  max-width: 700px;
  margin-bottom: 2.6rem;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.6rem;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

/* Marcador visual de fotografía pendiente — Neutro y Luminoso */
.photo-slot {
  margin: 0;
  display: grid;
  place-items: center;
  min-height: 240px;
  background: #edf3f6; /* Tono gris-celeste calizo muy limpio */
  color: #728a99;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  padding: 1.2rem;
  border-radius: 20px;
  border: 1px dashed #c8dae2; /* Borde discontinuo suave */
}

/* =========================================================
   Revelado al hacer scroll (alegría con medida)
   El estado oculto solo se aplica si <html> lleva la clase
   .js-reveal-ready (añadida por JS cuando IntersectionObserver
   está disponible y el usuario no pide menos movimiento). Así,
   sin JavaScript, todo el contenido es visible desde el primer
   momento — no depende del script para poder leerse. No se
   aplica a la portada (hero), que ya tiene su propia animación.
   ========================================================= */

.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-premium), transform 0.7s var(--ease-premium);
  transition-delay: var(--reveal-delay, 0s);
}

.js-reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Línea de acento que se dibuja bajo los títulos de sección al aparecer */
.js-reveal-ready .reveal h2::after {
  content: "";
  display: block;
  width: 0;
  height: 2px; /* Reducido de 3px a 2px para que sea estilizada */
  margin-top: 0.6rem;
  background: #38a8c4; /* Celeste agua de piscina */
  border-radius: 2px;
  transition: width 0.9s var(--ease-premium) 0.15s;
}

.js-reveal-ready .reveal.is-visible h2::after {
  width: 72px;
}

.js-reveal-ready .section-header.centered.reveal h2::after,
.js-reveal-ready .cta-inner.reveal h2::after {
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   Botones
   ========================================================= */

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium),
    color 0.3s ease, border-color 0.3s ease, letter-spacing 0.3s ease;
}

/* Capa de color que se funde suavemente al pasar el ratón —
   así el cambio de tono es un fundido real, no un salto brusco */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s var(--ease-premium);
}

.btn:hover {
  transform: translateY(-2px);
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-sm);
}

.btn:hover::before {
  opacity: 1;
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-xs);
}

.btn-primary {
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-deep) 130%);
  color: var(--white);
}

/* Antes esta capa oscurecía el botón casi a negro en hover — sobre fondos
   oscuros (como la portada) el texto blanco perdía contraste y "se apagaba".
   Ahora aclara hacia un dorado cálido: más alegre y siempre legible. */
.btn-primary::before {
  background: linear-gradient(135deg, #38a8c4 0%, #1c2b36 130%);
}

/* Bug corregido: la regla genérica a:hover (más específica que .btn-primary)
   volvía el texto verde oscuro al pasar el ratón. Lo fijamos en blanco
   siempre, y añadimos un resplandor cálido puntual. */
.btn-primary:hover,
.btn-primary:focus-visible {
  color: var(--white);
  box-shadow: var(--shadow-sm), 0 10px 26px rgba(227, 162, 59, 0.35);
}

.btn-ghost,
.btn-nav {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 236, 221, 0.5);
  box-shadow: none;
}

.btn-ghost::before,
.btn-nav::before {
  background: var(--cream);
}

.btn-ghost:hover,
.btn-nav:hover {
  color: var(--olive-deep);
  border-color: var(--cream);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background: transparent;
  color: var(--olive-deep);
  border-color: rgba(47, 59, 39, 0.3);
  box-shadow: none;
}

.btn-outline::before {
  background: var(--olive-deep);
}

.btn-outline:hover {
  color: var(--cream);
  border-color: var(--olive-deep);
  box-shadow: var(--shadow-sm);
}

.btn-block {
  width: 100%;
}

/* =========================================================
   Cabecera
   ========================================================= */

@keyframes efectoHeader {
  0% { opacity: 0; transform: translateY(-16px); }
  100% { opacity: 1; transform: translateY(0); }
}

.site-header {
  position: fixed; /* Lo fijamos flotando sobre la foto */
  width: 100%;
  top: 0;
  z-index: 80;
  background: transparent; /* Empieza 100% transparente */
  color: var(--cream);
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
  animation: efectoHeader 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Esta clase se encenderá mágicamente al bajar */
.site-header.scrolled {
  /* Más opaco y algo más oscuro que antes — con una foto muy clara
     detrás, 0.75 no daba suficiente contraste a las letras del menú */
  background: rgba(24, 23, 19, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* El header ahora flota fijo sobre el contenido (position: fixed);
   esto evita que los enlaces del menú "#alojamientos", etc. dejen el
   destino tapado debajo del header al saltar a la sección */
main section[id] {
  scroll-margin-top: var(--header-h);
}

.brand {
  color: var(--cream);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 0.22rem;
  padding: 0.35rem 0;
}

.brand:hover {
  color: var(--sand);
}

.brand-kicker {
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.85;
}

.brand-name {
  font-size: 1.6rem;
  color: inherit;
}

.brand-logo {
  max-height: 62px;
  width: auto;
  transition: transform 0.3s ease;
  border-radius: 50%;
}

.brand:hover .brand-logo {
  transform: scale(1.05);
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fbf6ec;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  line-height: 1;
}
/* Selector de idioma */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid rgba(244, 236, 221, 0.3);
  border-radius: 999px;
  padding: 0.2rem;
  order: 3;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
  min-height: 32px;
}

.lang-btn:hover {
  background: rgba(244, 236, 221, 0.15);
}

.lang-btn[aria-pressed="true"] {
  background: var(--cream);
  color: var(--olive-deep);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  cursor: pointer;
  order: 4;
  flex-shrink: 0;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--cream);
  left: 11px;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-label span {
  top: 21px;
}

.nav-toggle-label span::before {
  top: -7px;
}

.nav-toggle-label span::after {
  top: 7px;
}

.nav-toggle:checked ~ .nav-toggle-label span {
  background: transparent;
}

.nav-toggle:checked ~ .nav-toggle-label span::before {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle:checked ~ .nav-toggle-label span::after {
  transform: rotate(-45deg) translate(5px, -6px);
}

.site-nav {
  order: 5;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--sand);
}

/* =========================================================
   Hero — Estilo Hotel Boutique
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* Ocupa el 100% exacto de la pantalla de inicio */
  display: grid;
  place-items: center stretch;
  color: var(--cream);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  border-radius: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 22, 28, 0.42) 0%,
    rgba(15, 22, 28, 0.14) 48%,
    rgba(15, 22, 28, 0.22) 100%
  );
}

@keyframes efectoElegante {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(-22px); /* Sitúa el texto en la parte limpia de la fachada */
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.76rem;
  font-weight: 600;
  color: #fbf6ec;
  margin: 0 0 0.4rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  opacity: 0;
  /* Entra a los 0.2s y dura 1.5s */
  animation: efectoElegante 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.hero-title-main {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.8rem, 5.4vw, 4.5rem);
  letter-spacing: 0.01em;
  margin: 0 0 0.45rem;
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
  opacity: 0;
  /* Entra a los 0.5s y dura 1.7s */
  animation: efectoElegante 1.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.9vw, 1.22rem);
  font-weight: 400;
  max-width: 540px;
  margin-bottom: 2.1rem;
  color: #fbf6ec;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  opacity: 0; 
  /* Entra a los 0.8s y dura 1.7s */
  animation: efectoElegante 1.7s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  opacity: 0;
  /* Los botones entran al final a los 1.1s y duran 1.7s */
  animation: efectoElegante 1.7s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
}

/* =========================================================
   Intro
   ========================================================= */

.intro {
  background: var(--cream);
}

/* Métricas de la finca estilo boutique */
.intro-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.8rem 0;
  padding: 1.2rem 0;
  border-top: 1px solid #e3ebf0;
  border-bottom: 1px solid #e3ebf0;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: #1c2b36;
  line-height: 1;
}

.stat-unit {
  font-size: 0.72rem;
  font-weight: 600;
  color: #38a8c4;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.stat-desc {
  font-size: 0.78rem;
  color: #556773;
  margin-top: 0.2rem;
}

@media (max-width: 600px) {
  .intro-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

.intro-photo {
  min-height: 380px;
}

.location-note {
  padding: 1rem 0 0;
  border-top: 1px solid rgba(110, 102, 86, 0.2);
  color: var(--stone);
}

/* =========================================================
   Alojamientos
   ========================================================= */

/* =========================================================
   ALOJAMIENTOS — ESTILO TARJETAS BOUTIQUE MEDITERRÁNEAS
   ========================================================= */

.stays {
  background: var(--paper);
  padding: 2rem 0 4rem;
}

.stays-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.stay-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e3ebf0;
  box-shadow: 0 10px 30px rgba(28, 43, 54, 0.05);
  transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium), border-color 0.3s ease;
}

.stay-card:hover {
  transform: translateY(-8px);
  border-color: #38a8c4;
  box-shadow: 0 20px 42px rgba(28, 43, 54, 0.12);
}

/* Contenedor de la foto con etiqueta flotante */
.stay-card-media {
  position: relative;
  overflow: hidden;
}

.stay-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(28, 43, 54, 0.82);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Fotos de las tarjetas de alojamiento */
.stay-card-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-premium);
}

.stay-card:hover .stay-card-img {
  transform: scale(1.05);
}

/* Alinea todos los botones de las tarjetas abajo a la misma altura */
.btn-stay {
  margin-top: auto;
}

/* =========================================================
   COMPOSICIÓN EDITORIAL DE DOBLE FOTO (INTRO)
   ========================================================= */
.intro-photo-composition {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* Foto principal (Camino y fachada) */
.intro-photo-main {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(28, 43, 54, 0.10);
  background: #edf3f6;
}

.intro-photo-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-premium);
}

.intro-photo-composition:hover .intro-photo-img {
  transform: scale(1.03);
}

/* Foto flotante superpuesta (Copa de vino y piscina) */
.intro-photo-floating {
  position: absolute;
  bottom: -22px;
  left: -26px; /* Sobresale hacia el texto uniendo visualmente las dos columnas */
  width: 220px;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  border: 5px solid #ffffff; /* Marco blanco que la despega con nitidez */
  box-shadow: 0 18px 45px rgba(28, 43, 54, 0.22);
  z-index: 3;
  transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium);
  cursor: zoom-in;
}

.intro-photo-floating:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 24px 50px rgba(28, 43, 54, 0.28);
}

.intro-floating-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Adaptación para pantallas de tablet y móviles */
@media (max-width: 860px) {
  .intro-photo-composition {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
  }

  .intro-photo-img {
    height: 320px;
  }

  .intro-photo-floating {
    width: 170px;
    bottom: -15px;
    left: 14px; /* En móviles se mantiene dentro del margen sin salirse de pantalla */
    border-width: 4px;
  }
}


/* Marcador temporal de fotos limpio y luminoso (adiós marrón) */
.stay-card .photo-slot {
  margin: 0;
  border-radius: 0;
  border: 0;
  min-height: 220px;
  background: #eef3f6;
  color: #6e8492;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  transition: transform 0.6s var(--ease-premium);
}

.stay-card:hover .photo-slot {
  transform: scale(1.05);
}

/* Cuerpo de la tarjeta */
.stay-card-body {
  padding: 1.8rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.stay-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.stay-card-header h3 {
  font-size: 1.35rem;
  margin: 0;
  color: var(--olive-deep); /* Azul marino pizarra */
}

/* Numerador estilizado tipo revista */
.stay-index {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 600;
  color: #38a8c4;
}

.stay-card-body p {
  color: #556773;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

/* Pastillas de características (chips) */
.stay-features {
  display: none;
}

.stay-features li {
  font-size: 0.76rem;
  font-weight: 500;
  color: #2b4859;
  background: #f0f6f8;
  border: 1px solid #d8e8ee;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
}

/* Botón de la tarjeta */
.btn-stay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.8rem 1.2rem;
  background: #fafcfd;
  color: var(--olive-deep) !important;
  border: 1px solid #d4e3eb;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
  transition: all 0.3s ease;
}

.btn-stay:hover {
  background: var(--olive-deep);
  color: #ffffff !important;
  border-color: var(--olive-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(28, 43, 54, 0.18);
}

/* =========================================================
   SERVICIOS Y COMODIDADES — CUADRÍCULA BALEAR 4x2
   ========================================================= */

.amenities {
  background: var(--sand-soft);
  padding: 2rem 0 4rem;
}

/* 4 columnas en ordenador para equilibrar la pantalla */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.amenity-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.8rem 1.2rem;
  border: 1px solid #e3ebf0;
  box-shadow: 0 6px 20px rgba(28, 43, 54, 0.04);
  transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium), border-color 0.3s ease;
}

.amenity-card:hover {
  transform: translateY(-5px);
  border-color: #38a8c4;
  box-shadow: 0 14px 30px rgba(56, 168, 196, 0.12);
}

/* Icono circular celeste en reposo */
.amenity-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f0f6f8;
  color: #2b7a94;
  flex-shrink: 0;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* Al pasar el cursor: se enciende en celeste piscina con icono blanco (adiós mostaza) */
.amenity-card:hover .amenity-icon {
  background: #38a8c4;
  color: #ffffff;
  transform: scale(1.08);
}

.amenity-icon svg {
  width: 24px;
  height: 24px;
}

.amenity-card h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.35;
  margin: 0;
  color: var(--olive-deep); /* Azul marino pizarra */
}

/* Ajuste responsive para tablet y móvil */
@media (max-width: 960px) {
  .amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .amenity-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   GALERÍA — CUADRÍCULA SIMÉTRICA Y EQUILIBRADA (SIN HUECOS)
   ========================================================= */

.gallery {
  background: var(--paper);
  padding: 2.5rem 0 4.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas perfectas */
  gap: 2rem;
}

.gallery-grid .gallery-item[hidden],
.gallery-grid .photo-slot[hidden],
.gallery-item[hidden] {
  display: none !important;
}

.gallery-item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(28, 43, 54, 0.05);
  transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(28, 43, 54, 0.12);
}

.gallery-item-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-premium);
}

.gallery-item:hover .gallery-item-img {
  transform: scale(1.06);
}


/* Todas las fotos con la misma proporción elegante */
.gallery-grid .photo-slot {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 10; /* Proporción fotográfica apaisada */
  min-height: auto;
  border-radius: 16px;
  background: #edf3f6;
  border: 1px dashed #c8dae2;
  color: #728a99;
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium), border-color 0.3s ease;
}

/* Efecto suave al pasar el cursor */
.gallery-grid .photo-slot:hover {
  transform: translateY(-4px);
  border-color: #38a8c4;
  box-shadow: 0 10px 25px rgba(28, 43, 54, 0.1);
}

/* Fotos ocultas por defecto (se muestran al pulsar el botón) */
.gallery-grid .photo-slot[hidden] {
  display: none;
}

.gallery-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* Botón "Ver más fotos" en azul marino y redondeado */
#gallery-more {
  background: transparent;
  color: #1c2b36;
  border: 1.5px solid #1c2b36;
  padding: 0.75rem 2.2rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#gallery-more:hover {
  background: #1c2b36;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(28, 43, 54, 0.18);
}

/* Responsive: 2 columnas en tablet y móvil para que no se deforme */
@media (max-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr; /* 1 columna en pantallas muy pequeñas */
  }
}

/* =========================================================
   Ubicación
   ========================================================= */

.location {
  background: var(--sand-soft);
}

.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.6rem;
  align-items: stretch;
}

.location-map {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 340px;
  border: 1px solid rgba(110, 102, 86, 0.15);
  background: var(--white);
}

.map-caption {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0.85rem 1.1rem;
  font-size: 0.85rem;
  color: var(--stone);
  border-bottom: 1px solid rgba(110, 102, 86, 0.15);
}

.map-caption strong {
  color: var(--olive-deep);
  font-family: var(--font-serif);
  font-size: 1rem;
}

.map-reset-btn {
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(47, 59, 39, 0.25);
  color: var(--olive-deep);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.map-reset-btn:hover {
  background: var(--olive-deep);
  color: var(--cream);
}

.location-map iframe {
  width: 100%;
  flex: 1;
  min-height: 340px;
  border: 0;
  display: block;
}

/* =========================================================
   UBICACIÓN — PALETA COSTERA BALEAR (SIN CREMAS NI VERDES)
   ========================================================= */

.location-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  box-shadow: 0 14px 38px rgba(28, 43, 54, 0.07);
  border: 1px solid #e3ebf0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 1. Caja de dirección: Celeste hielo fresco (adiós crema) */
.location-address {
  font-style: normal;
  background: #f0f6f8; /* Celeste niebla / hielo muy sutil y luminoso */
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  border: 1px solid #d7e7ed;
  color: #556773;
}

/* 2. Título Can Patró en Azul Marino Pizarra */
.location-address strong {
  display: block;
  color: #1c2b36; /* Azul marino profundo elegante */
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

/* Lista interactiva de lugares cercanos */
.distance-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.distance-list li {
  display: flex;
  align-items: center;
  background: #f9fbfc; /* Blanco azulado pulcro */
  border: 1px solid #e6eef2;
  border-radius: 12px;
  padding: 0.35rem 0.5rem;
  transition: all 0.3s ease;
}

/* Al pasar el cursor por la fila */
.distance-list li:hover,
.distance-list li.is-active {
  background: #ffffff;
  border-color: #38a8c4; /* Borde celeste luminoso */
  box-shadow: 0 6px 20px rgba(56, 168, 196, 0.12);
  transform: translateY(-2px);
}

.distance-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 44px;
  padding: 0.4rem 0.6rem;
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: #1c2b36;
  cursor: pointer;
}

/* Icono circular */
.distance-btn svg {
  width: 20px;
  height: 20px;
  color: #2b7a94;
  background: rgba(56, 168, 196, 0.12);
  padding: 6px;
  box-sizing: content-box;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.distance-list li:hover .distance-btn svg,
.distance-list li.is-active .distance-btn svg {
  background: #38a8c4;
  color: #ffffff;
}

/* 3. Pastilla de minutos: Celeste y Azul */
.distance-value {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: #315569;
  background: #e2edf2; /* Gris-celeste suave en reposo */
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

/* Al pasar el cursor: celeste piscina nítido */
.distance-list li:hover .distance-value,
.distance-list li.is-active .distance-value {
  background: #38a8c4;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(56, 168, 196, 0.3);
}

/* 4. Flecha lateral: deja el marrón y pasa a azul */
.distance-arrow-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  color: #2b7a94;
  text-decoration: none;
}

.distance-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease-premium);
}

.distance-list li:hover .distance-arrow,
.distance-arrow-link:focus-visible .distance-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================================
   Blog / Descubre Mallorca
   ========================================================= */

.blog {
  background: var(--paper);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-premium), box-shadow 0.5s var(--ease-premium);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-card .photo-slot {
  border-radius: 0;
  border: 0;
  min-height: 190px;
  overflow: hidden;
  transition: transform 0.7s var(--ease-premium);
}

.blog-card:hover .photo-slot {
  transform: scale(1.08);
}

.blog-card-body {
  padding: 1.5rem 1.4rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-date {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terracotta-deep);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.25rem;
}

.blog-excerpt {
  color: var(--stone);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.6rem;
}

.blog-link::after {
  content: "\2192";
  transition: transform 0.2s ease;
}

.blog-link:hover::after {
  transform: translateX(3px);
}

/* =========================================================
   Página de detalle "Entorno" (lugares cercanos)
   ========================================================= */

.place-hero {
  background: var(--cream);
}

.place-hero-media {
  min-height: 260px;
  border-radius: 0;
  border: 0;
}

.place-detail-wrap {
  background: var(--paper);
}

.place-detail-inner {
  max-width: 760px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 2rem;
  color: var(--terracotta-deep);
}

.back-link:hover {
  color: var(--olive-deep);
}

.place-detail h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
}

.place-distance {
  display: inline-block;
  background: var(--sand-soft);
  color: var(--olive-deep);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}

.place-detail p:not(.place-distance) {
  color: var(--stone);
  font-size: 1.05rem;
}

.place-detail .hero-actions {
  margin-top: 1.8rem;
}

/* =========================================================
   PREGUNTAS FRECUENTES (FAQ) — PALETA MARINA Y CELESTE
   ========================================================= */

.faq {
  background: var(--sand-soft);
}

.faq-list {
  display: grid;
  gap: 1rem;
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e3ebf0;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(28, 43, 54, 0.04);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease-premium), border-color 0.35s ease, transform 0.25s ease;
}

/* Al pasar el cursor por la tarjeta */
.faq-item:hover {
  border-color: #b8dbe5;
  box-shadow: 0 8px 24px rgba(56, 168, 196, 0.1);
  transform: translateY(-2px);
}

/* Cuando la pregunta está abierta */
.faq-item[open] {
  box-shadow: 0 12px 30px rgba(28, 43, 54, 0.08);
  border-color: #38a8c4; /* Borde celeste nítido */
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.6rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--olive-deep); /* Azul marino profundo */
  transition: color 0.25s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

/* Al pasar el ratón: azul mediterráneo limpio (adiós al amarillo) */
.faq-question:hover {
  color: #2b7a94;
}

/* Flecha desplegable en reposo */
.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #2b7a94; /* Azul suave */
  transition: transform 0.4s var(--ease-premium), color 0.3s ease;
}

/* Flecha cuando se abre la respuesta: gira y se ilumina en celeste */
.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: #38a8c4; /* Celeste agua de piscina */
}

/* Contenedor de la respuesta animada */
.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.4s var(--ease-premium);
}

.faq-answer-inner {
  margin: 0;
  padding: 0 1.6rem 1.5rem;
  color: #556773; /* Gris pizarra suave y descansado */
  line-height: 1.7;
}

/* =========================================================
   CTA / Contacto
   ========================================================= */

.cta-band {
  background: var(--olive-deep);
  color: var(--cream);
}

/* Bug corregido: el h2 heredaba color: var(--olive-deep) de la regla
   general de títulos — exactamente el mismo tono que el fondo de esta
   sección, así que el texto quedaba invisible. */
.cta-band h2 {
  color: var(--cream);
}

.cta-inner {
  text-align: center;
  max-width: 720px;
}

.cta-band p a {
  color: var(--sand);
}

.cta-band .hero-actions {
  justify-content: center;
}

/* =========================================================
   CONTACTO — ESTILO BOUTIQUE EQUILIBRADO
   ========================================================= */

.contact {
  background: var(--cream);
  padding: 2rem 0 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.2rem;
  align-items: start;
}

/* Tarjeta 1: Formulario */
.contact-form-card {
  background: #ffffff;
  padding: 2.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(110, 102, 86, 0.12);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
  display: grid;
  gap: 1.1rem;
}

.contact-form-card label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--olive-deep);
  font-weight: 600;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  border: 1px solid #dcd7ce;
  background: #fdfcf9;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: #38a8c4;
  box-shadow: 0 0 0 3px rgba(56, 168, 196, 0.18);
  background: #ffffff;
}

/* Casilla legal RGPD */
.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  color: #5c5546 !important;
  line-height: 1.4;
  margin: 0.2rem 0;
  cursor: pointer;
}

.checkbox-label input {
  width: auto !important;
  margin-top: 0.2rem;
  accent-color: #1c2b36;
}

.checkbox-label a {
  color: #2b7a94;
  text-decoration: underline;
}

/* Botón de Enviar Mensaje */
.btn-contact-submit {
  background: #1c2b36;
  color: #ffffff !important;
  border: none;
  border-radius: 12px;
  min-height: 48px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(28, 43, 54, 0.2);
}

.btn-contact-submit svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.btn-contact-submit:hover {
  background: #2b7a94;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(43, 122, 148, 0.3);
}

.btn-contact-submit:hover svg {
  transform: translate(2px, -2px);
}

.form-note {
  margin: 0;
  font-size: 0.78rem;
  color: #7a7264;
  text-align: center;
}

/* COLUMNA DERECHA: Tarjetas de Información */
.contact-info-col {
  display: grid;
  gap: 1.4rem;
}

.contact-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(110, 102, 86, 0.12);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
}

.contact-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--olive-deep);
  margin-top: 0;
  margin-bottom: 1.2rem;
}

/* Lista de ítems con iconos circulares */
.contact-items-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.contact-items-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(56, 168, 196, 0.1);
  color: #2b7a94;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-icon-badge svg {
  width: 20px;
  height: 20px;
}

.contact-item-title {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a7264;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-item-val {
  color: var(--olive-deep);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

a.contact-item-val:hover {
  color: #2b7a94;
}

/* Tarjeta Destacada de Reserva Directa */
.booking-cta-card {
  background: linear-gradient(135deg, #1c2b36 0%, #294354 100%);
  color: #ffffff;
  border: none;
}

.booking-cta-card h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.booking-cta-card p {
  color: #d2dce3;
  font-size: 0.92rem;
  margin-bottom: 1.4rem;
  line-height: 1.5;
}

.btn-booking-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  color: #1c2b36 !important;
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-booking-box:hover {
  background: #fbf6ec;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Adaptación móvil */
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   FOOTER — AZUL NOCHE MEDITERRÁNEO (SIN MARRONES)
   ========================================================= */

.site-footer {
  background: #131e27; /* Azul noche pizarra profundo: elegante, limpio y sin tonos marrones */
  color: #c5d3dc;      /* Gris perla azulado suave para lectura descansada */
  padding: 3.8rem 0 1.8rem;
  border-top: 1px solid rgba(56, 168, 196, 0.15); /* Separación sutil celeste */
}

.footer-inner {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.2rem;
}

/* Título de las columnas ("Contacto", "Aviso legal") */
.site-footer h2 {
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.9rem;
}

/* Enlaces del pie de página */
.site-footer a {
  color: #e2ecf2;
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer a:hover {
  color: #38a8c4; /* Se ilumina en celeste piscina al pasar el cursor */
}

/* Nombre comercial "Can Patró" */
.footer-brand .brand-name {
  color: #ffffff;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.footer-brand p {
  color: #9cb2c0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-legal-links {
  list-style: none;
  margin: 0 0 0.8rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
}

/* Línea divisoria y créditos inferiores */
.footer-legal {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 2.6rem auto 0;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #839aa8;
}

.footer-legal p {
  margin: 0 0 0.4rem;
}

/* =========================================================
   Banner de cookies (RGPD)
   ========================================================= */

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 150;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.4rem 1.6rem;
  display: grid;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid rgba(110, 102, 86, 0.15);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--stone);
}

.cookie-banner p a {
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.cookie-actions .btn {
  flex: 1;
  min-width: 160px;
}

.cookie-settings {
  display: grid;
  gap: 0.7rem;
  border-top: 1px solid rgba(110, 102, 86, 0.18);
  padding-top: 1rem;
  margin-top: 0.2rem;
}

.cookie-settings[hidden] {
  display: none;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
}

.cookie-option strong {
  display: block;
  color: var(--olive-deep);
}

.cookie-option span {
  font-size: 0.8rem;
  color: var(--stone);
}

/* =========================================================
   Utilidades / visualmente oculto
   ========================================================= */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   Responsive — tablet y escritorio pequeño
   ========================================================= */

@media (max-width: 960px) {
  .split,
  .split.reverse,
  .stays-grid,
  .amenity-grid,
  .location-grid,
  .blog-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-toggle-label {
    display: flex;
  }

 .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(38, 36, 32, 0.92); /* Cristal ahumado casi oscuro */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1; /* Para que quede detrás del logo y del botón X */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.4s;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: center; /* Todo centrado estilo boutique */
    padding: 0;
    gap: 1.8rem; /* Más espacio para respirar */
  }

  .site-nav ul li {
    width: auto;
  }

  .site-nav a {
    font-size: 1.45rem; /* Letras grandes y elegantes */
    font-weight: 400;
  }

  .site-nav .btn-nav {
    margin-top: 1.5rem;
    font-size: 1.15rem;
    padding: 0.9rem 2.4rem;
    background: var(--cream); /* El botón resalta en crema cálido */
    color: var(--olive-deep);
    border: none;
  }

  .nav-toggle:checked ~ .site-nav {
    opacity: 1;
    visibility: visible;
  }

  .hero-facts li + li {
    border-left: 0;
    padding-left: 0;
  }

  .intro-photo,
  .stay-card .photo-slot {
    min-height: 240px;
  }

  .section-inner {
    padding: 3.2rem 0;
  }

  .location-map,
  .location-map iframe {
    min-height: 280px;
  }
}

/* =========================================================
   Responsive — móvil
   ========================================================= */

@media (max-width: 620px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: auto;
    padding: 0.7rem 0;
    row-gap: 0.6rem;
  }

  .brand {
    order: 1;
  }

  .lang-switch {
    order: 2;
    margin-left: auto;
  }

  .nav-toggle-label {
    order: 3;
  }

  .site-nav {
    order: 4;
    width: 100%;
  }

  .hero-content {
    padding-top: 2.6rem;
  }

  .btn {
    width: 100%;
  }

  .site-nav .btn {
    width: auto;
  }

  .stays-grid,
  .amenity-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-actions .btn {
    width: 100%;
  }

  .cookie-banner {
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
    padding: 1.2rem;
  }

  .distance-list li {
    flex-wrap: wrap;
  }

  /* Numeración decorativa de las tarjetas de alojamiento: un
     poco más pequeña en móvil para no competir con el título. */
  .stay-number {
    font-size: 2rem;
    top: 0.2rem;
    right: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }

  .blog-link::after {
    transition: none;
  }

  .stay-card,
  .stay-card .photo-slot,
  .blog-card,
  .blog-card .photo-slot,
  .distance-list li,
  .distance-btn,
  .distance-arrow,
  .faq-icon,
  .faq-answer {
    transition: none !important;
  }

  .stay-card:hover,
  .blog-card:hover {
    transform: none;
  }

  .stay-card:hover .photo-slot,
  .blog-card:hover .photo-slot {
    transform: none;
  }

  .distance-list li:hover .distance-btn,
  .distance-list li.is-active .distance-btn {
    transform: none;
  }

  /* El contenido revelado por scroll se muestra siempre, sin animación */
  .js-reveal-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .js-reveal-ready .reveal h2::after {
    transition: none !important;
  }

  .amenity-card,
  .amenity-icon {
    transition: none !important;
  }

  .amenity-card:hover {
    transform: none;
  }

  /* La portada también respeta la preferencia: el contenido queda
     visible de inmediato en vez de depender de la animación de entrada */
  .hero-title-main,
  .hero-subtitle,
  .hero-actions {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
}

/* =========================================================
   EFECTOS PREMIUM AL PASAR EL RATÓN (HOVER)
   ========================================================= */

/* 1. Preparar las letras del menú (excluyendo el botón) */
.site-nav a:not(.btn) {
  position: relative; 
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* 2. El color fuerte y el resplandor de las letras */
.site-nav a:not(.btn):hover {
  color: #ffffff; 
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4); 
}

/* 3. La rayita elegante que aparece por debajo */
.site-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px; 
  bottom: -6px; 
  left: 50%;
  background-color: #ffffff;
  transition: all 0.3s ease;
  transform: translateX(-50%); 
}

/* Que la rayita se expanda al pasar el ratón */
.site-nav a:not(.btn):hover::after {
  width: 100%;
}

/* =========================================================
   INDICADOR DE SCROLL ANIMADO (ESTILO PREMIUM)
   ========================================================= */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 10;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-text {
  color: #ffffff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em; /* Letras muy separadas, toque de lujo */
}

/* La rayita de fondo */
.scroll-line {
  width: 1px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

/* El brillo que cae simulando el movimiento */
.scroll-line::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: #ffffff;
  animation: scrollDrop 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollDrop {
  0% { top: -50%; }
  100% { top: 150%; }
}

/* =========================================================
   BOTÓN DE RESERVA Y SELECTOR DE IDIOMAS DEL HEADER
   (una sola regla para el botón — antes estaba duplicada en dos
   bloques distintos, lo que hacía el CSS difícil de mantener)
   ========================================================= */

.site-header .btn {
  background-color: var(--cream);
  color: var(--olive-deep) !important;
  border: none;
  font-weight: 500;
  padding: 0.6rem 1.8rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium), background-color 0.3s ease;
}

.site-header .btn:hover {
  background-color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* El menú de idiomas — una píldora discreta que se abre en un
   desplegable pulido, en vez del bloque de texto suelto de antes */
.lang-menu {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(244, 236, 221, 0.35);
  border-radius: 999px;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.lang-menu:hover .lang-current {
  background: rgba(244, 236, 221, 0.12);
  border-color: rgba(244, 236, 221, 0.6);
}

.lang-current .arrow {
  font-size: 0.6rem;
  opacity: 0.75;
  transition: transform 0.3s ease;
}

/* La caja desplegable */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(30, 36, 40, 0.90); /* Fondo carbón suave (no negro puro) */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 0.4rem;
  min-width: 135px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  transition: opacity 0.3s var(--ease-premium), transform 0.3s var(--ease-premium), visibility 0.3s;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* Animación al pasar el ratón */
.lang-menu:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.lang-menu:hover .arrow {
  transform: rotate(180deg);
}

/* Letras dentro del desplegable: nítidas y legibles */
.lang-dropdown li a {
  display: block;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  color: #f4ecdd; /* Crema suave */
  font-size: 0.9rem;
  font-weight: 500; /* Grosor medio para que no se vea delgada */
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Al pasar el ratón: celestito agua de la piscina */
.lang-dropdown li a:hover {
  background: #38a8c4; /* Tono celestito mediterráneo */
  color: #ffffff !important; /* Texto blanco en negrita para máximo contraste */
  font-weight: 600;
}

/* =========================================================
   DISTRIBUCIÓN DEL HEADER: LOGO (IZQ) - ENLACES (CENTRO) - ACCIONES (DER)
   ========================================================= */

/* 1. Centro: Navegación ("los cosos") */
.site-nav {
  order: 2; /* Sobrescribimos el order: 5 que tenías en tu CSS original */
  margin: 0 auto; /* Obliga a los enlaces a quedarse en el centro exacto */
}

/* 2. Derecha: Idioma y Botón */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  order: 3; /* Nos aseguramos de que esto vaya siempre al final */
}

/* Ocultamos por defecto el botón destinado al menú de móvil */
.mobile-only-btn {
  display: none; 
}

/* Ajustes para tablet y móvil (cuando aparece la hamburguesa) */
@media (max-width: 960px) {
  .header-actions {
    gap: 0;
  }
  
  .desktop-only-btn {
    display: none;
  }

.mobile-only-btn {
    display: block;
  }

  .mobile-only-btn a,
  .mobile-only-btn .btn {
    color: #ffffff !important;
  }
  
  .site-nav {
    margin: 0; /* Reseteamos el margen centrado para la vista móvil */
  }
}

/* =========================================================
   BOTONES DEL HERO — ESTILO TRANQUILO Y MEDITERRÁNEO
   ========================================================= */

/* Botón principal: Crema cálido luminoso y sereno */
.btn-hero-primary {
  background: #fbf6ec; /* Arena / crema suave */
  color: #2f3b27 !important; /* Verde oliva profundo para máxima legibilidad */
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn-hero-primary:hover {
  background: #ffffff;
  color: #1f271a !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

/* Botón secundario: Cristal esmerilado (se lee sobre el suelo claro)
   Contraste reforzado: con 0.35 de opacidad el texto blanco casi
   desaparecía sobre las zonas más claras de la foto (parte del
   suelo, cielo). Se sube la opacidad del fondo y se añade una
   sombra al texto para que se lea bien en toda la foto. */
.btn-hero-secondary {
  background: rgba(30, 28, 24, 0.6); /* Fondo oscuro translúcido, más opaco */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-weight: 400;
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(30, 28, 24, 0.78);
  border-color: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
  color: #ffffff !important;
}


/* =========================================================
   PÁGINA DEDICADA DE RESERVAS (/reservar.html)
   ========================================================= */

@keyframes smoothPageEnter {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.booking-page-main {
  min-height: 80vh;
  background: var(--paper);
  padding-top: 100px;
  padding-bottom: 4rem;
}

.booking-page-main .section-header {
  animation: smoothPageEnter 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.booking-engine-wrapper {
  max-width: 1040px;
  margin: 2rem auto 0;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e3ebf0;
  box-shadow: 0 14px 40px rgba(28, 43, 54, 0.06);
  padding: 2.5rem;
  overflow: hidden;
  animation: smoothPageEnter 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s backwards;
}

/* Espacio reservado temporal */
.booking-placeholder {
  min-height: 480px;
  display: grid;
  place-items: center;
  background: #f8fafb;
  border: 2px dashed #c8dae2;
  border-radius: 16px;
  text-align: center;
  padding: 2rem;
}

.booking-placeholder-content {
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.booking-placeholder-content h3 {
  font-family: var(--font-serif);
  color: var(--olive-deep);
  font-size: 1.4rem;
  margin: 0.4rem 0 0;
}

.booking-placeholder-content p {
  color: #6a7f8d;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

/* Ajuste responsive del iframe de Smoobu */
.booking-engine-wrapper iframe {
  width: 100% !important;
  border: none !important;
  min-height: 600px;
}

/* Limitar tamaño del logotipo en la barra */
.brand-logo-img {
  max-height: 48px;
  width: auto;
  display: block;
  border-radius: 50% !important;
}


/* Botones de la franja intermedia de reservas */
.cta-band .btn-primary {
  background: #ffffff !important;
  color: #1c2b36 !important;
  border: 1px solid #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cta-band .btn-primary:hover {
  background: #38a8c4 !important; /* Celeste piscina al pasar el ratón */
  border-color: #38a8c4;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(56, 168, 196, 0.35);
}

.cta-band .btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
}

.cta-band .btn-ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* =========================================================
   PÁGINAS LEGALES (Aviso Legal, Privacidad, Cookies)
   ========================================================= */

.legal-page-main {
  background: var(--paper); /* Blanco caliza suave */
  padding: 120px 1.5rem 5rem;
  min-height: 85vh;
}

.legal-container {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  padding: 3.5rem 3rem;
  border-radius: 20px;
  border: 1px solid #e3ebf0;
  box-shadow: 0 8px 30px rgba(28, 43, 54, 0.04);
}

.legal-container h1 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: #1c2b36;
  margin-bottom: 0.4rem;
}

.legal-updated {
  font-size: 0.85rem;
  color: #728a99;
  margin-bottom: 2.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #edf2f5;
}

.legal-block {
  margin-bottom: 2.2rem;
}

.legal-block h2 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: #1c2b36;
  margin-bottom: 0.8rem;
}

.legal-block p,
.legal-block li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #435460;
}

.legal-block ul {
  padding-left: 1.4rem;
  margin: 0.8rem 0;
}

.legal-block li {
  margin-bottom: 0.5rem;
}

.legal-block a {
  color: #2b7a94;
  text-decoration: underline;
}

.legal-block a:hover {
  color: #38a8c4;
}

@media (max-width: 600px) {
  .legal-container {
    padding: 2.2rem 1.4rem;
  }
  .legal-container h1 {
    font-size: 1.9rem;
  }
}

/* Subtítulo editorial de capacidad en las tarjetas de alojamiento */
.stay-capacity {
  font-size: 0.8rem !important;
  font-weight: 600;
  color: #2b7a94 !important;
  letter-spacing: 0.02em;
  margin: -0.2rem 0 0.85rem 0 !important;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #edf3f6;
}

/* =========================================================
   VISOR LIGHTBOX PROFESIONAL CON NAVEGACIÓN (< >)
   ========================================================= */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(12, 19, 25, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-premium), visibility 0.3s;
}

.image-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 86vw;
  max-height: 86vh;
}

.modal-content {
  max-width: 86vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.96);
  transition: transform 0.3s var(--ease-premium);
}

.image-modal.is-active .modal-content {
  transform: scale(1);
}

.modal-caption-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
  padding: 0 0.4rem;
  color: #e2ecf2;
  font-size: 0.9rem;
}

.modal-counter {
  font-size: 0.8rem;
  font-weight: 600;
  color: #38a8c4;
  background: rgba(56, 168, 196, 0.14);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.8rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #38a8c4;
  border-color: #38a8c4;
  transform: scale(1.08);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.modal-nav:hover {
  background: #38a8c4;
  border-color: #38a8c4;
  transform: translateY(-50%) scale(1.08);
}

.modal-prev { left: 1.8rem; }
.modal-next { right: 1.8rem; }

@media (max-width: 680px) {
  .modal-prev { left: 0.6rem; }
  .modal-next { right: 0.6rem; }
  .modal-nav { width: 40px; height: 40px; font-size: 1rem; }
}

/* Indicador de lupa elegante en tarjetas y galería */
.stay-card-media,
.gallery-item {
  position: relative;
  cursor: zoom-in;
}

.gallery-item::after {
  content: "⤢";
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(28, 43, 54, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}