/* ==========================================================================
   Villa Wola · design tokens
   Theme: light, locked. Monochrome base (off-white / off-black) + one soft blue tint.
   Shape rule: images and cards 20px, inputs 12px, buttons pill.
   Type: Inter (variable, optical sizes) everywhere.
   ========================================================================== */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/assets/fonts/Inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/assets/fonts/Inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/assets/fonts/Inter-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/assets/fonts/Inter-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

:root {
  --bg: #ffffff;
  --bg-2: #f6f7f9;
  --bg-3: #eef0f4;
  --tint: #e6effb;
  --tint-2: #d6e5fa;
  --line: rgba(17, 18, 20, 0.08);
  --line-2: rgba(17, 18, 20, 0.14);
  --text: #111214;
  --muted: #5f656e;
  --muted-2: #9aa0a8;
  --ink: #111214;
  --ink-2: #2a2c30;
  --on-ink: #ffffff;
  --accent: #2563eb;
  --ok: #1f8a4c;
  --danger: #d4473a;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 20px;
  --r-sm: 12px;
  --r-pill: 999px;
  --nav-h: 72px;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1320px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 24px 60px -24px rgba(17, 18, 20, 0.25);
  --shadow-sm: 0 8px 24px -12px rgba(17, 18, 20, 0.18);

  --z-nav: 50;
  --z-menu: 60;
  --z-chat: 70;
  --z-modal: 80;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; font-feature-settings: 'cv11', 'ss01'; }
body.has-modal { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; font-variation-settings: 'opsz' 32; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dd, dt, address { margin: 0; font-style: normal; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 8px 14px; border-radius: var(--r-pill); }
.skip:focus { left: 8px; }

.h2 { font-size: clamp(2rem, 4vw, 3.25rem); max-width: 20ch; text-wrap: balance; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--muted); max-width: 58ch; line-height: 1.55; }
.small { font-size: 0.875rem; color: var(--muted); }
.eyebrow { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em; color: var(--muted); margin-bottom: 14px; }
.label { display: block; font-size: 0.75rem; font-weight: 500; color: var(--muted); margin-bottom: 4px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: var(--r-pill); font-weight: 500; font-size: 0.95rem; line-height: 1; white-space: nowrap; border: 1px solid transparent; transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s; }
.btn:active { transform: scale(0.98); }
.btn--accent { background: var(--ink); color: var(--on-ink); }
.btn--accent:hover { background: var(--ink-2); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--text); }
.btn--link { padding: 10px 2px; color: var(--muted); border-radius: 6px; }
.btn--link:hover { color: var(--text); }
.btn--sm { padding: 11px 18px; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn .ph { font-size: 1.1em; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line-2); color: var(--text); background: var(--bg); font-size: 1.15rem; transition: border-color 0.2s, background 0.2s; }
.icon-btn:hover { border-color: var(--text); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav { position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav); height: var(--nav-h); transition: background 0.35s, border-color 0.35s, color 0.35s; border-bottom: 1px solid transparent; color: #fff; }
.nav.is-scrolled, body.menu-open .nav { background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-color: var(--line); color: var(--text); }
.nav__inner { height: 100%; width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand__mark { font-weight: 600; font-size: 1.2rem; letter-spacing: -0.03em; }
.brand__sub { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.65; }
.nav__links { display: flex; justify-content: center; gap: 30px; font-size: 0.925rem; opacity: 0.9; }
.nav__links a { padding: 6px 0; transition: opacity 0.2s; }
.nav__links a:hover { opacity: 0.6; }
.nav__links a.is-active { font-weight: 500; }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav .btn--accent { background: #fff; color: var(--ink); }
.nav.is-scrolled .btn--accent { background: var(--ink); color: var(--on-ink); }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: var(--r-pill); border: 1px solid currentColor; font-size: 0.8rem; letter-spacing: 0.04em; opacity: 0.9; }
.lang__btn .fi, .lang__menu .fi { width: 20px; height: 15px; border-radius: 3px; background-size: cover; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.lang__menu li { display: flex; align-items: center; gap: 10px; }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); }
.lang__menu li { padding: 9px 12px; border-radius: 8px; font-size: 0.9rem; cursor: pointer; }
.lang__menu li:hover, .lang__menu li.is-active { background: var(--bg-3); }

.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.burger span { width: 22px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: var(--z-menu); background: var(--bg); padding: calc(var(--nav-h) + 24px) var(--gutter) 40px; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font-size: 2rem; font-weight: 500; letter-spacing: -0.03em; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu__cta { color: var(--accent); }
@media (max-width: 1023px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: auto auto; justify-content: space-between; }
  .nav__right .btn { display: none; }
  .burger { display: flex; }
}

/* ==========================================================================
   HERO (centered over the sky, fades into white)
   ========================================================================== */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-start; justify-content: center; overflow: hidden; isolation: isolate; background: var(--bg); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video, .hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.hero__video { display: none; }
.hero.has-video .hero__video { display: block; }
.hero.has-video .hero__slides { display: none; }
.hero__slides img { opacity: 0; transition: opacity 1.6s ease; will-change: transform, opacity; }
.hero__slides img.is-active { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .hero__slides img.is-active { animation: kenburns 8s linear forwards; } }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 18, 30, 0.72) 0%, rgba(10, 18, 30, 0.45) 36%, rgba(10, 18, 30, 0.12) 56%, rgba(255, 255, 255, 0) 68%, rgba(255, 255, 255, 0.92) 90%, #fff 100%); }
.hero__content { position: relative; width: min(100% - 2 * var(--gutter), 900px); text-align: center; padding-top: calc(var(--nav-h) + clamp(40px, 9vh, 96px)); color: #fff; display: flex; flex-direction: column; align-items: center; }
.hero__title { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.02; max-width: 16ch; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.15); }
.hero__sub { margin-top: 20px; max-width: 48ch; font-size: clamp(1rem, 1.3vw, 1.15rem); color: rgba(255, 255, 255, 0.92); line-height: 1.5; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.hero__cta { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hero__cta .btn--accent { background: var(--ink); color: var(--on-ink); }
.hero__cta .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.12); }
.hero__cta .btn--ghost:hover { border-color: #fff; }

/* ==========================================================================
   PROOF STRIP
   ========================================================================== */
.proof { padding: 8px 0 0; }
.proof__row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.proof__item { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 0.9rem; color: var(--muted); background: var(--bg); transition: border-color 0.2s, color 0.2s; }
.proof__item:hover { color: var(--text); border-color: var(--line-2); }
.proof__item strong { color: var(--text); font-weight: 600; margin-right: 2px; }
.proof__item img { width: 20px; height: 20px; }

/* ==========================================================================
   INTRO (statement + facts)
   ========================================================================== */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(80px, 11vh, 140px) 0; }
