/* ==========================================================================
   My Rent — квартири подобово
   ========================================================================== */
:root {
  --bg: #faf8f4;
  --bg-tint: #f3efe7;
  --surface: #ffffff;
  --ink: #14231d;
  --ink-2: #34433c;
  --muted: #6b766f;
  --line: #e8e2d7;
  --line-2: #d9d1c3;
  --primary: #1f6b4f;
  --primary-h: #185a42;
  --primary-soft: #e6f0eb;
  --gold: #c99a5b;
  --gold-soft: #f6ecdd;
  --dark: #14231d;
  --dark-2: #1c3028;
  --danger: #b8432f;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --sh-1: 0 1px 2px rgba(20, 35, 29, .06), 0 2px 8px rgba(20, 35, 29, .05);
  --sh-2: 0 10px 30px -10px rgba(20, 35, 29, .18), 0 4px 10px -4px rgba(20, 35, 29, .08);
  --sh-3: 0 30px 60px -20px rgba(20, 35, 29, .35);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hdr-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h1 em, h2 em { font-style: italic; color: var(--gold); font-weight: 500; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: .005em; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(31, 107, 79, .6); }
.btn--accent:hover { background: var(--primary-h); }
.btn--accent .ic { transition: transform .2s var(--ease); }
.btn--accent:hover .ic:last-child { transform: translateX(3px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #24372f; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--gold-soft); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-loading span::after { content: "…"; }
.linklike { background: none; border: 0; padding: 0; color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.eyebrow .ic { display: none; }
.eyebrow--light { color: var(--gold); }
.eyebrow--light .ic { display: inline; }
.eyebrow--light::before { display: none; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.pill--soft { background: var(--primary-soft); color: var(--primary); }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50; height: var(--hdr-h);
  background: rgba(250, 248, 244, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(232, 226, 215, .8);
  transition: background .3s, border-color .3s, color .3s;
}
.hdr__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: var(--ink); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.logo__mark .ic { width: 22px; height: 22px; stroke-width: 2.2; }
.logo__txt { display: flex; flex-direction: column; font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.logo__txt small { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { background: rgba(20, 35, 29, .06); color: var(--ink); }
.hdr__cta { display: flex; align-items: center; gap: 14px; }
.hdr__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), top .25s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 25px; }
.nav-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.hdr--over:not(.is-scrolled) { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.hdr--over:not(.is-scrolled) .nav a { color: rgba(255,255,255,.88); }
.hdr--over:not(.is-scrolled) .nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.hdr--over:not(.is-scrolled) .logo__txt small { color: rgba(255,255,255,.7); }
.hdr--over:not(.is-scrolled) .logo__mark { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.hdr--over:not(.is-scrolled) .burger { border-color: rgba(255,255,255,.4); }
.home .hdr { position: fixed; left: 0; right: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(900px, 100svh); display: flex; align-items: center; color: #fff; isolation: isolate; padding: calc(var(--hdr-h) + 40px) 0 70px; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.12) saturate(1.05); transform: scale(1.04); animation: heroZoom 18s var(--ease) forwards; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 22, 18, .88) 0%, rgba(12, 22, 18, .62) 45%, rgba(12, 22, 18, .12) 100%),
    linear-gradient(0deg, rgba(12, 22, 18, .55), transparent 40%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; margin-bottom: 22px; }
.hero__lead { font-size: clamp(17px, 1.6vw, 19px); color: rgba(255,255,255,.84); max-width: 560px; margin-bottom: 34px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 30px; }
.hero__trust li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; line-height: 1.3; color: rgba(255,255,255,.78); }
.hero__trust .score, .hero__trust .big {
  display: grid; place-items: center; min-width: 54px; height: 54px; padding: 0 10px; border-radius: 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px);
  font: 700 22px/1 var(--sans); color: #fff;
}
.hero__trust .score { background: #003b95; border-color: #003b95; }
.hero__trust .score small { font-size: 12px; opacity: .75; }
.hero__trust .big .ic { width: 24px; height: 24px; color: var(--gold); }

.search {
  background: rgba(255,255,255,.97); color: var(--ink); border-radius: var(--r-lg); padding: 26px;
  box-shadow: var(--sh-3); display: grid; gap: 14px;
  animation: rise .8s .15s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.search__title { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.search__title .ic { color: var(--gold); }
.search__f { display: grid; gap: 6px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); transition: border-color .2s, box-shadow .2s; cursor: pointer; }
.search__f:focus-within, .search__f:hover { border-color: var(--line-2); box-shadow: 0 0 0 4px rgba(31, 107, 79, .08); }
.search__f > span { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: 6px; }
.search__f input[data-range] { border: 0; background: none; padding: 0; font-size: 17px; font-weight: 700; outline: none; cursor: pointer; width: 100%; }
.search__f input::placeholder { color: var(--ink-2); font-weight: 600; }
.search__go { margin-top: 4px; }
.search__note { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 13px; color: var(--muted); margin: 0; }
.search__note .ic { color: var(--primary); }

.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; transition: border-color .2s, background .2s; }
.stepper button:hover { border-color: var(--ink); }
.stepper button:disabled { opacity: .35; pointer-events: none; }
.stepper input { width: 34px; border: 0; background: none; text-align: center; font-size: 18px; font-weight: 800; outline: none; padding: 0; }
.stepper--sm button { width: 32px; height: 32px; }

/* ---------- Strip ---------- */
.strip { background: var(--dark); color: rgba(255,255,255,.82); }
.strip__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__in > div { display: flex; align-items: center; gap: 14px; padding: 24px 22px; font-size: 14.5px; line-height: 1.4; border-left: 1px solid rgba(255,255,255,.08); }
.strip__in > div:first-child { border-left: 0; padding-left: 0; }
.strip__in b { color: #fff; display: block; }
.strip__in span span { display: block; }
.strip .ic { width: 28px; height: 28px; color: var(--gold); stroke-width: 1.5; }

/* ---------- Sections ---------- */
.sec { padding: clamp(70px, 9vw, 120px) 0; }
.sec--tint { background: var(--bg-tint); }
.sec--flush { padding: 70px 0 40px; }
.sec--dark { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.sec--dark::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -250px; background: radial-gradient(circle, rgba(201, 154, 91, .18), transparent 65%); pointer-events: none; }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px 60px; margin-bottom: 40px; flex-wrap: wrap; }
.sec__head--center { flex-direction: column; align-items: center; text-align: center; }
.sec__sub { max-width: 480px; color: var(--muted); margin: 0; }

/* ---------- Filters ---------- */
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; margin-bottom: 30px; box-shadow: var(--sh-1); display: grid; gap: 14px; }
.filters > * { min-width: 0; }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.filters__guests, .filters__sort { display: inline-flex; align-items: center; gap: 8px; padding: 0 6px 0 14px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--muted); }
.filters__guests select, .filters__sort select { border: 0; background: transparent; height: 100%; padding-right: 8px; font-weight: 600; color: var(--ink); outline: none; cursor: pointer; }
.filters__sort { margin-left: auto; }
.filters__price { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 14px; color: var(--muted); }
.filters__price b { color: var(--ink); }
.filters__price input { width: 130px; accent-color: var(--primary); }

.seg { display: inline-flex; padding: 4px; gap: 2px; background: var(--bg-tint); border-radius: 999px; border: 0; margin: 0; }
.seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
.seg input:focus-visible + span { outline: 2px solid var(--primary); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .2s; background: #fff; }
.chip span:hover { border-color: var(--line-2); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:checked + span .ic { color: var(--gold); }
.chip input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--surface); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.card.is-hidden { display: none; }
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-tint); overflow: hidden; }
.card__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.card__track::-webkit-scrollbar { display: none; }
.card__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.card__nav { position: absolute; top: 50%; translate: 0 -50%; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: var(--sh-1); opacity: 0; transition: opacity .2s; }
.card__nav--prev { left: 12px; }
.card__nav--next { right: 12px; }
.card:hover .card__nav { opacity: 1; }
.card__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.card__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); transition: background .2s, width .2s; }
.card__dots i.on { background: #fff; width: 16px; border-radius: 3px; }
.badge { position: absolute; display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.badge--rating { top: 12px; left: 12px; background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
.badge--rating .ic { color: #f0b429; fill: #f0b429; stroke: none; }
.badge--photos { top: 12px; right: 12px; background: rgba(20, 35, 29, .7); color: #fff; backdrop-filter: blur(6px); }
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.card h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card__body { position: relative; }
.card__loc { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.card__tag { margin: 0; color: var(--ink-2); font-size: 15px; }
.specs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.specs li { display: inline-flex; align-items: center; gap: 6px; }
.specs .ic { color: var(--primary); }
.card__am { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px dashed var(--line); display: flex; gap: 8px; }
.card__am li { width: 34px; height: 34px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; color: var(--ink-2); }
.card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; }
.card__foot .btn { position: relative; z-index: 1; }
.price { display: flex; align-items: baseline; gap: 4px; }
.price b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.price small { color: var(--muted); font-size: 13px; }
.empty { text-align: center; padding: 40px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.empty p { width: 100%; margin: 0 0 6px; color: var(--muted); }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why__item { background: var(--surface); border-radius: var(--r-lg); padding: 30px; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.why__item:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.why__ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 20px; }
.why__ic .ic { width: 26px; height: 26px; }
.why__item h3 { font-size: 19px; margin-bottom: 10px; }
.why__item p { margin: 0; color: var(--muted); font-size: 15px; }

.verify { margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 30px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; }
.verify__txt { display: flex; align-items: center; gap: 20px; }
.verify__logo { flex: none; padding: 10px 16px; border-radius: 12px; background: #003b95; color: #fff; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.verify__logo b { color: #8ec5ff; }
.verify h3 { font-size: 18px; margin-bottom: 4px; }
.verify p { margin: 0; color: var(--muted); font-size: 14.5px; }
.verify__links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.verify__links a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: 14px; transition: border-color .2s, background .2s; }
.verify__links a:hover { border-color: #003b95; background: #f2f6fc; }
.verify__links .ic { width: 14px; height: 14px; color: var(--muted); }
.mini-score { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 5px; border-radius: 6px 6px 6px 0; background: #003b95; color: #fff; font-size: 12px; font-weight: 800; }
.mini-score--lg { min-width: 36px; height: 32px; font-size: 15px; border-radius: 8px 8px 8px 0; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 16%; right: 16%; border-top: 2px dashed var(--line-2); }
.steps li { text-align: center; padding: 0 16px; position: relative; }
.steps__n { width: 60px; height: 60px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold); font: 600 26px/1 var(--serif); box-shadow: 0 0 0 8px var(--bg); position: relative; }
.steps h3 { font-size: 20px; margin-bottom: 10px; }
.steps p { color: var(--muted); max-width: 320px; margin: 0 auto; }

/* ---------- Picker ---------- */
.picker { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; align-items: center; position: relative; }
.picker h2 { margin-bottom: 18px; }
.picker__copy > p { color: rgba(255,255,255,.72); font-size: 17px; max-width: 460px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.88); }
.ticks .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(201,154,91,.18); color: var(--gold); stroke-width: 2.4; }
.picker__form { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-3); }
.opts { border: 0; padding: 0; margin: 0 0 6px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.opts legend { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; padding: 0; }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; }
.opts span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 14px; border: 1.5px solid var(--line); text-align: center; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .2s; height: 100%; }
.opts span .ic { width: 24px; height: 24px; color: var(--muted); }
.opts input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.opts input:checked + span .ic { color: var(--primary); }
.opts input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld { display: grid; gap: 6px; }
.fld > span { font-size: 13px; font-weight: 700; color: var(--muted); }
.fld input, .fld select, .fld textarea, .book__more textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff;
  font-size: 16px; font-weight: 500; outline: none; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.fld select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%236b766f' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 38px; cursor: pointer; }
.fld textarea, .book__more textarea { height: auto; padding: 12px 16px; resize: vertical; min-height: 70px; }
.fld input:focus, .fld select:focus, .fld textarea:focus, .book__more textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(31, 107, 79, .12); }
.fld input[data-range] { cursor: pointer; }
.fld.has-error input, .has-error input { border-color: var(--danger) !important; box-shadow: 0 0 0 4px rgba(184, 67, 47, .12) !important; }
.err { color: var(--danger); font-size: 13px; font-weight: 600; }
.form__note { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 13px; color: var(--muted); margin: 0; text-align: center; }
.form .seg { display: flex; width: 100%; }
.form .seg label { flex: 1; }
.form .seg span { justify-content: center; width: 100%; }
.form fieldset.seg legend { position: static; width: auto; height: auto; clip: auto; overflow: visible; }
fieldset.seg { flex-wrap: wrap; }
.modal fieldset.seg legend { display: none; }

/* ---------- Map ---------- */
.map { height: 460px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-tint); z-index: 0; }
.map--sm { height: 320px; margin-top: 16px; }
.leaflet-container { font-family: var(--sans); }
.leaflet-tile-pane { filter: saturate(.55) contrast(.95) brightness(1.03); }
.pin { background: var(--ink); color: #fff; font-weight: 800; font-size: 13px; padding: 6px 10px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 16px -4px rgba(0,0,0,.4); border: 2px solid #fff; transform: translate(-50%, -50%); display: inline-block; }
.pin.is-focus { background: var(--primary); }
.leaflet-div-icon { background: none; border: 0; }
.map-pop { display: flex; gap: 10px; align-items: center; min-width: 220px; }
.map-pop img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.map-pop b { display: block; font-size: 15px; }
.map-pop a { color: var(--primary); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: start; }
.faq-wrap h2 { margin-bottom: 16px; }
.faq-wrap .sec__sub { margin-bottom: 24px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--sh-1); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 16.5px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .25s var(--ease); color: var(--muted); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--ink-2); }

/* ---------- CTA ---------- */
.cta { padding: 0 0 90px; background: var(--bg-tint); }
.cta__in { background: linear-gradient(120deg, var(--primary) 0%, #134a37 100%); color: #fff; border-radius: 28px; padding: 48px 52px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta__in::after { content: ""; position: absolute; width: 380px; height: 380px; right: -100px; bottom: -200px; border-radius: 50%; border: 60px solid rgba(255,255,255,.05); }
.cta h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 8px; }
.cta p { margin: 0; color: rgba(255,255,255,.8); }
.cta__btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta .btn--accent { background: var(--ink); box-shadow: none; }
.cta .btn--accent:hover { background: #0b1510; }

/* ---------- Footer ---------- */
.ftr { background: var(--dark); color: rgba(255,255,255,.7); padding: 70px 0 30px; font-size: 15px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.ftr h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ftr a, .ftr .linklike { color: rgba(255,255,255,.75); text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.ftr a:hover, .ftr .linklike:hover { color: var(--gold); }
.ftr__about { margin-top: 18px; max-width: 330px; }
.logo--light .logo__txt { color: #fff; }
.logo--light .logo__txt small { color: rgba(255,255,255,.55); }
.logo--light .logo__mark { background: rgba(255,255,255,.08); }
.ftr__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: rgba(255,255,255,.5); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(12, 22, 18, .55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__card { position: relative; width: min(560px, 100%); max-height: calc(100svh - 40px); overflow: auto; background: #fff; border-radius: var(--r-lg); padding: 34px; box-shadow: var(--sh-3); transform: translateY(20px) scale(.98); opacity: 0; transition: transform .35s var(--ease), opacity .3s; }
.modal.is-open .modal__card { transform: none; opacity: 1; }
.modal__card--center { text-align: center; width: min(420px, 100%); }
.modal__x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg); display: grid; place-items: center; }
.modal__x:hover { background: var(--bg-tint); }
.modal__head { margin-bottom: 22px; }
.modal__head h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin: 14px 0 8px; }
.modal__head p { color: var(--muted); margin: 0; }
.thanks__icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; animation: pop .5s var(--ease); }
.thanks__icon .ic { width: 38px; height: 38px; stroke-width: 2.5; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
.modal__card--center h3 { font-family: var(--serif); font-size: 28px; margin-bottom: 10px; }
.modal__card--center p { color: var(--muted); margin-bottom: 22px; }

.toast { position: fixed; left: 50%; bottom: 28px; translate: -50% 20px; z-index: 120; background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 14px; font-weight: 600; font-size: 15px; box-shadow: var(--sh-3); opacity: 0; pointer-events: none; transition: opacity .3s, translate .3s var(--ease); max-width: calc(100% - 40px); }
.toast.is-on { opacity: 1; translate: -50% 0; }
.toast.is-err { background: var(--danger); }

/* ---------- Chat ---------- */
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 90; }
.chat__fab { width: 62px; height: 62px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(31, 107, 79, .65); transition: transform .25s var(--ease), background .2s; position: relative; }
.chat__fab:hover { transform: scale(1.06); background: var(--primary-h); }
.chat__fab .ic { width: 28px; height: 28px; }
.chat__fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--primary); animation: ring 2.6s ease-out infinite; }
.chat.is-open .chat__fab::before, .chat.was-opened .chat__fab::before { display: none; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.chat__fab-ic { grid-area: 1 / 1; display: grid; transition: transform .3s var(--ease), opacity .2s; }
.chat__fab-ic--close { opacity: 0; transform: rotate(-90deg); }
.chat.is-open .chat__fab-ic--open { opacity: 0; transform: rotate(90deg); }
.chat.is-open .chat__fab-ic--close { opacity: 1; transform: none; }
.chat__badge { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #e5484d; color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.chat__hint { position: absolute; right: 0; bottom: 76px; width: 250px; background: #fff; border-radius: 16px 16px 4px 16px; padding: 16px 18px; box-shadow: var(--sh-2); font-size: 14px; display: grid; gap: 4px; animation: rise .5s var(--ease); border: 1px solid var(--line); }
.chat__hint span { color: var(--muted); }
.chat__hint-x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; }
.chat__panel {
  position: absolute; right: 0; bottom: 78px; width: 370px; height: min(560px, calc(100svh - 120px));
  background: #fff; border-radius: 22px; box-shadow: var(--sh-3); border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; animation: chatIn .3s var(--ease);
}
@keyframes chatIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--ink); color: #fff; }
.chat__head b { display: block; font-size: 15.5px; }
.chat__head small { color: rgba(255,255,255,.65); font-size: 12.5px; }
.chat__avatar { position: relative; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--gold); flex: none; }
.chat__avatar i { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: #3ecf8e; border: 2px solid var(--ink); }
.chat__close { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; }
.chat__body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); overscroll-behavior: contain; }
.msg { max-width: 82%; display: flex; flex-direction: column; animation: rise .25s var(--ease); }
.msg p { margin: 0; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.msg time { font-size: 11px; color: var(--muted); margin-top: 3px; padding: 0 6px; }
.msg--out { align-self: flex-start; }
.msg--out p { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg--in { align-self: flex-end; align-items: flex-end; }
.msg--in p { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.msg--pending p { opacity: .6; }
.msg--sys p { background: var(--gold-soft); border-color: transparent; }
.chat__typing { align-self: flex-start; font-size: 12.5px; color: var(--muted); padding: 2px 6px; }
.chat__quick { display: flex; gap: 6px; padding: 10px 14px 0; overflow-x: auto; scrollbar-width: none; background: var(--bg); }
.chat__quick button { flex: none; border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.chat__quick button:hover { border-color: var(--primary); color: var(--primary); }
.chat__form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 14px 14px; background: var(--bg); border-top: 1px solid transparent; }
.chat__form textarea { flex: 1; resize: none; border: 1px solid var(--line-2); border-radius: 14px; padding: 11px 14px; font-size: 15px; max-height: 120px; outline: none; background: #fff; line-height: 1.4; }
.chat__form textarea:focus { border-color: var(--primary); }
.chat__form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; display: grid; place-items: center; flex: none; }
.chat__form button:hover { background: var(--primary-h); }

/* ---------- Apartment page ---------- */
.apt { padding-top: 24px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.crumbs b { color: var(--ink); font-weight: 600; }
.apt__title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 30px; flex-wrap: wrap; margin-bottom: 22px; }
.apt__title h1 { font-size: clamp(32px, 4.4vw, 50px); margin-bottom: 10px; }
.apt__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.apt__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.apt__rating b { background: #003b95; color: #fff; padding: 2px 7px; border-radius: 6px 6px 6px 0; font-size: 13px; }

.gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(320px, 46vw, 540px); border-radius: var(--r-lg); overflow: hidden; }
.gallery__item { padding: 0; border: 0; background: var(--bg-tint); overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.gallery__item:hover img { transform: scale(1.04); filter: brightness(.94); }
.gallery__item--main { grid-row: span 2; }
.gallery__all { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 0; background: #fff; font-weight: 700; font-size: 14px; box-shadow: var(--sh-2); }

.apt__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; margin-top: 40px; align-items: start; }
.keyfacts { list-style: none; padding: 0; margin: 0 0 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.keyfacts li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 2px; }
.keyfacts .ic { width: 24px; height: 24px; color: var(--primary); margin-bottom: 8px; }
.keyfacts b { font-size: 16px; line-height: 1.3; }
.keyfacts span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.block { padding: 36px 0; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.block h2 { font-size: 30px; margin-bottom: 18px; }
.block .lead { font-size: 19px; font-weight: 600; color: var(--ink); }
.block p { color: var(--ink-2); }
.tags { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-weight: 600; font-size: 14px; }
.amen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.amen h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.amen ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.amen li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.amen .ic { width: 22px; height: 22px; color: var(--ink-2); }
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin: 0; }
.rules > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.rules dt { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); flex: none; }
.rules dt .ic { color: var(--muted); }
.rules dd { margin: 0; text-align: right; font-weight: 700; font-size: 15px; }

.apt__side { position: sticky; top: calc(var(--hdr-h) + 20px); }
.book { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-2); display: grid; gap: 14px; }
.book__price { display: flex; justify-content: space-between; align-items: center; }
.book__price b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.book__price small { color: var(--muted); font-size: 14px; }
.book__box { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.book__dates, .book__guests { display: grid; gap: 2px; padding: 12px 16px; cursor: pointer; }
.book__guests { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-2); cursor: default; }
.book__dates span, .book__guests > span { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.book__dates input { border: 0; padding: 0; background: none; font-size: 16px; font-weight: 600; outline: none; cursor: pointer; width: 100%; }
.book__dates.has-error { background: #fdf3f1; }
.book__calc { display: grid; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--bg); font-size: 15px; }
.book__calc > div { display: flex; justify-content: space-between; }
.book__total { padding-top: 10px; border-top: 1px solid var(--line); font-size: 17px; }
.book__total b { font-size: 20px; }
.book .seg span { height: 34px; padding: 0 10px; font-size: 13.5px; }
.book__more summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--primary); list-style: none; }
.book__more summary::-webkit-details-marker { display: none; }
.book__more summary::before { content: "+ "; }
.book__more[open] summary::before { content: "− "; }
.book__more textarea { margin-top: 10px; }
.book__trust { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); }
.book__trust li { display: flex; align-items: center; gap: 8px; }
.book__trust .ic { color: var(--primary); }

.others { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.other { display: flex; gap: 14px; align-items: center; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .2s, transform .2s var(--ease); }
.other:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.other img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; flex: none; }
.other div { display: grid; gap: 2px; font-size: 13.5px; color: var(--muted); }
.other b { font-family: var(--serif); font-size: 19px; color: var(--ink); font-weight: 600; }
.other__price { color: var(--ink) !important; font-weight: 700; }

.mbar { display: none; }
.notfound { padding: 120px 0; text-align: center; }
.notfound h1 { font-size: 90px; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 110; background: rgba(8, 14, 11, .96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; touch-action: pan-y; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb__fig { margin: 0; width: 100%; height: 100%; display: grid; place-items: center; padding: 60px 90px; }
.lb__fig img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb__x, .lb__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; transition: background .2s; z-index: 1; }
.lb__x:hover, .lb__nav:hover { background: rgba(255,255,255,.2); }
.lb__x { top: 18px; right: 18px; }
.lb__nav--prev { left: 20px; }
.lb__nav--next { right: 20px; }
.lb__count { position: absolute; bottom: 20px; left: 50%; translate: -50% 0; color: rgba(255,255,255,.8); font-weight: 700; font-size: 14px; letter-spacing: .08em; }

/* ---------- Flatpickr theme ---------- */
.flatpickr-calendar { font-family: var(--sans); border-radius: 18px; box-shadow: var(--sh-3); border: 1px solid var(--line); padding: 6px; }
.flatpickr-calendar.arrowTop::before, .flatpickr-calendar.arrowTop::after { display: none; }
.flatpickr-months .flatpickr-month { height: 44px; }
.flatpickr-current-month { font-size: 16px; font-weight: 700; padding-top: 10px; }
.flatpickr-current-month .flatpickr-monthDropdown-months { font-weight: 700; }
span.flatpickr-weekday { font-weight: 700; color: var(--muted); font-size: 12px; }
.flatpickr-day { border-radius: 10px; font-weight: 600; max-width: 40px; height: 40px; line-height: 40px; }
.flatpickr-day.today { border-color: var(--gold); }
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange,
.flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover { background: var(--primary); border-color: var(--primary); }
.flatpickr-day.inRange { background: var(--primary-soft); border-color: var(--primary-soft); box-shadow: -5px 0 0 var(--primary-soft), 5px 0 0 var(--primary-soft); }
.flatpickr-day.flatpickr-disabled { color: #c8c3ba; }
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--primary); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .nav-open .nav {
    display: flex; flex-direction: column; position: fixed; top: var(--hdr-h); left: 0; right: 0;
    background: var(--bg); padding: 16px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--sh-2); color: var(--ink);
  }
  .nav-open .nav a { color: var(--ink) !important; font-size: 18px; padding: 14px 12px; }
  .nav-open .hdr { background: var(--bg) !important; color: var(--ink) !important; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .apt__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; }
  .others { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .verify { grid-template-columns: 1fr; }
  .verify__links { justify-content: flex-start; }
}
@media (max-width: 900px) {
  :root { --hdr-h: 66px; }
  .hero { min-height: 0; padding-bottom: 40px; }
  .hero__in { grid-template-columns: 1fr; gap: 34px; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(12,22,18,.75) 0%, rgba(12,22,18,.82) 60%, rgba(12,22,18,.92) 100%); }
  .strip__in { grid-template-columns: 1fr 1fr; }
  .strip__in > div { border-left: 0; padding: 18px 0; }
  .picker { grid-template-columns: 1fr; gap: 40px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { display: none; }
  .apt__grid { grid-template-columns: 1fr; }
  .apt__side { position: static; }
  .keyfacts { grid-template-columns: repeat(2, 1fr); }
  .mbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; justify-content: space-between; align-items: center; gap: 12px;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
    transition: transform .3s var(--ease);
  }
  .mbar b { font-size: 20px; font-weight: 800; }
  .mbar small { color: var(--muted); font-size: 13px; }
  .mbar.is-hidden { transform: translateY(110%); }
  .apt ~ .ftr { padding-bottom: 100px; }
  body.apt-page .chat { bottom: 90px; }
  .filters__sort { margin-left: 0; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .hdr__cta .btn { display: none; }
  .hdr__phone span { display: none; }
  .hdr__phone { width: 44px; height: 44px; justify-content: center; border-radius: 12px; border: 1px solid var(--line-2); }
  .hdr--over:not(.is-scrolled) .hdr__phone { border-color: rgba(255,255,255,.4); }
  .logo__txt { font-size: 20px; }
  .logo__txt small { font-size: 10px; }
  .hero h1 { font-size: 40px; }
  .hero__trust { gap: 12px 18px; }
  .hero__trust li { font-size: 12.5px; }
  .search { padding: 20px; }
  .strip__in { grid-template-columns: 1fr; }
  .strip__in > div { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); }
  .strip__in > div:first-child { border-top: 0; }
  .cards, .why, .others { grid-template-columns: 1fr; }
  .filters { padding: 12px; border-radius: 18px; }
  .filters__row { gap: 8px; }
  .filters__row > * { flex: 1 1 100%; }
  .filters__row .seg { display: flex; }
  .filters__row .seg label { flex: 1; }
  .filters__row .seg span { justify-content: center; width: 100%; padding: 0 8px; }
  .filters__price input { flex: 1; width: auto; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -12px; padding: 0 12px 4px; scrollbar-width: none; }
  .chip span { white-space: nowrap; }
  .card__nav { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .opts { grid-template-columns: repeat(2, 1fr); }
  .picker__form, .modal__card { padding: 22px; }
  .verify { padding: 22px; }
  .verify__txt { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cta__in { padding: 34px 24px; border-radius: 22px; }
  .cta__btns, .cta__btns .btn { width: 100%; }
  .ftr__grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 420px; border-radius: 18px; }
  .gallery__item--main { grid-column: span 2; grid-row: auto; }
  .gallery__item:nth-child(n+4) { display: none; }
  .amen, .rules { grid-template-columns: 1fr; }
  .lb__fig { padding: 70px 10px; }
  .lb__nav { width: 44px; height: 44px; bottom: 20px; top: auto; }
  .lb__nav--prev { left: 20px; }
  .lb__nav--next { right: 20px; }
  .chat { right: 14px; bottom: 14px; }
  .chat__panel { position: fixed; inset: 0; width: auto; height: 100svh; border-radius: 0; bottom: 0; }
  .chat.is-open .chat__fab { display: none; }
  .chat__form { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .flatpickr-calendar { width: calc(100vw - 24px) !important; max-width: 340px; }
}

/* ---------- Owners page ---------- */
.owners .hdr { position: sticky; }
.ohero { background: var(--dark); color: #fff; padding: clamp(60px, 8vw, 110px) 0; position: relative; overflow: hidden; }
.ohero::before { content: ""; position: absolute; width: 760px; height: 760px; left: -260px; bottom: -420px; background: radial-gradient(circle, rgba(201,154,91,.2), transparent 65%); }
.ohero__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 60px; align-items: center; position: relative; }
.ohero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.05; margin-bottom: 22px; }
.ohero__lead { color: rgba(255,255,255,.78); font-size: 18px; max-width: 600px; margin-bottom: 30px; }
.ohero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ohero__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ohero__facts li { padding: 20px 24px; border-radius: var(--r); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: grid; gap: 2px; }
.ohero__facts b { font: 600 36px/1 var(--serif); color: var(--gold); }
.ohero__facts small { font-size: 18px; opacity: .7; }
.ohero__facts span { color: rgba(255,255,255,.7); font-size: 14px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 24px; justify-content: center; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.plan--main { border: 2px solid var(--primary); box-shadow: var(--sh-2); }
.plan__badge { position: absolute; top: -13px; left: 32px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-family: var(--serif); font-size: 28px; font-weight: 600; }
.plan__sub { color: var(--muted); margin: 0; }
.plan ul { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .ic { color: var(--primary); margin-top: 3px; stroke-width: 2.4; }
.plan__price { font-weight: 800; font-size: 17px; padding: 14px 0; border-top: 1px dashed var(--line); }
.opts--2 { grid-template-columns: 1fr 1fr; }
.form__row--3 { grid-template-columns: 1fr 1fr 1fr; }
.ftr__h-gap { margin-top: 26px; }
@media (max-width: 900px) {
  .ohero__in { grid-template-columns: 1fr; gap: 36px; }
  .ohero__facts { grid-template-columns: repeat(3, 1fr); }
  .ohero__facts li { padding: 16px; }
  .ohero__facts b { font-size: 28px; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ohero__facts { grid-template-columns: 1fr; }
  .ohero__btns .btn { width: 100%; }
  .form__row--3 { grid-template-columns: 1fr 1fr; }
  .form__row--3 > :first-child { grid-column: span 2; }
  .plan { padding: 26px 22px; }
}

/* ---------- SEO / landings ---------- */
.landing .hdr { position: sticky; }
.lhero { background: var(--dark); color: #fff; padding: 40px 0 clamp(50px, 7vw, 90px); position: relative; overflow: hidden; }
.lhero::before { content: ""; position: absolute; width: 700px; height: 700px; right: -220px; top: -300px; background: radial-gradient(circle, rgba(201,154,91,.2), transparent 65%); }
.lhero .wrap { position: relative; }
.lhero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.08; margin: 10px 0 20px; max-width: 900px; }
.lhero__lead { color: rgba(255,255,255,.8); font-size: 17.5px; max-width: 760px; }
.lhero__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.crumbs--light, .crumbs--light a { color: rgba(255,255,255,.6); }
.crumbs--light b { color: #fff; }
.crumbs--light a:hover { color: #fff; }
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 14px; }
.prose h2:not(:first-child) { margin-top: 36px; }
.prose p { color: var(--ink-2); font-size: 16.5px; }
.sec--short { padding: clamp(50px, 6vw, 80px) 0; }
.h-sm { font-family: var(--sans); font-size: 15px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.seo-text { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.seo-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seo-links a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 600; transition: border-color .2s, color .2s; }
.seo-links a:hover { border-color: var(--primary); color: var(--primary); }
.seo-links .ic { width: 14px; height: 14px; color: var(--primary); }
@media (max-width: 900px) { .seo-text { grid-template-columns: 1fr; gap: 30px; } }
.apt__title h1 small { display: block; font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-top: 8px; }
.ftr__dev { color: var(--gold) !important; font-weight: 800; letter-spacing: .04em; }
.ftr__dev:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.posts--3 { grid-template-columns: repeat(3, 1fr); }
.post { display: grid; grid-template-columns: 200px 1fr; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.posts--3 .post { grid-template-columns: 1fr; }
.post:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.post img { width: 100%; height: 100%; min-height: 170px; max-height: 220px; object-fit: cover; }
.post > div { padding: 20px 20px 20px 0; display: grid; gap: 8px; align-content: start; }
.posts--3 .post > div { padding: 0 20px 20px; }
.post time { font-size: 13px; color: var(--muted); font-weight: 600; }
.post h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.post p { margin: 0; color: var(--muted); font-size: 14.5px; }
.post-date { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.65); font-size: 14px; margin-top: 8px; }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; align-items: start; }
.article .prose { max-width: none; }
.article .prose h2 { margin-top: 32px; }
.article .prose ul { padding-left: 20px; color: var(--ink-2); }
.article .prose li { margin-bottom: 6px; }
.article .prose a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article__cover { width: 100%; max-height: 440px; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 26px; }
.article__side { position: sticky; top: calc(var(--hdr-h) + 20px); }
.article__cta { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; box-shadow: var(--sh-1); }
.article__cta h3 { font-family: var(--serif); font-size: 22px; }
.article__cta p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .posts, .posts--3 { grid-template-columns: 1fr; } .article { grid-template-columns: 1fr; } .article__side { position: static; } }
@media (max-width: 640px) { .post { grid-template-columns: 1fr; } .post > div { padding: 0 18px 18px; } }
