/* ============================================================
   Villa VR7 — Luxury Ocean View · Benalmádena
   ============================================================ */

:root {
  --ink: #14161a;
  --ink-soft: #3c4048;
  --muted: #6d7280;
  --paper: #faf9f6;
  --paper-2: #f2efe9;
  --white: #ffffff;
  --gold: #157a89;
  --gold-light: #9ed4dc;
  --gold-dark: #0f5a66;
  --sea: #0e6f8f;
  --line: rgba(20, 22, 26, 0.1);
  --shadow-soft: 0 10px 40px rgba(20, 22, 26, 0.08);
  --shadow-deep: 0 30px 80px rgba(20, 22, 26, 0.18);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Jost", "Segoe UI", system-ui, sans-serif;
  --header-h: 76px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Lodgify widgets */
  --ldg-psb-background: rgba(255, 255, 255, 0.94);
  --ldg-psb-border-radius: 12px;
  --ldg-psb-box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
  --ldg-psb-padding: 12px;
  --ldg-psb-input-background: #ffffff;
  --ldg-psb-button-border-radius: 10px;
  --ldg-psb-color-primary: #14161a;
  --ldg-psb-color-primary-lighter: #3c4048;
  --ldg-psb-color-primary-darker: #000000;
  --ldg-psb-color-primary-contrast: #ffffff;
  --ldg-semantic-color-primary: #14161a;
  --ldg-semantic-color-primary-lighter: #3c4048;
  --ldg-semantic-color-primary-darker: #000000;
  --ldg-semantic-color-primary-contrast: #ffffff;
  --ldg-component-modal-z-index: 999;
  --ldg-bnb-background: #ffffff;
  --ldg-bnb-border-radius: 14px;
  --ldg-bnb-box-shadow: 0 24px 54px rgba(0, 0, 0, 0.12);
  --ldg-bnb-padding: 18px;
  --ldg-bnb-input-background: #ffffff;
  --ldg-bnb-button-border-radius: 10px;
  --ldg-bnb-color-primary: #14161a;
  --ldg-bnb-color-primary-lighter: #3c4048;
  --ldg-bnb-color-primary-darker: #000000;
  --ldg-bnb-color-primary-contrast: #ffffff;
  --ldg-component-calendar-cell-selection-bg-color: #14161a;
  --ldg-component-calendar-cell-selection-color: #ffffff;
  --ldg-component-calendar-cell-selected-bg-color: #e4e2dd;
  --ldg-component-calendar-cell-selected-color: #14161a;
  --ldg-bnb-font-family: inherit;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: #fff; }

/* ---------- Typography ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--gold-dark);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
}

.section-title { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 22px; }
.section-title em { font-style: italic; color: var(--gold-dark); }

.lead { font-size: 1.11rem; color: var(--ink-soft); max-width: 640px; }

.section { padding: clamp(72px, 9vw, 130px) 0; }

/* Los destinos de ancla no deben quedar bajo la cabecera fija */
[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

.container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__brand { display: flex; align-items: center; gap: 12px; }
.header__brand img { height: 34px; width: auto; transition: opacity 0.3s; }
.header__brand .brand-black { display: none; }
.header__tag {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  padding-left: 12px;
  transition: color 0.3s, border-color 0.3s;
}

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.nav a {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }

/* El blur va en un pseudo-elemento: backdrop-filter en el propio header
   convertiría al header en containing block del menú móvil (position:fixed). */
.header--solid { background: rgba(250, 249, 246, 0.92); box-shadow: 0 1px 0 var(--line), var(--shadow-soft); }
.header--solid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.header--solid .nav a { color: var(--ink-soft); }
.header--solid .header__tag { color: var(--muted); border-color: var(--line); }
.header--solid .brand-white { display: none; }
.header--solid .brand-black { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn--gold { background: #14161a; color: #fff; border-color: rgba(255, 255, 255, 0.18); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); }
.btn--gold:hover { background: #000; transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }

.header .btn { padding: 11px 24px; }

/* Selector de idioma */
.lang { position: relative; }
.lang__btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s;
}
.header--solid .lang__btn { color: var(--ink); border-color: var(--line); }
.lang__btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.lang__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-deep);
  list-style: none;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s var(--ease);
  z-index: 110;
}
.lang:hover .lang__menu,
.lang:focus-within .lang__menu,
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: background 0.2s;
}
.lang__menu a:hover { background: var(--paper-2); color: var(--ink); }
.lang__menu a.is-current { color: var(--gold-dark); font-weight: 500; }

/* Burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 130;
}
.burger span {
  width: 26px; height: 2px;
  background: #fff;
  transition: all 0.35s var(--ease);
}
.header--solid .burger span, .burger.is-open span { background: var(--ink); }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: calc(var(--header-h) + 30px) 24px 110px;
}
.hero__slides { position: absolute; inset: 0; z-index: -2; background: var(--ink); }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.8s ease;
}
.hero__slide.is-active {
  opacity: 1;
  animation: kenburns 9s ease forwards;
}
img.hero__slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes kenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.5) 0%, rgba(10, 14, 20, 0.18) 40%, rgba(10, 14, 20, 0.55) 100%);
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.5em;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 26px;
  animation: heroFade 1.2s var(--ease) 0.2s backwards;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 500;
  max-width: 17ch;
  margin-inline: auto;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.35);
  animation: heroFade 1.2s var(--ease) 0.4s backwards;
}
.hero h1 em { font-style: italic; color: #fff; opacity: 0.92; }
.hero__sub {
  margin-top: 22px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
  animation: heroFade 1.2s var(--ease) 0.6s backwards;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

.hero__search {
  width: min(920px, 100%);
  margin-top: 46px;
  animation: heroFade 1.2s var(--ease) 0.8s backwards;
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.85), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- Stats band ---------- */

.stats {
  background: var(--ink);
  color: #fff;
  padding: 34px 0;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 26px 18px;
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-light);
  line-height: 1;
}
.stat__label {
  margin-top: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Intro / La Villa ---------- */

.intro { background: var(--paper); overflow: hidden; }
.intro .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.intro__text p + p { margin-top: 18px; }
.intro__text p { color: var(--ink-soft); }
.intro__highlights { margin-top: 30px; display: grid; gap: 13px; }
.intro__highlights li {
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: baseline;
  color: var(--ink-soft);
}
.intro__highlights li::before {
  content: "—";
  color: var(--gold);
  flex-shrink: 0;
}
.intro__highlights strong { font-weight: 500; color: var(--ink); }

.intro__media { position: relative; }
.intro__media .img-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  aspect-ratio: 4 / 4.6;
}
.intro__media .img-main img { width: 100%; height: 100%; object-fit: cover; }
.intro__media .img-float {
  position: absolute;
  left: -70px;
  bottom: -50px;
  width: 58%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  border: 6px solid var(--paper);
  aspect-ratio: 4 / 3;
}
.intro__media .img-float img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Feature split rows ---------- */

