/* Атмосфера тишины — vtishine.life. Light, watercolour-cream look after Ilya's reference mockup (single light theme by design). */
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/cormorant-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/cormorant-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/cormorant-italic-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/cormorant-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/manrope-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/manrope-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Marck Script"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/marck-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Marck Script"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/marck-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --paper: #f4eee4; --paper-2: #ebe5d8; --card: #faf5ef; --ink: #33372c; --muted: #6e6b5e; --line: #e2dacb;
  --olive: #5e6245; --olive-dark: #4f5339; --olive-ink: #4d5340; --on-olive: #f7f4ec; --sand: #d9c7a0; --sand-ink: #6d5b34;
  --land: #ece6d8; --water: #cdd8d6; --water-line: #b0c0bd;
  --display: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --script: "Marck Script", "Segoe Script", cursive;
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  --shadow: 0 10px 40px rgba(70, 64, 45, .12);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.2vw, 46px); }
h3 { font-size: 26px; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; flex: none; }

.in, .hero-in, .top-in, .foot-in, .homes-in { max-width: 1240px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow a { text-decoration: none; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 52ch; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; background: var(--olive); color: var(--on-olive); text-decoration: none; font: 600 15px/1 var(--body); border: 1px solid var(--olive); cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--olive-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--card); }
.link { color: var(--olive); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* header — floats over the hero like the mockup */
.top { position: absolute; inset: 0 0 auto; z-index: 20; padding-top: env(safe-area-inset-top, 0px); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 96px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--olive-ink); }
.spruces { width: 52px; height: 52px; flex: none; }
.brand-name { display: grid; font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.05; letter-spacing: .22em; text-transform: uppercase; }
.brand-name span:last-child { letter-spacing: .3em; font-size: 21px; }
.nav { display: flex; gap: 30px; margin-left: auto; font-size: 14.5px; padding-bottom: 10px; }
.nav a { text-decoration: none; color: var(--ink); } .nav a:hover { color: var(--olive); }
.fav { position: relative; color: var(--olive-ink); display: grid; place-items: center; width: 44px; height: 44px; margin-left: 8px; }
.fav .ic { width: 30px; height: 30px; }
.fav-n { position: absolute; top: 4px; right: 2px; background: var(--olive); color: var(--on-olive); font: 600 10px/16px var(--body); min-width: 16px; text-align: center; border-radius: 8px; }
.btn-book { background: color-mix(in srgb, var(--olive) 92%, transparent); border: 1px solid color-mix(in srgb, var(--on-olive) 50%, transparent); box-shadow: var(--shadow); min-height: 50px; }
.home .nav { margin-left: clamp(40px, 9.5vw, 160px); }
.home .fav { margin-left: auto; }
.fav { margin-right: -8px; }
.home .top-in { max-width: none; padding-left: max(var(--gut), 12.2vw); padding-right: max(var(--gut-r), 4.4vw); }
.top-sub .top { position: relative; background: var(--paper); border-bottom: 1px solid var(--line); }
@media (max-width: 1100px) { .nav { display: none; } .fav { margin-left: auto; } }
@media (max-width: 560px) { .top-in { gap: 8px; min-height: 76px; } .spruces { width: 40px; height: 40px; } .brand-name { font-size: 15px; } .brand-name span:last-child { font-size: 16px; } .btn-book span { display: none; } .btn-book { width: 48px; padding: 0; } .fav { width: 40px; } }

