/* ==========================================================
   La Ponderosa · Apart Hotel — estilos
   Paleta: bosque patagónico + dorado del logo + crema cálido
   ========================================================== */

:root {
  --bg: #f6f2ea;
  --bg-alt: #efe8dc;
  --surface: #ffffff;
  --ink: #17231f;
  --ink-soft: #4d5a55;
  --line: #e2d9c9;
  --forest: #1c3530;
  --forest-2: #24443d;
  --lake: #2d5f78;
  --gold: #b8904a;
  --gold-2: #cfa862;
  --gold-soft: #efe2c8;
  --booking-accent: #411616;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(23, 35, 31, .06), 0 12px 32px -12px rgba(23, 35, 31, .18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 30, 26, .35);
  --header-h: 150px;
  --header-h-solid: 132px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h-solid) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.5rem; }
h1 em, h2 em { font-style: italic; color: var(--gold-2); }
p { margin: 0 0 1em; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; margin-top: 2.5rem; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--forest); color: #fff; padding: .6em 1em; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold-2); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.4em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1em 1.7em; font-size: 1rem; }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 8px 20px -8px rgba(184, 144, 74, .7); }
.btn-gold:hover { background: #a67f3c; }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: var(--forest-2); }
.btn-ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .24); }
.btn svg { width: 1.15em; height: 1.15em; }

.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--forest); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: height .9s var(--ease), background-color .65s, box-shadow .65s, backdrop-filter .65s;
}
.site-header.is-solid {
  height: var(--header-h-solid);
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: none;
}
.language-switcher {
  position: absolute; top: 50%; right: min(0px, calc((1200px - 100vw) / 2 + 16px)); translate: 0 -50%; z-index: 3;
  display: flex; flex-direction: column; gap: 4px;
  padding: 3px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  background: rgba(14, 28, 24, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.language-button {
  display: grid; place-items: center; width: 28px; height: 28px; padding: 0;
  border: 1px solid transparent; border-radius: 50%; background: transparent;
  color: #fff; line-height: 1; cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.flag-icon { display: block; width: 22px; height: 22px; border-radius: 50%; }
.language-button:hover { background: rgba(255, 255, 255, .14); transform: translateY(-1px); }
.language-button[aria-pressed="true"] { border-color: rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .18); }
.language-button:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.header-inner { height: 100%; position: relative; display: flex; align-items: center; justify-content: center; }
.brand {
  position: absolute; left: 50%; top: calc(var(--header-h) / 2 + 8px); translate: -50% -50%; z-index: 1;
  width: min(240px, calc(100vw - 68px)); height: 100px; display: flex; justify-content: center; align-items: center; line-height: 0;
  transition: width 1.2s cubic-bezier(.22, .61, .36, 1), height 1.2s cubic-bezier(.22, .61, .36, 1);
}
.brand::before, .brand::after {
  content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 50%; pointer-events: none; z-index: 0;
  transition: background-color .65s;
}
.brand::before { inset: -12px -15px; }
.brand::after { inset: -16px -18px; }
.brand img {
  height: 108px; width: auto; clip-path: inset(0 0 16%); position: relative; z-index: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .55)) drop-shadow(0 0 18px rgba(0, 0, 0, .35));
  transition: height 1.2s cubic-bezier(.22, .61, .36, 1), filter 1.2s;
}
.is-solid .brand::before, .is-solid .brand::after { background-color: var(--booking-accent); }
.is-solid .brand { height: calc(var(--header-h-solid) * .72); }
.is-solid .brand img { height: calc(var(--header-h-solid) * .72); filter: none; }
.nav {
  position: absolute; inset: 0 calc((1200px - 100vw) / 2 + 68px);
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none;
}
.nav-side {
  display: flex; align-items: center; justify-content: space-evenly; gap: 2px; width: calc(50% - 175px); min-width: 0;
  padding: 6px; border-radius: 999px; pointer-events: auto;
  background: rgba(14, 28, 24, .42); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3);
  transition: background-color .65s, border-color .65s;
}
.is-solid .nav-side { background: transparent; border-color: transparent; }
.is-solid .nav a:not(.nav-book) { background: var(--forest); }
.is-solid .nav a:not(.nav-book):hover { background: var(--ink-soft); }
.nav a {
  color: #fff; text-decoration: none; font-size: clamp(.85rem, 1vw, 1rem); font-weight: 600; letter-spacing: .01em;
  padding: .55em .65em; border-radius: 999px; transition: background-color .2s, color .2s;
}
.nav a:hover { background: rgba(255, 255, 255, .14); }
.nav .nav-book { white-space: nowrap; }
.header-actions { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: rgba(255, 255, 255, .12); border-radius: 50%; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-open .menu-toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: var(--hero-h, 100svh); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: -2; animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 24, 21, .78) 0%, rgba(12, 24, 21, .35) 14%, rgba(12, 24, 21, .05) 30%, rgba(12, 24, 21, .1) 50%, rgba(12, 24, 21, .78) 100%);
}
.hero-content { padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(112px, 14vh, 152px); max-width: 1200px; text-align: center; }
.hero-copy { width: max-content; max-width: 100%; margin-inline: auto; text-align: left; }
.hero-content .eyebrow { position: relative; top: -18px; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.hero-content h1 { max-width: none; white-space: nowrap; font-size: clamp(.8rem, 4.8vw, 4.6rem); text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 54ch; color: rgba(255, 255, 255, .9); }
.hero-ctas { display: flex; flex-wrap: wrap; min-width: 0; gap: 12px; margin-top: 1.8rem; }
.hero-content > * { animation: rise .9s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: .1s; }
.hero-content > :nth-child(3) { animation-delay: .2s; }
.hero-content > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Barra de reserva */
.booking { position: relative; margin-bottom: -56px; z-index: 2; animation: rise .9s .4s var(--ease) both; }
.booking-card {
  display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1.1fr) minmax(0,.8fr) minmax(0,.7fr) auto; gap: 6px; align-items: stretch;
  background: var(--surface); color: var(--ink); border-radius: 22px; padding: 8px; box-shadow: var(--shadow-lg);
}
.booking .field { padding: 10px 16px; border-radius: 14px; transition: background-color .2s; }
.booking .field:hover { background: var(--bg); }
.booking-submit { border-radius: 16px; padding-inline: 2em; font-size: 1rem; }
.field-nights strong { font-weight: 600; font-size: 1rem; padding: 2px 0; color: var(--forest); }
.booking .field-nights:hover { background: transparent; }
.booking-note { margin: 14px 4px 0; font-size: .88rem; color: rgba(255, 255, 255, .72); text-align: center; }
.booking-note a { color: var(--gold-2); font-weight: 600; }

