/* =========================================================
   Cabana Almora — stiluri
   ========================================================= */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --tint: #f3ede3;
  --ink: #1e2b24;
  --muted: #5e6b63;
  --line: #e6ded1;
  --forest: #24362c;
  --forest-2: #2f4a3a;
  --forest-3: #3c5d4a;
  --accent: #b5652a;
  --accent-2: #99531f;
  --accent-soft: #f6e7d8;
  --gold: #e0a33a;
  --busy: #ece6dc;
  --danger: #b3261e;
  --ok: #2e7d4f;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(30, 43, 36, .05), 0 8px 30px rgba(30, 43, 36, .08);
  --shadow-lg: 0 20px 60px rgba(20, 30, 25, .18);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; margin-top: 32px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- Icons ---------- */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.star { width: 16px; height: 16px; fill: currentColor; }
.star--empty { fill: var(--line); }
.star--half { fill: url(#g-half); }
.stars--lg .star { width: 22px; height: 22px; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--surface); --fg-btn: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg-btn); color: var(--fg-btn); font-weight: 600; font-size: .95rem;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--primary { --bg-btn: var(--accent); --fg-btn: #fff; }
.btn--primary:hover { --bg-btn: var(--accent-2); }
.btn--ghost { --bg-btn: rgba(255,255,255,.14); --fg-btn: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn--ghost:hover { --bg-btn: rgba(255,255,255,.25); }
.btn--outline { --bg-btn: transparent; border-color: var(--line); }
.btn--outline:hover { border-color: var(--ink); }
.btn--light { --bg-btn: #fff; --fg-btn: var(--forest); }
.btn--sm { padding: 9px 18px; font-size: .9rem; }
.btn--lg { padding: 15px 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.eyebrow .i { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: #fff; transition: background .35s, box-shadow .35s, color .35s, transform .35s var(--ease);
}
.header.is-solid { background: rgba(250, 247, 242, .92); backdrop-filter: saturate(160%) blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.3rem; }
.logo strong { font-weight: 600; }
.logo__mark { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; color: var(--accent); }
.header:not(.is-solid) .logo__mark { color: #fff; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 8px 12px; text-decoration: none; font-size: .93rem; font-weight: 500; opacity: .9; border-radius: 8px; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { opacity: 1; }
.header__cta { display: flex; align-items: center; gap: 12px; }
.header__phone { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; font-size: .92rem; }
.header__phone .i { width: 17px; height: 17px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 11px; }
.burger span { display: block; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; padding: calc(var(--header-h) + 40px) 0 32px; isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--forest); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s var(--ease) both; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,25,20,.55) 0%, rgba(15,25,20,.15) 35%, rgba(15,25,20,.35) 60%, rgba(15,25,20,.85) 100%); }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero__content { margin-bottom: 40px; }
.hero__eyebrow { color: #fff; opacity: .92; }
.hero__title { font-size: clamp(3rem, 1.6rem + 7vw, 6.4rem); font-weight: 500; line-height: 1; margin-bottom: 18px; letter-spacing: -.02em; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); max-width: 620px; opacity: .92; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.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(28px); } to { opacity: 1; transform: none; } }

.facts {
  list-style: none; margin: 0; padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(14px);
  border-radius: var(--radius); animation: rise .9s .45s var(--ease) both;
}
.facts li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.facts strong { font-weight: 600; font-size: 1.05rem; }
.facts__price { margin-left: auto; gap: 6px !important; align-items: baseline !important; }
.facts__price strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.facts__price span { opacity: .85; font-size: .88rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--forest); color: #f3efe7; }
.section--dark .eyebrow { color: #e7b27c; }
.section__head { max-width: 680px; margin-bottom: 44px; }
.section__sub { color: var(--muted); font-size: 1.05rem; }
.section--dark .section__sub { color: rgba(243, 239, 231, .75); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal--right { transform: translateX(36px); }
main { overflow-x: clip; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__text > p { color: var(--muted); font-size: 1.05rem; }
.about__text strong { color: var(--ink); font-weight: 600; }
.spaces { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.spaces li { display: flex; gap: 14px; }
.spaces h3 { font-family: var(--sans); font-size: .98rem; font-weight: 600; margin: 2px 0 4px; }
.spaces p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.5; }
.spaces__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.about__media { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(12, 1fr); aspect-ratio: 1 / 1.05; }
.about__img { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__img:hover img { transform: scale(1.05); }
.about__img--a { grid-column: 1 / 9; grid-row: 1 / 12; }
.about__img--b { grid-column: 6 / 13; grid-row: 7 / 13; border: 6px solid var(--bg); }
.about__badge { position: absolute; top: 8%; right: 0; background: var(--surface); padding: 14px 18px; border-radius: var(--radius-sm); box-shadow: var(--shadow); text-align: center; animation: float 5s ease-in-out infinite; }
.about__badge strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.about__badge span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 12px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--line); cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(0,0,0,.25)); opacity: 0; transition: opacity .4s; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery__item.is-tall { grid-row: span 2; }
.gallery__item.is-extra { display: none; }
.gallery.is-open .gallery__item.is-extra { display: block; animation: rise .6s var(--ease) both; }

/* ---------- Amenities ---------- */
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.amenity { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 500; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.amenity:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.amenity .i { width: 24px; height: 24px; color: var(--accent); }
.rules { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rule { display: flex; gap: 14px; align-items: center; padding: 22px 24px; background: var(--tint); }
.rule .i { width: 26px; height: 26px; color: var(--forest-3); }
.rule span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.rule strong { font-weight: 600; }

/* ---------- Cards / forms ---------- */
.card { background: var(--surface); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .86rem; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg);
  transition: border-color .2s, background .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 56px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(181, 101, 42, .12); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin-bottom: 16px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form-msg { font-size: .92rem; font-weight: 500; margin: 0 0 12px; min-height: 0; }
.form-msg:empty { display: none; }
.form-msg.is-error { color: var(--danger); }
.form-msg.is-ok { color: var(--ok); }
.fineprint { font-size: .8rem; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* ---------- Booking ---------- */
.booking { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: start; }
.cal-card { padding: clamp(16px, 2.4vw, 28px); }
.cal { position: relative; }
.cal__nav { position: absolute; inset: 0 0 auto; display: flex; justify-content: space-between; pointer-events: none; z-index: 1; }
.cal__btn { pointer-events: auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.cal__btn:hover:not(:disabled) { border-color: var(--ink); }
.cal__btn:disabled { opacity: .3; cursor: default; }
.cal__months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; min-height: 340px; }
.cal__loading { grid-column: 1 / -1; display: grid; place-items: center; color: var(--muted); }
.cal__month { animation: fade .4s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.cal__title { text-align: center; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; height: 38px; line-height: 38px; margin-bottom: 8px; text-transform: capitalize; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px 0; }
.cal__dow { text-align: center; font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; padding-bottom: 6px; }
.day {
  position: relative; aspect-ratio: 1; border: 0; background: none; cursor: pointer; font-size: .92rem; font-weight: 500;
  display: grid; place-items: center; padding: 0; color: var(--ink); max-height: 48px; width: 100%;
}
.day span { position: relative; z-index: 1; width: 100%; height: 100%; max-width: 44px; max-height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background .15s, color .15s; }
.day:hover:not(:disabled) span { background: var(--accent-soft); }
.day:disabled { cursor: default; }
.day.is-past { color: #c4c0b8; }
.day.is-busy { color: #a59e93; }
.day.is-busy span { text-decoration: line-through; background: var(--busy); border-radius: 8px; width: 88%; }
.day.is-checkout-only { cursor: pointer; }
.day.is-today span { box-shadow: inset 0 0 0 1.5px var(--forest-3); }
.day.in-range::before, .day.is-start::before, .day.is-end::before { content: ""; position: absolute; inset: 12% 0; background: var(--accent-soft); }
.day.is-start::before { left: 50%; }
.day.is-end::before { right: 50%; }
.day.is-start.is-end::before { display: none; }
.day.is-start span, .day.is-end span { background: var(--accent) !important; color: #fff; text-decoration: none; border-radius: 50%; width: 100%; }
.day.is-preview::before { background: rgba(181, 101, 42, .1); }
.cal__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.cal__legend span { display: inline-flex; align-items: center; gap: 7px; }
.cal__legend .link { margin-left: auto; font-size: .85rem; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.lg--free { background: #fff; border: 1.5px solid var(--line); }
.lg--busy { background: var(--busy); }
.lg--sel { background: var(--accent); }

.book-form { position: sticky; top: calc(var(--header-h) + 16px); }
.summary { background: var(--tint); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 18px; }
.summary__dates { display: flex; align-items: center; gap: 12px; }
.summary__field { flex: 1; }
.summary__field span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.summary__field strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.summary__field.is-active strong { color: var(--accent); }
.summary__arrow { color: var(--muted); }
.summary__hint { font-size: .86rem; color: var(--muted); margin: 8px 0 0; }
.summary__price { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); animation: fade .4s var(--ease); }
.summary__price span { color: var(--muted); font-size: .92rem; }
.summary__price strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.guests { display: grid; gap: 10px; margin-bottom: 18px; }
.stepper { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 10px; }
.stepper strong { display: block; font-size: .95rem; }
.stepper small { color: var(--muted); font-size: .8rem; }
.stepper__ctrl { display: flex; align-items: center; gap: 12px; }
.stepper__ctrl button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 1.1rem; line-height: 1; transition: border-color .2s; }
.stepper__ctrl button:hover:not(:disabled) { border-color: var(--ink); }
.stepper__ctrl button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 18px; text-align: center; font-weight: 600; }

.book-done { text-align: center; padding: 20px 4px; animation: fade .5s var(--ease); }
.book-done__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #e3f1e8; color: var(--ok); display: grid; place-items: center; }
.book-done__icon .i { width: 32px; height: 32px; stroke-width: 2.4; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.book-done h3 { font-size: 1.5rem; }
.book-done p { color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.rv-summary { position: sticky; top: calc(var(--header-h) + 16px); text-align: center; }
.rv-score { display: flex; justify-content: center; align-items: baseline; gap: 6px; }
.rv-score strong { font-family: var(--serif); font-size: 3.6rem; font-weight: 500; line-height: 1; }
.rv-score span { color: var(--muted); }
.rv-summary .stars { margin: 6px 0 4px; }
.rv-bars { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 6px; font-size: .85rem; }
.rv-bars li { display: grid; grid-template-columns: 34px 1fr 24px; gap: 10px; align-items: center; color: var(--muted); }
.rv-bars i { height: 7px; background: var(--tint); border-radius: 9px; overflow: hidden; }
.rv-bars b { display: block; height: 100%; width: var(--w); background: var(--gold); border-radius: 9px; transition: width 1.2s .3s var(--ease); }
.js .rv-summary:not(.is-in) .rv-bars b { width: 0; }
.rv-empty-icon { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; background: var(--accent-soft); color: var(--gold); display: grid; place-items: center; }
.rv-empty-icon .i { width: 28px; height: 28px; fill: currentColor; stroke: none; }
.rv-summary h3 { font-size: 1.35rem; }
.rv-summary .muted { font-size: .92rem; }
.rv-list { display: grid; gap: 16px; }
.rv__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.rv__head .stars { margin-left: auto; }
.rv__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--forest-2); color: #fff; font-family: var(--serif); font-size: 1.2rem; flex: none; }
.rv__name { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 0; }
.rv__meta { font-size: .84rem; color: var(--muted); margin: 0; }
.rv__meta:empty { display: none; }
.rv__body { margin: 0; }
.rv__reply { margin-top: 14px; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--tint); border-radius: 0 10px 10px 0; font-size: .92rem; }
.rv__reply p { margin: 4px 0 0; color: var(--muted); }
.rv.is-extra { display: none; }
.rv-list.is-open .rv.is-extra { display: block; }
.rv-form { animation: fade .45s var(--ease); }
.rv-form h3 { font-size: 1.4rem; }
.rv-form__actions { display: flex; justify-content: flex-end; gap: 10px; }
.rate { border: 0; padding: 0; margin: 0 0 18px; display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rate input { position: absolute; opacity: 0; pointer-events: none; }
.rate label { cursor: pointer; color: var(--line); transition: transform .2s var(--ease), color .15s; }
.rate label .i { width: 34px; height: 34px; fill: currentColor; stroke: none; }
.rate label:hover, .rate label:hover ~ label, .rate input:checked ~ label { color: var(--gold); }
.rate label:hover { transform: scale(1.15); }
.rate input:focus-visible + label { outline: 3px solid var(--accent); border-radius: 6px; }

/* ---------- Location ---------- */
.location { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.location > div > p { color: var(--muted); font-size: 1.05rem; }
.address { display: flex; gap: 10px; font-style: normal; font-weight: 600; margin-bottom: 22px; }
.address .i { color: var(--accent); margin-top: 3px; }
.nearby { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.nearby li { display: flex; gap: 14px; align-items: flex-start; }
.nearby .i { color: var(--forest-3); margin-top: 3px; }
.nearby strong { display: block; font-weight: 600; }
.nearby span { font-size: .92rem; color: var(--muted); }
.map { position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map__load { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: none; }
.map__load img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8); transition: filter .4s, transform 1s var(--ease); }
.map__load:hover img { filter: brightness(.7); transform: scale(1.03); }
.map__load .btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { transition: transform .3s var(--ease); color: var(--accent); }
.faq details[open] .faq__icon { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- CTA / Footer ---------- */
.cta { position: relative; padding: clamp(80px, 10vw, 130px) 0; color: #fff; text-align: center; isolation: isolate; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; z-index: -1; background: var(--forest); }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.cta__inner { max-width: 820px; }
.cta p { font-size: 1.1rem; opacity: .9; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.footer { background: #17231d; color: rgba(255,255,255,.72); padding: 64px 0 24px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h3 { font-family: var(--sans); color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer li { display: flex; gap: 10px; align-items: flex-start; }
.footer li .i { width: 17px; height: 17px; margin-top: 3px; color: #e7b27c; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.logo--light { color: #fff; margin-bottom: 14px; }
.logo--light .logo__mark { color: #e7b27c; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 20px; font-size: .84rem; }

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12, 18, 15, .95); display: flex; align-items: center; justify-content: center; animation: fadeIn .3s; touch-action: pan-y; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 8px; animation: zoomIn .4s var(--ease); }
@keyframes zoomIn { from { opacity: 0; transform: scale(.96); } }
.lightbox figcaption { color: rgba(255,255,255,.8); margin-top: 14px; font-size: .92rem; }
.lightbox__close, .lightbox__nav { 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 .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox .i { width: 24px; height: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 8px 8px; }
  .header__phone span { display: none; }
  .amenities { grid-template-columns: repeat(3, 1fr); }
  .booking { grid-template-columns: 1fr; }
  .book-form { position: static; }
  .rules { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0; margin: 0; padding: 12px 16px 20px;
    background: var(--bg); color: var(--ink); box-shadow: 0 20px 40px rgba(0,0,0,.12);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .25s, visibility .35s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a::after { display: none; }
  .header__cta { margin-left: auto; }
  .header.menu-open { background: var(--bg); color: var(--ink); }
  .about, .location, .reviews { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .js .reveal--right { transform: translateY(28px); }
  .rv-summary { position: static; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  :root { --header-h: 64px; }
  body { font-size: 15.5px; }
  .header__cta .btn { display: none; }
  .hero { min-height: min(92svh, 780px); }
  .facts { padding: 14px 16px; gap: 10px 18px; }
  .facts li { font-size: .88rem; }
  .facts .i { width: 18px; height: 18px; }
  .facts__price { margin-left: 0; width: 100%; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.2); }
  .spaces { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
  .amenities { grid-template-columns: 1fr 1fr; gap: 10px; }
  .amenity { padding: 14px; gap: 10px; font-size: .9rem; }
  .rules { grid-template-columns: 1fr; }
  .cal__months { grid-template-columns: 1fr; min-height: 320px; }
  .fields { grid-template-columns: 1fr; }
  .rv__head { flex-wrap: wrap; }
  .rv__head .stars { margin-left: 58px; width: 100%; margin-top: -8px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer { padding-bottom: 96px; }
  .mobile-bar {
    display: flex; position: fixed; inset: auto 0 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
    box-shadow: 0 -6px 24px rgba(0,0,0,.08); transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
  .mobile-bar span { color: var(--muted); font-size: .85rem; margin-left: 4px; }
  .lightbox__nav { top: auto; bottom: 22px; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
}

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