/* KROM Real Estate */
:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-2: #fbf9f5;
  --ink: #13202c;
  --ink-2: #3a4652;
  --muted: #76808a;
  --line: #e7e1d5;
  --navy: #0f1f2e;
  --navy-2: #1a3247;
  --gold: #c19a5b;
  --gold-2: #a37e40;
  --gold-soft: #f3ebdc;
  --sea: #1f6f8b;
  --green: #1d8a5b;
  --green-soft: #e3f3ea;
  --red: #b5452b;
  --red-soft: #f8e6e1;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 31, 46, .05), 0 10px 30px rgba(15, 31, 46, .07);
  --shadow-lg: 0 24px 60px rgba(15, 31, 46, .18);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.ic { width: 20px; height: 20px; flex: none; }
.container { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.serif { font-family: var(--serif); font-weight: 600; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hidden { display: none !important; }

/* ---------- кнопки и формы */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-2); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-wa { background: #1f9d55; color: #fff; }
.btn-wa:hover { background: #188547; }
.btn-ghost { background: transparent; color: var(--ink-2); padding: 0 12px; }
.btn-ghost:hover { background: rgba(15, 31, 46, .05); }
.btn-danger { background: var(--red-soft); color: var(--red); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); transition: .2s; }
.icon-btn:hover { border-color: var(--ink); }

label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.input, select.input, textarea.input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
textarea.input { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(193, 154, 91, .15); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2376808a' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field { margin-bottom: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; margin: 0; color: var(--ink); }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }
.hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 500; }
.alert-error { background: var(--red-soft); color: var(--red); }
.alert-success { background: var(--green-soft); color: var(--green); }
.alert-info { background: var(--gold-soft); color: #7a5a24; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: .2s; color: var(--ink-2); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active, .chip:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .95); color: var(--ink); letter-spacing: .01em; }
.badge-gold { background: var(--gold); color: #fff; }
.badge-green { background: var(--green); color: #fff; }
.badge-navy { background: var(--navy); color: #fff; }
.badge-soft { background: var(--gold-soft); color: #7a5a24; }

/* ---------- шапка */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(231, 225, 213, .8); transition: background .3s, border-color .3s; }
.header .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.header--overlay { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; color: #fff; }
.header--overlay .logo-mark { color: #fff; }
.header--overlay.scrolled { background: rgba(255, 255, 255, .95); backdrop-filter: saturate(160%) blur(14px); border-color: var(--line); color: var(--ink); }
.header--overlay.scrolled .logo-mark { color: var(--navy); }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { color: var(--navy); display: flex; flex-direction: column; line-height: 1; }
.logo-mark b { font-size: 24px; letter-spacing: .32em; font-weight: 800; }
.logo-mark span { font-size: 9px; letter-spacing: .42em; color: var(--gold); font-weight: 700; margin-top: 4px; }
.nav { display: flex; gap: 4px; flex: 1; }
.nav a { padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 15px; opacity: .85; transition: .2s; }
.nav a:hover, .nav a.active { opacity: 1; background: rgba(127, 127, 127, .1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.hdr-link { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.hdr-link:hover { background: rgba(127, 127, 127, .1); }
.count { position: absolute; top: -2px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.burger { display: none; background: none; border: 0; color: inherit; cursor: pointer; padding: 8px; }
.mobile-nav { display: none; }

/* ---------- hero */
.hero { position: relative; min-height: 720px; display: flex; align-items: flex-end; color: #fff; padding: calc(var(--header-h) + 60px) 0 64px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: center/cover no-repeat; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 34, .55) 0%, rgba(10, 22, 34, .15) 35%, rgba(10, 22, 34, .7) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(42px, 6vw, 78px); line-height: 1.02; max-width: 900px; margin-bottom: 18px; letter-spacing: -.01em; }
.hero-sub { font-size: 19px; max-width: 640px; opacity: .92; margin-bottom: 34px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.search-panel { background: #fff; color: var(--ink); border-radius: 18px; padding: 10px; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr auto; gap: 6px; box-shadow: var(--shadow-lg); max-width: 1040px; }
.search-panel .sp-field { padding: 8px 14px; border-radius: 12px; transition: background .2s; }
.search-panel .sp-field:hover { background: var(--surface-2); }
.search-panel label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 2px; }
.search-panel select { border: 0; padding: 0; width: 100%; font-weight: 700; background: transparent; outline: none; appearance: none; cursor: pointer; font-size: 15px; }
.search-panel .btn { height: auto; min-height: 56px; padding: 0 28px; }
.hero-stats { display: flex; gap: 40px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats div { font-size: 14px; opacity: .9; }
.hero-stats b { display: block; font-size: 28px; font-family: var(--serif); font-weight: 600; opacity: 1; }

/* ---------- секции */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-white { background: var(--surface); }
.section-dark { background: var(--navy); color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head h2, .h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4vw, 48px); margin: 0; letter-spacing: 0; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 620px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.link-arrow:hover { color: var(--gold-2); }
.link-arrow .ic { width: 16px; height: 16px; }

/* ---------- карточки объектов */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; position: relative; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15, 31, 46, .06), 0 18px 40px rgba(15, 31, 46, .12); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e9e4da; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; max-width: 75%; }
.card-fav { position: absolute; top: 12px; right: 12px; z-index: 2; }
.fav-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: .2s; box-shadow: 0 2px 10px rgba(0, 0, 0, .1); }
.fav-btn:hover { transform: scale(1.08); }
.fav-btn.on { color: #d64545; }
.fav-btn.on .ic { fill: currentColor; }
.card-photos { position: absolute; bottom: 12px; right: 12px; display: inline-flex; gap: 4px; align-items: center; font-size: 12px; font-weight: 700; color: #fff; background: rgba(15, 31, 46, .6); padding: 4px 9px; border-radius: 999px; }
.card-photos .ic { width: 14px; height: 14px; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.card-price b { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.card-price s { color: var(--muted); font-size: 14px; }
.card-price small { color: var(--muted); font-size: 13px; }
.card-title { font-weight: 600; font-size: 15.5px; line-height: 1.4; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-specs { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
.card-specs span { display: inline-flex; align-items: center; gap: 5px; }
.card-specs .ic { width: 16px; height: 16px; color: var(--muted); }
.card-loc { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--muted); }
.card-loc span { display: inline-flex; align-items: center; gap: 4px; }
.card-loc .ic { width: 15px; height: 15px; }
.card-add { position: absolute; top: 60px; right: 12px; z-index: 2; }
.price-down { color: var(--green); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 2px; }
.price-down .ic { width: 14px; height: 14px; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.base-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 36px; flex-wrap: wrap; }
.seo-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.seo-links a { color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.seo-links a:hover { color: var(--gold-2); border-color: var(--gold); }
.loading { opacity: .4; pointer-events: none; transition: opacity .2s; }

/* ---------- районы */
.districts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.district { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; color: #fff; display: flex; align-items: flex-end; padding: 24px; }
.district img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.district::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10, 22, 34, .8)); }
.district:hover img { transform: scale(1.05); }
.district > div { position: relative; z-index: 1; }
.district h3 { font-family: var(--serif); font-weight: 600; font-size: 32px; margin: 0 0 4px; }
.district p { margin: 0; font-size: 14px; opacity: .9; }

/* ---------- проекты */
.project { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.project img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.project div { padding: 16px 18px; }
.project h3 { font-size: 18px; margin: 0 0 4px; }

/* ---------- преимущества и шаги */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.feature .ic { width: 30px; height: 30px; color: var(--gold); margin-bottom: 16px; }
.feature h3 { font-size: 18px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; margin-top: 56px; }
.step { padding: 0 20px 0 0; position: relative; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--serif); font-size: 44px; color: var(--gold); display: block; line-height: 1; margin-bottom: 14px; }
.step::after { content: ''; position: absolute; top: 22px; left: 64px; right: 20px; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- заявка */
.lead { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.lead h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4vw, 52px); }
.lead p { opacity: .8; font-size: 17px; }
.lead-form { background: #fff; color: var(--ink); padding: 32px; border-radius: 20px; }
.lead-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.lead-list li { display: flex; gap: 10px; align-items: center; }
.lead-list .ic { color: var(--gold); }

/* ---------- команда */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.agent { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-align: center; padding: 28px 22px; }
.avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px; background: var(--gold-soft); color: var(--gold-2); display: grid; place-items: center; font-weight: 800; font-size: 30px; object-fit: cover; font-family: var(--serif); }
.avatar-sm { width: 52px; height: 52px; font-size: 18px; margin: 0; flex: none; }
.avatar-xs { width: 38px; height: 38px; font-size: 14px; margin: 0; flex: none; }
.agent h3 { font-size: 18px; margin-bottom: 2px; }
.agent .muted { font-size: 14px; }
.langs { font-size: 13px; color: var(--ink-2); margin-top: 10px; }

/* ---------- статьи */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s; }
.post-card:hover { transform: translateY(-3px); }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card div { padding: 20px 22px 24px; }
.post-card h3 { font-size: 19px; line-height: 1.35; }
.post-card p { color: var(--muted); font-size: 15px; margin: 0; }
.post-date { font-size: 13px; color: var(--gold-2); font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }
.news-list { display: grid; gap: 0; }
.news-item { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.news-item img { width: 120px; height: 84px; object-fit: cover; border-radius: 10px; }
.news-item h4 { font-size: 16px; margin: 4px 0 0; line-height: 1.35; }
.home-posts { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.home-posts .posts { grid-template-columns: repeat(2, 1fr); }

.article { background: var(--surface); padding: 56px 0 72px; }
.article h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4.5vw, 54px); }
.article-cover { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 20px; margin: 30px 0 40px; }
.prose { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: 28px; margin: 1.6em 0 .6em; color: var(--ink); }
.prose h3 { font-size: 22px; margin: 1.4em 0 .5em; color: var(--ink); }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--ink); }

/* ---------- FAQ */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: '+'; font-size: 26px; line-height: 1; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; color: var(--ink-2); }

/* ---------- каталог */
.page-head { padding: 34px 0 24px; }
.page-head h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4vw, 48px); margin-bottom: 8px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span::before { content: '/'; margin-right: 8px; opacity: .5; }
.catalog { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: start; padding-bottom: 80px; }
.filters { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; }
.filters h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 18px 0 10px; }
.filters h3:first-of-type { margin-top: 0; }
.filters .chip { height: 34px; padding: 0 12px; font-size: 13.5px; }
.filters .check { font-size: 14.5px; margin-bottom: 10px; display: flex; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.range .input { height: 42px; font-size: 14px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.results-bar select { width: auto; height: 42px; }
.catalog .cards { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1200px) { .catalog .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
#catalog-map { height: 420px; border-radius: var(--radius); margin-bottom: 24px; box-shadow: var(--shadow); z-index: 1; }
.empty { text-align: center; padding: 70px 20px; background: var(--surface); border-radius: var(--radius); }
.empty .ic { width: 44px; height: 44px; color: var(--gold); margin: 0 auto 14px; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: #fff; font-weight: 700; border: 1px solid var(--line); padding: 0 10px; }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.seo-intro { max-width: 820px; color: var(--ink-2); font-size: 17px; }
.filters-toggle { display: none; }

/* ---------- объект */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 8px; border-radius: 20px; overflow: hidden; position: relative; margin-bottom: 34px; }
.gallery button { padding: 0; border: 0; cursor: zoom-in; background: #e9e4da; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery button:first-child { grid-row: span 2; }
.gallery-all { position: absolute; right: 16px; bottom: 16px; }
.gallery.g1 { grid-template-columns: 1fr; grid-template-rows: 480px; }
.gallery.g2, .gallery.g3 { grid-template-columns: 2fr 1fr; }
.prop-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 22px; flex-wrap: wrap; }
.prop-head h1 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.prop-loc { display: flex; gap: 6px; align-items: center; color: var(--ink-2); }
.prop-actions { display: flex; gap: 8px; }
.prop-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; padding-bottom: 60px; }
.box { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-bottom: 24px; }
.box h2 { font-size: 22px; margin-bottom: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.fact { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fact .ic { color: var(--gold); width: 22px; height: 22px; }
.fact small { display: block; color: var(--muted); font-size: 13px; }
.fact b { font-size: 15.5px; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 20px; list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; gap: 8px; align-items: center; font-size: 15px; }
.feature-list .ic { color: var(--green); width: 18px; height: 18px; }
.desc { color: var(--ink-2); white-space: pre-line; font-size: 16.5px; }
#prop-map { height: 340px; border-radius: 12px; z-index: 1; }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.price-box .price { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.price-box .ppm { color: var(--muted); font-size: 14px; margin-top: 4px; }
.price-change { display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; padding: 6px 12px; border-radius: 8px; background: var(--green-soft); color: var(--green); font-weight: 700; font-size: 14px; }
.price-change.up { background: var(--red-soft); color: var(--red); }
.realtor-row { display: flex; gap: 14px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); margin-top: 20px; }
.realtor-row h4 { margin: 0; font-size: 16px; }
.realtor-row p { margin: 0; font-size: 13.5px; color: var(--muted); }
.cta-stack { display: grid; gap: 10px; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.quick button { font-size: 13px; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); cursor: pointer; }
.quick button:hover { border-color: var(--gold); }
.gate { background: var(--gold-soft); border-radius: 12px; padding: 16px; font-size: 14.5px; color: #6b4f1f; }
.gate b { display: block; color: var(--ink); margin-bottom: 4px; font-size: 15px; }
.calc .grid-2 { gap: 12px; }
.calc-result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.calc-result div { background: var(--surface-2); border-radius: 12px; padding: 14px; }
.calc-result small { display: block; color: var(--muted); font-size: 13px; }
.calc-result b { font-size: 19px; }
input[type=range] { width: 100%; accent-color: var(--navy); }

/* лайтбокс */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 14, 20, .95); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 6px; }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .12); border: 0; color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.lb-close { position: absolute; top: 20px; right: 20px; transform: none; }
.lb-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 600; }

/* модальное окно */
.modal { position: fixed; inset: 0; z-index: 150; background: rgba(15, 31, 46, .5); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: 20px; padding: 32px; width: 100%; max-width: 460px; position: relative; max-height: 90vh; overflow: auto; }
.modal-close { position: absolute; top: 14px; right: 14px; border: 0; background: none; cursor: pointer; color: var(--muted); }
.modal h3 { font-size: 22px; }
.coll-list { display: grid; gap: 8px; margin: 16px 0; }
.coll-list button { text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-weight: 600; }
.coll-list button:hover { border-color: var(--navy); }
.coll-list button.done { border-color: var(--green); color: var(--green); }

/* ---------- auth */
.auth { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: center/cover no-repeat; position: relative; color: #fff; display: flex; align-items: flex-end; padding: 56px; }
.auth-side::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 34, .1), rgba(10, 22, 34, .75)); }
.auth-side > div { position: relative; z-index: 1; max-width: 460px; }
.auth-side h2 { font-family: var(--serif); font-weight: 600; font-size: 40px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 32px; }
.auth-perks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.auth-perks li { display: flex; gap: 10px; align-items: center; }
.auth-perks .ic { color: var(--gold); }
.divider-text { text-align: center; color: var(--muted); font-size: 14px; margin: 18px 0; }

/* ---------- сообщения */
.chat { display: grid; grid-template-columns: 320px 1fr; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; height: calc(100vh - var(--header-h) - 140px); min-height: 520px; }
.chat-list { border-right: 1px solid var(--line); overflow: auto; }
.chat-item { display: flex; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); align-items: center; }
.chat-item:hover, .chat-item.active { background: var(--surface-2); }
.chat-item div { min-width: 0; flex: 1; }
.chat-item b { display: block; font-size: 15px; }
.chat-item p { margin: 0; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item .count { position: static; }
.chat-main { display: flex; flex-direction: column; min-width: 0; }
.chat-top { padding: 14px 22px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.chat-msgs { flex: 1; overflow: auto; padding: 24px; display: flex; flex-direction: column; gap: 10px; background: var(--surface-2); }
.msg { max-width: 72%; padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); font-size: 15px; }
.msg-text { white-space: pre-line; }
.msg.mine { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.msg:not(.mine) { border-bottom-left-radius: 4px; }
.msg time { display: block; font-size: 11.5px; opacity: .6; margin-top: 4px; }
.msg-prop { display: flex; gap: 10px; align-items: center; background: rgba(127, 127, 127, .12); border-radius: 10px; padding: 8px; margin-bottom: 8px; font-size: 13.5px; }
.msg-prop img { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; }
.chat-form { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
.chat-form textarea { min-height: 48px; height: 48px; }
.chat-empty { display: grid; place-items: center; flex: 1; color: var(--muted); padding: 40px; text-align: center; }

/* ---------- кабинет */
.cab { display: grid; grid-template-columns: 240px 1fr; gap: 30px; padding: 32px 0 80px; align-items: start; }
.cab-nav { background: var(--surface); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 16px); }
.cab-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.cab-nav a:hover { background: var(--surface-2); }
.cab-nav a.active { background: var(--navy); color: #fff; }
.cab-nav hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.cab-nav small { display: block; padding: 8px 14px 4px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.cab h1 { font-size: 30px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.stat { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 30px; font-weight: 800; }
.stat span { color: var(--muted); font-size: 14px; }
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
table.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table img.thumb { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 6px; }
.status-dot.off { background: #bbb; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-bottom: 12px; }
.photo-item { position: relative; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #eee; }
.photo-item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.photo-item .tools { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; padding: 6px; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }
.photo-item label { color: #fff; font-size: 12px; margin: 0; display: flex; gap: 4px; align-items: center; cursor: pointer; }
.photo-item.removed { opacity: .35; }
.photo-item:has(input[name=cover_photo]:checked) { border-color: var(--gold); }
.dropzone { border: 2px dashed var(--line); border-radius: 12px; padding: 22px; text-align: center; color: var(--muted); cursor: pointer; transition: .2s; }
.dropzone:hover { border-color: var(--gold); color: var(--ink); }
.form-section { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); margin-bottom: 20px; }
.form-section h2 { font-size: 19px; margin-bottom: 18px; }
.form-actions { display: flex; gap: 10px; position: sticky; bottom: 0; background: linear-gradient(transparent, var(--bg) 30%); padding: 20px 0; }
.share-box { display: flex; gap: 8px; background: var(--gold-soft); padding: 14px; border-radius: 12px; align-items: center; flex-wrap: wrap; }
.share-box input { flex: 1; min-width: 200px; background: #fff; }
.reaction { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.reaction.like { background: var(--green-soft); color: var(--green); }
.reaction.dislike { background: var(--red-soft); color: var(--red); }
.coll-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: start; padding: 16px; border-bottom: 1px solid var(--line); }
.coll-item img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; }
.coll-item textarea { min-height: 60px; font-size: 14px; }

/* ---------- подборка для клиента */
.cl-header { background: var(--navy); color: #fff; padding: 22px 0; }
.cl-header .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cl-header .logo-mark { color: #fff; }
.cl-hero { padding: 48px 0 28px; }
.cl-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4.5vw, 54px); }
.cl-agent { display: flex; gap: 16px; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); flex-wrap: wrap; }
.cl-agent .who { flex: 1; min-width: 180px; }
.cl-agent .who b { font-size: 17px; display: block; }
.cl-note { background: var(--surface); border-left: 3px solid var(--gold); padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 24px 0; white-space: pre-line; color: var(--ink-2); }
.cl-card { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--surface); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 28px; }
.cl-card .cl-media { position: relative; min-height: 340px; }
.cl-card .cl-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cl-card .cl-body { padding: 30px; display: flex; flex-direction: column; }
.cl-num { font-family: var(--serif); color: var(--gold); font-size: 22px; }
.cl-comment { background: var(--gold-soft); border-radius: 12px; padding: 14px 16px; font-size: 15px; margin: 14px 0; color: #5d4518; white-space: pre-line; }
.cl-comment b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.react { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; flex-wrap: wrap; }
.react button.on-like { background: var(--green); color: #fff; border-color: var(--green); }
.react button.on-dislike { background: var(--red); color: #fff; border-color: var(--red); }
.cl-footer { padding: 36px 0; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- подвал */
.footer { background: var(--navy); color: rgba(255, 255, 255, .75); padding: 72px 0 32px; font-size: 15px; }
.footer .logo-mark { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; }
.footer-seo { border-top: 1px solid rgba(255, 255, 255, .12); padding: 26px 0; margin-bottom: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; }
.footer-contacts { display: grid; gap: 10px; margin-top: 20px; }
.footer-contacts a { display: inline-flex; gap: 10px; align-items: center; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(31, 157, 85, .4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float .ic { width: 28px; height: 28px; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: var(--navy); color: #fff; padding: 14px 22px; border-radius: 12px; font-weight: 600; z-index: 300; opacity: 0; transition: .3s; pointer-events: none; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%); }

.error-page { text-align: center; padding: 120px 20px; }
.error-page .code { font-family: var(--serif); font-size: 110px; color: var(--gold); line-height: 1; }

/* ---------- адаптив */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .mobile-nav.open { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: #fff; color: var(--ink); z-index: 49; padding: 20px; overflow: auto; }
  .mobile-nav a { display: block; padding: 14px 6px; font-size: 18px; font-weight: 700; border-bottom: 1px solid var(--line); }
  .cards, .cards-4, .posts { grid-template-columns: repeat(2, 1fr); }
  .features, .team { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 120; border-radius: 0; max-height: none; display: none; padding-bottom: 90px; }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; }
  .filters-close { display: flex !important; }
  .prop-layout { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .home-posts { grid-template-columns: 1fr; }
  .search-panel { grid-template-columns: 1fr 1fr; }
  .search-panel .btn { grid-column: span 2; }
  .lead { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cab { grid-template-columns: 1fr; }
  .cab-nav { position: static; display: flex; overflow-x: auto; gap: 4px; }
  .cab-nav hr, .cab-nav small { display: none; }
  .cab-nav a { white-space: nowrap; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}
@media (max-width: 700px) {
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero { min-height: 640px; padding-bottom: 40px; }
  .hero-sub { font-size: 16px; }
  .hero-stats { gap: 22px; }
  .hero-stats b { font-size: 22px; }
  .search-panel { grid-template-columns: 1fr; }
  .search-panel .btn { grid-column: auto; }
  .cards, .cards-4, .posts, .home-posts .posts, .catalog .cards { grid-template-columns: 1fr; }
  .districts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .district { padding: 16px; }
  .district h3 { font-size: 24px; }
  .features, .team, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: 280px; border-radius: 0; margin: 0 -16px 24px; }
  .gallery button:not(:first-child) { display: none; }
  .facts, .feature-list { grid-template-columns: 1fr 1fr; }
  .calc-result { grid-template-columns: 1fr; }
  .box { padding: 20px; }
  .chat { grid-template-columns: 1fr; height: auto; }
  .chat-list { border-right: 0; max-height: 260px; }
  .chat.has-conv .chat-list { display: none; }
  .chat-msgs { min-height: 50vh; }
  .msg { max-width: 88%; }
  .cl-card { grid-template-columns: 1fr; }
  .cl-card .cl-media { min-height: 240px; }
  .coll-item { grid-template-columns: 80px 1fr; }
  .coll-item img { width: 80px; height: 64px; }
  .coll-item > :last-child { grid-column: span 2; }
  .stats { grid-template-columns: 1fr 1fr; }
  .news-item { grid-template-columns: 90px 1fr; }
  .news-item img { width: 90px; height: 68px; }
  .hdr-link .lbl { display: none; }
  .prop-head { flex-direction: column; }
}
.flash-msg { position: fixed; top: calc(var(--header-h) + 14px); left: 50%; transform: translateX(-50%); z-index: 100; width: calc(100% - 32px); max-width: 620px; box-shadow: var(--shadow-lg); cursor: pointer; transition: opacity .4s; }
.alert-success.flash-msg { background: #e9f6ef; border: 1px solid #bfe3cf; }
.alert-error.flash-msg { background: #fbece8; border: 1px solid #efc7bd; }
body { overflow-x: clip; }
.prop-layout > *, .catalog > *, .cab > *, .chat-main, .lead > * { min-width: 0; }
.prop-head > div:first-child { min-width: 0; }
.prop-head h1 { overflow-wrap: anywhere; }
.prop-actions { flex-wrap: wrap; }
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
.prop-layout.side-left { grid-template-columns: 360px 1fr; }
@media (max-width: 1100px) { .prop-layout.side-left { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .prop-head { align-items: stretch; } }
@media (max-width: 1100px) { .prop-layout > aside { order: -1; } }
.msg-block { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.agent-contacts { display: flex; gap: 8px; justify-content: center; margin-top: 14px; position: relative; z-index: 2; }
.agent-contacts a { width: 40px; height: 40px; }
.agent-contacts a.wa { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.agent-phone { display: block; margin-top: 10px; font-weight: 700; font-size: 14.5px; color: var(--ink); position: relative; z-index: 2; }
/* панель поиска: поля выглядят как выпадающие списки */
.search-panel { gap: 8px; padding: 12px; }
.search-panel .sp-field { position: relative; background: var(--surface-2); border: 1px solid var(--line); padding: 10px 40px 10px 16px; cursor: pointer; }
.search-panel .sp-field:hover { border-color: var(--gold); background: #fff; }
.search-panel .sp-field:focus-within { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(193, 154, 91, .15); }
.search-panel .sp-field::after { content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.search-panel select { position: relative; z-index: 1; }
.search-panel select::-ms-expand { display: none; }
.search-panel .sp-field label { pointer-events: none; }
@media (max-width: 1100px) { .search-panel .btn { min-height: 54px; } }
.search-panel .sp-field { min-height: 64px; }
.search-panel .sp-field label { position: relative; z-index: 2; }
.search-panel select { position: absolute; inset: 0; z-index: 1; padding: 30px 40px 10px 16px; border-radius: 12px; height: 100%; }
/* строка поиска своими словами */
.sp-query { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--gold); border-radius: 14px; padding: 6px 6px 6px 18px; transition: box-shadow .2s; }
.sp-query:focus-within { box-shadow: 0 0 0 5px rgba(193, 154, 91, .2); }
.sp-query > .ic { color: var(--gold-2); width: 22px; height: 22px; }
.sp-query input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 17px; font-weight: 600; height: 50px; }
.sp-query input::placeholder { color: #9aa1a9; font-weight: 500; }
.search-panel .sp-query-btn { min-height: 50px; height: 50px; padding: 0 30px; }
.sp-examples { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; max-width: 1040px; font-size: 14px; }
.sp-examples span { opacity: .85; }
.sp-examples a { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); color: #fff; border-radius: 999px; padding: 6px 14px; cursor: pointer; backdrop-filter: blur(6px); font-size: 14px; }
.sp-examples a:hover { background: rgba(255, 255, 255, .3); }
.understood { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--surface); border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; box-shadow: var(--shadow); }
@media (max-width: 700px) {
  .sp-query { padding-left: 12px; }
  .sp-query input { font-size: 16px; }
  .search-panel .sp-query-btn { padding: 0 16px; }
  .sp-examples { display: none; }
}

.hdr-phone { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 10px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.hdr-phone:hover { background: rgba(127, 127, 127, .1); }
.hdr-wa { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: #1f9d55; color: #fff; flex: none; }
.hdr-wa .ic { width: 20px; height: 20px; }
@media (max-width: 1320px) { .hdr-phone .num { display: none; } }
@media (max-width: 700px) { .hdr-phone { display: none; } }
/* вход в управление */
.manage-body { background: var(--navy) url('/img/antalya/0126.jpg') center/cover no-repeat; }
.manage { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 16px; background: rgba(10, 22, 34, .78); }
.manage-card { width: 100%; max-width: 420px; background: #fff; border-radius: 20px; padding: 36px 32px; box-shadow: var(--shadow-lg); }
.manage-logo { margin-bottom: 26px; }
.manage-card h1 { font-size: 28px; margin-bottom: 4px; }
.manage-card > .muted { margin-bottom: 24px; }
.manage-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.manage-note p { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; }
.manage-note .ic { color: var(--gold); width: 18px; height: 18px; margin-top: 2px; }
.manage-back { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .8); margin-top: 22px; font-weight: 600; }
.manage-back:hover { color: #fff; }
.header-actions { margin-left: auto; }
/* логотип */
.logo { gap: 12px; }
.logo-svg { height: 34px; width: auto; flex: none; overflow: visible; }
.logo-mark b { font-weight: 600; letter-spacing: .34em; font-size: 22px; }
.logo-mark span { letter-spacing: .38em; font-size: 8.5px; }
.footer .logo-svg, .cl-header .logo-svg, .manage-logo .logo-svg { height: 40px; }
@media (max-width: 700px) { .logo-svg { height: 28px; } .logo-mark b { font-size: 19px; } }

/* видео на первом экране: сначала картинка, видео подгружается после загрузки страницы */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.hero-video.ready { opacity: 1; }
.hero::after { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }

/* переключатель языка */
.lang-switch { position: relative; }
.lang-btn { background: none; border: 0; cursor: pointer; color: inherit; font: inherit; font-weight: 700; }
.lang-btn .ic { width: 18px; height: 18px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; min-width: 180px; display: none; z-index: 60; }
.lang-switch.open .lang-menu { display: block; }
.lang-menu a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.lang-menu a b { width: 26px; color: var(--muted); font-size: 12px; letter-spacing: .05em; }
.lang-menu a:hover { background: var(--surface-2); }
.lang-menu a.active { background: var(--gold-soft); }
.mobile-langs { display: flex; gap: 8px; padding: 16px 0; }
.mobile-langs a { border: 1px solid var(--line) !important; border-radius: 10px; padding: 8px 14px !important; font-size: 15px !important; }
.mobile-langs a.active { background: var(--navy); color: #fff; }
.cl-langs { display: flex; gap: 2px; margin-right: 6px; }
.cl-langs a { color: rgba(255, 255, 255, .7); font-size: 13px; font-weight: 700; padding: 6px 8px; border-radius: 8px; }
.cl-langs a.active, .cl-langs a:hover { color: #fff; background: rgba(255, 255, 255, .12); }

/* цены в других валютах */
.card-conv { font-size: 12.5px; color: var(--muted); margin: -2px 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price-conv { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.price-conv span { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* отзывы */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { margin: 0; background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; flex: 1; }
.review figcaption { display: flex; gap: 12px; align-items: center; }
.review figcaption small { display: block; color: var(--muted); font-size: 13px; }
.stars { display: flex; gap: 2px; }
.stars .ic { width: 18px; height: 18px; color: var(--line); }
.stars .ic.on { color: var(--gold); fill: var(--gold); }
@media (max-width: 1100px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .reviews { grid-template-columns: 1fr; } }

/* согласие на обработку данных */
.consent { align-items: flex-start; font-size: 13.5px; line-height: 1.45; font-weight: 500; color: var(--ink-2); }
.consent input { margin-top: 1px; flex: none; }
.consent a { text-decoration: underline; }
.danger-zone summary { cursor: pointer; font-weight: 700; color: var(--red); }
.cl-footer a { text-decoration: underline; }
@media (max-width: 700px) {
  .header .hdr-wa, .header .lang-switch { display: none; }
  .header-actions { gap: 2px; }
  .hdr-link { padding: 0 9px; }
  .logo { gap: 8px; }
  .cl-langs { display: none; }
}
.noindex-note { font-size: 12.5px; line-height: 1.4; background: var(--gold-soft); color: #6b4f1f; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
@media (max-width: 1100px) { .noindex-note { display: none; } }