.features { background: var(--paper-2); }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(60px, 8vw, 110px); }
.feature-row:nth-child(even) .feature-row__media { order: 2; }
.feature-row__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  aspect-ratio: 16 / 11;
}
.feature-row__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.feature-row:hover .feature-row__media img { transform: scale(1.05); }
.feature-row h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.feature-row p { color: var(--ink-soft); }

/* ---------- Amenities ---------- */

.amenities { background: var(--ink); color: #fff; }
.amenities .eyebrow { color: var(--gold-light); }
.amenities .section-title { color: #fff; }
.amenities .lead { color: rgba(255, 255, 255, 0.72); }
.amenities__grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  overflow: hidden;
}
.amenity {
  background: var(--ink);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.4s ease;
}
.amenity:hover { background: #1d2026; }
.amenity svg { width: 30px; height: 30px; stroke: var(--gold-light); }
.amenity h4 { font-family: var(--font-body); font-weight: 500; font-size: 0.98rem; letter-spacing: 0.04em; }
.amenity p { font-size: 0.86rem; color: rgba(255, 255, 255, 0.6); line-height: 1.55; }

/* ---------- Gallery ---------- */

.gallery { background: var(--paper); }
.gallery__filters {
  margin: 40px 0 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery__grid {
  columns: 3 320px;
  column-gap: 18px;
}
.gallery__item {
  margin-bottom: 18px;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  break-inside: avoid;
  background: var(--paper-2);
}
.gallery__item img {
  width: 100%;
  transition: transform 0.9s var(--ease), opacity 0.5s ease;
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 12, 16, 0.55), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute;
  left: 16px;
  bottom: 12px;
  z-index: 1;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s ease;
}
.gallery__item:hover figcaption { opacity: 1; transform: none; }
.gallery__item.is-hidden { display: none; }

.gallery__more { margin-top: 34px; text-align: center; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 10, 14, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: min(92vw, 1500px);
  max-height: 86vh;
  border-radius: 6px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
.lightbox__caption {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}
.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  user-select: none;
}
.lightbox__btn:hover { background: var(--gold); border-color: var(--gold); }
.lightbox__prev { left: 26px; }
.lightbox__next { right: 26px; }
.lightbox__close {
  position: absolute;
  top: 22px; right: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.15); transform: rotate(90deg); }

/* ---------- Rates ---------- */

.rates { background: var(--paper-2); }
.rates__grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.rate-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--gold-light);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.rate-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-deep); }
.rate-card--featured { background: var(--ink); color: #fff; border-top-color: var(--gold); }
.rate-card__season {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.rate-card--featured .rate-card__season { color: var(--gold-light); }
.rate-card h3 { font-size: 1.35rem; margin: 10px 0 4px; }
.rate-card__dates { font-size: 0.85rem; color: var(--muted); }
.rate-card--featured .rate-card__dates { color: rgba(255, 255, 255, 0.6); }
.rate-card__price { margin-top: 26px; font-family: var(--font-display); font-size: 2.5rem; line-height: 1; }
.rate-card__price span { font-family: var(--font-body); font-size: 0.85rem; color: var(--muted); }
.rate-card--featured .rate-card__price span { color: rgba(255, 255, 255, 0.6); }
.rate-card__note { margin-top: 14px; font-size: 0.84rem; color: var(--muted); }
.rate-card--featured .rate-card__note { color: rgba(255, 255, 255, 0.66); }
.rates__legal { margin-top: 30px; font-size: 0.86rem; color: var(--muted); max-width: 760px; }

/* ---------- Booking ---------- */

.booking { background: var(--paper); }
.booking .container {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.booking__perks { margin-top: 34px; display: grid; gap: 18px; }
.booking__perks li {
  list-style: none;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.booking__perks svg { width: 22px; height: 22px; stroke: var(--gold-dark); flex-shrink: 0; margin-top: 4px; }
.booking__perks strong { display: block; font-weight: 500; }
.booking__perks span { font-size: 0.9rem; color: var(--muted); }
.booking__widget { position: sticky; top: calc(var(--header-h) + 20px); }

/* ---------- Location ---------- */

.location { background: var(--paper-2); }
.location .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 5vw, 70px);
  align-items: center;
}
.location__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  aspect-ratio: 4 / 3.4;
}
.location__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.poi-list { margin-top: 32px; display: grid; gap: 0; }
.poi {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.poi__name { color: var(--ink-soft); }
.poi__dist {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  white-space: nowrap;
  font-weight: 500;
}

/* ---------- App de huéspedes ---------- */

.app-band { background: var(--ink); color: #fff; }
.app-band .eyebrow { color: var(--gold-light); }
.app-band .section-title { color: #fff; }
.app-band .lead { color: rgba(255, 255, 255, 0.72); }
.app-band .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.app-band__features { margin-top: 8px; display: grid; gap: 4px; }
.app-band__features li {
  list-style: none;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.app-band__features li:last-child { border-bottom: 0; }
.app-band__features svg { width: 26px; height: 26px; stroke: var(--gold-light); flex-shrink: 0; margin-top: 2px; }
.app-band__features strong { display: block; font-weight: 500; margin-bottom: 4px; }
.app-band__features span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.62); line-height: 1.55; }
.app-band .btn { margin-top: 30px; }
.app-band .btn--gold { border-color: rgba(255, 255, 255, 0.4); }

@media (max-width: 860px) {
  .app-band .container { grid-template-columns: 1fr; }
}

/* ---------- Services ---------- */

.services { background: var(--paper); }
.services__grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.service-card {
  padding: 38px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: all 0.4s var(--ease);
}
.service-card:hover { border-color: var(--gold-light); transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.service-card svg { width: 34px; height: 34px; stroke: var(--gold-dark); margin-bottom: 20px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Info / normas ---------- */

.info-band { background: var(--ink); color: #fff; }
.info-band .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
}
.info-col h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 18px;
  color: var(--gold-light);
}
.info-col ul { list-style: none; display: grid; gap: 10px; }
.info-col li {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  gap: 12px;
}
.info-col li::before { content: "·"; color: var(--gold); font-weight: 700; }

/* ---------- CTA ---------- */

.cta {
  position: relative;
  padding: clamp(90px, 12vw, 160px) 0;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center 65%;
  background-attachment: fixed;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 18, 0.62);
}
.cta .container { position: relative; }
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 22ch; margin-inline: auto; }
.cta p { margin: 18px auto 36px; color: rgba(255, 255, 255, 0.85); max-width: 55ch; }

@media (max-width: 900px) {
  .cta { background-attachment: scroll; }
}

/* ---------- Contact / Footer ---------- */

.footer { background: #0d0f13; color: rgba(255, 255, 255, 0.72); }
.footer__main {
  padding: 70px 0 50px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer__brand img { height: 44px; margin-bottom: 18px; }
.footer__brand p { font-size: 0.92rem; max-width: 34ch; }
.footer h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer a { transition: color 0.3s; font-size: 0.94rem; }
.footer a:hover { color: var(--gold-light); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.94rem; }
.footer__contact svg { width: 18px; height: 18px; stroke: var(--gold-light); flex-shrink: 0; margin-top: 4px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer__guest-link {
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.3s;
}
.footer__guest-link:hover { color: var(--gold-light); }
.footer__licence {
  flex-basis: 100%;
  order: 3;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  word-break: break-all;
}

/* ---------- WhatsApp float ---------- */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: 26px;
  bottom: 94px;
  z-index: 90;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(8px);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
  font-size: 1.1rem;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--ink); color: #fff; }

/* ---------- Aviso de cookies ---------- */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(30px);
  width: min(680px, calc(100% - 32px));
  background: rgba(20, 22, 26, 0.97);
  backdrop-filter: blur(12px);
  color: #fff;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  padding: 26px 28px;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease);
}
.cookie-banner.is-visible { opacity: 1; visibility: visible; transform: translateX(-50%); }
.cookie-banner h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cookie-banner p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}
.cookie-banner p a { color: var(--gold-light); text-decoration: underline; }
.cookie-banner__toggles { margin: 18px 0 4px; display: grid; gap: 10px; }
.cookie-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  font-size: 0.88rem;
}
.cookie-toggle small { display: block; color: rgba(255, 255, 255, 0.55); font-size: 0.78rem; }
.cookie-toggle input { display: none; }
.cookie-toggle .switch {
  width: 44px; height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.3s;
}
.cookie-toggle .switch::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s var(--ease);
}
.cookie-toggle input:checked + .switch { background: var(--gold); }
.cookie-toggle input:checked + .switch::after { transform: translateX(20px); }
.cookie-toggle input:disabled + .switch { opacity: 0.5; cursor: not-allowed; }
.cookie-banner__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-banner__actions .btn { padding: 11px 22px; font-size: 0.76rem; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--paper-2); transform: translateY(-1px); }
.btn--outline { border-color: rgba(255, 255, 255, 0.4); color: #fff; background: none; }
.btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

/* ---------- Páginas legales ---------- */

.legal-page {
  padding: calc(var(--header-h) + 60px) 0 90px;
  background: var(--paper);
}
.legal-page .container { max-width: 820px; }
.legal-page h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 8px;
}
.legal-page .legal-updated {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 1.45rem;
  margin: 44px 0 14px;
}
.legal-page h3 { font-size: 1.1rem; margin: 28px 0 10px; }
.legal-page p, .legal-page li { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 12px; }
.legal-page ul, .legal-page ol { padding-left: 22px; margin-bottom: 16px; }
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 18px 0;
}
.legal-page th, .legal-page td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  color: var(--ink-soft);
}
.legal-page th { background: var(--paper-2); color: var(--ink); font-weight: 500; }
.legal-page a { color: var(--gold-dark); text-decoration: underline; }