.field { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.field > span { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  -webkit-appearance: none;
  border: 0; background: transparent; padding: 2px 0; font-size: 1rem; font-weight: 500; width: 100%; outline: none; min-width: 0;
}
.field input[type="date"] { accent-color: var(--booking-accent); }
.field select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%234d5a55' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; background-size: 14px; padding-right: 20px; }
.booking select option:checked { background-color: var(--booking-accent); color: #fff; }

/* ---------- Highlights ---------- */
.highlights { background: var(--forest); color: #fff; padding: 104px 0 44px; }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hl { text-align: center; padding: 6px 12px; border-left: 1px solid rgba(255, 255, 255, .12); }
.hl:first-child { border-left: 0; }
.hl strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--gold-2); line-height: 1.2; }
.hl span { font-size: .92rem; color: rgba(255, 255, 255, .75); }

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.servicios .section-head { max-width: none; }
.servicios .section-head h2.services-title { display: flex; gap: .25em; font-size: clamp(.7rem, 3vw, 3.1rem); text-align: left; white-space: nowrap; }
.unidades-intro { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); padding-inline: 16px; text-align: center; }
.unidades-intro h2 { font-size: clamp(.875rem, 3.6vw, 3.1rem); white-space: nowrap; }
.section-head p:last-child { color: var(--ink-soft); font-size: 1.08rem; }
.section-head a { color: var(--forest); font-weight: 600; }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-text > p { color: var(--ink-soft); font-size: 1.06rem; }
.ticks { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .7rem; }
.ticks li { display: flex; gap: .8em; align-items: center; font-weight: 500; }
.ticks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23b8904a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='m7 12.5 3.2 3L17 9'/%3E%3C/svg%3E") center/16px no-repeat; }

.collage { position: relative; padding: 0 0 70px 0; }
.collage img { border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.collage .c1 { width: 84%; aspect-ratio: 4 / 3.4; }
.collage .c2 { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 4.6; border: 6px solid var(--bg); }
.badge-owner {
  position: absolute; left: 22px; bottom: 30px; display: flex; align-items: center; gap: 12px;
  background: var(--surface); padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow); font-weight: 600; font-size: .9rem; line-height: 1.25;
}
.badge-owner svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--gold-soft); color: var(--gold); }