.intro__media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); }
.intro__media img { width: 100%; height: 115%; object-fit: cover; }
.intro__text { display: flex; flex-direction: column; gap: 22px; }
.intro__text .h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.facts > div { background: var(--bg-2); border-radius: 16px; padding: 18px 16px; }
.facts dt { font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.facts dd { font-size: 0.82rem; color: var(--muted); margin-top: 8px; line-height: 1.35; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; padding: 64px 0; } }

/* ==========================================================================
   VILLAS
   ========================================================================== */
.villas { padding: 0 0 clamp(80px, 11vh, 140px); }
.villas .lead { margin-top: 14px; }
.villa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.villa { background: var(--bg-2); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.3s, transform 0.3s var(--ease); }
.villa:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.villa__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: block; }
.villa__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), opacity 0.6s ease; }
.villa__alt { position: absolute; inset: 0; opacity: 0; }
.villa:hover .villa__media img:first-child { transform: scale(1.03); }
.villa:hover .villa__alt { opacity: 1; }
.villa__body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.villa__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.villa__head h3 { font-size: 1.6rem; }
.rating { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.rating .ph { color: var(--text); }
.rating small { color: var(--muted); font-weight: 400; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; }
.specs li { display: inline-flex; align-items: center; gap: 7px; font-size: 0.85rem; color: var(--text); background: var(--bg); border-radius: var(--r-pill); padding: 7px 12px; }
.specs .ph { font-size: 1.05rem; }
.villa__body > p { color: var(--muted); line-height: 1.6; }
.villa__actions { margin-top: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 4px; }
@media (max-width: 900px) { .villa-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   SPA (horizontal pan)
   ========================================================================== */
.spa { background: var(--bg-2); padding-top: clamp(80px, 11vh, 140px); }
.spa__head { padding-bottom: 36px; }
.pan { overflow: hidden; }
.pan__track { display: flex; gap: 20px; padding: 0 var(--gutter) 80px; width: max-content; }
.panel { position: relative; flex: 0 0 auto; height: clamp(440px, 66vh, 740px); aspect-ratio: 16 / 10; max-width: 86vw; border-radius: var(--r); overflow: hidden; background: var(--bg-3); }
.panel img { width: 100%; height: 100%; object-fit: cover; }
.panel__text { position: absolute; left: 20px; bottom: 20px; right: 20px; padding: 18px 22px; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 16px; max-width: 460px; }
.panel__text h3 { font-size: 1.35rem; }
.panel__text p { margin-top: 4px; color: var(--muted); font-size: 0.925rem; }
@media (max-width: 900px) {
  .pan { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .pan::-webkit-scrollbar { display: none; }
  .pan__track { padding-bottom: 56px; }
  .panel { width: 84vw; height: auto; scroll-snap-align: center; aspect-ratio: 4 / 5; }
  .panel__text { left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; }
}

/* ==========================================================================
   ROOMS (bento, 5 cells)
   ========================================================================== */
.rooms { padding: clamp(80px, 11vh, 140px) 0; }
.bento { margin-top: 40px; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); grid-template-rows: 300px 300px 300px; grid-template-areas: "master master dining" "master master kitchen" "bath terrace terrace"; }
.cell { position: relative; border-radius: var(--r); overflow: hidden; background: var(--bg-3); display: block; }
.cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cell:hover img { transform: scale(1.03); }
.cell__cap { position: absolute; left: 16px; bottom: 16px; right: 16px; padding: 14px 18px; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 14px; }
.cell__cap h3 { font-size: 1.1rem; }
.cell__cap p { margin-top: 3px; font-size: 0.85rem; color: var(--muted); max-width: 44ch; }
.cell--master { grid-area: master; }
.cell--master .cell__cap h3 { font-size: 1.5rem; }
.cell--master .cell__cap { max-width: 520px; }
.cell--dining { grid-area: dining; }
.cell--kitchen { grid-area: kitchen; }
.cell--bath { grid-area: bath; }
.cell--terrace { grid-area: terrace; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; grid-template-areas: "master master" "dining kitchen" "bath terrace"; }
  .cell { aspect-ratio: 1; }
  .cell--master { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "master" "dining" "kitchen" "bath" "terrace"; }
  .cell { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery { padding-bottom: clamp(80px, 11vh, 140px); }
.gallery__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 9px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); background: var(--bg); transition: all 0.2s; }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.is-active { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.masonry { columns: 3; column-gap: 14px; }
.masonry button { display: block; width: 100%; margin: 0 0 14px; border-radius: 16px; overflow: hidden; break-inside: avoid; padding: 0; background: var(--bg-3); }
.masonry button[hidden] { display: none; }
.masonry img { width: 100%; height: auto; aspect-ratio: var(--ar, 3 / 2); object-fit: cover; background: var(--bg-3); transition: transform 0.8s var(--ease); }
.masonry button:hover img { transform: scale(1.03); }
.gallery__more { display: flex; justify-content: center; margin-top: 12px; }
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 520px) { .masonry { columns: 1; } }

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews { background: var(--bg-2); padding: clamp(80px, 11vh, 140px) 0; }
.reviews__head { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: start; margin-bottom: 36px; }
.reviews__score { display: flex; flex-direction: column; gap: 4px; }
.reviews__big { font-size: clamp(4rem, 8vw, 6.5rem); line-height: 0.9; letter-spacing: -0.05em; font-weight: 500; }
.stars { color: var(--text); font-size: 1rem; letter-spacing: 1px; }
.reviews__head .lead { margin-top: 12px; }
.reviews__scroller { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(var(--gutter), calc((100vw - var(--maxw)) / 2)) 20px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); scrollbar-width: none; }
.reviews__scroller::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(86vw, 380px); scroll-snap-align: start; background: var(--bg); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); }
.review__q { font-size: 1.02rem; line-height: 1.5; }
.review__q::before { content: '“'; margin-right: 1px; color: var(--muted-2); }
.review__q::after { content: '”'; margin-left: 1px; color: var(--muted-2); }
.review__meta { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 0.82rem; color: var(--muted); }
.review__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--accent); display: grid; place-items: center; font-weight: 600; }
.review__meta strong { display: block; color: var(--text); font-weight: 500; }
.reviews__nav { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.reviews__nav .btn--link { margin-left: auto; }
@media (max-width: 720px) { .reviews__head { grid-template-columns: 1fr; gap: 20px; } }

/* ==========================================================================
   LOCATION + SATELLITE MAP
   ========================================================================== */
.location { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); padding: clamp(80px, 11vh, 140px) 0; align-items: center; }
.location__map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: #0c1116; box-shadow: var(--shadow); isolation: isolate; }
#map { position: absolute; inset: 0; background: #0c1116; }
.leaflet-container { font-family: var(--font); }
.leaflet-tile-pane { filter: saturate(0.85) contrast(1.08) brightness(0.92); }
#map.is-plan .leaflet-tile-pane { filter: none; }
#map.is-plan ~ .map__vignette { display: none; }
.leaflet-control-attribution { background: rgba(12, 17, 22, 0.55) !important; color: rgba(255, 255, 255, 0.55) !important; font-size: 10px; border-radius: 6px 0 0 0; }
#map.is-plan .leaflet-control-attribution { background: rgba(255, 255, 255, 0.7) !important; color: var(--muted) !important; }
.leaflet-control-attribution a { color: inherit !important; }
.map__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.45) 100%); z-index: 400; }
.map__zoom { position: absolute; right: 16px; top: 16px; z-index: 500; display: flex; flex-direction: column; gap: 6px; }
.map__zoom button { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, 0.92); color: var(--text); font-size: 1.2rem; display: grid; place-items: center; backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.map__card { position: absolute; left: 16px; bottom: 16px; z-index: 500; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; max-width: 320px; box-shadow: var(--shadow-sm); }
.map__card strong { font-size: 0.95rem; }
.map__card span { font-size: 0.82rem; color: var(--muted); }
.map__card a { font-size: 0.85rem; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
.map__layers { position: absolute; left: 16px; top: 16px; z-index: 500; display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); }
.map__layers button { padding: 7px 12px; border-radius: var(--r-pill); font-size: 0.78rem; font-weight: 500; color: var(--muted); }
.map__layers button.is-active { background: var(--ink); color: var(--on-ink); }
.vw-pin { position: relative; width: 22px; height: 22px; }
.vw-pin::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(17, 18, 20, 0.9), 0 6px 16px rgba(0, 0, 0, 0.5); }
.vw-pin::after { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.8); animation: pinPulse 2.2s ease-out infinite; }
@keyframes pinPulse { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(1.4); opacity: 0; } }
.vw-label { background: rgba(17, 18, 20, 0.85); color: #fff; padding: 5px 9px; border-radius: 8px; font-size: 11px; font-weight: 500; white-space: nowrap; letter-spacing: 0.01em; border: 0; box-shadow: none; }
.vw-label::before { display: none; }
.location__text { display: flex; flex-direction: column; gap: 20px; }
.distances { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.distances li { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--bg-2); border-radius: 14px; }
.distances strong { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.03em; }
.distances span { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 900px) { .location { grid-template-columns: 1fr; } .map__card { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 12px 14px; } .map__card span { font-size: 0.78rem; } }

/* ==========================================================================
   BOOKING ENGINE
   ========================================================================== */
.book { background: var(--bg-2); padding: clamp(80px, 11vh, 140px) 0; }
.book__head { margin-bottom: 36px; }
.book__head .lead { margin-top: 14px; }
.engine { display: grid; grid-template-columns: 1fr 400px; gap: 20px; align-items: start; }
.engine__cal { background: var(--bg); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-sm); }
.engine__villas { display: inline-flex; gap: 2px; padding: 4px; background: var(--bg-3); border-radius: var(--r-pill); margin-bottom: 20px; }
.seg { padding: 9px 16px; border-radius: var(--r-pill); font-size: 0.875rem; color: var(--muted); transition: all 0.2s; }
.seg.is-active { background: var(--bg); color: var(--text); box-shadow: var(--shadow-sm); }
.cal__nav { display: flex; align-items: center; gap: 12px; }
.cal__months { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.month__title { font-size: 1rem; font-weight: 500; text-align: center; margin-bottom: 12px; text-transform: capitalize; }
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.month__dow { font-size: 0.7rem; color: var(--muted-2); text-align: center; padding: 6px 0; text-transform: capitalize; }
.day { aspect-ratio: 1; display: grid; place-items: center; font-size: 0.9rem; border-radius: 10px; position: relative; color: var(--text); transition: background 0.15s, color 0.15s; font-variant-numeric: tabular-nums; }
.day.is-empty { pointer-events: none; }
.day.is-past { color: var(--muted-2); pointer-events: none; }
.day.is-busy { color: var(--muted-2); text-decoration: line-through; pointer-events: none; background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(17, 18, 20, 0.05) 4px 6px); }
.day.is-checkout-only { pointer-events: auto; text-decoration: none; color: var(--muted); }
.day:not(.is-past):not(.is-busy):hover { background: var(--bg-3); }
.day.in-range { background: var(--tint); color: var(--text); border-radius: 0; }
.day.is-start, .day.is-end { background: var(--ink); color: var(--on-ink); font-weight: 600; }
.day.is-start { border-radius: 10px 0 0 10px; }
.day.is-end { border-radius: 0 10px 10px 0; }
.day.is-start.is-end { border-radius: 10px; }
.day.is-today::after { content: ''; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.cal__legend { display: flex; gap: 18px; align-items: center; margin-top: 18px; font-size: 0.8rem; color: var(--muted); flex-wrap: wrap; }
.cal__legend > span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.sw--free { background: var(--bg-3); }
.sw--busy { background: repeating-linear-gradient(135deg, var(--bg-3) 0 4px, var(--muted-2) 4px 6px); }
.cal__source { margin-left: auto; }
.cal__source.is-live { color: var(--ok); }
.cal__source.is-demo { color: var(--accent); }

.engine__side { position: sticky; top: calc(var(--nav-h) + 16px); display: flex; flex-direction: column; gap: 14px; }
.summary { background: var(--bg); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm); }
.summary__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.summary__dates > div { padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); }
.summary__dates strong { font-weight: 500; font-size: 1rem; }
.summary__guests { display: flex; align-items: center; justify-content: space-between; }
.stepper { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 2px; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; font-size: 1.1rem; }
.stepper button:hover { background: var(--bg-3); }
.stepper output { min-width: 36px; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }
.summary__price { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 0.925rem; }
.summary__hint { color: var(--muted); font-size: 0.9rem; }
.summary__row { display: flex; justify-content: space-between; color: var(--muted); }
.summary__row.total { color: var(--text); font-weight: 600; font-size: 1.05rem; padding-top: 8px; border-top: 1px solid var(--line); }
.summary__note { font-size: 0.78rem; color: var(--muted-2); }
.summary__warn { color: var(--danger); font-size: 0.9rem; }
.summary__ok { color: var(--ok); font-size: 0.9rem; display: inline-flex; gap: 6px; align-items: center; }
.summary__actions { display: flex; flex-direction: column; gap: 10px; }
.bform { background: var(--bg); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); }
.bform[hidden], .bsuccess[hidden] { display: none; }
.bform h3 { font-size: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.85rem; color: var(--text); }
.field input, .field textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--text); padding: 12px 14px; font: inherit; font-size: 0.95rem; transition: border-color 0.2s, background 0.2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--text); background: var(--bg); }
.field .err { display: none; font-size: 0.8rem; color: var(--danger); }
.field.is-invalid input { border-color: var(--danger); }
.field.is-invalid .err { display: block; }
.bsuccess { background: var(--bg); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; box-shadow: var(--shadow-sm); }
.bsuccess .ph { font-size: 2.4rem; color: var(--ok); }
.bsuccess h3 { font-size: 1.35rem; }
.bsuccess p { color: var(--muted); }
@media (max-width: 1023px) { .engine { grid-template-columns: 1fr; } .engine__side { position: static; } }
@media (max-width: 720px) { .cal__months { grid-template-columns: 1fr; } .cal__months .month:nth-child(2) { display: none; } .engine__villas { display: flex; width: 100%; } .seg { flex: 1; text-align: center; padding: 9px 8px; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer__grid h4 { font-size: 0.8rem; font-weight: 500; color: var(--muted); margin-bottom: 14px; letter-spacing: 0; }
.footer__grid a, .footer__grid address { display: block; color: var(--text); padding: 4px 0; font-size: 0.95rem; }
.footer__grid a:hover { color: var(--muted); }
.footer__brand p { margin-top: 12px; color: var(--muted); max-width: 36ch; font-size: 0.95rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted-2); }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   TRAILER + LIGHTBOX
   ========================================================================== */
dialog { border: 0; padding: 0; background: transparent; color: var(--text); max-width: 100vw; max-height: 100vh; }
dialog::backdrop { background: rgba(10, 12, 14, 0.9); backdrop-filter: blur(8px); }
.trailer { width: min(96vw, 1280px); }
.trailer__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r); overflow: hidden; }
.trailer__frame video { width: 100%; height: 100%; }
.trailer__close { position: absolute; top: -56px; right: 0; }
.trailer__soon { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff; }
.trailer__soon[hidden] { display: none; }
.trailer__soon-bg { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; filter: brightness(0.4) saturate(0.8); }
.trailer__soon-bg img { width: 100%; height: 100%; object-fit: cover; }
.trailer__soon p { position: relative; font-size: 1.1rem; }
.trailer__soon strong { font-size: 2rem; font-weight: 500; letter-spacing: -0.03em; }
.trailer__soon span { color: rgba(255, 255, 255, 0.7); }
.lightbox { width: 100vw; height: 100vh; display: none; place-items: center; }
.lightbox[open] { display: grid; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.lightbox img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 16px; }
.lightbox figcaption { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.lightbox__close { position: fixed; top: 20px; right: 20px; }
.lightbox__prev, .lightbox__next { position: fixed; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
@media (max-width: 720px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; } }

/* ==========================================================================
   CONCIERGE CHAT
   ========================================================================== */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: var(--z-chat); display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; background: var(--ink); color: var(--on-ink); border-radius: var(--r-pill); font-weight: 500; font-size: 0.925rem; box-shadow: 0 16px 40px -12px rgba(17, 18, 20, 0.5); transition: transform 0.3s var(--ease), opacity 0.3s; }
