/* ==========================================================
   CASA RURAL EL OLIVAR DE COBISA · Growfy Premium Stays
   Paleta extraída de la casa: fachada ocre, piedra, barro
   cocido, vigas de madera, pinar y agua de la piscina.
   ========================================================== */

:root {
  --cream: #F3ECDF;      /* blanco roto / cal */
  --paper: #FAF6EE;
  --stone: #D9CDB8;      /* piedra de los arcos */
  --ochre: #C9922F;      /* fachada */
  --ochre-soft: #E2B96A;
  --clay: #A4532E;       /* suelo de barro */
  --wood: #4B3325;       /* vigas */
  --pine: #2F3A2C;       /* pinar */
  --pine-deep: #1D251B;
  --sage: #8C9878;
  --water: #3F8C93;
  --ink: #221E19;
  --muted: #6F665A;

  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: var(--f-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--ochre); color: var(--paper); }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tipografía ---------- */
.eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--clay); font-weight: 600; margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--ochre-soft); }
.display {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(36px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -.015em;
  color: var(--pine-deep);
}
.display em { color: var(--clay); font-weight: 400; }
.display--light { color: var(--paper); }
.display--light em { color: var(--ochre-soft); }
.body { color: var(--muted); font-size: clamp(16px, 1.15vw, 18px); max-width: 56ch; }
.body + .body { margin-top: 18px; }

/* Split words */
.reveal-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.reveal-words .w > span { display: inline-block; will-change: transform; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 100px; font-size: 14px; font-weight: 600;
  letter-spacing: .04em; transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
  white-space: nowrap; will-change: transform;
}
.btn--gold { background: var(--ochre); color: var(--pine-deep); box-shadow: 0 10px 30px -10px rgba(201,146,47,.7); }
.btn--gold:hover { background: var(--ochre-soft); }
.btn--ghost { border: 1px solid rgba(250,246,238,.5); color: var(--paper); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(250,246,238,.12); }
.btn--light { background: rgba(250,246,238,.92); color: var(--pine-deep); padding: 12px 22px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; gap: 10px; align-items: center; margin-top: 32px;
  font-weight: 600; color: var(--pine); border-bottom: 1px solid var(--stone); padding-bottom: 6px;
}
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--pine-deep);
  display: grid; place-items: center; color: var(--cream);
}
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader__mark { font-family: var(--f-display); font-size: 64px; font-style: italic; color: var(--ochre-soft); }
.loader__line { width: 160px; height: 1px; background: rgba(243,236,223,.2); overflow: hidden; }
.loader__line i { display: block; height: 100%; width: 100%; background: var(--ochre); transform: scaleX(0); transform-origin: left; }
.loader__txt { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ochre); pointer-events: none; z-index: 150; mix-blend-mode: normal;
  transform: translate(-50%, -50%); display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), background .4s;
  opacity: 0;
}
.cursor__label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pine-deep); opacity: 0; transition: opacity .3s; }
.cursor.is-hover { width: 84px; height: 84px; background: rgba(226,185,106,.92); }
.cursor.is-hover .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter); color: var(--paper);
  transition: background .5s var(--ease), padding .5s var(--ease), color .5s, transform .5s var(--ease);
}
.nav.is-scrolled { background: rgba(250,246,238,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--pine-deep); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 rgba(34,30,25,.06); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { font-family: var(--f-display); font-size: 24px; font-weight: 600; letter-spacing: .01em; }
.nav__logo em { font-weight: 400; color: var(--ochre-soft); }
.nav.is-scrolled .nav__logo em { color: var(--clay); }
.nav__links { display: flex; gap: 36px; font-size: 14px; font-weight: 500; }
.nav__links a { position: relative; opacity: .9; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav.is-scrolled .nav__cta { background: var(--pine); color: var(--paper); }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; z-index: 2; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 26px; }
body.menu-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
body.menu-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 80; background: var(--pine-deep); color: var(--cream);
  display: grid; place-items: center; clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .9s var(--ease);
}
body.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 40px); }
body.menu-open .nav { color: var(--cream); background: transparent; box-shadow: none; }
.menu nav { display: flex; flex-direction: column; gap: 14px; text-align: center; }
.menu a { font-family: var(--f-display); font-size: clamp(40px, 10vw, 64px); font-style: italic; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px;
  display: flex; align-items: flex-end; color: var(--paper); overflow: hidden;
  background: var(--pine-deep);
}
.hero__media { position: absolute; inset: -6%; will-change: transform; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__poster { filter: saturate(1.08) contrast(1.05); transform: scale(1.12); }
.hero__video { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__video.is-ready { opacity: 1; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(29,37,27,.55) 0%, rgba(29,37,27,.12) 28%, rgba(29,37,27,.3) 55%, rgba(29,37,27,.88) 100%),
    linear-gradient(90deg, rgba(29,37,27,.6) 0%, rgba(29,37,27,.15) 60%, transparent 100%);
}
.grain {
  position: absolute; inset: 0; opacity: .12; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__content { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(120px, 16vh, 170px); max-width: 1100px; }
.hero__eyebrow { color: var(--cream); font-weight: 500; }
.hero__eyebrow::before { display: none; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ochre); box-shadow: 0 0 0 5px rgba(201,146,47,.25); }
.hero__title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(52px, 10vw, 150px); line-height: .92; letter-spacing: -.025em;
}
.hero__title em { color: var(--ochre-soft); font-weight: 400; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.split, .split-o { display: inline-block; will-change: transform; }
.hero__lead { margin-top: 26px; max-width: 46ch; font-size: clamp(16px, 1.3vw, 19px); color: rgba(250,246,238,.86); font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__facts {
  position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(120px, 16vh, 170px);
  list-style: none; display: flex; flex-direction: column; gap: 18px; text-align: right;
}
.hero__facts li { display: flex; flex-direction: column; border-right: 1px solid rgba(250,246,238,.35); padding-right: 16px; }
.hero__facts strong { font-family: var(--f-display); font-size: 40px; font-weight: 500; line-height: 1; }
.hero__facts span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }

.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: .8; }
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--paper), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Intro ---------- */
.intro { padding: clamp(100px, 16vw, 200px) 0 clamp(80px, 10vw, 140px); position: relative; }
.intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.intro__text .display { margin-bottom: 36px; }
.intro__visual { position: relative; height: clamp(460px, 52vw, 680px); perspective: 1200px; }
.float-card { position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(34,30,25,.45); will-change: transform; }
.float-card--a { width: 64%; height: 76%; top: 0; right: 0; }
.float-card--b { width: 52%; height: 50%; bottom: 0; left: 0; border: 8px solid var(--paper); }
.float-card img { transform: scale(1.18); }
.badge-rotate { position: absolute; left: 44%; top: 36%; width: 130px; height: 130px; display: grid; place-items: center; z-index: 3; }
.badge-rotate svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge-rotate text { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; fill: var(--pine-deep); font-weight: 600; font-family: var(--f-body); }
.badge-rotate span { width: 56px; height: 56px; border-radius: 50%; background: var(--ochre); display: grid; place-items: center; color: var(--pine-deep); font-size: 18px; }
.badge-rotate::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--cream); z-index: -1; box-shadow: 0 20px 40px -20px rgba(34,30,25,.4); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Stats ---------- */
.stats { padding: 0 0 clamp(80px, 10vw, 140px); }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.stat { padding: 40px 20px; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--stone); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--f-display); font-size: clamp(48px, 5vw, 78px); line-height: 1; color: var(--pine); font-weight: 500; }
.stat__lbl { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); line-height: 1.4; }
.stat__lbl small { font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }

/* ---------- Walk (horizontal) ---------- */
.walk { background: var(--pine-deep); color: var(--cream); padding-top: clamp(90px, 10vw, 140px); overflow: hidden; }
.walk .display { color: var(--cream); }
.walk .display em { color: var(--ochre-soft); }
.walk .eyebrow { color: var(--ochre-soft); }
.walk__head { margin-bottom: 60px; }
.walk__pin { height: 100vh; height: 100svh; display: flex; align-items: center; }
.walk__track { display: flex; gap: clamp(20px, 3vw, 48px); padding: 0 var(--gutter); will-change: transform; }
.walk__panel { flex: 0 0 auto; width: clamp(300px, 42vw, 620px); }
.walk__panel--intro { width: clamp(280px, 30vw, 420px); display: flex; flex-direction: column; justify-content: center; }
.walk__kicker { font-size: 12px; letter-spacing: .3em; color: var(--ochre-soft); margin-bottom: 20px; }
.walk__big { font-family: var(--f-display); font-size: clamp(28px, 3vw, 44px); line-height: 1.15; font-style: italic; }
.walk__hint { margin-top: 28px; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; opacity: .6; }
.walk__img { height: clamp(300px, 58vh, 560px); overflow: hidden; border-radius: var(--radius); }
.walk__img img { transform: scale(1.25); will-change: transform; }
.walk__cap { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; margin-top: 22px; }
.walk__cap span { grid-row: span 2; font-family: var(--f-display); font-size: 22px; color: var(--ochre-soft); font-style: italic; }
.walk__cap h3 { font-family: var(--f-display); font-size: 28px; font-weight: 500; line-height: 1.1; }
.walk__cap p { color: rgba(243,236,223,.66); font-size: 15px; max-width: 44ch; }

