/* =========================================================
   Lotsenhaus Immobilien — демо риелтора (Гамбург)
   Стиль «Proptech»: тёмно-зелёный, лайм, стекло, капсулы,
   фото в скруглённых рамах, свой курсор.
   ========================================================= */
@font-face { font-family: "Bricolage Grotesque"; src: url("../../assets/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../../assets/fonts/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }

:root {
  --bg: #F4F4EF;
  --card: #FFFFFF;
  --soft: #EBEDE4;
  --green: #0F3B36;
  --green-2: #19524A;
  --lime: #D4F06B;
  --ink: #14211F;
  --muted: #66726E;
  --line: #E0E2D9;
  --head: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --r: 30px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --side: clamp(12px, 2.4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, figure, blockquote, ul { margin: 0; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
::selection { background: var(--lime); color: var(--green); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 12px; }

/* ---------- buttons ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 26px; border-radius: 999px; font: 600 .95rem var(--body); transition: transform .4s var(--ease), background-color .3s, color .3s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { height: 44px; padding: 0 20px; font-size: .88rem; }
.btn--wide { width: 100%; }
.btn--lime { background: var(--lime); color: var(--green); }
.btn--lime:hover { box-shadow: 0 10px 30px -10px rgba(160, 200, 40, .8); }
.btn--dark { background: var(--green); color: #fff; }
.btn--dark:hover { background: var(--green-2); }

.demo-badge { position: fixed; left: 16px; bottom: 16px; z-index: 90; padding: 8px 14px; border-radius: 999px; background: var(--green); color: rgba(255, 255, 255, .7); font-size: .75rem; }
.demo-badge b { color: var(--lime); }

/* ---------- свой курсор над объектами ---------- */
.cursor { position: fixed; z-index: 95; left: 0; top: 0; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: var(--lime); color: var(--green); display: grid; place-items: center; font: 600 .82rem var(--body); pointer-events: none; transform: scale(0); transition: transform .4s var(--ease); }
.cursor.on { transform: scale(1); }

/* ---------- nav (капсула) ---------- */
.nav { position: fixed; z-index: 70; top: 18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 28px; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .72); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 10px 40px -16px rgba(15, 59, 54, .35); border: 1px solid rgba(255, 255, 255, .6); transition: top .4s var(--ease); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.05rem var(--head); letter-spacing: -.02em; color: var(--green); }
.brand svg { width: 30px; height: 30px; }
.brand rect { fill: var(--green); }
.brand path { fill: var(--lime); }
.nav__links { display: flex; gap: 4px; }
.nav__links a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500; transition: background-color .25s; }
.nav__links a:hover { background: var(--soft); }

/* ---------- hero ---------- */
.hero { padding: var(--side); padding-bottom: 0; }
.hero__frame { position: relative; height: calc(100svh - 2 * var(--side) - 50px); min-height: 560px; border-radius: var(--r); overflow: hidden; background: var(--green); }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1.4s var(--ease), transform 7s linear; }
.slide.is-on { opacity: 1; transform: scale(1.02); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 30, 27, .72) 0%, rgba(10, 30, 27, .1) 50%, rgba(10, 30, 27, .3) 100%); }
.hero__title { position: absolute; left: clamp(20px, 4vw, 56px); bottom: clamp(24px, 5vw, 56px); color: #fff; font-size: clamp(2.8rem, 7.4vw, 7.4rem); font-weight: 600; line-height: .96; letter-spacing: -.045em; max-width: 12ch; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.hero__title .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.hero__title .w:nth-child(2) > span { transition-delay: .06s; } .hero__title .w:nth-child(3) > span { transition-delay: .12s; }
.hero__title .w:nth-child(5) > span { transition-delay: .2s; } .hero__title .w:nth-child(6) > span { transition-delay: .26s; }
.is-ready .hero__title .w > span { transform: none; }
.lime { color: var(--lime); }

.glass { position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); width: min(360px, calc(100% - 32px)); padding: 20px; border-radius: 24px; color: #fff; background: rgba(255, 255, 255, .14); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .28); opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease) .5s, transform 1s var(--ease) .5s; }
.is-ready .glass { opacity: 1; transform: none; }
.glass__bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 18px; }
.glass__bars i { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.glass__bars i::after { content: ""; position: absolute; inset: 0; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; }
.glass__bars i.done::after { transform: scaleX(1); }
.glass__bars i.run::after { animation: bar var(--dur, 6s) linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.glass__tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--lime); color: var(--green); font-size: .72rem; font-weight: 700; }
.glass__title { font-size: 1.5rem; margin-top: 12px; }
.glass__where { opacity: .8; font-size: .9rem; margin-top: 4px; }
.glass__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .25); }
.glass__row b { font: 600 1.35rem var(--head); letter-spacing: -.02em; }
.glass__row span { font-size: .85rem; opacity: .85; }
.glass__nav { position: absolute; top: 14px; right: 14px; display: none; }
.glass__swap { animation: swap .7s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
.glass__nav { display: flex; gap: 6px; position: static; margin-top: 16px; }
.glass__nav button { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; transition: background-color .25s; }
.glass__nav button:hover { background: var(--lime); }
.glass__nav button:hover svg { stroke: var(--green); }
.glass__nav svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* поисковая капсула, «приклеенная» к низу hero */
.search { position: relative; z-index: 3; display: flex; align-items: center; gap: 10px; width: min(760px, calc(100% - 24px)); margin: -36px auto 0; padding: 8px; border-radius: 999px; background: var(--card); box-shadow: 0 24px 60px -24px rgba(15, 59, 54, .4); }
.search__seg { position: relative; display: flex; padding: 4px; border-radius: 999px; background: var(--soft); }
.search__seg button { position: relative; z-index: 1; padding: 10px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--muted); transition: color .3s; }
.search__seg button.is-on { color: #fff; }
.search__ind { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--green); transition: transform .5s var(--ease), width .5s var(--ease); }
.search__field { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 8px; min-width: 0; }
.search__field svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--green); stroke-width: 1.8; }
.search__field select { width: 100%; border: 0; background: none; font: 500 .95rem var(--body); color: var(--ink); appearance: none; cursor: pointer; padding: 10px 0; }
.search__field select:focus { outline: none; }