/* ---------- Unidades ---------- */
.unidades { background: var(--bg-alt); }
.units { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.unit {
  background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.unit:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.unit-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.unit-body > p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.unit-body h3 { margin-bottom: .6rem; }
.specs { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 8px; }
.specs li { display: inline-flex; align-items: center; gap: .45em; font-size: .84rem; font-weight: 600; padding: .4em .8em; border-radius: 999px; background: var(--bg); color: var(--forest); }
.specs svg { width: 1.05em; height: 1.05em; color: var(--gold); }
.unit-actions { display: flex; justify-content: center; margin-top: .6rem; }
.unit-actions .btn { flex: 0 0 auto; }
.tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); background: var(--gold-soft); padding: .35em .8em; border-radius: 999px; margin-bottom: .8rem; }

.unit-feature { grid-column: 1 / -1; flex-direction: row; }
.unit-feature .carousel { flex: 1; aspect-ratio: auto; min-height: 420px; }
.unit-feature .unit-body { flex: 1; padding: 40px; justify-content: center; }
.unit-feature .unit-body > p { flex: 0; }
.unit-feature h3 { font-size: 2rem; }

/* Carrusel */
.carousel { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-alt); }
.track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.track::-webkit-scrollbar { display: none; }
.track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; cursor: zoom-in; }
.car-btn {
  position: absolute; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; cursor: pointer;
  opacity: 0; transition: opacity .25s, transform .25s var(--ease); box-shadow: var(--shadow);
}
.car-btn.prev { left: 12px; } .car-btn.prev svg { transform: rotate(180deg); }
.car-btn.next { right: 12px; }
.carousel:hover .car-btn, .car-btn:focus-visible { opacity: 1; }
.car-btn:hover { transform: scale(1.06); }
.dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.dots span { width: 6px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .55); transition: width .3s var(--ease), background-color .3s; }
.dots span.on { width: 18px; background: #fff; }

/* ---------- Servicios ---------- */
.services { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.services li { background: var(--bg); padding: 26px 24px; display: flex; gap: 16px; align-items: flex-start; transition: background-color .25s; }
.services li:hover { background: var(--surface); }
.services svg { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--gold-soft); color: var(--gold); }
.services strong { display: block; font-weight: 600; margin-bottom: 2px; }
.services span { font-size: .88rem; color: var(--ink-soft); line-height: 1.45; display: block; }
.services-extra { margin-top: 18px; }
.services-subtitle {
  width: fit-content;
  margin: 0 auto 12px;
  padding: .4em .9em;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  border-radius: 999px;
  text-align: center;
}
.services-extra-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Temporadas ---------- */
.seasons { display: grid; grid-template-columns: 1fr 1fr; }
.season { position: relative; margin: 0; min-height: clamp(440px, 60vw, 620px); overflow: hidden; color: #fff; isolation: isolate; }
.season img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.season:hover img { transform: scale(1.04); }
.season::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(12, 24, 21, .82)); }
.season figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(28px, 4vw, 52px); max-width: 520px; }
.season h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.season figcaption p:last-child { color: rgba(255, 255, 255, .88); margin: 0; }

