/* Terrevi — calm luxury. Светлая тема по умолчанию, тёмная — по системе или кнопке. */
:root {
  --bg: #f4eee3; --bg2: #ece3d3; --bg3: #e4d8c4; --ink: #1d1a16; --ink2: #5b5247; --ink3: #8a7f70;
  --gold: #9c7a45; --gold2: #c9a76a; --gold-ink: #fffaf0; --sea: #1f4e5a; --sea2: #2f6b78;
  --line: rgba(60, 45, 25, .14); --glass: rgba(255, 251, 243, .62); --glass-b: rgba(255, 255, 255, .55);
  --shadow: 0 1px 2px rgba(40, 30, 15, .05), 0 18px 50px -20px rgba(60, 40, 15, .28);
  --map-sea-a: #d7e4e2; --map-sea-b: #b9cfcf; --map-isl: #efe2c6; --map-isl-s: #c9b48c; --map-air: #e9cf97; --map-reef: rgba(120, 190, 190, .35);
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 22px; --wrap: 1240px; --gut: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1315; --bg2: #131b1e; --bg3: #1a2427; --ink: #efe8dc; --ink2: #b2a796; --ink3: #857b6d;
    --gold: #d2b278; --gold2: #e2c793; --gold-ink: #17130c; --sea: #6e9ba1; --sea2: #8fb7bb;
    --line: rgba(239, 232, 220, .12); --glass: rgba(20, 28, 31, .58); --glass-b: rgba(255, 255, 255, .09);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 60px -24px rgba(0, 0, 0, .7);
    --map-sea-a: #15272c; --map-sea-b: #0c171a; --map-isl: #3a3428; --map-isl-s: #6b5d43; --map-air: #7a6640; --map-reef: rgba(90, 160, 160, .18);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1315; --bg2: #131b1e; --bg3: #1a2427; --ink: #efe8dc; --ink2: #b2a796; --ink3: #857b6d;
  --gold: #d2b278; --gold2: #e2c793; --gold-ink: #17130c; --sea: #6e9ba1; --sea2: #8fb7bb;
  --line: rgba(239, 232, 220, .12); --glass: rgba(20, 28, 31, .58); --glass-b: rgba(255, 255, 255, .09);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 60px -24px rgba(0, 0, 0, .7);
  --map-sea-a: #15272c; --map-sea-b: #0c171a; --map-isl: #3a3428; --map-isl-s: #6b5d43; --map-air: #7a6640; --map-reef: rgba(90, 160, 160, .18);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; transition: background-color .4s, color .4s; }
@supports (overflow: clip) { body { overflow-x: clip; } }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(36px, 5.2vw, 68px); max-width: 17ch; }
h2 em, h1 em { font-style: italic; color: var(--gold); font-weight: 300; }
h3 { font-size: clamp(24px, 2.2vw, 30px); }
p { margin: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
svg { flex: none; }

.glass { background: var(--glass); border: 1px solid var(--glass-b); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: var(--shadow); }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .01em; cursor: pointer; transition: transform .25s, background-color .25s, border-color .25s, color .25s, box-shadow .25s; white-space: nowrap; }
.btn .ar { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.btn:hover .ar { transform: translateX(3px); }
.btn .ar.back { transform: rotate(180deg); }
.btn.gold { background: linear-gradient(135deg, var(--gold2), var(--gold)); color: var(--gold-ink); box-shadow: 0 10px 30px -12px rgba(156, 122, 69, .7); }
.btn.gold:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(156, 122, 69, .85); }
.btn.ghost { border-color: var(--line); background: transparent; }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.pill { display: inline-flex; align-items: center; justify-content: center; height: 40px; min-width: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .06em; cursor: pointer; transition: border-color .25s, color .25s, background-color .25s; }
.pill:hover { border-color: var(--gold); color: var(--gold); }
.pill.icon { padding: 0; width: 40px; }
.pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.pill.cta { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill.cta:hover { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.chip { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-size: 13px; font-weight: 600; cursor: pointer; transition: all .25s; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip:hover:not([aria-pressed="true"]) { border-color: var(--gold); }

/* ---------- шапка ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px var(--gut) 0; transition: padding .35s; }
.top-in { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 12px 0 20px; border-radius: 999px; border: 1px solid transparent; transition: background-color .35s, border-color .35s, box-shadow .35s, color .35s; color: #fbf6ec; }
.top.scrolled .top-in, .top.solid .top-in, .top.open .top-in { background: var(--glass); border-color: var(--glass-b); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: var(--shadow); color: var(--ink); }
.top:not(.scrolled):not(.solid):not(.open) .pill { border-color: rgba(255, 255, 255, .35); }
.top:not(.scrolled):not(.solid):not(.open) .pill.cta { background: #fbf6ec; color: #1d1a16; border-color: #fbf6ec; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand .mono { width: 34px; height: 34px; color: var(--gold2); }
.top.scrolled .brand .mono, .top.solid .brand .mono, .top.open .brand .mono, .foot .brand .mono { color: var(--gold); }
.brand .word { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: .32em; margin-right: -.32em; }
.nav { display: flex; gap: 28px; margin: 0 auto; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; opacity: .85; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav a:hover { opacity: 1; } .nav a:hover::after { transform: scaleX(1); }
.tools { display: flex; align-items: center; gap: 8px; }
.theme .moon, .theme svg:last-child { display: none; }
:root[data-theme="dark"] .theme svg:first-child { display: none; }
:root[data-theme="dark"] .theme svg:last-child { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme svg:first-child { display: none; } :root:not([data-theme="light"]) .theme svg:last-child { display: block; } }
.burger { display: none; }
.mnav { max-width: var(--wrap); margin: 8px auto 0; padding: 10px; border-radius: 24px; display: grid; background: var(--glass); border: 1px solid var(--glass-b); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.mnav[hidden] { display: none; }
.mnav a { padding: 14px 16px; text-decoration: none; font-size: 17px; border-radius: 14px; }
.mnav a:hover { background: var(--bg2); }
@media (max-width: 1080px) { .nav { display: none; } .tools { margin-left: auto; } .burger { display: inline-flex; } }
@media (max-width: 520px) { .top { padding-top: 10px; } .top-in { height: 58px; padding: 0 8px 0 14px; gap: 10px; } .brand .word { font-size: 18px; letter-spacing: .26em; margin-right: -.26em; } .brand .mono { width: 30px; height: 30px; } .pill.cta { display: none; } .tools { gap: 6px; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fbf6ec; overflow: hidden; isolation: isolate; padding: 120px 0 0; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #2a3a3c; }
.hero-media { will-change: transform; }
.hero-media picture { display: block; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform-origin: 60% 50%; animation: kb 38s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.06); } to { transform: scale(1.16) translate3d(-1.5%, -1%, 0); } }
.glint { position: absolute; inset: 0; background: radial-gradient(60% 40% at 70% 35%, rgba(255, 214, 150, .22), transparent 70%); mix-blend-mode: screen; animation: glint 9s ease-in-out infinite alternate; }
@keyframes glint { from { opacity: .4; } to { opacity: 1; } }
.hero-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 14, 16, .45) 0%, rgba(10, 14, 16, .05) 28%, rgba(10, 14, 16, .1) 52%, rgba(10, 14, 16, .72) 100%); }
.hero-in { padding-bottom: 40px; }
.eyebrow { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; opacity: .9; margin-bottom: 22px; }
.hero h1 { font-size: clamp(50px, 9vw, 132px); line-height: .98; font-weight: 300; letter-spacing: -.02em; max-width: 13ch; text-shadow: 0 2px 40px rgba(0, 0, 0, .25); }
.hero h1 em { color: #f0d7a4; }
.lead { font-size: clamp(16px, 1.5vw, 19px); max-width: 52ch; margin-top: 26px; color: rgba(251, 246, 236, .9); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .btn.ghost { color: #fbf6ec; border-color: rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgba(255, 255, 255, .06); }
.hero .btn.ghost:hover { border-color: #f0d7a4; color: #f0d7a4; }
.hero-facts { position: relative; margin: 0 auto 28px; width: calc(100% - 2 * var(--gut)); max-width: var(--wrap); border-radius: var(--r); display: grid; grid-template-columns: repeat(4, 1fr); color: var(--ink); }
.hero-facts > div { padding: 20px 24px; border-left: 1px solid var(--line); }
.hero-facts > div:first-child { border-left: 0; }
.hero-facts b { display: block; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; line-height: 1.1; }
.hero-facts span { font-size: 13px; color: var(--ink2); }
.illu { position: absolute; right: var(--gut); top: 96px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
@media (max-width: 760px) {
  .hero { min-height: 100svh; padding-top: 110px; }
  .hero-in { padding-bottom: 26px; }
  .hero-facts { grid-template-columns: 1fr 1fr; margin-bottom: 18px; }
  .hero-facts > div { padding: 14px 16px; }
  .hero-facts > div:nth-child(3) { border-left: 0; }
  .hero-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .illu { top: 82px; }
}
.rise { opacity: 0; transform: translateY(24px); animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) forwards; }
.d1 { animation-delay: .12s; } .d2 { animation-delay: .28s; } .d3 { animation-delay: .42s; } .d4 { animation-delay: .6s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- секции ---------- */
.sec { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.kicker { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* что делаем */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.card { position: relative; display: block; text-decoration: none; border-radius: var(--r); overflow: hidden; min-height: 560px; isolation: isolate; }
.card:nth-child(2) { transition-delay: .1s; } .card:nth-child(3) { transition-delay: .2s; }
.card-img { position: absolute; inset: 0; z-index: -1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-img img { transform: scale(1.06); }
.illu-s { position: absolute; top: 14px; right: 16px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: .75; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.card-b { position: absolute; left: 12px; right: 12px; bottom: 12px; border-radius: 16px; padding: 22px 22px 20px; }
.card-b .num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 18px; }
.card-b h3 { margin: 4px 0 10px; }
.card-b p { font-size: 14.5px; color: var(--ink2); }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--gold); }
.more .ar { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.card:hover .more .ar { transform: translateX(4px); }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } .card { min-height: 480px; } .card:nth-child(n) { transition-delay: 0s; } }

/* участок */
.plot { background: var(--bg2); }
.plot-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.plot-lead { color: var(--ink2); font-size: 17px; }
.plot-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 22px; margin-top: 56px; align-items: stretch; }
.map { position: relative; border-radius: var(--r); overflow: hidden; min-height: 520px; padding: 0; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.map-svg .sea-a { stop-color: var(--map-sea-a); } .map-svg .sea-b { stop-color: var(--map-sea-b); }
.map-svg .wave { fill: none; stroke: var(--sea); stroke-opacity: .08; stroke-width: 6; }
.map-svg .reef path { fill: none; stroke: var(--map-reef); stroke-width: 260; stroke-linejoin: round; }
.map-svg .isl { fill: var(--map-isl); stroke: var(--map-isl-s); stroke-width: 6; vector-effect: non-scaling-stroke; transition: fill .4s; }
.map-svg .isl.air { fill: var(--map-air); stroke: var(--gold); }
.map-svg .ml { fill: var(--ink2); font-family: var(--sans); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-anchor: middle; paint-order: stroke; stroke: var(--map-sea-a); stroke-width: 0; }
.map-svg .ml.strong { fill: var(--ink); }
.map-svg .ml.small { text-anchor: start; letter-spacing: .06em; text-transform: none; }
.map-svg .plot-l { fill: var(--ink); letter-spacing: .04em; text-transform: none; font-family: var(--serif); font-style: italic; font-weight: 500; text-anchor: end; }
.map-svg .ring100 { fill: rgba(201, 167, 106, .12); stroke: var(--gold); stroke-width: 1.4; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.map-svg .pdot { fill: var(--gold); stroke: #fffaf0; stroke-width: 2; vector-effect: non-scaling-stroke; }
.map-svg .pulse { fill: var(--gold); opacity: .35; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .55; } 100% { transform: scale(1.6); opacity: 0; } }
.map-svg .vdot { fill: var(--sea); stroke: #fffaf0; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.map-ui { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; }
.map-lombok { position: absolute; right: 16px; bottom: 50%; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--ink2); display: flex; align-items: center; gap: 6px; }
.map-lombok .ar { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.map-scale { position: absolute; left: 16px; bottom: 58px; display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--ink2); font-weight: 600; }
.map-scale i { display: block; height: 6px; width: 80px; border: 1.5px solid var(--ink2); border-top: 0; transition: width .6s; }
.map-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px; font-size: 11.5px; color: var(--ink2); background: linear-gradient(transparent, var(--glass) 40%); line-height: 1.45; }
.facts { margin: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); align-content: start; }
.facts > div { display: flex; justify-content: space-between; gap: 18px; padding: 18px 2px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink3); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; padding-top: 4px; }
.facts dd { margin: 0; font-family: var(--serif); font-size: 22px; text-align: right; }
.price-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; margin-top: 22px; align-items: start; }
.calc { border-radius: var(--r); padding: clamp(22px, 3vw, 36px); }
.calc-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.cur { display: flex; flex-wrap: wrap; gap: 6px; }
.cur .chip { height: 30px; padding: 0 11px; font-size: 12px; }
.calc-l { display: flex; justify-content: space-between; align-items: baseline; margin-top: 30px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink3); }
.calc-l output { font-family: var(--serif); font-size: 26px; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 500; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; margin: 10px 0 0; cursor: pointer; --p: 100%; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold) var(--p), var(--line) var(--p)); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold) var(--p), var(--line) var(--p)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); }
.ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink3); padding: 0 4px; }
.calc-res { display: grid; grid-template-columns: 1fr 1.5fr; gap: 18px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.calc-res span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); font-weight: 600; }
.calc-res b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; margin-top: 6px; }
.calc-res .total b { font-size: clamp(28px, 3.2vw, 42px); color: var(--gold); word-break: break-word; }
.calc-res small { display: block; color: var(--ink2); font-size: 13px; margin-top: 4px; min-height: 1.4em; }
.calc-hint { margin-top: 16px; font-size: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(201, 167, 106, .14); color: var(--ink); }
.calc-note { margin-top: 14px; font-size: 12.5px; color: var(--ink3); }
.tiers { padding: clamp(22px, 3vw, 36px) 4px; }
.tiers table { width: 100%; border-collapse: collapse; margin: 18px 0 14px; }
.tiers tr { border-bottom: 1px solid var(--line); transition: background-color .3s; }
.tiers tr.on { background: rgba(201, 167, 106, .16); }
.tiers th, .tiers td { padding: 14px 10px; text-align: left; font-weight: 500; vertical-align: top; }
.tiers th { font-size: 15px; }
.tiers td { text-align: right; font-size: 14px; color: var(--ink2); }
.tiers td b { font-family: var(--serif); font-size: 26px; color: var(--ink); font-weight: 500; }
.tiers small { display: block; font-size: 12px; color: var(--ink3); font-weight: 400; }
.tag { display: inline-block; margin-left: 8px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); vertical-align: 2px; }
.tiers-note { font-size: 13px; color: var(--ink2); margin-bottom: 18px; }
.tiers-note.small { margin: 12px 0 0; font-size: 12px; color: var(--ink3); }
.legal { margin-top: 30px; font-size: 13px; color: var(--ink3); max-width: 90ch; }
@media (max-width: 960px) { .plot-head, .plot-grid, .price-grid { grid-template-columns: 1fr; } .map { min-height: 440px; } .plot-head { gap: 20px; } }
@media (max-width: 520px) { .map { min-height: 400px; } .calc-res { grid-template-columns: 1fr; } .facts dd { font-size: 19px; } .map-lombok { bottom: auto; top: 84px; right: 14px; } .map[data-view=air] .ml.strong { display: none; } }