.chat-fab .ph { font-size: 1.3rem; }
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab[aria-expanded="true"] { opacity: 0; pointer-events: none; }
.chat { position: fixed; right: 20px; bottom: 20px; z-index: var(--z-chat); width: min(400px, calc(100vw - 40px)); height: min(640px, calc(100dvh - 40px)); display: flex; flex-direction: column; background: var(--bg); border-radius: 24px; box-shadow: 0 30px 90px -20px rgba(17, 18, 20, 0.45), 0 0 0 1px var(--line); transform-origin: bottom right; animation: chatIn 0.35s var(--ease); overflow: hidden; }
.chat[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }
.chat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 16px 16px 20px; border-bottom: 1px solid var(--line); }
.chat__head > div { display: flex; flex-direction: column; gap: 2px; }
.chat__head strong { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.chat__status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--muted); }
.chat__status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: inline-block; }
.chat__status.is-off .dot { background: var(--danger); }
.chat__head .icon-btn { width: 36px; height: 36px; border-color: transparent; background: var(--bg-2); }
.chat__log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; }
.msg { max-width: 84%; padding: 11px 15px; border-radius: 18px; font-size: 0.925rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.msg--bot { align-self: flex-start; background: var(--bg-2); border-bottom-left-radius: 6px; }
.msg--user { align-self: flex-end; background: var(--ink); color: var(--on-ink); border-bottom-right-radius: 6px; }
.msg--err { align-self: stretch; background: #fdeeec; color: #8b2a21; font-size: 0.85rem; }
.msg--err a { color: inherit; text-decoration: underline; }
.msg.is-typing::after { content: ''; display: inline-block; width: 8px; height: 8px; margin-left: 4px; border-radius: 50%; background: var(--muted-2); vertical-align: middle; animation: blink 0.9s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chat__chips { display: flex; gap: 6px; padding: 0 16px 10px; overflow-x: auto; scrollbar-width: none; }
.chat__chips::-webkit-scrollbar { display: none; }
.chat__chips button { flex: 0 0 auto; padding: 8px 13px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font-size: 0.8rem; color: var(--text); background: var(--bg); transition: all 0.2s; }
.chat__chips button:hover { background: var(--bg-2); }
.chat__form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 12px 14px 16px; border-top: 1px solid var(--line); }
.chat__form textarea { flex: 1; resize: none; max-height: 120px; background: var(--bg-2); border: 1px solid transparent; border-radius: 14px; color: var(--text); padding: 11px 13px; font: inherit; font-size: 0.925rem; line-height: 1.4; }
.chat__form textarea::placeholder { color: var(--muted-2); }
.chat__form textarea:focus { outline: none; border-color: var(--text); background: var(--bg); }
.chat__send { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-size: 1.1rem; flex: 0 0 auto; transition: transform 0.2s var(--ease), background 0.2s; }
.chat__send:hover { background: var(--ink-2); }
.chat__send:active { transform: scale(0.94); }
.chat__send:disabled { opacity: 0.5; }
@media (max-width: 480px) { .chat { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; } .chat-fab span { display: none; } .chat-fab { padding: 14px; } }

/* ==========================================================================
   MOTION
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.no-js .reveal, .reveal.is-visible, html.reduced .reveal { opacity: 1; transform: none; }
.hero__title, .hero__sub, .hero__cta { animation: heroIn 1s var(--ease) both; }
.hero__sub { animation-delay: 0.25s; }
.hero__cta { animation-delay: 0.45s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
