/* Ількова садиба — палітра з фото: смерека, соснове дерево, бірюза басейну, тинк, бруківка */
:root {
  --spruce: #17302a;
  --spruce-2: #22463b;
  --deep: #0f241f;
  --pine: #c27a3e;
  --pine-d: #8e5126;
  --wood: #5a3420;
  --pool: #4fcfcb;
  --pool-d: #1f9c9a;
  --brick: #b4553d;
  --plaster: #f3ece0;
  --paper: #fbf8f2;
  --glass: rgba(251, 248, 242, .86);
  --ink: #1d1f1b;
  --mute: #5e6158;
  --line: rgba(23, 48, 42, .14);
  --ff-d: 'Piazzolla', Georgia, serif;
  --ff-b: 'Commissioner', system-ui, sans-serif;
  --r: 18px;
  --card: 28px;
  --gut: clamp(16px, 3.4vw, 48px);
  --sec: clamp(44px, 5.5vw, 76px);
  --ease: cubic-bezier(.22, .9, .24, 1);
  --spring: cubic-bezier(.3, 1.45, .5, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: #eef1e4; overflow-x: clip; }
body { margin: 0; font-family: var(--ff-b); font-size: 16px; line-height: 1.55; color: var(--ink); background: transparent; overflow-x: hidden; }
body.is-loading, body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { font-family: var(--ff-d); font-weight: 600; margin: 0; line-height: 1.04; letter-spacing: -.01em; }
em { font-style: italic; font-weight: 400; }
::selection { background: var(--pool); color: var(--spruce); }
main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 0 clamp(8px, 1.4vw, 18px); overflow-x: clip; }
body { overflow-x: clip; }

/* ---------- 3D-фон ---------- */
.bg3d { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -2; display: block; }
.bg-grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .18; mix-blend-mode: multiply;
  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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0 0.2 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.eyebrow { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--pine-d); font-weight: 700; margin: 0 0 12px; }
.eyebrow--pool { color: var(--pool); }
.h2 { font-size: clamp(34px, 4.6vw, 62px); color: var(--spruce); }
.h2 em { color: var(--pine); }
.h2--light { color: var(--plaster); }
.h2--light em { color: var(--pool); }

/* Секції-картки над 3D-ландшафтом */
.about, .houses, .territory, .gallery, .faq, .contacts { background: var(--glass); border-radius: var(--card); box-shadow: 0 30px 60px -50px rgba(15, 36, 31, .6); }
.reviews, .booking { border-radius: var(--card); }