/* галерея */
.gallery { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 12px; }
.g-item { margin: 0; border-radius: 16px; overflow: hidden; }
.g1 { grid-column: span 2; grid-row: span 2; } .g3 { grid-row: span 2; } .g6 { grid-column: 3 / span 2; grid-row: 3; } .g7 { grid-column: 1 / span 2; grid-row: 3 / span 2; }
.g-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--bg3); cursor: zoom-in; overflow: hidden; border-radius: inherit; }
.g-open img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.g-open:hover img { transform: scale(1.05); }
.credit-line { margin-top: 18px; font-size: 12px; color: var(--ink3); }
.credit-line a { color: var(--gold); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; } .g1, .g7 { grid-column: auto / span 2; grid-row: auto / span 2; } .g3 { grid-row: span 2; } .g6 { grid-column: auto / span 1; grid-row: auto; } .g8 { grid-column: span 2; } }

/* отели */
.hotels { background: var(--bg2); }
.hot-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hot-text > p:not(.kicker):not(.rating) { margin-top: 22px; color: var(--ink2); font-size: 17px; max-width: 46ch; }
.hot-facts { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hot-facts li { padding: 16px 22px 16px 0; margin-right: 22px; border-right: 1px solid var(--line); font-size: 13px; color: var(--ink2); }
.hot-facts li:last-child { border-right: 0; margin-right: 0; }
.hot-facts b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--ink); line-height: 1.1; }
.rating { display: flex; align-items: center; gap: 16px; margin: 26px 0 30px; }
.rating b { flex: none; width: 58px; height: 58px; border-radius: 16px 16px 16px 4px; background: var(--sea); color: #fff; display: grid; place-items: center; font-family: var(--sans); font-size: 20px; font-weight: 700; }
.rating span { font-size: 13.5px; color: var(--ink2); max-width: 32ch; }
.villa-g { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 240px 200px; gap: 12px; }
.v-item { border-radius: 18px; }
.villa-g .v-item:first-child { grid-row: span 2; }
.villa-g .v-item:nth-child(4) { display: none; }
@media (max-width: 960px) { .hot-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .hot-facts { grid-template-columns: 1fr 1fr; } .hot-facts li { padding: 14px 0; margin: 0; border-right: 0; border-bottom: 1px solid var(--line); } .hot-facts li:nth-child(n+3) { border-bottom: 0; } .villa-g { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 130px; } .villa-g .v-item:first-child { grid-row: auto; grid-column: span 2; } }

/* подход */
.approach { color: #f6efe2; overflow: hidden; isolation: isolate; background: #10191b; }
.approach-bg { position: absolute; inset: 0; z-index: -1; }
.approach-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.12); }
.approach-bg { will-change: transform; }
.approach-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 16, 18, .7), rgba(10, 16, 18, .35) 40%, rgba(10, 16, 18, .8)); }
.approach h2 em { color: #f0d7a4; }
.approach .kicker { color: #e2c793; }
.steps { list-style: none; padding: 0; margin: 60px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { border-radius: var(--r); padding: 28px 24px 30px; background: rgba(16, 24, 27, .5); border-color: rgba(255, 255, 255, .12); color: #f6efe2; }
.step:nth-child(2) { transition-delay: .1s; } .step:nth-child(3) { transition-delay: .2s; } .step:nth-child(4) { transition-delay: .3s; }
.step .num { font-family: var(--serif); font-style: italic; font-size: 46px; color: #e2c793; line-height: 1; }
.step h3 { margin: 18px 0 12px; font-size: 25px; }
.step p { font-size: 14.5px; color: rgba(246, 239, 226, .78); }
@media (max-width: 1080px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .step:nth-child(n) { transition-delay: 0s; } }

/* партнёры */
.partners { padding-bottom: 0; }
.par-in { border-radius: calc(var(--r) + 8px); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end; background: linear-gradient(135deg, var(--glass), rgba(201, 167, 106, .14)); }
.par-in > div > p:not(.kicker) { margin-top: 20px; color: var(--ink2); max-width: 56ch; }
.par-cta { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.par-cta .btn { justify-content: center; }
@media (max-width: 860px) { .par-in { grid-template-columns: 1fr; } }

/* контакт */
.con-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.con-text > p:not(.kicker) { margin-top: 20px; color: var(--ink2); max-width: 44ch; }
.con-list { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
.con-list li { display: flex; justify-content: space-between; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.con-list span { color: var(--ink3); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.con-list a { font-family: var(--serif); font-size: 21px; text-decoration: none; }
.con-list a:hover { color: var(--gold); }
.con-text .privacy-note { font-size: 13px; color: var(--ink3); }
.privacy-note a, .f-legal a { color: var(--gold); }
.form { border-radius: var(--r); padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 16px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink3); }
.form label i { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 400; }
.form input, .form select, .form textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); font-size: 16px; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.form select { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink2) 50%), linear-gradient(135deg, var(--ink2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 167, 106, .2); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.f-legal { font-size: 12.5px; color: var(--ink3); }
.f-status { font-size: 14px; min-height: 1.4em; }
.f-status.ok { color: var(--sea2); } .f-status.err { color: #b0533c; }
@media (max-width: 860px) { .con-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .f2 { grid-template-columns: 1fr; } .form .btn { justify-self: stretch; justify-content: center; } }

/* подвал */
.foot { margin-top: clamp(60px, 8vw, 120px); border-top: 1px solid var(--line); padding: 60px 0 30px; background: var(--bg2); }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.foot-brand p { margin-top: 18px; color: var(--ink2); font-size: 14px; max-width: 34ch; }
.brand.big .mono { width: 42px; height: 42px; }
.brand.big .word { font-size: 26px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-col h3 { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink3); margin-bottom: 6px; }
.foot-col a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.foot-col a:hover { color: var(--gold); }
.foot-col .ar { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.foot-note { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 30px; font-size: 12px; color: var(--ink3); }
.foot-note p:first-child { max-width: 80ch; }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: span 2; } .foot-note { flex-direction: column; gap: 12px; } }
.home .foot { margin-top: clamp(40px, 6vw, 80px); }

/* лайтбокс */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(8, 11, 12, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 60px 70px; opacity: 0; transition: opacity .3s; }
.lb.show { opacity: 1; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb img { max-width: 100%; max-height: calc(100vh - 160px); max-height: calc(100svh - 160px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lb figcaption { color: #e9e1d2; font-size: 14px; text-align: center; }
.lb .pill { position: absolute; color: #fff; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); width: 48px; height: 48px; }
.lb .pill svg { width: 22px; height: 22px; }
.lb-x { top: 16px; right: 16px; } .lb-p { left: 16px; top: 50%; transform: translateY(-50%); } .lb-n { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb { padding: 70px 10px 90px; } .lb-p, .lb-n { top: auto; bottom: 20px; transform: none; } .lb-p { left: calc(50% - 60px); } .lb-n { right: calc(50% - 60px); } }

/* страницы-документы */
.page main.doc { padding-top: 140px; padding-bottom: 40px; max-width: calc(820px + 2 * var(--gut)); }
.doc h1 { font-size: clamp(42px, 6vw, 72px); font-weight: 300; margin-bottom: 18px; }
.doc h2 { font-size: 28px; margin: 36px 0 10px; max-width: none; }
.doc p { color: var(--ink2); margin-bottom: 12px; }
.doc p a { color: var(--gold); }
.doc .upd { color: var(--ink3); font-size: 13px; }
.doc .btn { margin-top: 24px; margin-right: 8px; }
.cred { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.cred li { display: flex; gap: 16px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; }
.cred img { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.cred b { display: block; font-weight: 600; font-size: 15px; }
.cred span { font-size: 13px; color: var(--ink2); }
.cred a { color: var(--gold); }
.nf { min-height: 60vh; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-media img { animation: none; transform: scale(1.04); }
  .js .reveal, .rise { opacity: 1; transform: none; }
  .map-svg .pulse { display: none; }
}
@media print { .top, .lb, .hero-media, .form { display: none !important; } .hero { color: #000; min-height: 0; } }