/* hero after the mockup */
.hero2 { position: relative; padding: clamp(92px, 7.4vw, 118px) 0 0; overflow-x: clip; overflow-y: visible; isolation: isolate; }
/* photo is anchored to the search panel: its lower edge always hides behind the middle of the panel, whatever the screen size */
.hero2-pic { position: absolute; z-index: -2; bottom: 60px; right: 0; width: 66%; aspect-ratio: 891 / 308; }
.hero2-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.75) 2.5%, #000 7%), linear-gradient(0deg, transparent 0, #000 12%), linear-gradient(180deg, transparent 0, #000 8%); -webkit-mask-composite: source-in, source-in;
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.75) 2.5%, #000 7%), linear-gradient(0deg, transparent 0, #000 12%), linear-gradient(180deg, transparent 0, #000 8%); mask-composite: intersect, intersect; }
/* watercolour wash behind the hero and "Наши дома" (texture made by tools/wash.html) */
body.home main { background: url(/assets/wash.jpg) top center / max(100%, 1100px) auto no-repeat, var(--paper); }
/* banner-only home (Илюша, 2026-11-26: «оставь только верхний баннер»): one full screen, photo hangs from the top */
/* a watercolour vignette on paper: picture and title centred together, the photo dissolving into the paper on every side */
/* as in the mockup: the lake picture hangs from the very top (trees behind the header), sky behind the title */
/* overflow: clip — swaying branches must never poke past the screen edge (that made the page grow and the scrollbar jump) */
.banner-only .hero2 { min-height: 100vh; min-height: 100svh; padding-top: clamp(100px, 8.6vw, 140px); overflow: clip; }
.banner-only .hero2-pic { top: 0; bottom: auto; width: 69.4%; aspect-ratio: 1066 / 402; }
.banner-only .hero2-img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.7) 4%, #000 11%), linear-gradient(0deg, transparent 0, #000 17%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.7) 4%, #000 11%), linear-gradient(0deg, transparent 0, #000 17%); mask-composite: intersect; }
/* mist lies on the lake: from the left edge to the jetty, from the far shore down to the water's edge */
.banner-only .fog { left: 0; top: 58%; width: 66%; height: 42%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 70%, transparent 100%), linear-gradient(180deg, transparent 0, #000 30%, #000 70%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 70%, transparent 100%), linear-gradient(180deg, transparent 0, #000 30%, #000 70%, transparent 100%); mask-composite: intersect; }
.banner-only .wash-r { display: none; }
/* when houses follow the banner: no full-screen height, the cards start right after the search panel */
.banner-only .hero2.with-homes { min-height: 0; padding-bottom: 20px; }
.with-homes .leaf-bc, .with-homes .leaf-br { display: none; }
.homes.sel-homes { padding-top: 8px; overflow: clip; /* clip, not hidden: keeps the sticky map working */ }
.sel-homes .homes-head { justify-content: flex-end; margin-bottom: 10px; }
.banner-only .search { margin-top: clamp(24px, 2.6vw, 44px); }
/* soft, diffuse shadow under the search panel (no hard edge) */
.search { box-shadow: 0 24px 70px -24px rgba(70, 64, 45, .22), 0 4px 18px -6px rgba(70, 64, 45, .08); }
.search-note { grid-column: 1 / -1; padding: 6px 8px 2px; font-size: 14.5px; color: var(--muted); }
.search-note a { color: var(--olive); font-weight: 600; }
/* contacts footer stays visible on the home page */
/* Ilya's own watercolour background (from his PSD), with a warm sunrise glow behind the title */
body.banner-only main { background:
  radial-gradient(ellipse 45% 40% at 28% 18%, rgba(251, 227, 201, .55), transparent 70%),
  url(/assets/wash-ilya.jpg) center / cover no-repeat, var(--paper); }
.banner-only .leaf-bc { right: 24.5%; }

/* watercolour stains from the mockup: grey-green haze left of the title, photo bleeding into paper under the search panel */
.wash-l { position: absolute; z-index: -1; left: 0; top: 13vw; width: 11.5vw; height: auto; pointer-events: none; }
.wash-r { position: absolute; left: 28.6%; top: 87%; width: 71.4%; height: auto; pointer-events: none; }
@media (max-width: 760px) { .wash-l, .wash-r { display: none; } }

/* mist breathing over the lake (left part of the photo) */
.fog { position: absolute; left: 0; top: 50%; width: 52%; height: 46%; overflow: hidden; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 55% 55%, #000 35%, transparent 100%); mask-image: radial-gradient(ellipse 60% 55% at 55% 55%, #000 35%, transparent 100%); }
/* two strips of a seamless mist texture (tools/fog.html) drifting in opposite directions; each strip is
   twice as wide as the box and holds two tiles, so sliding it by half its width loops without a seam */
.fog i { position: absolute; display: block; left: 0; width: 200%; background: url(/assets/fog.png) repeat-x 0 0 / 50% 100%; will-change: transform, opacity; }
.fog i:nth-child(1) { top: 10%; height: 80%; opacity: .75; animation: mist-left 34s linear infinite, breathe 8s ease-in-out infinite; }
.fog i:nth-child(2) { top: 26%; height: 70%; opacity: .55; transform: scaleY(-1); animation: mist-right 46s linear infinite, breathe 11s ease-in-out -6s infinite; }
.fog i:nth-child(3) { top: 44%; height: 50%; opacity: .45; animation: mist-left 26s linear -10s infinite, breathe 7s ease-in-out -3s infinite; }
.fog i:nth-child(4) { display: none; }
@keyframes mist-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mist-right { from { transform: translateX(-50%) scaleY(-1); } to { transform: translateX(0) scaleY(-1); } }
@keyframes breathe { 0%, 100% { opacity: .2; } 50% { opacity: .95; } }

.leaf { position: absolute; pointer-events: none; z-index: -1; height: auto; will-change: transform; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* branches swaying in a light wind, each with its own rhythm and pivot */
/* --sway = swing amplitude (NOT --a: that name is the registered angle of the golden ring); branches pivot where they would attach to the tree */
.leaf { --sway: 1; }
.leaf-tl { transform-origin: 0 0; animation: sway 6s ease-in-out infinite; }
.leaf-l { transform-origin: 0 45%; animation: sway-l 7.5s ease-in-out -2s infinite; }
.leaf-bc { transform-origin: 40% 100%; animation: sway-up 8s ease-in-out -4s infinite; }
.leaf-br { transform-origin: 100% 100%; animation: sway-up 5.5s ease-in-out -1s infinite; }
@keyframes sway {
  0%, 100% { transform: rotate(0deg) skewX(0deg); }
  20% { transform: rotate(calc(var(--sway) * 5deg)) skewX(calc(var(--sway) * -1.5deg)); }
  38% { transform: rotate(calc(var(--sway) * -1.5deg)) skewX(calc(var(--sway) * .8deg)); }
  58% { transform: rotate(calc(var(--sway) * 3.5deg)) skewX(calc(var(--sway) * -1deg)); }
  80% { transform: rotate(calc(var(--sway) * -1deg)); } }
@keyframes sway-l {
  0%, 100% { transform: rotate(0deg) skewY(0deg); }
  25% { transform: rotate(calc(var(--sway) * -4.5deg)) skewY(calc(var(--sway) * 1.2deg)); }
  50% { transform: rotate(calc(var(--sway) * 1.5deg)); }
  72% { transform: rotate(calc(var(--sway) * -3deg)) skewY(calc(var(--sway) * .8deg)); } }
@keyframes sway-up {
  0%, 100% { transform: rotate(0deg); }
  26% { transform: rotate(calc(var(--sway) * -5deg)) skewX(calc(var(--sway) * 1.5deg)); }
  52% { transform: rotate(calc(var(--sway) * 2deg)) skewX(calc(var(--sway) * -.6deg)); }
  76% { transform: rotate(calc(var(--sway) * -2.5deg)); } }
/* "reduce motion" in the OS: keep the breeze, just half as strong and without the leaf shimmer */
@media (prefers-reduced-motion: reduce) { .leaf { --sway: .5; } .fog i { animation-duration: 60s, 16s; } }
.leaf-tl { left: 0; top: 0; width: clamp(130px, 12.9vw, 260px); }
.leaf-l { left: 0; top: clamp(300px, 23.4vw, 420px); width: clamp(90px, 9.8vw, 200px); }
.hero2-in { padding-left: max(var(--gut), 11.6vw); padding-right: var(--gut-r); display: grid; gap: 16px; justify-items: start; }
.hero2-title { font-size: clamp(54px, 6.7vw, 110px); font-weight: 500; line-height: .8; color: var(--olive-ink); letter-spacing: -.005em; }
.hero2-sub { font-size: clamp(16px, 1.15vw, 19px); color: var(--ink); max-width: 30ch; line-height: 1.4; margin-top: 10px; }
.hero2-rule { width: 64px; height: 1px; background: var(--olive-ink); opacity: .6; }

/* search panel */
.search { position: relative; margin: clamp(24px, 2.2vw, 36px) 9.4vw 0; background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 28px; box-shadow: var(--shadow); padding: 14px 24px; display: grid; gap: 8px; }
.search-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; }
.sf { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 14px; border-radius: 999px; color: var(--ink); font-size: 14.5px; cursor: pointer; background: #fdfaf5; box-shadow: 0 1px 6px rgba(70, 64, 45, .07); }
.sf:hover { background: #fff; }
/* focus ring around the whole pill, not around the bare select inside it */
.sf-select select:focus { outline: none; }
.sf:focus-within { background: #fff; box-shadow: 0 0 0 2px color-mix(in srgb, var(--olive) 55%, transparent), 0 1px 6px rgba(70, 64, 45, .07); }
.sf .ic { color: var(--olive-ink); }
.sf-select { flex: 0 1 auto; }
.sf-select select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: inherit; color: inherit; min-width: 0; padding: 12px 30px 12px 0; cursor: pointer; field-sizing: content; }
.search-row:first-child .sf-select { flex: 1 1 0; }
.search-row:first-child .sf-select select { flex: 1; }
.sf-select .chev { position: absolute; right: 12px; width: 16px; height: 16px; pointer-events: none; color: var(--muted); }
.sf-check { background: transparent; box-shadow: none; }
.sf-check input { width: 18px; height: 18px; accent-color: var(--olive); margin: 0 0 0 8px; }
.btn-find { margin-left: auto; min-width: 200px; min-height: 50px; font-size: 16px; font-weight: 500; }
.btn-find .ic { width: 22px; height: 22px; }
.nav a { white-space: nowrap; }
@media (max-width: 1300px) and (min-width: 901px) {
  .home .nav { gap: 20px; margin-left: 4vw; font-size: 14px; }
  .search { margin-inline: 4vw; padding: 12px 16px; }
  .sf { padding: 0 10px; gap: 8px; font-size: 13.5px; }
  .sf-select select { padding-right: 22px; }
  .sf-select .chev { right: 8px; }
  .btn-find { min-width: 170px; }
}
@media (max-width: 900px) { .search-row:first-child .sf-select { flex: 1 1 100%; } .btn-find { width: 100%; margin-left: 0; } .search { border-radius: 20px; margin-inline: var(--gut) var(--gut-r); } }

/* "Наши дома" row */
.homes { position: relative; padding-block: clamp(36px, 3.6vw, 56px) 72px; overflow: hidden; isolation: isolate; }
.homes .homes-in { max-width: none; padding-left: max(var(--gut), 4.2vw); padding-right: max(var(--gut-r), 4.2vw); }
.homes-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 22px; }
.caps-title { font-family: var(--display); font-size: clamp(24px, 2.6vw, 30px); letter-spacing: .18em; text-transform: uppercase; font-weight: 500; display: flex; align-items: center; gap: 22px; }
.caps-title::after { content: ""; width: clamp(60px, 14vw, 200px); height: 1px; background: var(--ink); opacity: .5; }
.homes-links { display: grid; justify-items: end; gap: 2px; font-size: 14.5px; }
.homes-links a { text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.homes-links .arrow { width: 18px; height: 18px; }
.map-open { border: 0; background: none; font: 600 12.5px/1.4 var(--body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; padding: 0; color: var(--ink); }
.homes-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1100px) { .homes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .homes-grid { grid-template-columns: minmax(0, 1fr); } }
.homes-grid-real { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

.hcard { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 343 / 245; box-shadow: var(--shadow); background: var(--paper-2); color: #fff; }
.hcard > img, .hcard-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.hcard:hover > img, .hcard:hover .hcard-link img { transform: scale(1.03); }
.hcard::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(0deg, rgba(20, 22, 14, .72), transparent); pointer-events: none; }
.like { position: absolute; z-index: 2; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; background: none; color: #fff; cursor: pointer; display: grid; place-items: center; filter: drop-shadow(0 1px 4px rgba(0,0,0,.4)); }
.like .ic { width: 28px; height: 28px; }
.like[aria-pressed="true"] .heart-ic { fill: #fff; }
.hcard-bar { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12.5px; }
.hcard-bar span { display: inline-flex; align-items: center; gap: 5px; }
.hcard-bar .ic { width: 16px; height: 16px; }
.hprice { margin-left: auto; background: rgba(251, 248, 242, .94); color: var(--ink); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.hcard-title { position: absolute; z-index: 1; left: 14px; right: 60px; top: 12px; display: grid; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hcard-title b { font: 600 24px/1.1 var(--display); }
.hcard-title span { font-size: 13px; }
.hcard[hidden] { display: none; }

/* map card + full screen map */
.map-card { position: relative; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.map-card.map-wide { aspect-ratio: 16 / 7; }
/* 9 houses in a 3×3 block with a tall map on the right */
.homes-grid.with-map { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr); }
/* the map runs down the whole list and stays in view while the cards scroll past */
.with-map .map-card { grid-column: 4; grid-row: 1 / span var(--rows, 3); align-self: start; position: sticky; top: 16px; height: auto; aspect-ratio: 4 / 5;
  border: 1px solid rgba(77, 83, 64, .22); box-shadow: 0 18px 50px -10px rgba(60, 55, 40, .28), 0 2px 8px rgba(60, 55, 40, .08); }
.with-map .map-card .map { --land: #faf6ee; --water: #b4cacd; --water-line: #8ea9ad; }
.with-map .map-card .city text { fill: #4d5340; }
.with-map .map-card .pin circle { fill: #b0955a; stroke: #fffaf0; } /* ochre, like the watercolour leaves */
.m-road { fill: none; stroke: #ddcba8; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.m-road.major { stroke: #c9a46f; stroke-width: 1.8; }
/* card ↔ pin highlight */
.pin { cursor: pointer; outline: none; }
/* gentle warm glow instead of a solid colour: the dot keeps its olive, a lantern-like halo appears around it */
.pin circle { transition: filter .6s ease, fill .6s ease; }
.with-map .map-card .pin.hl circle, .pin.hl circle { fill: #c29f5c; stroke: #fffaf0;
  filter: drop-shadow(0 0 2px rgba(255, 240, 205, .95)) drop-shadow(0 0 7px rgba(240, 200, 120, .7)); }
/* calm response: long, eased, almost no movement */
.hcard { transition: box-shadow .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1); }
.hcard.hl { transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 244, 222, .6), 0 0 22px 1px rgba(240, 205, 140, .32), 0 12px 36px rgba(70, 64, 45, .16); }
.hcard > img, .hcard-link img { transition: transform 1.4s cubic-bezier(.22, .61, .36, 1) !important; }
.hcard:hover > img, .hcard:hover .hcard-link img { transform: scale(1.015) !important; }
.hcard.sel .hcard-title { right: 56px; z-index: 2; }
/* badges row above the title: "Лучшее предложение" and the hot-dates discount */
.hcard-badges { position: absolute; z-index: 5; left: 12px; right: 56px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.hcard.has-badges .hcard-title { top: 46px; }
.hot-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px 4px 7px; border-radius: 999px;
  background: #c8572f; color: #fff6ea; font: 700 12.5px/1.2 var(--body); text-decoration: none; box-shadow: 0 3px 12px rgba(150, 50, 15, .35); }
.hot-badge:hover { background: #b14a26; }
.hot-badge .flame { width: 16px; height: 16px; color: #ffb347; transform-origin: 50% 90%; animation: flicker 1.8s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(0deg); } 25% { transform: scale(1.07, .95) rotate(-4deg); } 50% { transform: scale(.96, 1.06) rotate(3deg); } 75% { transform: scale(1.04, .97) rotate(-2deg); } }
/* "Лучшее предложение": golden ring slowly circling the card, a soft aura, a sweeping glint and two twinkling stars — as in the Mini App */
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.best-badge { padding: 4px 10px; border-radius: 999px; font: 600 12px/1.2 var(--body); letter-spacing: .03em; color: #5a4320;
  background: linear-gradient(110deg, #efd49a 0%, #fff7e0 45%, #e8c07a 100%); background-size: 220% 100%;
  box-shadow: 0 0 12px rgba(255, 226, 160, .8); animation: best-badge 3.6s ease-in-out infinite; }
@keyframes best-badge { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
/* the card lets its glow spill outside (like a rare item in a game); its contents clip themselves instead */
/* Same technique as the Telegram Mini App: the golden ring IS the card's border (padding-box/border-box backgrounds),
   so it works in every browser and the photo lies inside it — no dark rim can show at the edge. */
.hcard.best { overflow: visible; border: 3px solid transparent;
  background: linear-gradient(#f4eee4, #f4eee4) padding-box, conic-gradient(from var(--a, 0deg), #e6c27a, #fff4d6, #d9a066, #c3d1ad, #f2d796, #e6c27a) border-box;
  animation: best-spin 7s linear infinite, best-aura 3.6s ease-in-out infinite; }
.hcard.best .hcard-link { overflow: hidden; border-radius: 13px; position: absolute; inset: 0; }
.hcard.best::after { inset: 55% 0 0; border-radius: 0 0 13px 13px; }
.best-ring { display: none; }
@keyframes best-aura { 0%, 100% { box-shadow: 0 0 16px 3px rgba(232, 190, 110, .5), var(--shadow); } 50% { box-shadow: 0 0 46px 14px rgba(245, 200, 115, .72), var(--shadow); } }
/* blurred golden halo running around the card, outside its edge */
.best-glow { position: absolute; inset: -10px; z-index: -1; border-radius: 24px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), #f6d58e, #fff3cf, #e4a55c, #f9e6b0, #d8b46a, #fff6dc, #f6d58e);
  filter: blur(12px); opacity: .9; animation: best-spin 7s linear infinite, best-breathe 3.6s ease-in-out infinite; }
@keyframes best-breathe { 0%, 100% { opacity: .55; transform: scale(.985); } 50% { opacity: 1; transform: scale(1.02); } }
.best-ring { position: absolute; inset: 0; z-index: 4; border-radius: inherit; padding: 3px; pointer-events: none;
  background: conic-gradient(from var(--a), #e6c27a, #fff4d6, #d9a066, #c3d1ad, #f2d796, #e6c27a);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: best-spin 7s linear infinite; }
@keyframes best-spin { to { --a: 360deg; } }
.best-shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; overflow: hidden;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 246, 220, .25) 42%, rgba(255, 250, 232, .75) 50%, rgba(255, 246, 220, .25) 58%, transparent 70%);
  background-size: 250% 100%; background-repeat: no-repeat; animation: best-sweep 5s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes best-sweep { 0%, 45% { background-position: 150% 0; } 100% { background-position: -150% 0; } }
.best-star { position: absolute; z-index: 5; color: #fff6dc; font-style: normal; pointer-events: none; text-shadow: 0 0 8px #f3cf86, 0 0 16px #f3cf86; animation: best-twinkle 2.8s ease-in-out infinite; }
.best-star.s1 { top: 56px; right: 18px; font-size: 18px; }
.best-star.s2 { top: 84px; right: 42px; font-size: 11px; animation-delay: 1.4s; }
@keyframes best-twinkle { 0%, 100% { opacity: .15; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(45deg); } }
/* Pulse more often and travel as a wave across the row: each best card starts --wave × 0.45s later */
.hcard.best { animation-duration: 7s, 2.2s; animation-delay: 0s, calc(var(--wave, 0) * .45s); }
.hcard.best .best-glow { animation-duration: 7s, 2.2s; animation-delay: 0s, calc(var(--wave, 0) * .45s); }
.hcard.best .best-shine { animation-duration: 3.2s; animation-delay: calc(var(--wave, 0) * .45s); }
.hcard.best .best-star.s1 { animation-delay: calc(var(--wave, 0) * .45s); }
.hcard.best .best-star.s2 { animation-delay: calc(var(--wave, 0) * .45s + 1.1s); }
.hcard.best .best-badge { animation-delay: calc(var(--wave, 0) * .45s); }
/* Ilya wants the glow alive even when Windows "animation effects" are off: keep it, a little calmer */
@media (prefers-reduced-motion: reduce) {
  .hcard.best { animation-duration: 10s, 2.8s; }
  .hcard.best .best-glow { animation-duration: 10s, 2.8s; }
  .hcard.best .best-shine { animation-duration: 4.5s; }
  .best-star { animation-duration: 3.6s; }
  .best-badge { animation-duration: 5s; }
}
/* no titles on the cards any more → no dark band at the top of the photo */
.hcard.sel::before { content: none; }
.hcard.sel::after { inset: 55% 0 0; background: linear-gradient(0deg, rgba(20, 22, 14, .62), transparent); }
.hcard.sel .hcard-title b { font-size: 22px; }
@media (max-width: 1100px) { .homes-grid.with-map { grid-template-columns: repeat(2, minmax(0, 1fr)); } .with-map .map-card { grid-column: 1 / -1; grid-row: 1; position: relative; top: 0; height: auto; aspect-ratio: 16 / 9; min-height: 0; } }
@media (max-width: 620px) { .homes-grid.with-map { grid-template-columns: minmax(0, 1fr); } .with-map .map-card { aspect-ratio: 4 / 3; } }
@media (max-width: 700px) { .map-card.map-wide { aspect-ratio: 4 / 3; } }
.map-card .map { border: 0; border-radius: 0; aspect-ratio: auto; width: 100%; height: 100%; }
.map-close { display: none; }
.map-card.full { position: fixed; z-index: 50; inset: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); aspect-ratio: auto; }
.map-card.full .map-close { display: grid; place-items: center; position: absolute; left: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font: 400 26px/1 var(--body); cursor: pointer; color: var(--ink); }
body.map-open-body { overflow: hidden; }
.map { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--water); aspect-ratio: 992 / 820; max-width: 100%; touch-action: pan-y; }
.map svg { width: 100%; height: 100%; display: block; cursor: grab; }
.map.drag svg { cursor: grabbing; }
.m-water { fill: var(--water); }
.m-land { fill: var(--land); stroke: var(--water-line); stroke-width: .8; vector-effect: non-scaling-stroke; }
.m-lake { fill: var(--water); stroke: var(--water-line); stroke-width: .8; vector-effect: non-scaling-stroke; }
.m-river { fill: none; stroke: var(--water-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.water-label { fill: var(--water-line); font-family: var(--display); font-style: italic; }
.city circle { fill: var(--muted); } .city text { fill: var(--muted); font-family: var(--body); font-weight: 500; }
.city:not(.big) { display: none; } .map.zoomed .city { display: inline; }
.pin circle { fill: var(--olive); stroke: #fff; }
.pin.soft circle { fill: var(--sand); }
.pin:hover circle, .pin:focus circle { fill: var(--olive-dark); }
.map-ctl { position: absolute; right: 10px; top: 10px; display: grid; gap: 6px; }
.map-ctl button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 18px/1 var(--body); cursor: pointer; }
.nothing { margin-top: 18px; color: var(--muted); }

/* values row + handwriting */
.values { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 0; margin-top: 56px; }
.value { display: flex; align-items: center; gap: 16px; padding: 4px 36px; color: var(--olive-ink); font-size: 14.5px; line-height: 1.3; }
.value span { color: var(--ink); }
.value + .value { border-left: 1px solid var(--line); }
.ic.big { width: 46px; height: 46px; stroke-width: 1.1; }
.script { margin-left: auto; font-family: var(--script); font-size: clamp(28px, 3vw, 38px); line-height: 1.05; color: var(--olive-ink); transform: rotate(-6deg); display: flex; align-items: end; gap: 14px; padding-right: 60px; }
.script .ic { width: 40px; height: 40px; stroke-width: 1.1; }
.leaf-bc { right: 24.5%; bottom: 0; width: clamp(120px, 13vw, 260px); }
.leaf-br { right: 0; bottom: 0; width: clamp(60px, 6.5vw, 130px); }
@media (max-width: 1000px) { .value { padding: 4px 20px; } .script { margin: 10px auto 0; padding-right: 0; } }
@media (max-width: 620px) { .values { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 0; } .value { padding: 0 12px; } .value + .value { border-left: 0; } .script { grid-column: 1 / -1; } }

/* generic sections (lower part, place page) */
.section { padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.section > .in > h2 { margin-bottom: 32px; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-text { display: grid; gap: 18px; align-content: start; min-width: 0; }
.split-text p { color: var(--muted); max-width: 52ch; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.quote { font-family: var(--display); font-style: italic; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.3; color: var(--olive-ink); max-width: 28ch; }
.split-text .quote { font-size: clamp(22px, 2.2vw, 28px); }
.owners .btn { justify-self: start; }
.section-hot { background: var(--olive); color: var(--on-olive); border-top: 0; }
.hot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; }
.hot > div { display: grid; gap: 12px; max-width: 56ch; }
.hot p:not(.eyebrow) { opacity: .88; }
.section-hot .eyebrow { color: inherit; opacity: .7; }
.section-hot .btn { background: var(--on-olive); color: var(--olive); border-color: var(--on-olive); }

/* place page */
body:not(.home) .top { position: relative; border-bottom: 1px solid var(--line); }
.hero { padding-block: clamp(36px, 6vw, 72px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-in.narrow { grid-template-columns: minmax(0, 1fr); }
.hero-text { display: grid; gap: 22px; min-width: 0; }
.hero-text h1 { font-size: clamp(48px, 7vw, 88px); color: var(--olive-ink); }
.hero-img { margin: 0; position: relative; }
.hero-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
@media (max-width: 800px) { .hero-in { grid-template-columns: minmax(0, 1fr); } .hero-img { order: -1; } .hero-img img { aspect-ratio: 4 / 5; max-height: 70vh; } }
.where { font-size: 15px; color: var(--muted); margin-top: -8px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: 8px 28px; margin: 4px 0; justify-content: start; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-family: var(--display); font-size: 26px; font-weight: 600; white-space: nowrap; }
@media (max-width: 520px) { .facts { grid-template-columns: repeat(2, minmax(0, auto)); } }
.highlights { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.highlights li { padding-left: 22px; position: relative; color: var(--muted); }
.highlights li::before { content: ""; position: absolute; left: 0; top: .7em; width: 12px; height: 1px; background: var(--olive); }
.video .yt { position: relative; display: block; border-radius: 16px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; text-decoration: none; box-shadow: var(--shadow); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; display: block; }
.play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: rgba(246, 243, 234, .92); }
.play::after { content: ""; position: absolute; left: 31px; top: 24px; border-left: 22px solid #2f3328; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.yt-label { position: absolute; left: 16px; bottom: 12px; color: #fff; font-weight: 600; font-size: 14px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery figure { margin: 0; display: grid; gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.gallery figcaption { font-size: 13.5px; color: var(--muted); }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.houses { display: grid; border-top: 1px solid var(--line); }
.house { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 400px); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.house img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.house > img[data-lb-open] { cursor: zoom-in; }
/* right side: photo strip from the cottage gallery + booking */
.house > .house-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: end; align-content: space-between; height: 100%; }
/* thumbnails as Instagram story highlights: round photo, warm sunrise ring, caption below; no scrollbar, arrows instead */
.strip-wrap { position: relative; width: 100%; }
.house-strip { --gap: 14px; display: flex; gap: var(--gap); width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 0 0; }
.house-strip::-webkit-scrollbar { display: none; }
/* exactly five whole circles fit; the rest come in with the arrow, never half a circle */
.house-strip a { flex: 0 0 calc((100% - 4 * var(--gap)) / 5); min-width: 0; scroll-snap-align: start; display: grid; justify-items: center; gap: 6px; text-decoration: none; color: var(--muted); cursor: zoom-in; }
.story { display: block; width: min(100%, 84px); aspect-ratio: 1; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #e8b46a, #d9875a, #c9a24e, #a8a35e, #e8b46a); transition: transform .35s ease; }
.house .story img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid var(--paper); }
.house-strip a:hover .story { transform: scale(1.05); }
.house-strip a.seen .story { background: var(--line); }
.story-label { font-size: 11.5px; line-height: 1.25; text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.strip-arrow { position: absolute; top: 27px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 20px; line-height: 1; display: grid; place-items: center; padding: 0 0 2px; cursor: pointer; box-shadow: 0 2px 8px rgb(60 50 30 / .12); transition: opacity .25s; }
.strip-arrow[hidden] { display: grid; opacity: 0; pointer-events: none; }
.strip-arrow.prev { left: -18px; } .strip-arrow.next { right: -18px; }
.house-book { min-height: 44px; padding: 0 24px; }
@media (max-width: 1000px) { .house { grid-template-columns: 150px minmax(0, 1fr); } .house > .house-side { grid-column: 1 / -1; justify-items: stretch; } }
/* full-screen viewer — Instagram-style stories */
.lb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgb(24 25 21 / .94); }
.lb[hidden] { display: none; }
.st { position: relative; width: min(92vw, calc(92svh * 9 / 16)); aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #1d1e1a; box-shadow: 0 20px 60px rgb(0 0 0 / .45); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.st-bg { position: absolute; inset: -40px; background: center / cover no-repeat; filter: blur(28px) brightness(.7) saturate(1.1); }
.st-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; animation: st-in .35s ease; }
@keyframes st-in { from { opacity: .4; transform: scale(1.015); } }
.st::after { content: ""; position: absolute; inset: 0 0 auto; height: 110px; background: linear-gradient(rgb(0 0 0 / .45), transparent); pointer-events: none; }
.st-bars { position: absolute; z-index: 2; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; }
.st-bars i { flex: 1; height: 2.5px; border-radius: 2px; background: rgb(255 255 255 / .35); overflow: hidden; }
.st-bars b { display: block; height: 100%; width: 0; background: #fff; }
.st-head { position: absolute; z-index: 2; top: 22px; left: 12px; right: 52px; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13.5px; text-shadow: 0 1px 3px rgb(0 0 0 / .35); }
.st-ava { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid #e8b46a; }
.st-name { font-weight: 600; white-space: nowrap; }
.st-label { opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-zone { position: absolute; z-index: 1; top: 70px; bottom: 80px; width: 40%; background: none; border: 0; padding: 0; cursor: pointer; }
.st-prev { left: 0; } .st-next { right: 0; width: 60%; }
.st-book { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; min-height: 46px; background: rgb(250 245 239 / .94); color: var(--ink); border-color: transparent; }
.st-book:hover { background: #fff; }
.lb > button { position: absolute; background: rgb(255 255 255 / .12); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 999px; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; }
.lb > button:hover { background: rgb(255 255 255 / .24); }
.lb .lb-x { top: 18px; right: 18px; }
.lb .lb-prev { left: calc(50% - min(46vw, 92svh * 9 / 32) - 64px); } .lb .lb-next { right: calc(50% - min(46vw, 92svh * 9 / 32) - 64px); }
@media (max-width: 700px) { .lb .lb-arrow { display: none; } .st { width: 100vw; height: 100svh; aspect-ratio: auto; border-radius: 0; } .lb .lb-x { z-index: 3; top: 22px; right: 6px; width: 40px; height: 40px; background: none; } }
.house > div { display: grid; gap: 8px; min-width: 0; }
.house h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.pick { font: 600 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--olive); border: 1px solid var(--olive); border-radius: 999px; padding: 4px 8px; }
.house-tag { color: var(--muted); font-size: 14.5px; }
.house ul { margin: 0; padding-left: 18px; font-size: 14.5px; display: grid; gap: 2px; }
.price { font-weight: 600; font-variant-numeric: tabular-nums; }
.price small { font-weight: 400; color: var(--muted); font-size: 13px; }
@media (max-width: 560px) { .house { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; } }
.rules { margin-top: 24px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--card); }
.rules summary { cursor: pointer; font-weight: 600; }
.rules ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; display: grid; gap: 4px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; }
.foot-brand { display: flex; gap: 12px; align-items: center; color: var(--olive-ink); }
.foot-brand .spruces { width: 44px; height: 44px; }
.foot-brand div { display: grid; }
.foot-brand b { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--ink); }
.foot-brand span { font-size: 13.5px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; }
.foot-links a { text-decoration: none; color: var(--muted); } .foot-links a:hover { color: var(--ink); }
.foot-note { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }
@media (max-width: 700px) { .foot-in { grid-template-columns: minmax(0, 1fr); } }

/* phones: hero stacks, photo on top */
@media (max-width: 760px) {
  .hero2 { padding-top: 78px; min-height: 0; }
  .hero2-pic, .banner-only .hero2-pic { position: relative; top: 0; bottom: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; margin-bottom: 8px; }
  .banner-only .hero2-img { -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 22%); mask-image: linear-gradient(0deg, transparent 0, #000 22%); }
  .banner-only .hero2 { padding-top: 76px; }
  .hero2-img { object-position: 30% 70%; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 22%); mask-image: linear-gradient(0deg, transparent 0, #000 22%); }
  .fog { width: 70%; }
  .hero2-in { padding-left: var(--gut); }
  .leaf-l { display: none; }
  .search { margin-top: 24px; }
}

/* place page: the house itself on its map — warm ochre dot with a slow breathing halo and its name */
.pin.here circle:not(.pin-pulse) { fill: #c29f5c; stroke: #fffaf0; filter: drop-shadow(0 0 6px rgb(232 180 106 / .85)); }
.pin.here .pin-pulse { fill: rgb(232 180 106 / .45); stroke: none; transform-box: fill-box; transform-origin: center; animation: pin-breathe 2.6s ease-out infinite; pointer-events: none; }
@keyframes pin-breathe { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
.pin.here .pin-name { font: 600 14px var(--body); fill: #4d5340; paint-order: stroke; stroke: #fbf7ef; stroke-linejoin: round; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .pin.here .pin-pulse { animation-duration: 5s; } }
/* "С этим домом также смотрят" */
.also .homes-grid { margin-top: 8px; }
.also-foot { display: flex; justify-content: center; margin-top: 28px; }

/* place page: "why this place" + map in one compact block */
.about .split { align-items: center; }
.about .split-text { gap: 14px; }
.about-where { margin-top: 4px; }
.about-where b { color: var(--ink); font-weight: 600; }
.about-links { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
.link-video { display: inline-flex; align-items: center; gap: 8px; }
.play-mini { width: 22px; height: 22px; border-radius: 50%; background: var(--olive); position: relative; flex: none; }
.play-mini::after { content: ""; position: absolute; left: 8.5px; top: 6.5px; border-left: 7px solid var(--on-olive); border-block: 4.5px solid transparent; }
.about .map { max-height: 460px; aspect-ratio: 5 / 4; }
/* compact booking strip and tighter "about" block on place pages */
.place .section-hot { padding-block: clamp(28px, 3.5vw, 44px); }
.place .section-hot .hot > div { gap: 6px; }
.place .about { padding-block: clamp(40px, 5vw, 72px); }
/* coordinates instead of an external route link (his rule: no external sites) */
.about-coords { color: var(--muted); }
.about-coords b { color: var(--ink); font-weight: 600; }
.about-coords .coords { font-variant-numeric: tabular-nums; color: var(--ink); user-select: all; -webkit-user-select: all; }