/* ---------- Rooms ---------- */
.rooms { padding: clamp(100px, 12vw, 180px) 0; background: var(--cream); }
.section-head { max-width: 760px; margin-bottom: clamp(50px, 6vw, 90px); }
.section-head .display { margin-bottom: 26px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .body { margin: 0 auto; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.rooms__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 36px); perspective: 1400px; }
.room { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; transform-style: preserve-3d; will-change: transform; background: var(--stone); }
.room:nth-child(3n+2) { transform: translateY(60px); }
.room figure { position: absolute; inset: 0; }
.room img { transition: transform 1.2s var(--ease); }
.room:hover img { transform: scale(1.06); }
.room::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(29,37,27,.82)); pointer-events: none; }
.room__meta { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; color: var(--paper); transform: translateZ(40px); }
.room__meta h3 { font-family: var(--f-display); font-size: 28px; font-weight: 500; line-height: 1.1; margin-top: 10px; }
.tag { display: inline-block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; background: var(--ochre); color: var(--pine-deep); font-weight: 600; }
.tag--alt { background: rgba(250,246,238,.9); }

/* ---------- Outdoor ---------- */
.outdoor { background: var(--paper); padding-bottom: clamp(90px, 10vw, 150px); }
.outdoor__stage { position: relative; height: 120vh; overflow: hidden; display: flex; align-items: center; }
.outdoor__bg { position: absolute; inset: 0; clip-path: inset(12% 10% 12% 10% round 24px); will-change: clip-path; }
.outdoor__bg img { transform: scale(1.3); will-change: transform; }
.outdoor__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29,37,27,.72), rgba(29,37,27,.1) 70%); pointer-events: none; opacity: 0; }
.outdoor__copy { position: relative; z-index: 2; }
.outdoor__copy .display { font-size: clamp(44px, 7.5vw, 116px); max-width: 12ch; }
.outdoor__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(-160px, -12vw, -80px); position: relative; z-index: 3; }
.o-card { background: var(--paper); border-radius: var(--radius); padding: 14px 14px 28px; box-shadow: 0 30px 70px -35px rgba(34,30,25,.4); will-change: transform; }
.o-card--offset { margin-top: 80px; }
.o-card figure { aspect-ratio: 4/3; border-radius: calc(var(--radius) - 6px); overflow: hidden; margin-bottom: 22px; }
.o-card h3, .o-card p { padding: 0 12px; }
.o-card h3 { font-family: var(--f-display); font-size: 30px; font-weight: 500; color: var(--pine-deep); margin-bottom: 8px; }
.o-card p { color: var(--muted); font-size: 15px; }
.amenities { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(60px, 7vw, 100px); justify-content: center; }
.amenities li { padding: 12px 20px; border: 1px solid var(--stone); border-radius: 100px; font-size: 14px; color: var(--wood); background: var(--cream); }