/* ---------- Guía / artículos ---------- */

.crumbs {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 26px;
}
.crumbs a { color: var(--gold-dark); }
.article-hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 30px 0 36px;
  box-shadow: var(--shadow-soft);
}
.article-hero img { width: 100%; height: clamp(220px, 36vw, 420px); object-fit: cover; display: block; }
.cta-box {
  margin: 46px 0 10px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 34px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cta-box h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; }
.cta-box p { color: rgba(255, 255, 255, 0.72) !important; font-size: 0.92rem !important; margin: 4px 0 0 !important; }
.cta-box .btn { flex-shrink: 0; }
.guide-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.guide-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-deep); }
.guide-card img { width: 100%; height: 180px; object-fit: cover; }
.guide-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.guide-card h2 { font-size: 1.2rem; line-height: 1.3; }
.guide-card p { font-size: 0.9rem; color: var(--muted) !important; margin: 0 !important; flex: 1; }
.guide-card .read {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
}

/* ---------- Responsive ---------- */

@media (max-width: 1060px) {
  .nav { display: none; }
  .header .btn { display: none; }
  .burger { display: flex; }

  .nav.nav--open {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 26px;
    z-index: 120;
  }
  .nav.nav--open a {
    color: var(--ink);
    font-size: 1.05rem;
    letter-spacing: 0.2em;
  }

  .booking .container { grid-template-columns: 1fr; }
  .booking__widget { position: static; max-width: 480px; }
}

/* Cinturón de seguridad: ningún hijo puede ensanchar las columnas de un grid
   (min-width:auto es el valor por defecto y provoca desbordes con contenido nowrap) */
.intro .container > *,
.feature-row > *,
.location .container > *,
.booking .container > *,
.app-band .container > * { min-width: 0; }

@media (max-width: 640px) {
  .btn { white-space: normal; }
}

@media (max-width: 860px) {
  .intro .container,
  .feature-row,
  .location .container { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) .feature-row__media { order: 0; }
  .intro__media .img-float { left: 14px; bottom: -36px; }
  .intro__media { margin-bottom: 40px; }
  .footer__main { grid-template-columns: 1fr; gap: 40px; }
  .gallery__grid { columns: 2 220px; column-gap: 12px; }
  .gallery__item { margin-bottom: 12px; }
  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
  .lightbox__btn { width: 44px; height: 44px; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 36px); }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { columns: 1 auto; }
  .hero h1 { font-size: 2.4rem; }
  .hero__search { margin-top: 34px; }
}