/* ---------- Galería ---------- */
.gallery { columns: 3 260px; column-gap: 14px; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; margin: 0 0 14px; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; break-inside: avoid; background: var(--bg-alt); }
.gallery img { width: 100%; transition: transform .6s var(--ease), filter .3s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery button[hidden] { display: none; }
.gallery-toggle[hidden] { display: none; }

/* ---------- Ubicación ---------- */
.ubicacion { background: var(--bg-alt); }
.split-map { grid-template-columns: 1fr 1.2fr; }
.distances { list-style: none; padding: 0; margin: 1.6rem 0; border-top: 1px solid var(--line); }
.distances li { display: flex; justify-content: space-between; gap: 16px; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.distances span { color: var(--ink-soft); }
.distances strong { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; color: var(--forest); }
.address { display: flex; gap: .6em; align-items: flex-start; min-width: 0; font-weight: 500; }
.address svg { color: var(--gold); margin-top: .2em; }
.map { width: 100%; min-width: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.6; background: var(--line); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.85); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 1.25rem 0; font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--bg-alt); color: var(--forest); transition: transform .35s var(--ease), background-color .25s; }
.faq summary:hover svg { background: var(--gold-soft); }
.faq details[open] summary svg { transform: rotate(45deg); background: var(--gold); color: #fff; }
.faq details > div { padding: 0 52px 1.3rem 0; color: var(--ink-soft); }
.faq details > div p { margin: 0; }

/* ---------- Contacto ---------- */
.contacto { background: var(--forest); color: #fff; padding: clamp(72px, 10vw, 120px) 0; position: relative; overflow: hidden; }
.contacto::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0%, rgba(207, 168, 98, .18), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(45, 95, 120, .35), transparent 60%); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.contact-info > p { color: rgba(255, 255, 255, .78); font-size: 1.08rem; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--gold-2); }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--gold-2); }
.contact-form { background: var(--surface); color: var(--ink); padding: clamp(24px, 3vw, 36px); border-radius: 22px; display: grid; gap: 14px; box-shadow: var(--shadow-lg); }
.contact-form .field { background: var(--bg); border-radius: 12px; padding: 10px 14px; border: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.contact-form .field:focus-within { border-color: var(--gold); background: var(--surface); }
.contact-form textarea { resize: vertical; }
.row2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; }
.form-note { margin: 0; font-size: .82rem; color: var(--ink-soft); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: #13251f; color: rgba(255, 255, 255, .7); padding: 64px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 40px; }
.footer-grid img { margin-bottom: 1rem; }
.footer-brand { width: 180px; margin-bottom: 1rem; text-align: center; }
.footer-logo-crop { width: 100%; height: 81px; overflow: hidden; }
.footer-logo-crop img { display: block; width: 100%; max-width: none; height: auto; margin: 0; }
.footer-brand > span { display: block; color: var(--gold-2); font-family: var(--font-display); font-size: 1rem; font-weight: 600; line-height: 1.2; }
.footer-weather { display: inline-flex !important; align-items: center; gap: 9px; margin-top: .75rem; color: var(--gold-2); font-size: .85rem; }
.footer-weather svg { width: 32px; height: 32px; flex: none; }
.footer-weather:hover { color: #fff; }
.footer-grid h4 { color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; margin: 0 0 1rem; }
.footer-grid a { display: block; text-decoration: none; padding: .2em 0; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-legal { display: flex; gap: 14px; align-items: flex-start; }
.legal-logo img { height: 72px; width: auto; border-radius: 6px; background: #fff; padding: 4px; margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; }

/* ---------- Páginas informativas (sobre nosotros, contacto, términos) ---------- */
.page { display: flex; flex-direction: column; min-height: 100vh; }
.page-header { background: var(--forest); }
.page-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 96px; }
.page-actions { display: flex; align-items: center; gap: 14px; }
.page-header .language-switcher { position: static; translate: none; flex-direction: row; }
.page-brand { line-height: 0; }
.page-brand img { height: 76px; width: auto; clip-path: inset(0 0 16%); margin-bottom: -10px; }
.page-main { flex: 1; max-width: 760px; padding: clamp(48px, 8vw, 88px) 0; }
.page-main h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-main h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-top: 2.2rem; }
.page-main p, .page-main address, .page-main li { color: var(--ink-soft); }
.page-main address { font-style: normal; margin-bottom: 1em; }
.page-main ul { padding-left: 1.2em; margin: 0 0 1.4em; }
.page-main li { margin-bottom: .4em; }
.page-main a { color: var(--forest); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.page-footer { padding: 0 0 28px; }
.page-footer .footer-bottom { margin-top: 0; }
.page-footer a { text-decoration: none; }
.page-footer a:hover { color: var(--gold-2); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6);
  transition: transform .3s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Motor de reservas (WuBook) ---------- */
.wbk-modal { position: fixed; inset: 0; z-index: 90; background: rgba(10, 18, 16, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: 24px; animation: fadeIn .25s var(--ease); }
.wbk-modal[hidden] { display: none; }
.wbk-panel { width: min(1180px, 100%); height: min(860px, 100%); background: var(--surface); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.wbk-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px 24px; background: var(--forest); color: #fff; }
.wbk-bar strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; line-height: 1.2; }
.wbk-bar span { font-size: .88rem; color: var(--gold-2); text-transform: capitalize; }
.wbk-actions { display: flex; align-items: center; gap: 8px; }
.wbk-ext { font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .85); text-decoration: none; padding: .5em .9em; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); white-space: nowrap; }
.wbk-ext:hover { background: rgba(255, 255, 255, .1); }
.wbk-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.wbk-close:hover { background: rgba(255, 255, 255, .24); }
.wbk-body { position: relative; flex: 1; background: var(--bg); }
.wbk-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .4s; }
.is-loaded .wbk-body iframe { opacity: 1; }
.wbk-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--ink-soft); font-weight: 500; }
.wbk-loading span { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--gold-soft); border-top-color: var(--gold); animation: spin .8s linear infinite; }
.is-loaded .wbk-loading { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 18, 16, .94); display: grid; place-items: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; animation: fadeIn .3s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background-color .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; translate: 0 -50%; } .lb-prev svg { transform: rotate(180deg); }
.lb-next { right: 14px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; color: rgba(255, 255, 255, .7); font-size: .85rem; letter-spacing: .1em; }