/* ---------- offers ---------- */
.offers { padding: clamp(90px, 10vw, 140px) var(--side) clamp(60px, 8vw, 100px); max-width: 1440px; margin: 0 auto; }
.offers__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; padding: 0 8px; }
.offers h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.mark-lime { background: linear-gradient(var(--lime), var(--lime)) 0 85% / 100% .32em no-repeat; padding: 0 .06em; }
.tabs { display: flex; padding: 4px; border-radius: 999px; background: var(--soft); }
.tabs button { padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); transition: background-color .3s, color .3s; }
.tabs button.is-on { background: var(--card); color: var(--green); box-shadow: 0 4px 14px -6px rgba(15, 59, 54, .3); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.card { background: var(--card); border-radius: 26px; padding: 10px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); animation: cardIn .8s var(--ease) both; animation-delay: calc(var(--i) * 80ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(15, 59, 54, .35); }
.card__img { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; cursor: none; }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.card__img img + img { opacity: 0; }
.card:hover .card__img img:first-child { transform: scale(1.06); }
.card:hover .card__img img + img { opacity: 1; transform: scale(1.03); }
.card__badge { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px; background: var(--lime); color: var(--green); font-size: .72rem; font-weight: 700; }
.card__badge--dark { background: var(--green); color: #fff; }
.heart { position: absolute; z-index: 1; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center; transition: transform .3s var(--ease); cursor: pointer; }
.heart svg { width: 20px; height: 20px; fill: none; stroke: var(--green); stroke-width: 1.8; transition: fill .3s; }
.heart.on svg { fill: #E4573D; stroke: #E4573D; }
.heart.on { animation: beat .5s var(--ease); }
@keyframes beat { 40% { transform: scale(1.25); } }
.card__body { padding: 16px 10px 10px; }
.card__where { font-size: .82rem; color: var(--muted); font-weight: 500; }
.card__title { font-size: 1.3rem; margin: 6px 0 14px; letter-spacing: -.025em; }
.card__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card__price { font: 600 1.25rem var(--head); color: var(--green); letter-spacing: -.02em; }
.card__specs { display: flex; gap: 12px; font-size: .82rem; color: var(--muted); }
.offers__empty { display: none; padding: 40px; text-align: center; color: var(--muted); background: var(--card); border-radius: 26px; }
.offers__empty a { color: var(--green); font-weight: 600; text-decoration: underline; }
.offers__empty.on { display: block; }

/* ---------- value (воронка) ---------- */
.value { margin: 0 var(--side); padding: clamp(50px, 7vw, 100px) clamp(20px, 5vw, 80px); border-radius: var(--r); background: var(--green); color: #fff; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; position: relative; overflow: hidden; }
.value::before { content: ""; position: absolute; width: 640px; height: 640px; left: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 240, 107, .18), transparent 65%); animation: float 12s ease-in-out infinite alternate; }
@keyframes float { to { transform: translate(120px, 80px); } }
.value__intro { position: relative; }
.chip-lime { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--lime); color: var(--green); font-size: .8rem; font-weight: 700; }
.value h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); margin: 22px 0 18px; color: #fff; }
.value__intro p { color: rgba(255, 255, 255, .75); max-width: 42ch; }
.value__list { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 10px; }
.value__list li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .9); }
.value__list li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(212, 240, 107, .2); color: var(--lime); font-size: .8rem; font-weight: 700; }