/* ---------- Region ---------- */
.region { padding: clamp(100px, 12vw, 180px) 0 0; background: var(--cream); overflow: hidden; }
.region__list { max-width: 1000px; margin: 0 auto; border-top: 1px solid var(--stone); }
.place { display: grid; grid-template-columns: 180px 1fr; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--stone); align-items: baseline; transition: padding .6s var(--ease), background .6s; }
.place:hover { padding-left: 18px; }
.place__dist { font-family: var(--f-display); font-size: 30px; font-style: italic; color: var(--clay); }
.place h3 { font-family: var(--f-display); font-size: clamp(30px, 3.2vw, 44px); font-weight: 500; color: var(--pine-deep); line-height: 1.05; margin-bottom: 8px; }
.place p { color: var(--muted); max-width: 60ch; }
.marquee { margin-top: clamp(80px, 10vw, 140px); padding: 28px 0; border-top: 1px solid var(--stone); overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee span { font-family: var(--f-display); font-style: italic; font-size: clamp(34px, 5vw, 72px); color: var(--sage); padding-right: .4em; }

/* ---------- Booking ---------- */
.booking {
  position: relative; padding: clamp(100px, 12vw, 170px) 0; color: var(--cream);
  background: radial-gradient(ellipse at 80% 0%, rgba(201,146,47,.22), transparent 55%), linear-gradient(160deg, var(--pine) 0%, var(--pine-deep) 70%);
  overflow: hidden;
}
.booking::before { content: ""; position: absolute; inset: 0; opacity: .06; background-image: url("img/porche.jpg"); background-size: cover; background-position: center; mix-blend-mode: luminosity; }
.booking__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.perks { list-style: none; margin-top: 44px; display: grid; gap: 26px; }
.perks li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.perks li > span { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(226,185,106,.5); display: grid; place-items: center; color: var(--ochre-soft); }
.perks strong { font-size: 17px; font-weight: 600; }
.perks p { color: rgba(243,236,223,.66); font-size: 15px; }

.booking__card {
  background: rgba(250,246,238,.97); color: var(--ink); border-radius: 26px;
  padding: clamp(24px, 3vw, 40px); box-shadow: 0 50px 100px -40px rgba(0,0,0,.6), inset 0 0 0 1px rgba(201,146,47,.25);
  position: relative; will-change: transform;
}
.booking__card::before { content: ""; position: absolute; inset: -1px; border-radius: 27px; padding: 1px; background: linear-gradient(140deg, var(--ochre-soft), transparent 40%, transparent 60%, var(--ochre)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.booking__card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--stone); }
.booking__title { font-family: var(--f-display); font-size: 30px; font-weight: 500; color: var(--pine-deep); }
.booking__badge { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; background: var(--pine); color: var(--cream); font-weight: 600; }

/* Contenedor del motor de reservas: altura mínima reservada para evitar saltos (CLS) */
.booking__widget { min-height: 320px; width: 100%; }
.booking__widget iframe { width: 100%; min-height: 560px; border: 0; border-radius: 14px; }

.booking__demo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.field input, .field select { font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid var(--stone); border-radius: 12px; background: var(--paper); color: var(--ink); appearance: none; -webkit-appearance: none; min-height: 52px; }
.field input:focus, .field select:focus { outline: 2px solid var(--ochre); outline-offset: 1px; }
.booking__demo .btn { grid-column: 1 / -1; margin-top: 8px; }
.booking__note { grid-column: 1 / -1; font-size: 12px; color: var(--muted); text-align: center; }
.booking__wa { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--stone); font-weight: 600; font-size: 14px; color: var(--pine); }
.booking__wa svg { width: 22px; height: 22px; color: #25D366; }
.booking__wa:hover { color: var(--clay); }

/* ---------- Location ---------- */
.location { padding: clamp(100px, 12vw, 170px) 0; }
.location__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.location address { font-style: normal; margin-top: 28px; line-height: 1.9; }
.location__map { height: clamp(340px, 40vw, 520px); border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.location__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.2) contrast(1.02); }

/* ---------- Footer ---------- */
.footer { background: var(--pine-deep); color: var(--cream); padding: 80px 0 110px; }
.footer__grid { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 50px; border-bottom: 1px solid rgba(243,236,223,.12); }
.footer__logo { font-family: var(--f-display); font-size: clamp(36px, 5vw, 60px); line-height: 1; }
.footer__logo em { color: var(--ochre-soft); }
.footer__tag { margin-top: 10px; opacity: .6; font-size: 14px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 26px; font-size: 13px; opacity: .6; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); z-index: 95;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 34px -10px rgba(37,211,102,.6), 0 4px 12px rgba(0,0,0,.15);
  transform: scale(0); transition: box-shadow .4s;
}
.wa-float svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.wa-float__pulse { position: absolute; inset: 0; border-radius: 50%; background: #25D366; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.wa-float__tip {
  position: absolute; right: 74px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: var(--paper); color: var(--pine-deep); font-size: 13px; font-weight: 600; white-space: nowrap;
  padding: 9px 14px; border-radius: 100px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.25);
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.wa-float:hover .wa-float__tip, .wa-float.show-tip .wa-float__tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- Barra móvil ---------- */
.mobile-bar { display: none; }