/* ---------- Кнопки ---------- */
.btn {
  --bg: var(--spruce); --fg: var(--plaster);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 15px;
  position: relative; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::after { content: ''; position: absolute; inset: -2px; z-index: -1; background: rgba(255,255,255,.2); transform: translateY(102%); border-radius: 40% 40% 0 0; transition: transform .55s var(--ease), border-radius .55s; }
.btn:hover::after { transform: none; border-radius: 0; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(0,0,0,.45); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--big { min-height: 58px; padding: 0 30px; font-size: 16px; }
.btn__arr { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .btn__arr { transform: translateX(5px); }
.btn--wood { --bg: var(--pine); --fg: #fff; }
.btn--pool { --bg: var(--pool); --fg: var(--spruce); }
.btn--line { --bg: transparent; --fg: var(--spruce); border: 1.5px solid currentColor; }
.btn--ghost-d { --bg: transparent; --fg: var(--spruce); }
.btn--viber { --bg: #7360f2; --fg: #fff; }
.btn--tg { --bg: #2aabee; --fg: #fff; }
.btn--copy { --bg: rgba(255,255,255,.18); --fg: #fff; border: 1.5px solid rgba(255,255,255,.4); }

.link { font-weight: 600; color: var(--pine-d); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: color .3s; }
.link:hover { color: var(--brick); }
.link--light { color: var(--pool); }

.arrow { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--spruce); color: var(--spruce); font-size: 20px; display: grid; place-items: center; transition: background .3s, color .3s, transform .3s var(--ease); }
.arrow:hover { background: var(--spruce); color: var(--plaster); transform: scale(1.06); }
.arrow--light { border-color: rgba(243,236,224,.5); color: var(--plaster); }
.arrow--light:hover { background: var(--plaster); color: var(--spruce); }

/* ---------- Прелоадер ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--spruce); color: var(--plaster); display: grid; place-items: center; align-content: center; gap: 10px; transition: clip-path 1.1s var(--ease); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.loader.is-done { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
.loader__house { width: min(36vw, 170px); }
.loader__water { transform: translateY(190px); transition: transform .35s linear; }
.loader__wave { fill: var(--pool); animation: wave 1.6s linear infinite; }
@keyframes wave { to { transform: translateX(100px); } }
.loader__num { font-family: var(--ff-d); font-size: 54px; font-weight: 800; line-height: 1; }
.loader__num small { font-size: 22px; color: var(--pool); margin-left: 4px; }
.loader__cap { margin: 0; font-size: 14px; opacity: .7; font-style: italic; font-family: var(--ff-d); }

/* ---------- Курсор-камінчик ---------- */
.pebble { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; width: 22px; height: 18px; margin: -9px 0 0 -11px; background: radial-gradient(circle at 35% 30%, #d9cbb5, #8d8173 70%); border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%; box-shadow: inset -2px -3px 4px rgba(0,0,0,.25); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), border-radius .35s var(--ease), background .35s; display: grid; place-items: center; will-change: transform; }
.pebble__label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.pebble.is-tag { width: 92px; height: 34px; margin: -17px 0 0 -46px; border-radius: 6px 18px 6px 18px; background: linear-gradient(100deg, var(--pine), var(--pine-d)); box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); }
.pebble.is-tag .pebble__label { opacity: 1; }
.ripple { position: fixed; z-index: 299; pointer-events: none; width: 10px; height: 6px; margin: -3px 0 0 -5px; border: 1.5px solid var(--pool); border-radius: 50%; animation: ripple .8s var(--ease) forwards; }
@keyframes ripple { to { transform: scale(9); opacity: 0; } }
@media (pointer: coarse), (hover: none) { .pebble { display: none; } }
@media (pointer: fine) { body.has-pebble, body.has-pebble a, body.has-pebble button, body.has-pebble label { cursor: none; } }

/* ---------- Шапка ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 90; display: flex; align-items: center; gap: 26px; padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gut) 12px; color: var(--spruce); transition: background .4s, color .4s, padding .4s, transform .5s var(--ease); }
.top.is-solid { background: rgba(251, 248, 242, .9); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding-block: 8px; }
.top.is-hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--ff-d); font-weight: 800; font-size: 22px; line-height: .9; }
.brand svg { width: 38px; height: 38px; }
.brand i { display: block; font-weight: 400; font-size: 17px; color: var(--pine); }
.top__nav { display: flex; gap: 26px; margin-left: auto; font-weight: 500; font-size: 15px; }
.top__nav a { position: relative; }
.top__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--pool); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.top__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.top__phone { font-weight: 600; font-size: 15px; }
.top__cta { min-height: 44px; }
.burger { width: 50px; height: 50px; border-radius: 14px; background: var(--wood); color: var(--plaster); display: grid; place-content: center; gap: 4px; position: relative; z-index: 3; transition: transform .4s var(--spring); }
.burger:hover { transform: rotate(-6deg) scale(1.05); }
.burger span { width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease), opacity .3s; }
.burger span:nth-child(2) { width: 14px; justify-self: end; }
body.menu-open .burger { background: var(--pool); color: var(--spruce); }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
body.menu-open .top { background: transparent; box-shadow: none; backdrop-filter: none; color: var(--plaster); }

/* ---------- Меню: віконниці ---------- */
.menu { position: fixed; inset: 0; z-index: 80; perspective: 1800px; pointer-events: none; visibility: hidden; transition: visibility 0s .9s; }
.menu.is-open { pointer-events: auto; visibility: visible; transition: none; }
.menu__view { position: absolute; inset: 0; background: var(--deep); opacity: 0; transition: opacity .5s; }
.menu__view img { width: 100%; height: 100%; object-fit: cover; opacity: .35; transform: scale(1.1); transition: transform 1.4s var(--ease); }
.menu.is-open .menu__view { opacity: 1; }
.menu.is-open .menu__view img { transform: scale(1); }
.menu__view-cap { display: none; }
.shutter {
  position: absolute; top: 0; bottom: 0; width: 50.2%;
  background:
    linear-gradient(90deg, rgba(0,0,0,.25), transparent 6%, transparent 94%, rgba(0,0,0,.25)),
    repeating-linear-gradient(90deg, #5a3420 0 calc(100% / 5 - 3px), #3e2214 calc(100% / 5 - 3px) calc(100% / 5)),
    linear-gradient(180deg, #6b3f27, #4a2a19);
  box-shadow: inset 0 0 0 14px #3a2013, inset 0 0 0 16px #8e5126;
  transition: transform .85s var(--spring);
  backface-visibility: hidden;
}
.shutter::before { /* поперечна планка */ content: ''; position: absolute; left: 14px; right: 14px; top: 50%; height: 26px; margin-top: -13px; background: linear-gradient(#7b4a2c, #5a3420); box-shadow: 0 4px 10px rgba(0,0,0,.35); }
.shutter--l { left: 0; transform-origin: left center; transform: rotateY(98deg); }
.shutter--r { right: 0; transform-origin: right center; transform: rotateY(-98deg); }
.menu.is-open .shutter--l, .menu.is-open .shutter--r { transform: rotateY(0); }
.menu.is-closing .shutter { transition: transform .6s var(--ease); }
.shutter__carve { /* різьблена розетка */
  position: absolute; left: 50%; top: 50%; width: min(26vw, 260px); aspect-ratio: 1; transform: translate(-50%, -50%); opacity: .22;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23f3ece0' stroke-width='2'%3E%3Cpath d='M50 4 L96 50 L50 96 L4 50Z'/%3E%3Cpath d='M50 18 L82 50 L50 82 L18 50Z'/%3E%3Cpath d='M50 32 L68 50 L50 68 L32 50Z'/%3E%3Cpath d='M50 4V96M4 50H96'/%3E%3Ccircle cx='50' cy='50' r='6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.menu__inner { position: relative; height: 100%; display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px clamp(28px, 5vw, 80px); padding: calc(96px + env(safe-area-inset-top, 0px)) clamp(28px, 6vw, 96px) 40px; color: var(--plaster); overflow-y: auto; }
.menu__nav { display: flex; flex-direction: column; justify-content: center; counter-reset: m; }
.menu__nav a { display: flex; align-items: baseline; gap: 14px; width: fit-content; font-family: var(--ff-d); font-size: clamp(30px, 4.4vw, 60px); line-height: 1.1; font-weight: 600; opacity: 0; transform: translateX(-40px) rotate(-2deg); transition: opacity .4s, transform .6s var(--ease), color .3s; }
.menu__nav a small { font-family: var(--ff-b); font-size: 13px; color: var(--pool); font-weight: 600; transition: transform .4s var(--ease); }
.menu__nav a span { position: relative; }
.menu__nav a span::after { content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .09em; background: var(--pool); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.menu__nav a:hover { color: var(--pool); font-style: italic; }
.menu__nav a:hover small { transform: translateX(-6px) rotate(-90deg); }
.menu__nav a:hover span::after { transform: scaleX(1); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; transition-delay: calc(.5s + var(--k) * 45ms); }
.menu__side { align-self: center; display: grid; gap: 18px; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease); }
.menu.is-open .menu__side { opacity: 1; transform: none; transition-delay: .75s; }
.menu__side::before { /* віконце з видом */ content: ''; display: block; aspect-ratio: 5/4; border-radius: 200px 200px 14px 14px; border: 8px solid #3a2013; box-shadow: 0 0 0 2px #8e5126, 0 30px 50px -20px rgba(0,0,0,.6); background: var(--view, url(../img/p9.jpg)) center / cover; transition: background-image .4s; }
.menu__book { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; padding: 18px 22px; border-radius: 16px; background: var(--pool); color: var(--spruce); transition: transform .4s var(--spring); }
.menu__book:hover { transform: rotate(-1.5deg) scale(1.02); }
.menu__book small { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; opacity: .7; }
.menu__book b { font-family: var(--ff-d); font-size: 24px; grid-column: 1; }
.menu__book span { grid-row: 1 / span 2; grid-column: 2; font-size: 28px; }
.menu__contacts { display: flex; flex-wrap: wrap; gap: 8px; }
.menu__contacts a { padding: 8px 14px; border-radius: 99px; border: 1.5px solid rgba(243,236,224,.35); font-weight: 600; font-size: 14px; transition: background .3s, color .3s; }
.menu__contacts a:hover { background: var(--plaster); color: var(--spruce); }
.menu__side p { margin: 0; font-size: 14px; opacity: .75; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 24px clamp(20px, 4vw, 60px); padding: calc(96px + env(safe-area-inset-top, 0px)) var(--gut) 56px; }
.hero__copy { position: relative; z-index: 2; }
.hero__copy::before { content: ''; position: absolute; inset: -18% -20% -18% -30%; z-index: -1; background: radial-gradient(closest-side, rgba(251,248,242,.94), rgba(251,248,242,.7) 55%, rgba(251,248,242,0)); pointer-events: none; }
.hero__kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 600; letter-spacing: .04em; color: var(--spruce); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pool); box-shadow: 0 0 0 0 rgba(79,207,203,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(79,207,203,0); } 100% { box-shadow: 0 0 0 0 rgba(79,207,203,0); } }
.hero__title { font-size: clamp(66px, 10.4vw, 166px); font-weight: 800; line-height: .84; letter-spacing: -.04em; color: var(--spruce); }
.hero__title > span { display: block; }
.hero__w2 { font-style: italic; font-weight: 400; color: var(--pine); padding-left: .55em; }
.char { display: inline-block; will-change: transform; }
.hero__lead { margin: 18px 0 22px; font-size: clamp(16px, 1.35vw, 19px); max-width: 470px; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.rating, .hero__mini { display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; padding: 10px 16px; border-radius: 16px; background: rgba(255,255,255,.72); border: 1px solid var(--line); }
.rating b, .hero__mini b { font-family: var(--ff-d); font-size: 32px; line-height: 1; grid-row: span 2; color: var(--spruce); }
.hero__mini b { font-size: 24px; }
.stars { color: #f0a92c; letter-spacing: 2px; font-size: 13px; }
.rating small, .hero__mini small { font-size: 12.5px; color: var(--mute); }

.hero__visual { position: relative; height: min(76vh, 680px); }
.frame { position: absolute; inset: 0 6% 0 6%; clip-path: polygon(50% 0, 100% 30%, 100% 100%, 0 100%, 0 30%); border-radius: 0 0 24px 24px; overflow: hidden; background: var(--spruce); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1.2s ease, transform 6s linear; }
.frame img.is-on { opacity: 1; transform: scale(1); }
.frame::after { /* дерев'яна обрамівка фронтону */ content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,36,31,.0) 60%, rgba(15,36,31,.55)); pointer-events: none; }
.frame__count { position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translateX(-50%); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .1em; }
.badge { position: absolute; right: -2%; bottom: 8%; width: clamp(120px, 12vw, 170px); z-index: 3; animation: spin 22s linear infinite; filter: drop-shadow(0 10px 20px rgba(0,0,0,.25)); }
.badge text { font-family: var(--ff-b); font-size: 14.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; fill: var(--spruce); }
.badge::before { content: ''; }
.badge circle { fill: var(--pool); }
.badge__tree { fill: var(--pine); transform-origin: 100px 100px; animation: spin 22s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.badge { background: radial-gradient(circle, var(--paper) 0 70%, transparent 71%); border-radius: 50%; }
.chip { position: absolute; z-index: 3; padding: 10px 16px; border-radius: 99px; background: var(--paper); color: var(--spruce); font-weight: 600; font-size: 14px; box-shadow: 0 14px 30px -14px rgba(0,0,0,.45); white-space: nowrap; animation: bob 5s ease-in-out infinite; }
.chip--a { left: -4%; top: 34%; }
.chip--b { right: -2%; top: 18%; animation-delay: -1.6s; background: var(--pine); color: #fff; }
.chip--c { left: 2%; bottom: 12%; animation-delay: -3s; background: var(--spruce); color: var(--plaster); }
@keyframes bob { 50% { translate: 0 -10px; } }
.scrolldown { position: absolute; left: 50%; bottom: 14px; width: 26px; height: 42px; border: 2px solid var(--spruce); border-radius: 14px; transform: translateX(-50%); opacity: .7; }
.scrolldown span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--spruce); animation: wheel 1.8s infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } 100% { opacity: 1; } }

/* ---------- Стрічка ---------- */
.ribbon { background: var(--pine); color: #fff; overflow: hidden; padding: 14px 0; transform: rotate(-1.2deg); margin: -10px 0 6px; border-radius: 6px; position: relative; z-index: 2; box-shadow: 0 10px 30px -18px rgba(0,0,0,.5); }
.ribbon__track { display: flex; gap: 26px; width: max-content; animation: marquee 38s linear infinite; font-family: var(--ff-d); font-size: clamp(19px, 2vw, 26px); font-style: italic; }
.ribbon b { color: var(--spruce); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Про садибу ---------- */
.about { padding: var(--sec) var(--gut); }
.about__text { font-size: clamp(28px, 4.2vw, 58px); line-height: 1.14; font-weight: 400; color: var(--spruce); max-width: 1200px; }
.about__text em { color: var(--pine); }
.about__text .w { display: inline-block; opacity: .14; transition: opacity .3s; }
.pic { display: inline-block; width: 2.3em; height: .9em; border-radius: 99px; background-size: cover; background-position: center; vertical-align: -.08em; transition: width .6s var(--ease); }
.pic--round { width: .95em; }
.about__text:hover .pic { width: 2.8em; }
.about__text:hover .pic--round { width: 1.4em; }
.about__facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 34px; border-top: 1px solid var(--line); }
.fact { padding: 18px 18px 0 0; }
.fact + .fact { padding-left: 20px; border-left: 1px solid var(--line); }
.fact b { display: block; font-family: var(--ff-d); font-size: clamp(36px, 4vw, 56px); font-weight: 800; color: var(--spruce); line-height: 1; }
.fact span { display: block; margin-top: 6px; font-size: 14px; color: var(--mute); max-width: 210px; }

/* ---------- 3D-модель ---------- */
.model { padding: var(--sec) 0 0; }
.model__head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 16px 40px; padding: 0 var(--gut) 22px; }
.model__head > div { background: var(--glass); padding: 16px 22px; border-radius: 20px; }
.model__hint { margin: 0; max-width: 460px; background: var(--glass); padding: 14px 18px; border-radius: 16px; font-size: 15px; color: var(--spruce); }
.mood { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--spruce); color: #fff; font-weight: 600; font-size: 14px; }
.mood__track { width: 56px; height: 30px; border-radius: 99px; background: linear-gradient(90deg, #ffd27a, #8ec5ff); position: relative; transition: background .5s; }
.mood[aria-pressed="true"] .mood__track { background: linear-gradient(90deg, #1b2b5a, #3a4f9a); }
.mood__knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff6d8; box-shadow: 0 0 12px #ffd27a; transition: transform .5s var(--spring), box-shadow .5s, background .5s; }
.mood[aria-pressed="true"] .mood__knob { transform: translateX(26px); background: #e8ecff; box-shadow: inset -7px -3px 0 #b5c0ee, 0 0 12px #9fb6ff; }
.mood__txt { display: grid; height: 1.3em; overflow: hidden; }
.mood__txt span { transition: transform .5s var(--ease); line-height: 1.3; }
.mood[aria-pressed="true"] .mood__txt span { transform: translateY(-100%); }

.stage { position: relative; height: min(82vh, 760px); min-height: 480px; border-radius: var(--card); overflow: hidden; background: #cfe0d8; box-shadow: 0 40px 80px -40px rgba(15,36,31,.6); }
.stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.stage__canvas:active { cursor: grabbing; }
.stage__spots { position: absolute; inset: 0; pointer-events: none; }
.spot { position: absolute; left: 0; top: 0; pointer-events: auto; display: flex; align-items: center; gap: 8px; transition: opacity .4s; }
.spot__dot { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--spruce); font-weight: 700; font-size: 13px; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); position: relative; }
.spot__dot::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); animation: spotPulse 2.4s infinite var(--ease); }
@keyframes spotPulse { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.spot__lbl { background: rgba(23,48,42,.88); color: #fff; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 99px; white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease); }
.spot:hover .spot__lbl, .spot.is-active .spot__lbl, .spot.is-hover .spot__lbl { opacity: 1; transform: none; }
.spot.is-active .spot__dot, .spot.is-hover .spot__dot { background: var(--pool); }
.spot.is-off { opacity: 0; pointer-events: none; }
.stage__tip { position: absolute; left: 0; top: 0; pointer-events: none; padding: 6px 12px; border-radius: 10px; background: var(--paper); color: var(--spruce); font-size: 13px; font-weight: 700; box-shadow: 0 10px 20px -10px rgba(0,0,0,.4); transform: translate(14px, 14px); white-space: nowrap; }
.stage__drag { position: absolute; left: 18px; bottom: 16px; padding: 8px 14px; border-radius: 99px; background: rgba(15,36,31,.7); color: #fff; font-size: 13px; font-weight: 600; pointer-events: none; display: flex; gap: 8px; align-items: center; }
.stage__drag span { display: inline-block; animation: spin 3s linear infinite; }

.reality { position: absolute; top: 16px; right: 16px; bottom: 16px; width: min(420px, calc(100% - 32px)); background: var(--paper); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 70px -20px rgba(0,0,0,.55); transform: translateX(calc(100% + 30px)) rotate(3deg); transition: transform .7s var(--spring); z-index: 4; }
.reality.is-open { transform: none; }
.reality__photo { position: relative; flex: 1 1 auto; min-height: 200px; overflow: hidden; background: var(--spruce); }
.reality__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: photoIn .8s var(--ease); }
@keyframes photoIn { from { clip-path: inset(0 0 100% 0); transform: scale(1.15); } to { clip-path: inset(0); transform: none; } }
.reality__badge { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 99px; background: var(--pool); color: var(--spruce); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.reality__nav { position: absolute; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--spruce); font-size: 18px; }
.reality__prev { right: 62px; } .reality__next { right: 14px; }
.reality__x { position: absolute; z-index: 2; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--spruce); font-size: 22px; line-height: 1; }
.reality__body { padding: 16px 20px 20px; flex: none; }
.reality__num { font-family: var(--ff-d); font-weight: 800; font-size: 13px; color: var(--pine); }
.reality__body h3 { font-size: 26px; color: var(--spruce); margin: 2px 0 6px; }
.reality__body p { margin: 0 0 12px; font-size: 15px; color: var(--mute); }
.reality__thumbs { display: flex; gap: 8px; margin-bottom: 14px; }
.reality__thumbs button { width: 58px; height: 44px; border-radius: 8px; background-size: cover; background-position: center; opacity: .55; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .3s, outline-color .3s; }
.reality__thumbs button.is-on { opacity: 1; outline-color: var(--pool-d); }
/* Легенда — скляна панель усередині сцени */
.model__legend { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 8px; border-radius: 22px; background: rgba(15,36,31,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.model__legend button { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; background: rgba(251,248,242,.94); font-weight: 600; font-size: 13.5px; color: var(--spruce); border: 1.5px solid transparent; transition: border-color .3s, background .3s, transform .3s var(--spring); }
.model__legend button b { width: 24px; height: 24px; border-radius: 50%; background: var(--spruce); color: #fff; display: grid; place-items: center; font-size: 12px; transition: background .3s; }
.model__legend button:hover, .model__legend button.is-active { border-color: var(--pool); background: #fff; transform: translateY(-2px); }
.model__legend button.is-active b { background: var(--pool-d); }
.stage .stage__drag { top: 16px; bottom: auto; }
.model { padding-bottom: 0; }
@media (max-width: 860px) {
  .model__legend { left: 10px; right: 10px; bottom: 10px; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .model__legend::-webkit-scrollbar { display: none; }
}

/* ---------- Будиночки ---------- */
.houses { padding: var(--sec) 0; }
.houses__head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 16px 40px; padding: 0 var(--gut); margin-bottom: 26px; }
.houses__head p { margin: 0; color: var(--mute); max-width: 420px; }
.houses__head q { font-style: italic; color: var(--spruce); }
.houses__nav { display: flex; gap: 10px; }
.houses__nav .arrow { background: var(--spruce); color: var(--plaster); border-color: var(--spruce); }
.houses__nav .arrow:hover { background: var(--pine); border-color: var(--pine); }
@media (hover: none) { .houses__nav .arrow:hover { background: var(--spruce); border-color: var(--spruce); transform: none; } .houses__nav .arrow:active { transform: scale(.92); } }
.deck { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 10px; scrollbar-width: none; cursor: grab; scroll-padding-inline: var(--gut); }
.deck::-webkit-scrollbar { display: none; }
.deck.is-drag { cursor: grabbing; scroll-snap-type: none; }
.deck.is-drag * { pointer-events: none; }
.house { flex: 0 0 min(370px, 80vw); scroll-snap-align: start; background: #fff; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.house:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(23,48,42,.45); }
/* Десктоп: усі 4 картки в один рівний ряд */
@media (min-width: 1101px) {
  .deck { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; cursor: default; scroll-snap-type: none; }
  .house { flex: none; }
  .houses__nav { display: none; }
  .houses__head { grid-template-columns: auto 1fr; }
}
/* Планшет: 2 × 2 */
@media (min-width: 700px) and (max-width: 1100px) {
  .deck { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; cursor: default; scroll-snap-type: none; }
  .house { flex: none; }
  .houses__nav { display: none; }
  .house__img { aspect-ratio: 16/10; }
}
.house__img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.house__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.house:hover .house__img img { transform: scale(1.07); }
.tag { position: absolute; left: 12px; top: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--spruce); background: var(--pool); padding: 4px 10px; border-radius: 99px; }
.house__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.house h3 { font-size: 26px; color: var(--spruce); margin-bottom: 8px; }
.house ul { list-style: none; margin: 0 0 16px; padding: 0; color: var(--mute); font-size: 15px; flex: 1; }
.house li { padding: 5px 0 5px 22px; position: relative; border-bottom: 1px dashed var(--line); }
.house li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 10px; height: 6px; border-radius: 50%; background: var(--pine); }
.house .link { align-self: flex-start; }

/* ---------- Територія ---------- */
.territory { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 60px); padding: var(--sec) var(--gut); align-items: start; }
.territory__media { margin: 0; position: sticky; top: 84px; aspect-ratio: 4/5; max-height: calc(100vh - 110px); width: 100%; border-radius: 240px 240px var(--r) var(--r); overflow: hidden; background: var(--plaster); }
.territory__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s, transform 1.2s var(--ease); }
.territory__media img.is-swap { opacity: 0; transform: scale(1.06); }
.territory__media figcaption { position: absolute; left: 18px; bottom: 16px; color: #fff; font-weight: 600; font-size: 14px; background: rgba(23,48,42,.6); padding: 4px 12px; border-radius: 99px; }
.territory__list .h2 { margin-bottom: 18px; }
.acc__item { border-top: 1px solid var(--line); }
.acc__item:last-child { border-bottom: 1px solid var(--line); }
.acc__head { width: 100%; display: flex; align-items: center; gap: 16px; padding: 16px 0; text-align: left; font-family: var(--ff-d); font-size: clamp(21px, 2.1vw, 28px); font-weight: 600; color: var(--spruce); transition: color .3s, padding .4s var(--ease); }
.acc__head span { font-family: var(--ff-b); font-size: 13px; color: var(--pine); font-weight: 600; }
.acc__head i { margin-left: auto; width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: background .35s, border-color .35s, transform .5s var(--ease); }
.acc__head i::before, .acc__head i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; transition: transform .45s var(--ease); }
.acc__head i::after { transform: rotate(90deg); }
.acc__item.is-open .acc__head i { background: var(--pool); border-color: var(--pool); transform: rotate(180deg); }
.acc__item.is-open .acc__head i::after { transform: rotate(0); }
.acc__head:hover { color: var(--pine-d); padding-left: 6px; }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc__body > div { overflow: hidden; }
.acc__body p { margin: 0 0 18px; color: var(--mute); max-width: 560px; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .5s var(--ease); }
.acc__item.is-open .acc__body { grid-template-rows: 1fr; }
.acc__item.is-open .acc__body p { opacity: 1; transform: none; transition-delay: .12s; }

/* ---------- Галерея ---------- */
.gallery { padding: var(--sec) var(--gut); }
.gallery__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 30px; margin-bottom: 22px; }
.gallery__head p { margin: 0; color: var(--mute); }
.grid { display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, clamp(140px, 15vw, 220px)); grid-template-areas: "a a b c" "a a b d" "e f g d"; }
.g { border-radius: 14px; overflow: hidden; position: relative; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g:hover img { transform: scale(1.07); }
.g::after { content: '+'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; color: #fff; background: rgba(23,48,42,.35); opacity: 0; transition: opacity .4s; }
.g:hover::after { opacity: 1; }
.g--a { grid-area: a; } .g--b { grid-area: b; } .g--c { grid-area: c; } .g--d { grid-area: d; }
.g--e { grid-area: e; } .g--f { grid-area: f; } .g--g { grid-area: g; }

/* ---------- Відгуки ---------- */
.reviews { background: rgba(23,48,42,.95); color: var(--plaster); padding: var(--sec) var(--gut); display: grid; grid-template-columns: minmax(230px, 320px) 1fr; grid-template-rows: 1fr auto; gap: 22px clamp(28px, 5vw, 80px); position: relative; overflow: hidden; }
.reviews .eyebrow { color: var(--pool); }
.reviews__score { grid-row: span 2; }
.big { display: flex; align-items: baseline; gap: 6px; font-family: var(--ff-d); }
.big b { font-size: clamp(84px, 9vw, 130px); line-height: .9; font-weight: 800; }
.big span { font-size: 26px; opacity: .6; }
.bars { display: grid; gap: 6px; margin: 18px 0 12px; }
.bars div { display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: center; font-size: 13px; }
.bars i { height: 6px; border-radius: 9px; background: rgba(243,236,224,.14); position: relative; overflow: hidden; }
.bars i::after { content: ''; position: absolute; inset: 0; width: var(--w); background: #ffc95a; border-radius: 9px; transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.reviews.is-in .bars i::after { transform: scaleX(1); }
.reviews .small { font-size: 14px; opacity: .7; margin: 0 0 14px; }
.postcards { position: relative; min-height: 320px; }
.postcard { position: absolute; inset: 0 0 auto; margin: 0 auto; max-width: 680px; background: var(--plaster); color: var(--ink); border-radius: 6px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); transition: transform .8s var(--ease), opacity .8s var(--ease); transform-origin: 50% 120%; background-image: repeating-linear-gradient(transparent 0 31px, rgba(23,48,42,.07) 31px 32px); }
.postcard::before { content: '★ 5'; position: absolute; top: 18px; right: 18px; width: 56px; height: 64px; display: grid; place-items: center; font-family: var(--ff-d); font-weight: 800; color: var(--pine-d); font-size: 15px; border: 2px dashed var(--pine); border-radius: 4px; transform: rotate(6deg); background: #fff8ec; }
.postcard p { font-family: var(--ff-d); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; margin: 0 70px 20px 0; font-style: italic; }
.postcard footer { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.postcard footer small { color: var(--mute); width: 100%; padding-left: 54px; margin-top: -10px; }
.ava { width: 42px; height: 42px; border-radius: 50%; background: var(--pine); color: #fff; display: grid; place-items: center; font-weight: 700; }
.postcard[data-pos="0"] { z-index: 5; transform: none; opacity: 1; }
.postcard[data-pos="1"] { z-index: 4; transform: translate(18px, 14px) rotate(2.5deg) scale(.97); opacity: .9; }
.postcard[data-pos="2"] { z-index: 3; transform: translate(34px, 26px) rotate(5deg) scale(.94); opacity: .6; }
.postcard[data-pos="3"], .postcard[data-pos="4"] { z-index: 2; transform: translate(40px, 30px) rotate(6deg) scale(.92); opacity: 0; }
.postcard.is-out { z-index: 6; transform: translate(-120%, -40px) rotate(-14deg) !important; opacity: 0 !important; }
.reviews__ctrl { grid-column: 2; display: flex; align-items: center; gap: 14px; max-width: 680px; width: 100%; margin: 0 auto; }
.reviews__dots { flex: 1; display: flex; gap: 6px; }
.reviews__dots button { flex: 1; height: 4px; border-radius: 4px; background: rgba(243,236,224,.2); position: relative; overflow: hidden; }
.reviews__dots button i { position: absolute; inset: 0; background: var(--pool); transform: scaleX(0); transform-origin: left; }
.reviews__dots button.is-done i { transform: scaleX(1); }
.reviews__count { font-variant-numeric: tabular-nums; font-size: 14px; opacity: .8; }

/* ---------- Бронювання ---------- */
.booking { background: rgba(15,36,31,.94); color: var(--plaster); padding: var(--sec) var(--gut); position: relative; overflow: hidden; }
.booking::before { content: ''; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(79,207,203,.18), transparent 65%); pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-20%, 30%); } }
.booking__head { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 30px; margin-bottom: 28px; }
.booking__call { font-family: var(--ff-d); font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--pool); line-height: 1.1; }
.booking__call small { display: block; font-family: var(--ff-b); font-size: 12px; font-weight: 600; color: var(--plaster); opacity: .7; letter-spacing: .1em; text-transform: uppercase; }
.booking__wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(22px, 4vw, 56px); align-items: start; }

.wizard { background: var(--paper); color: var(--ink); border-radius: 24px; padding: clamp(16px, 2.4vw, 28px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); min-width: 0; }
.wizard__steps { list-style: none; margin: 0 0 18px; padding: 0 0 12px; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; border-bottom: 2px solid var(--line); }
.wizard__steps button { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--mute); transition: color .3s; }
.wizard__steps b { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 13px; transition: background .3s, color .3s, border-color .3s; }
.wizard__steps li.is-on button, .wizard__steps li.is-done button { color: var(--spruce); }
.wizard__steps li.is-on b { background: var(--spruce); color: #fff; border-color: var(--spruce); }
.wizard__steps li.is-done b { background: var(--pool); border-color: var(--pool); color: var(--spruce); }
.wizard__bar { position: absolute; left: 0; bottom: -2px; height: 2px; width: 25%; background: var(--pine); transition: transform .6s var(--ease); }
.wizard__viewport { overflow: hidden; transition: height .5s var(--ease); }
.wizard__track { display: flex; align-items: flex-start; transition: transform .7s var(--ease); }
.panel { flex: 0 0 100%; min-width: 0; border: 0; margin: 0; padding: 2px; opacity: .2; transition: opacity .5s; }
.panel.is-on { opacity: 1; }
.panel__title { font-family: var(--ff-d); font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; color: var(--spruce); margin-bottom: 14px; padding: 0; }
.panel__sub { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--pine-d); margin: 18px 0 10px; }

/* Календар: яскравий і зрозумілий */
.cal__hint { display: flex; align-items: center; gap: 12px; margin: -4px 0 12px; padding: 12px 16px; border-radius: 14px; background: linear-gradient(100deg, #fff1dc, #e6fbf9); border: 1.5px solid rgba(194,122,62,.35); font-weight: 600; font-size: 15px; color: var(--spruce); }
.cal__hint b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--pine); color: #fff; font-size: 14px; animation: popIn .5s var(--spring); }
.cal__hint.is-done b { background: var(--pool-d); }
.cal__hint small { display: block; font-weight: 500; font-size: 13px; color: var(--mute); }
.cal { background: #fff; border-radius: 18px; padding: 12px; box-shadow: 0 0 0 1.5px var(--line); }
.cal__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 6px; border-radius: 12px; background: var(--spruce); color: #fff; }
.cal__months { flex: 1; display: grid; grid-template-columns: 1fr 1fr; text-align: center; font-family: var(--ff-d); font-size: 18px; font-weight: 600; text-transform: capitalize; }
.cal__nav { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.12); color: #fff; font-size: 18px; transition: background .3s, transform .3s var(--spring); }
.cal__nav:hover { background: var(--pool); color: var(--spruce); transform: scale(1.06); }
.cal__nav:disabled { opacity: .25; pointer-events: none; }
.cal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.cal__m { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: 46px; gap: 2px 0; align-content: start; }
.cal__m .cal__wd { height: 30px; }
.cal__wd { font-size: 11.5px; font-weight: 800; color: var(--mute); text-align: center; padding: 6px 0; text-transform: uppercase; }
.cal__wd:nth-child(n+6):nth-child(-n+7) { color: var(--brick); }
.cal__d { height: 42px; font-size: 15px; font-weight: 700; color: var(--spruce); position: relative; transition: color .2s, background .2s; }
.cal__d.is-we { color: var(--brick); }
.cal__d span { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; max-width: 100%; height: 40px; margin: 1px auto; border-radius: 12px; transition: background .25s, transform .3s var(--spring), color .2s, box-shadow .25s; }
.cal__d:hover span { background: var(--pool); color: var(--spruce); transform: scale(1.1); }
.cal__d:disabled { color: rgba(29,31,27,.22); pointer-events: none; }
.cal__d:disabled span { background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(29,31,27,.05) 4px 6px); }
.cal__d.is-today span { box-shadow: inset 0 0 0 2px var(--pine); }
.cal__d.is-today::after { content: ''; position: absolute; left: 50%; bottom: 6px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--pine); z-index: 2; pointer-events: none; }
.cal__d.is-range { background: #c9f2ef; color: var(--spruce); }
.cal__d.is-start { background: linear-gradient(90deg, transparent 50%, #c9f2ef 50%); }
.cal__d.is-end { background: linear-gradient(90deg, #c9f2ef 50%, transparent 50%); }
.cal__d.is-start.is-end { background: none; }
.cal__d.is-start span, .cal__d.is-end span { background: var(--pine); color: #fff; box-shadow: 0 8px 16px -8px rgba(142,81,38,.9); transform: scale(1.06); }
.cal__d.is-end span { background: var(--pool-d); box-shadow: 0 8px 16px -8px rgba(31,156,154,.9); }
.cal__d.is-start::before, .cal__d.is-end::before { position: absolute; left: 50%; top: -9px; transform: translateX(-50%); z-index: 3; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 1px 6px; border-radius: 6px; color: #fff; white-space: nowrap; }
.cal__d.is-start::before { content: 'заїзд'; background: var(--pine-d); }
.cal__d.is-end::before { content: 'виїзд'; background: var(--pool-d); }
.cal__d.is-hover { background: #e3f8f6; }
.cal__d.is-hovend span { background: var(--pool); color: var(--spruce); }
.cal__d.is-hovend::before { content: attr(data-n); position: absolute; left: 50%; top: -12px; transform: translateX(-50%); z-index: 3; padding: 2px 7px; border-radius: 6px; background: var(--spruce); color: #fff; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.cal__blank { height: 42px; }
.cal__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 12.5px; color: var(--mute); font-weight: 600; }
.cal__legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; margin-right: 6px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.presets button { padding: 8px 14px; border-radius: 99px; border: 1.5px dashed var(--pine); color: var(--pine-d); font-weight: 600; font-size: 13.5px; transition: background .3s, color .3s; }
.presets button:hover { background: var(--pine); color: #fff; border-style: solid; }

.stays { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stay { position: relative; display: grid; grid-template-rows: auto auto auto; border-radius: 16px; overflow: hidden; background: #fff; border: 2px solid var(--line); cursor: pointer; transition: border-color .3s, transform .4s var(--spring), box-shadow .4s; }
.stay input { position: absolute; opacity: 0; pointer-events: none; }
.stay__img { aspect-ratio: 16/9; background-size: cover; background-position: center; transition: transform .8s var(--ease); }
.stay__img--any { display: grid; place-items: center; font-family: var(--ff-d); font-size: 54px; color: var(--pool); background: var(--spruce); }
.stay b { font-family: var(--ff-d); font-size: 19px; color: var(--spruce); padding: 10px 14px 0; }
.stay small { padding: 2px 14px 12px; color: var(--mute); font-size: 13px; }
.stay::after { content: '✓'; position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--pool); color: var(--spruce); font-weight: 800; transform: scale(0); transition: transform .4s var(--spring); }
.stay:hover { transform: translateY(-3px); }
.stay.is-checked { border-color: var(--pool-d); box-shadow: 0 16px 30px -18px rgba(31,156,154,.8); }
.stay.is-checked::after { transform: scale(1); }
.extras label.is-checked span { background: var(--spruce); color: var(--plaster); border-color: var(--spruce); }
/* швидкий відгук на дотик: без затримки подвійного тапу */
button, a, label, .cal__d, .stay { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.cal__d:active span, .stay:active, .extras span:active, .step button:active { transform: scale(.94); }
@media (hover: none) {
  .cal__d:hover span { background: none; transform: none; }
  .model__legend, .map__card { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .top.is-solid { backdrop-filter: none; background: rgba(251,248,242,.97); }
}
.stay:has(input:focus-visible) { outline: 2px solid var(--pool-d); outline-offset: 2px; }

.guests { display: grid; gap: 10px; }
.guest { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); }
.guest b { display: block; font-size: 16px; color: var(--spruce); }
.guest small { color: var(--mute); font-size: 13px; }
.step { display: flex; align-items: center; gap: 4px; }
.step button { width: 40px; height: 40px; border-radius: 50%; background: var(--plaster); font-size: 20px; color: var(--spruce); transition: background .2s, transform .3s var(--spring); }
.step button:hover { background: var(--pool); transform: scale(1.08); }
.step output { min-width: 36px; text-align: center; font-family: var(--ff-d); font-size: 24px; font-weight: 800; color: var(--spruce); }
.people { display: flex; flex-wrap: wrap; gap: 4px; min-height: 40px; padding: 6px 2px 0; }
.people i { width: 26px; height: 36px; background: var(--spruce); animation: popIn .45s var(--spring) both;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 36'%3E%3Ccircle cx='13' cy='7' r='6'/%3E%3Cpath d='M3 36V22c0-6 4-9 10-9s10 3 10 9v14Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 36'%3E%3Ccircle cx='13' cy='7' r='6'/%3E%3Cpath d='M3 36V22c0-6 4-9 10-9s10 3 10 9v14Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.people i.kid { width: 20px; height: 26px; align-self: flex-end; background: var(--pine); }
@keyframes popIn { from { transform: translateY(14px) scale(.4); opacity: 0; } }
.extras { display: flex; flex-wrap: wrap; gap: 8px; }
.extras input { position: absolute; opacity: 0; pointer-events: none; }
.extras span { display: block; padding: 10px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s var(--spring); }
.extras input:checked + span { background: var(--spruce); color: var(--plaster); border-color: var(--spruce); transform: rotate(-2deg) scale(1.04); }
.extras input:focus-visible + span { outline: 2px solid var(--pool-d); outline-offset: 2px; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld { position: relative; display: block; margin-bottom: 12px; }
.fld input, .fld textarea { width: 100%; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); padding: 22px 14px 8px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; resize: vertical; min-height: 56px; transition: border-color .3s, box-shadow .3s; }
.fld span { position: absolute; left: 15px; top: 17px; font-size: 15px; color: var(--mute); pointer-events: none; transition: transform .3s var(--ease), font-size .3s, color .3s; transform-origin: left; }
.fld input:focus + span, .fld input:not(:placeholder-shown) + span, .fld textarea:focus + span, .fld textarea:not(:placeholder-shown) + span { transform: translateY(-10px); font-size: 12px; color: var(--pool-d); font-weight: 600; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--pool-d); box-shadow: 0 0 0 4px rgba(79,207,203,.2); }
.is-bad { border-color: var(--brick) !important; animation: shake .4s; }
@keyframes shake { 25% { translate: -5px 0; } 75% { translate: 5px 0; } }
.preview { border: 1.5px dashed var(--pine); border-radius: 14px; background: #fff8ec; padding: 12px 14px; }
.preview__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; font-size: 12.5px; color: var(--pine-d); text-transform: uppercase; letter-spacing: .06em; }
.preview__copy { padding: 6px 12px; border-radius: 99px; background: var(--pine); color: #fff; font-size: 12.5px; font-weight: 700; text-transform: none; letter-spacing: 0; transition: transform .3s var(--spring); }
.preview__copy:hover { transform: scale(1.05); }
.preview pre { margin: 10px 0 0; white-space: pre-wrap; font-family: var(--ff-b); font-size: 14px; line-height: 1.55; max-height: 190px; overflow: auto; }
.howto { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.howto li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.howto b { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--pool); color: var(--spruce); display: grid; place-items: center; font-size: 12.5px; }
.howto em { font-style: normal; font-weight: 700; color: var(--spruce); }
.sendrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.sendrow .btn { min-height: 54px; }
@media (max-width: 520px) { .sendrow { grid-template-columns: 1fr; } }
.wizard__err { margin: 12px 0 0; color: var(--brick); font-weight: 600; font-size: 14px; }
.wizard__err:empty { display: none; }
.wizard__foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.wizard__foot .btn[hidden] { display: inline-flex !important; visibility: hidden; }

/* Бирка-ключ */
.keytag-wrap { position: sticky; top: 86px; display: grid; justify-items: center; }
.keyring { width: 90px; margin-bottom: -46px; position: relative; z-index: 2; }
.keytag {
  --g: rgba(0,0,0,.06);
  position: relative; width: 100%; max-width: 380px; border-radius: 26px 26px 40px 40px; padding: 54px 20px 18px; color: #2b1a0f;
  background:
    repeating-linear-gradient(92deg, var(--g) 0 2px, transparent 2px 9px),
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(160deg, #e3b27a, #c98a4f 55%, #b0703a);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.25), inset 0 -10px 20px rgba(90,52,32,.25), 0 40px 60px -30px rgba(0,0,0,.8);
  transform-origin: 50% -30px; animation: tagIdle 6s ease-in-out infinite;
}
.keytag.is-swing { animation: tagSwing 1.2s var(--ease); }
@keyframes tagIdle { 50% { transform: rotate(1.2deg); } }
@keyframes tagSwing { 0% { transform: rotate(0); } 20% { transform: rotate(-6deg); } 45% { transform: rotate(4deg); } 70% { transform: rotate(-2deg); } 100% { transform: rotate(0); } }
.keytag__hole { position: absolute; left: 50%; top: 14px; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: rgba(15,36,31,.94); box-shadow: inset 0 3px 4px rgba(0,0,0,.5), 0 0 0 4px rgba(255,255,255,.2); }
.keytag__img { height: 130px; border-radius: 16px; background-size: cover; background-position: center; position: relative; overflow: hidden; box-shadow: inset 0 0 0 3px rgba(43,26,15,.25); transition: background-image .4s; }
.keytag__img span { position: absolute; left: 10px; bottom: 10px; right: 10px; padding: 6px 12px; border-radius: 10px; background: rgba(15,36,31,.82); color: #fff; font-family: var(--ff-d); font-size: 17px; font-weight: 600; }
.keytag__dates { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; margin: 16px 0 10px; text-align: center; }
.keytag__dates small, .keytag__row small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(43,26,15,.6); }
.keytag__dates b { display: block; font-family: var(--ff-d); font-size: 19px; font-weight: 800; line-height: 1.1; }
.keytag__dates span { font-size: 12px; color: rgba(43,26,15,.7); }
.keytag__nights { width: 74px; height: 74px; border-radius: 50%; background: var(--spruce); color: var(--plaster); display: grid; place-content: center; box-shadow: inset 0 0 0 3px var(--pine), 0 10px 20px -10px rgba(0,0,0,.6); }
.keytag__nights b { font-size: 28px; }
.keytag__nights small { color: var(--pool); letter-spacing: .06em; }
.keytag__row { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 9px 2px; border-top: 1.5px dashed rgba(43,26,15,.3); font-weight: 600; font-size: 15px; }
.keytag__row span { text-align: right; }
.keytag__send { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.keytag__send .btn { min-height: 46px; padding: 0 12px; font-size: 14px; }
.keytag__send .btn--copy { grid-column: 1 / -1; --bg: rgba(43,26,15,.85); border: 0; }
.keytag__foot { margin: 12px 0 0; text-align: center; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(43,26,15,.6); }

/* ---------- FAQ ---------- */
.faq { padding: var(--sec) var(--gut); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px clamp(24px, 4vw, 56px); align-items: start; }
.faq__side { display: grid; gap: 20px; position: sticky; top: 90px; }
.ask { display: grid; grid-template-columns: 140px 1fr; border-radius: 20px; overflow: hidden; background: var(--spruce); color: var(--plaster); box-shadow: 0 24px 40px -26px rgba(15,36,31,.7); }
.ask__img { background-size: cover; background-position: center; min-height: 100%; }
.ask__body { padding: 18px 20px; }
.ask__body b { font-family: var(--ff-d); font-size: 22px; }
.ask__body p { margin: 4px 0 14px; font-size: 14.5px; opacity: .85; }
.ask__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ask__btns .btn { min-height: 42px; padding: 0 16px; font-size: 14px; }
.ask__btns .btn--line { --fg: var(--plaster); }
@media (max-width: 1100px) { .faq__side { position: static; } }
@media (max-width: 520px) { .ask { grid-template-columns: 1fr; } .ask__img { min-height: 130px; } }
.acc--faq .acc__head { font-size: clamp(18px, 1.7vw, 23px); }

/* ---------- Контакти ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1.2fr; overflow: hidden; }
.contacts__card { padding: var(--sec) var(--gut); }
.contacts dl { margin: 22px 0; display: grid; gap: 14px; }
.contacts dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.contacts dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--pine-d); font-weight: 700; padding-top: 3px; }
.contacts dd { margin: 0; font-size: 16.5px; font-weight: 500; }
.copy { font-size: 12px; font-weight: 600; color: var(--pool-d); border: 1px solid currentColor; border-radius: 99px; padding: 2px 10px; margin-left: 6px; vertical-align: 2px; transition: background .3s, color .3s; }
.copy:hover { background: var(--pool-d); color: #fff; }
.contacts__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.contacts__map { min-height: 420px; position: relative; overflow: hidden; background: #e9e4d6; }
.contacts__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map { position: absolute; inset: 0; z-index: 1; background: #e9e4d6; font-family: var(--ff-b); }
.map .leaflet-tile-pane { filter: sepia(.18) saturate(1.1) brightness(1.02); }
.map .leaflet-control-attribution { background: rgba(251,248,242,.85); font-size: 10px; border-radius: 8px 0 0 0; }
.map .leaflet-control-attribution a { color: var(--pool-d); }
.map__card { position: absolute; z-index: 5; left: 16px; bottom: 26px; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 16px; background: var(--spruce); color: var(--plaster); box-shadow: 0 16px 30px -16px rgba(0,0,0,.6); pointer-events: none; }
.map__card b { display: block; font-family: var(--ff-d); font-size: 18px; }
.map__card small { font-size: 12.5px; opacity: .8; }
.map__pin { width: 34px; height: 34px; border-radius: 10px; background: var(--pine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 8 L33 19 H30 V31 H10 V19 H7 Z' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linejoin='round'/%3E%3C/svg%3E") center/24px no-repeat; }
.map__zoom { position: absolute; z-index: 5; right: 16px; top: 16px; display: grid; gap: 6px; }
.map__zoom[hidden] { display: none; }
.map__zoom button { width: 42px; height: 42px; border-radius: 12px; background: var(--paper); color: var(--spruce); font-size: 20px; font-weight: 700; box-shadow: 0 8px 18px -10px rgba(0,0,0,.5); transition: background .3s, transform .3s var(--spring); }
.map__zoom button:hover { background: var(--pool); transform: scale(1.08); }
.house-pin { position: relative; width: 64px; height: 74px; }
.house-pin__ring { position: absolute; left: 50%; bottom: 0; width: 60px; height: 22px; margin-left: -30px; border-radius: 50%; border: 3px solid var(--pool); animation: pinPulse 2.2s infinite var(--ease); }
@keyframes pinPulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.house-pin__body { position: absolute; left: 50%; bottom: 10px; width: 54px; height: 54px; margin-left: -27px; border-radius: 16px 16px 16px 4px; transform: rotate(-45deg); background: var(--pine); box-shadow: 0 10px 20px -6px rgba(90,52,32,.8), inset 0 0 0 3px rgba(255,255,255,.35); animation: pinBob 2.6s ease-in-out infinite; }
.house-pin__body::after { content: ''; position: absolute; inset: 0; transform: rotate(45deg); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 8 L33 19 H30 V31 H10 V19 H7 Z' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linejoin='round'/%3E%3Cpath d='M12 27 q2.7 -2.5 5.3 0 t5.3 0 t5.3 0' fill='none' stroke='%234fcfcb' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center/30px no-repeat; }
@keyframes pinBob { 50% { translate: 0 -6px; } }
.leaflet-popup-content-wrapper { border-radius: 16px !important; padding: 0 !important; overflow: hidden; box-shadow: 0 20px 40px -16px rgba(0,0,0,.5) !important; }
.leaflet-popup-content { margin: 0 !important; width: 240px !important; font-family: var(--ff-b); }
.mpop img { width: 100%; height: 120px; object-fit: cover; }
.mpop div { padding: 10px 14px 14px; }
.mpop b { display: block; font-family: var(--ff-d); font-size: 18px; color: var(--spruce); }
.mpop span { display: block; font-size: 13px; color: var(--mute); margin: 2px 0 10px; }
.mpop a { display: inline-block; padding: 7px 14px; border-radius: 99px; background: var(--pine); color: #fff !important; font-weight: 600; font-size: 13px; }
@media (max-width: 700px) {
  .contacts__map { min-height: 340px; }
  .map__card { display: none; }
  .map__zoom { top: 12px; right: 12px; gap: 5px; }
  .map__zoom button { width: 36px; height: 36px; font-size: 18px; border-radius: 10px; }
  .leaflet-popup-content { width: 210px !important; }
  .mpop img { height: 90px; }
  .mpop div { padding: 8px 12px 12px; }
  .mpop b { font-size: 16px; }
  .mpop span { font-size: 12.5px; margin-bottom: 8px; }
}

/* ---------- Футер ---------- */
.foot { margin: 14px clamp(8px, 1.4vw, 18px) 14px; border-radius: var(--card); background: var(--spruce); color: var(--plaster); padding: 40px var(--gut) calc(24px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.foot__big { font-family: var(--ff-d); font-weight: 800; font-size: clamp(52px, 12.4vw, 200px); line-height: .85; letter-spacing: -.04em; white-space: nowrap; }
.foot__big em { color: var(--pool); font-weight: 400; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 24px; font-size: 14px; opacity: .8; padding-right: 70px; }

/* ---------- Плаваюча кнопка ---------- */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 95; display: grid; justify-items: end; gap: 10px; }
.fab__btn { width: 62px; height: 62px; border-radius: 50%; background: var(--pool); color: var(--spruce); display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(15,36,31,.6); position: relative; transition: transform .4s var(--ease), background .3s; }
.fab__btn::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--pool); animation: spotPulse 2.6s infinite; }
.fab__btn svg { width: 26px; height: 26px; transition: transform .4s var(--ease), opacity .3s; }
.fab__x { position: absolute; font-size: 32px; line-height: 1; opacity: 0; transform: rotate(-90deg); transition: transform .4s var(--ease), opacity .3s; }
.fab.is-open .fab__btn { background: var(--plaster); }
.fab.is-open .fab__btn svg { opacity: 0; transform: scale(.4); }
.fab.is-open .fab__x { opacity: 1; transform: none; }
.fab.is-open .fab__btn::before { display: none; }
.fab__list { display: grid; gap: 10px; justify-items: end; pointer-events: none; }
.fab__item { display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(16px) scale(.8); transition: opacity .3s, transform .45s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.fab.is-open .fab__list { pointer-events: auto; }
.fab.is-open .fab__item { opacity: 1; transform: none; }
.fab__item span { background: var(--paper); color: var(--spruce); font-weight: 600; font-size: 14px; padding: 6px 12px; border-radius: 99px; box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); }
.fab__item b { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--spruce); color: #fff; font-size: 18px; box-shadow: 0 8px 18px -8px rgba(0,0,0,.5); }
.fab__item b svg { width: 26px; height: 26px; }
.fab__item--viber b { background: #7360f2; }
.fab__item--tg b { background: #2aabee; }
.fab__item--book b { background: var(--pine); }

/* ---------- Лайтбокс ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(10,22,20,.92); display: grid; place-items: center; padding: 60px 16px; animation: fade .3s; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; max-width: min(1200px, 100%); border-radius: 10px; object-fit: contain; animation: photoIn .6s var(--ease); }
.lightbox__x { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 16px; width: 48px; height: 48px; font-size: 30px; color: #fff; }
.lightbox__nav { position: absolute; top: 50%; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; transform: translateY(-50%); }
.lightbox__prev { left: 16px; } .lightbox__next { right: 16px; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Тост ---------- */
.toast { position: fixed; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); z-index: 160; transform: translate(-50%, calc(100% + 80px)); visibility: hidden; background: var(--spruce); color: var(--plaster); padding: 12px 20px; border-radius: 99px; font-weight: 600; font-size: 14px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); transition: transform .5s var(--ease), visibility 0s .5s; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease); }

/* ---------- Поява (fallback без GSAP) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .top__nav { display: none; }
  .top__phone { margin-left: auto; }
  .houses__head, .model__head { grid-template-columns: 1fr auto; }
  .houses__head p, .model__hint { grid-column: 1 / -1; grid-row: 2; }
  .faq { grid-template-columns: 1fr; }
  .booking__wrap { grid-template-columns: 1fr; }
  .keytag-wrap { position: relative; top: 0; }
}
@media (max-width: 860px) {
  .top { gap: 12px; }
  .top__phone { display: none; }
  .top__cta { margin-left: auto; }
  .menu__inner { grid-template-columns: 1fr; padding-bottom: 32px; align-content: start; gap: 22px; }
  .menu__side::before { display: none; }
  .shutter__carve { width: 50vw; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: calc(88px + env(safe-area-inset-top, 0px)); padding-bottom: 28px; gap: 22px; }
  .hero__visual { height: min(56vh, 440px); margin: 0 6px; }
  .chip--a { left: 0; } .chip--b { right: 0; } .chip--c { left: 4%; }
  .scrolldown { display: none; }
  .about__facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 14px; }
  .stage { height: 72vh; min-height: 440px; border-radius: 22px; }
  .reality { top: auto; left: 10px; right: 10px; bottom: 10px; width: auto; height: 78%; transform: translateY(calc(100% + 30px)); }
  .territory { grid-template-columns: 1fr; }
  .territory__media { position: relative; top: 0; aspect-ratio: 4/3; border-radius: 160px 160px var(--r) var(--r); }
  .grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, 140px); grid-template-areas: "a a" "b c" "b d" "e d" "f g"; }
  .reviews { grid-template-columns: 1fr; }
  .reviews__score { grid-row: auto; }
  .reviews__ctrl { grid-column: 1; }
  .postcards { min-height: 380px; }
  .contacts { grid-template-columns: 1fr; }
  .contacts__map { min-height: 300px; }
}
@media (max-width: 600px) {
  .cal__grid { grid-template-columns: 1fr; }
  .cal__grid .cal__m:nth-child(2) { display: none; }
  .cal__months { grid-template-columns: 1fr; }
  .cal__months span:nth-child(2) { display: none; }
  .stays { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stay b { font-size: 16px; padding: 8px 10px 0; }
  .stay small { padding: 2px 10px 10px; font-size: 12px; }
  .wizard__steps button { flex-direction: column; gap: 4px; font-size: 12px; }
}
@media (max-width: 520px) {
  main { padding: 0 6px; gap: 10px; }
  :root { --card: 22px; }
  .top__cta { display: none; }
  .burger { margin-left: auto; }
  .brand { font-size: 19px; }
  .hero__title { font-size: clamp(62px, 19vw, 90px); }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__trust { gap: 8px; }
  .rating, .hero__mini { padding: 8px 12px; }
  .hero__mini:last-child { display: none; }
  .badge { width: 104px; right: -2px; bottom: -14px; }
  .chip { font-size: 12.5px; padding: 8px 12px; }
  .model__head { grid-template-columns: 1fr; }
  .model__head .mood { justify-self: start; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .postcard p { margin-right: 0; margin-top: 54px; }
  .postcards { min-height: 450px; }
  .postcard[data-pos="1"] { transform: translate(8px, 10px) rotate(2deg) scale(.97); }
  .postcard[data-pos="2"] { transform: translate(14px, 18px) rotate(4deg) scale(.94); }
  .contacts dl div { grid-template-columns: 1fr; gap: 4px; }
  .foot__row { padding-right: 0; padding-bottom: 70px; }
  .keytag__dates b { font-size: 19px; }
}