/* ---------- Animaciones de aparición ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (min-width: 1241px) {
  .header-inner { z-index: 1; }
  .is-solid .nav-side { background: var(--forest); }
}

@media (max-width: 1240px) {
  .brand { width: min(206px, calc(100vw - 68px)); height: 96px; }
  .brand img { height: 104px; }
  .menu-open .brand::before { inset: -5px -7px; }
  .menu-open .brand::after { inset: -9px -10px; }
  .nav {
    position: fixed; inset: var(--header-h-solid) 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 24px;
    border: 0; border-radius: 0;
    background: rgba(28, 53, 48, .98); backdrop-filter: blur(14px);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s;
    pointer-events: auto;
  }
  .nav-side { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border: 0; border-radius: 0; background: transparent; backdrop-filter: none; }
  .is-solid .nav-side { background: transparent; border-color: transparent; }
  .nav-right { margin-top: 0; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .menu-open .site-header { background: rgba(28, 53, 48, .98); height: var(--header-h-solid); }
  .menu-open .brand { width: min(180px, calc(100vw - 58px)); height: 86px; }
  .menu-open .brand img { height: 92px; filter: none; }
  .nav a { font-size: 1.1rem; padding: .85em .6em; border-radius: 10px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav .nav-book { display: flex; justify-content: center; margin-top: 16px; border: 0; }
  .header-actions { display: flex; position: absolute; left: 0; right: auto; top: auto; bottom: 8px; translate: none; z-index: 2; }
  .menu-toggle { display: block; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .booking-card { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .booking-submit { grid-column: span 2; }
  .booking-submit { padding-block: 1em; }
  .booking { margin-bottom: -120px; }
  .highlights { padding-top: 160px; }
  .split, .split-map, .faq-wrap, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-wrap .section-head { position: static; }
  .units { grid-template-columns: 1fr; }
  .unit-feature { flex-direction: column; }
  .unit-feature .carousel { min-height: 0; aspect-ratio: 3 / 2; flex: none; }
  .unit-feature .unit-body { padding: 26px 28px 28px; }
  .unit-feature h3 { font-size: 1.5rem; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .seasons { grid-template-columns: 1fr; }
  .car-btn { opacity: 1; width: 34px; height: 34px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  :root { --header-h: 120px; --header-h-solid: 118px; }
  .section, .contacto { min-height: 100svh; }
  .is-solid.site-header { background: var(--forest); box-shadow: 0 6px 24px rgba(15, 30, 26, .18); }
  .is-solid .brand { top: 50%; width: min(120px, calc(100vw - 156px)); height: 58px; }
  .is-solid .brand img { height: 62px; }
  .is-solid .language-switcher { flex-direction: row; right: 0; }
  .is-solid .header-actions { top: 50%; bottom: auto; translate: 0 -50%; }
  .map { aspect-ratio: 5 / 4; }
  .brand { width: min(166px, calc(100vw - 88px)); height: 82px; }
  .brand img { height: 88px; }
  .menu-open .brand { width: min(166px, calc(100vw - 58px)); height: 82px; }
  .brand::before { inset: -8px -12px; }
  .brand::after { inset: -11px -14px; }
  .menu-open .brand::before { inset: -6px -8px; }
  .menu-open .brand::after { inset: -8px -10px; }
  .menu-open .brand img { height: 90px; }
  .hero-content h1 { max-width: 13ch; white-space: normal; font-size: clamp(2rem, 8vw, 3.2rem); }
  .unidades-intro h2 { white-space: normal; font-size: clamp(1.3rem, 6vw, 2rem); }
  .servicios .section-head h2.services-title { flex-wrap: wrap; white-space: normal; font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .hero-content { padding-bottom: clamp(84px, 10vh, 100px); }
  .hero-content .eyebrow { top: -12px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .highlights-grid { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .hl:nth-child(3) { border-left: 0; }
  .services { grid-template-columns: 1fr; }
  .services li { padding: 18px 20px; }
  .collage { padding-bottom: 50px; }
  .badge-owner { left: 10px; bottom: 12px; padding: 10px 14px; font-size: .82rem; }
  .row2 { grid-template-columns: minmax(0,1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .lightbox { padding: 60px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; translate: none; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
  .faq details > div { padding-right: 0; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wbk-modal { padding: 0; }
  .wbk-panel { height: 100%; border-radius: 0; }
  .wbk-bar { padding: 10px 10px 10px 16px; }
  .wbk-ext { display: none; }
}