/* ==========================================================
   RESPONSIVE · Mobile-first ajustes
   ========================================================== */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .intro__grid, .booking__grid, .location__grid { grid-template-columns: 1fr; }
  .intro__visual { height: 520px; max-width: 620px; }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--stone); }
  .rooms__grid { grid-template-columns: repeat(2, 1fr); }
  .room:nth-child(3n+2) { transform: none; }
  .room:nth-child(even) { transform: translateY(40px); }
}

@media (max-width: 767px) {
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__logo { font-size: 21px; }

  .hero { min-height: 580px; }
  .hero__content { padding-bottom: 150px; }
  .hero__facts { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }

  .intro__visual { height: 400px; }
  .badge-rotate { width: 104px; height: 104px; left: 38%; top: 40%; }
  .badge-rotate text { font-size: 13px; }
  .badge-rotate span { width: 44px; height: 44px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 28px 14px; }
  .stat:nth-child(odd) { border-right: 1px solid var(--stone); }
  .stat:nth-child(even) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--stone); }
  .stat:last-child { grid-column: 1 / -1; border-right: 0; }

  /* Recorrido: carrusel nativo con scroll-snap en móvil */
  .walk { padding-bottom: 80px; }
  .walk__head { margin-bottom: 30px; }
  .walk__pin { height: auto; display: block; }
  .walk__track { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 10px; scroll-padding: 0 var(--gutter); }
  .walk__track::-webkit-scrollbar { display: none; }
  .walk__panel { width: 84vw; scroll-snap-align: start; }
  .walk__panel--intro { display: none; }
  .walk__img { height: 62vw; }

  .rooms__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .room { aspect-ratio: 3/4; }
  .room:nth-child(even) { transform: translateY(28px); }
  .room__meta { left: 14px; right: 14px; bottom: 14px; }
  .room__meta h3 { font-size: 19px; }
  .tag { font-size: 9px; padding: 5px 9px; }

  .outdoor__stage { height: 90vh; }
  .outdoor__bg { clip-path: inset(6% 4% 6% 4% round 18px); }
  .outdoor__cards { grid-template-columns: 1fr; margin-top: -60px; }
  .o-card--offset { margin-top: 0; }

  .place { grid-template-columns: 1fr; gap: 6px; padding: 26px 0; }
  .place__dist { font-size: 22px; }

  .booking__demo { grid-template-columns: 1fr; }

  .footer { padding-bottom: 130px; }

  .wa-float { bottom: calc(88px + env(safe-area-inset-bottom)); width: 56px; height: 56px; }
  .wa-float__tip { display: none; }

  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 94;
    align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(250,246,238,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--stone); transform: translateY(110%); transition: transform .6s var(--ease);
  }
  .mobile-bar.is-visible { transform: translateY(0); }
  .mobile-bar div { display: flex; flex-direction: column; line-height: 1.25; }
  .mobile-bar strong { font-family: var(--f-display); font-size: 19px; color: var(--pine-deep); }
  .mobile-bar span { font-size: 12px; color: var(--muted); }
  .mobile-bar .btn { padding: 13px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .loader { display: none; }
}