.funnel { position: relative; background: var(--card); color: var(--ink); border-radius: 26px; padding: clamp(20px, 3vw, 34px); min-height: 520px; display: flex; flex-direction: column; }
.funnel__top { display: flex; align-items: center; gap: 16px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.funnel__progress { flex: 1; height: 6px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.funnel__progress i { display: block; height: 100%; width: 20%; border-radius: 6px; background: var(--green); transition: width .6s var(--ease); }
.steps { position: relative; flex: 1; margin-top: 26px; }
.step, .result { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.step.is-on, .result.is-on { display: block; animation: stepIn .6s var(--ease); }
.step.is-back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(40px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-40px); } }
.step legend { font: 600 1.6rem/1.15 var(--head); letter-spacing: -.03em; margin-bottom: 22px; padding: 0; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pick { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; border-radius: 20px; border: 1.5px solid var(--line); text-align: left; font-weight: 600; transition: border-color .25s, background-color .25s, transform .3s var(--ease); }
.pick:hover { border-color: var(--green); transform: translateY(-2px); }
.pick.is-on { border-color: var(--green); background: #F2F8DD; }
.pick svg { width: 40px; height: 40px; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pick small { font-weight: 400; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .9rem; transition: .25s; }
.chips button:hover { border-color: var(--green); }
.chips button.is-on { background: var(--green); border-color: var(--green); color: #fff; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-weight: 600; }
.range__top b { font: 600 1.8rem var(--head); color: var(--green); letter-spacing: -.03em; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(var(--green), var(--green)) 0 0 / var(--fill, 20%) 100% no-repeat, var(--soft); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); border: 4px solid var(--green); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); border: 4px solid var(--green); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; }
.stepper, .sel, .txt { display: grid; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.stepper > div { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 6px; border-radius: 16px; background: var(--soft); }
.stepper button { width: 40px; height: 40px; border-radius: 12px; background: var(--card); font-size: 1.3rem; color: var(--green); }
.stepper output { font: 600 1.4rem var(--head); color: var(--ink); }
.sel select, .txt input { height: 52px; padding: 0 16px; border-radius: 16px; border: 1.5px solid transparent; background: var(--soft); font: 500 1rem var(--body); color: var(--ink); appearance: none; }
.sel select:focus, .txt input:focus { outline: none; border-color: var(--green); }
.txt input.bad { border-color: #E4573D; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--muted); line-height: 1.5; margin-bottom: 18px; }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--green); flex: none; }
.consent a { text-decoration: underline; }
.err { display: none; color: #C2412A; font-size: .85rem; margin-bottom: 10px; }
.err.on { display: block; }
.back { margin-top: 14px; align-self: flex-start; font-size: .88rem; font-weight: 600; color: var(--muted); }
.back:hover { color: var(--green); }
.funnel__note { margin-top: auto; padding-top: 16px; font-size: .75rem; color: var(--muted); }

.result__label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.result__num { font: 600 clamp(2rem, 4vw, 3rem)/1.1 var(--head); letter-spacing: -.04em; color: var(--green); margin: 6px 0 18px; }
.result__bar { position: relative; height: 12px; border-radius: 12px; background: var(--soft); }
.result__bar i { position: absolute; top: 0; bottom: 0; left: 20%; right: 20%; border-radius: 12px; background: linear-gradient(90deg, #BCE05A, var(--lime), #BCE05A); transform: scaleX(0); transition: transform 1.2s var(--ease) .2s; }
.result.is-on .result__bar i { transform: scaleX(1); }
.result__bar b { position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--green); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.result__meta { margin-top: 14px; font-size: .88rem; color: var(--muted); }
.auto { margin-top: 24px; padding: 18px; border-radius: 20px; background: var(--green); color: #fff; }
.auto__title { font-weight: 700; margin-bottom: 10px; }
.auto__title small { font-weight: 400; opacity: .6; }
.auto ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.auto li { display: flex; align-items: center; gap: 10px; font-size: .9rem; opacity: .35; transition: opacity .4s; }
.auto li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); flex: none; transition: .3s; }
.auto li.on { opacity: 1; }
.auto li.on::before { background: var(--lime); border-color: var(--lime); box-shadow: inset 0 0 0 3px var(--green); }
.auto b { color: var(--lime); }
.link { margin-top: 18px; font-weight: 600; color: var(--green); text-decoration: underline; }

/* ---------- map ---------- */
.map-sec { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(90px, 10vw, 140px) max(var(--side), 4vw); max-width: 1440px; margin: 0 auto; }
.map-sec h2 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); }
.map-sec__text p { margin-top: 18px; color: var(--muted); max-width: 42ch; }
.legend { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: .8rem; color: var(--muted); }
.legend i { width: 140px; height: 10px; border-radius: 10px; background: linear-gradient(90deg, #E5F3B5, #9BC36A, #2F6B55, #0F3B36); }
.map-sec__img { margin-top: 30px; width: 100%; height: 220px; object-fit: cover; border-radius: 24px; }
.map { position: relative; background: var(--card); border-radius: var(--r); padding: 20px; }
.map svg { width: 100%; height: auto; overflow: visible; }
.elbe { fill: none; stroke: #BFD9E6; stroke-width: 22; stroke-linecap: round; }
.elbe--2 { stroke: #D6E7F0; stroke-width: 8; opacity: .8; }
.alster { fill: none; stroke: #BFD9E6; stroke-width: 7; stroke-linecap: round; }
.dist path { stroke: #fff; stroke-width: 3; cursor: pointer; transition: transform .4s var(--ease), filter .3s; transform-box: fill-box; transform-origin: center; }
.dist:hover path, .dist.is-on path { transform: scale(1.06); filter: drop-shadow(0 8px 14px rgba(15, 59, 54, .3)); }
.dist text { font: 600 12px var(--body); fill: #fff; pointer-events: none; text-anchor: middle; }
.dist.light text { fill: var(--green); }
.tip { position: absolute; z-index: 2; pointer-events: none; padding: 12px 14px; border-radius: 16px; background: var(--green); color: #fff; font-size: .82rem; line-height: 1.4; opacity: 0; transform: translate(-50%, calc(-100% - 14px)) scale(.9); transition: opacity .2s, transform .3s var(--ease); white-space: nowrap; }
.tip b { display: block; font: 600 1.15rem var(--head); color: var(--lime); }
.tip.on { opacity: 1; transform: translate(-50%, calc(-100% - 14px)); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 var(--side); border-radius: var(--r); overflow: hidden; background: var(--card); }
.about__img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.about__text { padding: clamp(30px, 5vw, 70px); display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.about blockquote { font: 500 clamp(1.6rem, 2.8vw, 2.4rem)/1.2 var(--head); letter-spacing: -.03em; color: var(--green); }
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.about__facts div { padding: 16px; border-radius: 20px; background: var(--soft); }
.about__facts b { display: block; font: 600 2.2rem var(--head); letter-spacing: -.04em; color: var(--green); }
.about__facts span { font-size: .8rem; color: var(--muted); }
.about .btn { align-self: flex-start; }

/* ---------- footer ---------- */
.foot { margin: var(--side); margin-top: clamp(60px, 8vw, 110px); padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 70px) 28px; border-radius: var(--r); background: var(--green); color: #fff; }
.foot__cta h2 { font-size: clamp(2.4rem, 6vw, 5.4rem); max-width: 12ch; }
.foot__tel, .foot__mail { display: inline-block; margin-top: 22px; margin-right: 26px; font: 600 clamp(1.4rem, 2.6vw, 2.2rem) var(--head); color: var(--lime); letter-spacing: -.02em; }
.foot__mail { color: #fff; opacity: .8; }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 60px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .8rem; color: rgba(255, 255, 255, .6); }
.foot__bottom nav { display: flex; gap: 18px; }
.foot__bottom a:hover { color: var(--lime); }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.on { visibility: visible; }
.drawer__bg { position: absolute; inset: 0; background: rgba(10, 30, 27, .5); opacity: 0; transition: opacity .5s; }
.drawer.on .drawer__bg { opacity: 1; }
.drawer__panel { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(560px, calc(100% - 24px)); overflow-y: auto; background: var(--card); border-radius: 28px; transform: translateX(110%); transition: transform .7s var(--ease); }
.drawer.on .drawer__panel { transform: none; }
.drawer__x { position: absolute; z-index: 2; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .9); font-size: 1.6rem; line-height: 1; }
.drawer__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; }
.drawer__imgs img { width: 100%; height: 260px; object-fit: cover; border-radius: 20px; }
.drawer__body { padding: 10px 30px 30px; display: grid; gap: 14px; }
.drawer__where { font-size: .85rem; color: var(--muted); font-weight: 600; }
.drawer__body h3 { font-size: 2rem; }
.drawer__price { font: 600 1.6rem var(--head); color: var(--green); letter-spacing: -.03em; }
.drawer__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.drawer__specs div { padding: 12px; border-radius: 16px; background: var(--soft); }
.drawer__specs dt { font-size: .75rem; color: var(--muted); }
.drawer__specs dd { font-weight: 700; }
.drawer__desc { color: var(--muted); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .value, .map-sec, .about { grid-template-columns: 1fr; }
  .about__img { min-height: 260px; max-height: 340px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { left: 12px; right: 12px; transform: none; justify-content: space-between; gap: 10px; }
  .hero__frame { height: calc(100svh - 120px); min-height: 520px; }
  .hero__title { font-size: clamp(2.5rem, 12vw, 3.4rem); top: 96px; bottom: auto; }
  .glass { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px; }
  .search { flex-wrap: wrap; border-radius: 24px; }
  .search__seg { width: 100%; }
  .search__seg button { flex: 1; }
  .search .btn { width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .cards3 { grid-template-columns: 1fr; }
  .pick { flex-direction: row; align-items: center; }
  .duo { grid-template-columns: 1fr; }
  .about__facts { grid-template-columns: 1fr 1fr 1fr; }
  .about__facts b { font-size: 1.6rem; }
  .drawer__specs { grid-template-columns: 1fr 1fr; }
  .cursor { display: none; }
  .card__img { cursor: pointer; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}