:root{--pine:#4d553d;--pine-deep:#282f20;--ochre:#d6b174;--ochre-soft:#ecd0a0;--clay:#986245;}

/* Adaptación para las demos aprobadas. Contenido visible sin JavaScript. */
html { scroll-padding-top: 90px; }
section:focus,main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 5px; }
.skip { position:fixed;top:-100px;left:18px;z-index:300;background:var(--paper);padding:12px; }
.skip:focus { top:12px; }
.nav { background:linear-gradient(#0008,transparent); }
.nav__logo { display:block;max-width:270px;line-height:1.05; }
.hero__content { max-width:1050px;padding-bottom:100px; }
.hero__title { font-size:clamp(52px,7.5vw,112px); }
.hero__facts { bottom:105px; }
.hero__poster { transform:none; }
.hero__lead { font-weight:400; }
.hero__veil { background:linear-gradient(90deg,#152020bf,#15202028),linear-gradient(0deg,#152020d6,transparent 85%); }
.stats__grid { grid-template-columns:repeat(4,1fr); }
.stat__num { font-size:clamp(35px,4vw,62px); }
.walk__pin { height:auto;min-height:0;padding-bottom:65px; }
.walk__track { max-width:100%;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:20px; }
.walk__panel { scroll-snap-align:center; }
.walk--enhanced .walk__pin { height:100svh;min-height:660px;padding-bottom:0; }
.walk--enhanced .walk__track { max-width:none;overflow:visible; }
.walk__img img { transform:none; }
.walk__cap { padding-bottom:24px; }
.outdoor__stage { height:90svh;min-height:580px; }
.outdoor__bg { clip-path:none; }
.outdoor__bg img { transform:none; }
.outdoor__veil { opacity:1;background:linear-gradient(90deg,#172220b8,#17222022); }
.outdoor__copy .display { font-size:clamp(46px,6vw,90px);max-width:14ch; }
.rooms__grid--two { grid-template-columns:repeat(2,1fr);max-width:900px; }
.room:nth-child(n) { transform:none; }
.room__meta { transform:none; }
.wa-float { transform:none; }
.wa-float__pulse { display:none; }
.demo-label { display:inline-flex;border:1px solid #ffffff50;padding:4px 10px;border-radius:30px;font-size:10px;letter-spacing:.15em;text-transform:uppercase;margin-bottom:14px; }
.booking__note { text-align:left;margin-top:4px; }
.calendar { margin-bottom:24px;padding-bottom:22px;border-bottom:1px solid var(--stone); }
.calendar__head { display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px; }
.calendar__head strong { text-transform:capitalize;font-size:15px; }
.calendar__head button { width:38px;height:38px;border:1px solid var(--stone);border-radius:50%; }
.calendar__head button:disabled { opacity:.3;cursor:default; }
.calendar__week,.calendar__days { display:grid;grid-template-columns:repeat(7,1fr);text-align:center;gap:4px;font-size:13px; }
.calendar__week { color:var(--muted);margin-bottom:9px; }
.calendar__days span { padding:5px 0;border-radius:7px;background:#d9cdb826; }
.calendar__days span:empty { background:none; }
.calendar__caption { font-size:11px;color:var(--muted);margin-top:13px; }
.booking__demo .field { min-width:0; }
.field input,.field select { width:100%;min-width:0; }
.booking__badge { white-space:nowrap; }
.map-card { border-radius:18px;background:var(--cream);padding:50px;min-height:310px;display:flex;flex-direction:column;justify-content:center;border:1px solid var(--stone); }
.map-card strong { font-family:var(--f-display);font-size:42px;font-weight:500;line-height:1.1; }
.map-card .link-arrow { align-self:flex-start; }
.menu[aria-hidden="true"] { visibility:hidden;pointer-events:none; }
body.menu-open { overflow:hidden; }
body.menu-open .nav__cta,body.menu-open .nav__links { visibility:hidden; }
@media(max-width:1100px){.hero__facts{display:none}.hero__content{max-width:95%}.nav__links{gap:20px}}
@media(max-width:1024px){
 .nav__burger{display:block}.stats__grid{grid-template-columns:repeat(4,1fr)}
 .stat:nth-child(n){border-top:0;border-right:1px solid var(--stone)}.stat:last-child{border-right:0}
 .walk__pin{height:auto;min-height:0;padding-bottom:65px}.walk__track{width:100%;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:20px}
 .walk__panel{width:70vw;scroll-snap-align:center}.walk__panel--intro{display:none}
}
@media(max-width:767px){
 .hero{height:auto;min-height:100svh}.hero__content{padding-top:170px;padding-bottom:95px;max-width:100%}
 .hero__title{font-size:clamp(50px,12vw,82px)}.hero__lead{max-width:34ch}.hero__actions{margin-top:28px}
 .nav__logo{font-size:22px;max-width:220px}.nav__brand{min-width:0}.nav{gap:12px}
 .nav__burger{flex-shrink:0}.hero__eyebrow{font-size:10px;letter-spacing:.12em}
 .stats__grid{grid-template-columns:repeat(2,1fr)}.stat:last-child{grid-column:auto}.stat:nth-child(n+3){border-top:1px solid var(--stone)}.stat:nth-child(even){border-right:0}
 .walk__panel{width:84vw}.walk__img{height:70vw}.walk__cap h3{font-size:25px}
 .rooms__grid{grid-template-columns:1fr}.rooms__grid--two{grid-template-columns:1fr}.room{aspect-ratio:5/4}.room__meta h3{font-size:28px}
 .outdoor__stage{height:75svh;min-height:480px}.outdoor__copy .display{font-size:54px}
 .booking__card{padding:23px 18px}.booking__card-head{gap:10px}.booking__title{font-size:19px}.booking__badge{font-size:10px}
 .map-card{padding:32px}.map-card strong{font-size:36px}.mobile-bar strong{font-size:17px}.mobile-bar .btn{padding:12px 17px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero__poster{transform:none}}
