/* Шрифты лежат на нашем сервере (без Google Fonts). Лицензия SIL OFL — см. OFL-*.txt */
@font-face { font-family: "Onest"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/onest-cyrillic-wght-normal.fe2bd26ae82a.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/onest-latin-ext-wght-normal.3e2cb9888206.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/onest-latin-wght-normal.3db826ed1c5d.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: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900; src: url("../fonts/unbounded-cyrillic-wght-normal.3a5ed4d11365.woff2") format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900; src: url("../fonts/unbounded-latin-ext-wght-normal.c07fbf1bfefa.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Unbounded"; font-style: normal; font-display: swap; font-weight: 200 900; src: url("../fonts/unbounded-latin-wght-normal.8616dc355070.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; }

/* Azamohome — стили сайта. Палитра «Коралл и бирюза», шрифты Unbounded + Onest. */
:root {
  --bg: #FFFFFF;
  --surface: #F7F3EA;
  --ink: #101A2B;
  --muted: #5A6270;
  --line: #E8E1D3;
  --coral: #C8A35F; /* шампань */
  --teal: #13233A; /* ночной синий */
  --teal-soft: #C9D3E3;
  --accent: #A8843F; /* золото для крупного текста */
  --accent-text: #8C6A2F; /* бронза для мелкого текста */
  --r-lg: 32px;
  --r-md: 24px;
  --r-sm: 16px;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Onest", system-ui, sans-serif;
  --pad: 48px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section { padding-top: 112px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.h2 { font-size: 40px; }
.link-more { font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ---------- Кнопки, чипсы ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px;
  border: 0; border-radius: 999px; font: 700 16px var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-coral { background: var(--coral); color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:hover { filter: brightness(0.96); }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 0; display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--ink); cursor: pointer; }
.chip { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1.5px solid var(--line); background: #fff; white-space: nowrap; }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.badge { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.badge-coral { background: var(--coral); color: var(--ink); }
.badge-teal { background: var(--teal); color: #fff; }
.badge-soft { background: var(--surface); color: var(--ink); }
.badge-dark { background: var(--ink); color: #fff; }

/* ---------- Шапка ---------- */
.header { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 400 20px var(--display); letter-spacing: 0.22em; color: var(--ink); }
.logo svg { width: 36px; height: 36px; color: var(--teal); }
.logo .home { color: var(--teal); }
.nav { display: flex; gap: 4px; background: var(--surface); border-radius: 999px; padding: 6px; }
.nav a { height: 44px; padding: 0 18px; border-radius: 999px; display: flex; align-items: center; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a.is-on { background: var(--ink); color: #fff; font-weight: 600; }
.header-right { display: flex; align-items: center; gap: 12px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface); display: flex; align-items: center; font-weight: 600; font-size: 14px; }
.lang summary::-webkit-details-marker { display: none; }
.lang-menu { position: absolute; right: 0; top: 52px; background: #fff; border-radius: 16px; box-shadow: 0 12px 40px rgba(30,42,51,.14); padding: 6px; z-index: 20; min-width: 120px; }
.lang-menu a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.lang-menu a.is-on, .lang-menu a:hover { background: var(--surface); }
.menu-mobile { display: none; }
.menu-mobile-only { display: none; }
.filters-toggle > summary::-webkit-details-marker { display: none; }
.filters-body { display: flex; flex-direction: column; gap: 26px; }

/* ---------- Главная ---------- */
.hero-head { padding: 48px 0 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.hero-head h1 { font-size: 76px; line-height: 1.02; max-width: 1000px; }
.hero-head h1 span { color: var(--accent); }
.hero-head p { max-width: 280px; color: var(--muted); font-size: 17px; margin-bottom: 10px; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 300px 300px; gap: 16px; }
.bento-photo { grid-column: span 2; grid-row: span 2; border-radius: var(--r-lg); background: #2B3E5C center/cover no-repeat; position: relative; overflow: hidden; }
.bento-photo .pill { position: absolute; left: 24px; bottom: 24px; background: #fff; border-radius: 999px; padding: 10px 12px 10px 20px;
  display: flex; align-items: center; gap: 16px; text-decoration: none; font-weight: 600; }
.pill .price-pill { height: 36px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; }
.search-card { grid-column: span 2; background: var(--surface); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.search-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.search-top h2 { font-size: 22px; }
.seg { display: inline-flex; background: #fff; border-radius: 999px; padding: 4px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { height: 40px; padding: 0 18px; border-radius: 999px; display: flex; align-items: center; font-weight: 600; font-size: 14px; cursor: pointer; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--teal); }
.fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: 13px; font-weight: 600; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; height: 52px; border: 0; border-radius: var(--r-sm); background: #fff; padding: 0 14px;
  font: 500 15px var(--body); color: var(--ink); appearance: none; }
textarea.input { height: auto; padding: 14px; resize: vertical; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231E2A33' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.input:focus { outline: 2px solid var(--teal); }
.tile { border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; }
.tile small { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tile strong { font: 600 30px/1.1 var(--display); }
.tile span { font-size: 15px; font-weight: 600; }
.tile-coral { background: var(--coral); color: var(--ink); }
.tile-teal { background: var(--teal); color: #fff; }
.tile-teal small { color: var(--teal-soft); }

.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service { min-height: 300px; background: var(--surface); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; text-decoration: none; }
.service h3 { font: 700 22px/1.25 var(--body); letter-spacing: 0; }
.service p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.split { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.split p.lead { color: var(--muted); font-size: 17px; margin-top: 14px; }
.district-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.district-row { height: 76px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; text-decoration: none; font-size: 22px; font-weight: 600; }
.district-row .badge { background: var(--surface); font-size: 13px; font-weight: 600; margin-right: 14px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: #fff; border-radius: var(--r-lg); padding: 12px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); }
.card-photo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-md); background: #3A4F6E center/cover no-repeat; overflow: hidden; }
.card-photo .badge { position: absolute; top: 14px; left: 14px; }
.card-photo .badge + .badge { left: auto; right: 14px; }
.card-body { padding: 0 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-title { font-size: 18px; font-weight: 700; }
.card-price { font-size: 20px; font-weight: 700; white-space: nowrap; }
.card-meta { font-size: 15px; color: var(--muted); }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 4px; }
.card-tags span { height: 28px; padding: 0 10px; border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.step { border-top: 2px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.step b { font: 600 36px var(--display); color: var(--accent); }
.step strong { font-size: 19px; }
.step span { font-size: 15px; color: var(--muted); }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-photo { min-height: 480px; border-radius: var(--r-lg); background: #3A4F6E center/cover no-repeat; }
.about-card { background: var(--surface); border-radius: var(--r-lg); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.about-card h2 { font-size: 34px; line-height: 1.15; margin: 18px 0; }
.about-card .text p { color: var(--muted); font-size: 17px; margin-bottom: 10px; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; }
.langs span { height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { margin: 0; background: var(--surface); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.review blockquote { margin: 0; font-size: 18px; }
.review figcaption { display: flex; align-items: center; gap: 14px; }
.avatar { width: 48px; height: 48px; border-radius: 999px; background: var(--coral) center/cover; flex-shrink: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 20px; font-weight: 600; cursor: pointer; list-style: none; padding: 12px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 40px; height: 40px; border-radius: 999px; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 56px 24px 0; color: var(--muted); font-size: 17px; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.post-photo { aspect-ratio: 16 / 10; border-radius: 28px; background: #D9C39A center/cover no-repeat; }
.post strong { font-size: 21px; line-height: 1.3; }
.cta { background: var(--teal); color: #fff; border-radius: 40px; padding: 64px 72px; display: flex; flex-direction: column; gap: 36px; scroll-margin-top: 24px; }
.cta-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.cta h2 { font-size: 52px; line-height: 1.05; max-width: 820px; }
.cta-head p { max-width: 320px; font-size: 17px; }
.cta-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; }
.cta-form label { color: #fff; font-size: 14px; }
.cta .btn { height: 52px; }
.hp { position: absolute; left: -9999px; }

/* ---------- Подвал ---------- */
.footer { padding: 72px 0 32px; margin-top: 112px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-grid .foot-h { font-family: var(--body); font-weight: 700; margin: 0 0 12px; font-size: 15px; }
.footer-grid a, .footer-grid span { display: block; color: var(--muted); text-decoration: none; font-size: 15px; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }

/* ---------- Внутренние страницы ---------- */
.crumbs { padding-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.page-head { padding: 20px 0 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.page-head h1 { font-size: 56px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 32px; }
.catalog { display: flex; gap: 32px; align-items: flex-start; }
.filters { width: 320px; flex-shrink: 0; background: var(--surface); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 26px; position: sticky; top: 24px; }
.filters fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.filters legend { font-weight: 700; padding: 0 0 12px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--teal); margin: 0; }
.check small { color: var(--muted); margin-left: auto; }
.rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.rooms label input { position: absolute; opacity: 0; }
.rooms label span { height: 44px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; cursor: pointer; }
.rooms label input:checked + span { background: var(--ink); color: #fff; }
.rooms label input:focus-visible + span { outline: 2px solid var(--teal); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.results { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.toolbar select { background-color: var(--surface); border-radius: 999px; height: 44px; width: auto; }
.pager { display: flex; justify-content: center; gap: 8px; padding-top: 24px; }
.pager a, .pager span { min-width: 48px; height: 48px; padding: 0 14px; border-radius: 999px; background: var(--surface); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; text-decoration: none; }
.pager .is-on { background: var(--ink); color: #fff; }
.empty { background: var(--surface); border-radius: 28px; padding: 48px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.seo-text { color: var(--ink); font-size: 17px; line-height: 1.65; }
.seo-text p { margin-bottom: 14px; }

.obj-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding: 20px 0 28px; }
.obj-title h1 { font-size: 44px; line-height: 1.1; max-width: 960px; margin: 14px 0; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 260px 260px; gap: 12px; }
.gallery a { border-radius: 28px; background: #3A4F6E center/cover no-repeat; position: relative; }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery .more { position: absolute; right: 16px; bottom: 16px; }
.obj { display: flex; gap: 48px; align-items: flex-start; padding-top: 56px; }
.obj-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.obj-main h2 { font-size: 28px; margin-bottom: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fact { background: var(--surface); border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.fact span { font-size: 14px; color: var(--muted); }
.fact strong { font-size: 22px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags span { height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; }
.fits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fit { border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.fit strong { font-size: 18px; }
.prose { font-size: 18px; line-height: 1.75; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; }
.prose h2 { font-size: 30px; line-height: 1.2; margin: 36px 0 14px; scroll-margin-top: 24px; }
.prose h3 { font: 700 22px/1.3 var(--body); letter-spacing: 0; margin: 28px 0 10px; }
.prose a { color: var(--teal); font-weight: 600; }
.prose img { border-radius: 24px; margin: 24px 0; }
.aside { width: 400px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 24px; }
.price-card { box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.price-card .big { font: 600 36px var(--display); }
.agent { border-top: 1px solid var(--line); padding-top: 20px; display: flex; align-items: center; gap: 14px; }
.box { background: var(--surface); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.box .form-stack { display: flex; flex-direction: column; gap: 10px; }
.mapbox { height: 360px; border-radius: 28px; background: #E6EAF0; overflow: hidden; }
.mapbox iframe { width: 100%; height: 100%; border: 0; }
.mobile-bar { display: none; }

.article-head { padding-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.article-head h1 { font-size: 56px; max-width: 1000px; }
.article-head .lead { font-size: 20px; color: var(--muted); max-width: 760px; }
.cover { margin-top: 48px; aspect-ratio: 1344 / 520; border-radius: 32px; background: #2B3E5C center/cover no-repeat; }
.article { display: flex; gap: 56px; align-items: flex-start; padding-top: 72px; }
.toc { width: 260px; flex-shrink: 0; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 4px; }
.toc a { padding: 10px 14px; border-radius: 12px; text-decoration: none; font-size: 15px; }
.toc a:hover { background: var(--surface); }
.article .prose { flex: 1; min-width: 0; max-width: 820px; }
.logo { white-space: nowrap; }
.article .side { width: 300px; flex-shrink: 0; position: sticky; top: 24px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; background: var(--ink); color: #fff; padding: 16px 22px; border-radius: 16px; font-weight: 600; box-shadow: 0 12px 40px rgba(30,42,51,.25); max-width: calc(100% - 32px); }
.toast.error { background: #B23A2B; }

/* ---------- Планшет ---------- */
@media (max-width: 1180px) {
  :root { --pad: 32px; }
  .nav { display: none; }
  .menu-mobile { display: block; }
  .hero-head h1 { font-size: 56px; }
  .services, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards, .posts, .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aside { width: 340px; }
  .article .side { display: none; }
}

/* ---------- Телефон ---------- */
@media (max-width: 760px) {
  :root { --pad: 16px; }
  body { font-size: 16px; }
  .section { padding-top: 64px; }
  .h2 { font-size: 24px; }
  .header { height: 64px; }
  .logo { font-size: 17px; }
  .logo svg { width: 28px; height: 28px; }
  .header-right .btn { width: 44px; height: 44px; padding: 0; }
  .header-right .btn .txt { display: none; }
  .lang summary { height: 44px; padding: 0 12px; }
  .hero-head { flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 0; }
  .hero-head h1 { font-size: 32px; line-height: 1.08; }
  .hero-head p { max-width: none; margin: 0; font-size: 16px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 240px auto 160px; gap: 12px; }
  .bento-photo, .search-card { grid-column: span 2; grid-row: auto; }
  .bento-photo .pill { left: 12px; bottom: 12px; padding: 6px 6px 6px 14px; font-size: 13px; }
  .search-card { padding: 18px; border-radius: 24px; }
  .search-top { flex-direction: column; align-items: stretch; }
  .fields { grid-template-columns: 1fr 1fr; }
  .fields .field:first-child { grid-column: span 2; }
  .tile { padding: 18px 14px 18px 16px; border-radius: 24px; }
  .tile strong { font-size: 18px; white-space: nowrap; }
  .tile small { font-size: 12px; }
  .tile span { font-size: 12px; white-space: nowrap; }
  .services { grid-template-columns: 1fr 1fr; gap: 10px; }
  .service { min-height: 150px; padding: 16px; border-radius: 20px; }
  .service h3 { font-size: 16px; }
  .service p, .service .link-more { display: none; }
  .split { grid-template-columns: 1fr; gap: 10px; }
  .district-list { grid-template-columns: 1fr; }
  .district-row { height: 56px; font-size: 17px; }
  .cards, .posts, .reviews { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { flex-direction: row; flex-wrap: wrap; border-top: 0; border-bottom: 1px solid var(--line); padding: 0 0 14px; gap: 4px 14px; }
  .step b { font-size: 20px; width: 36px; }
  .step strong { font-size: 16px; align-self: center; }
  .step span { flex-basis: 100%; padding-left: 50px; font-size: 14px; }
  .about { grid-template-columns: 1fr; }
  .about-photo { min-height: 260px; border-radius: 24px; }
  .about-card { padding: 22px; border-radius: 24px; }
  .about-card h2 { font-size: 22px; }
  .faq summary { min-height: 64px; font-size: 16px; }
  .faq summary::after { width: 32px; height: 32px; font-size: 18px; }
  .faq .answer { padding-right: 0; font-size: 15px; }
  .cta { padding: 26px 20px; border-radius: 28px; gap: 18px; }
  .cta-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cta h2 { font-size: 24px; }
  .cta-form { grid-template-columns: 1fr; }
  .footer { margin-top: 64px; padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .page-head h1 { font-size: 28px; }
  .page-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); scrollbar-width: none; }
  .catalog { flex-direction: column; }
  .filters { width: 100%; position: static; padding: 0; background: none; }
  .filters-toggle summary { list-style: none; }
  .menu-mobile-only { display: flex; }
  .filters-body { background: var(--surface); border-radius: 24px; padding: 20px; margin-top: 12px; display: flex; flex-direction: column; gap: 22px; }
  .obj-title { flex-direction: column; align-items: flex-start; gap: 0; }
  .obj-title h1 { font-size: 24px; }
  .obj-title .actions { display: none; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: 300px; margin: 0 calc(-1 * var(--pad)); gap: 0; }
  .gallery a { border-radius: 0; display: none; }
  .gallery a:first-child { display: block; grid-column: auto; grid-row: auto; }
  .obj { flex-direction: column; padding-top: 24px; gap: 32px; }
  .obj-main { gap: 32px; }
  .obj-main h2 { font-size: 20px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .fact { padding: 14px 16px; border-radius: 16px; }
  .fact strong { font-size: 18px; }
  .fits { grid-template-columns: 1fr; }
  .aside { width: 100%; position: static; order: -1; }
  .aside .price-card .btns { display: none; }
  .mapbox { height: 220px; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-bar .btn { flex: 1; height: 54px; }
  body.has-bar { padding-bottom: 90px; }
  .article-head h1 { font-size: 28px; }
  .article-head { align-items: flex-start; text-align: left; padding-top: 16px; }
  .article-head .lead { font-size: 17px; }
  .cover { margin: 20px calc(-1 * var(--pad)) 0; border-radius: 0; aspect-ratio: 390 / 240; }
  .article { flex-direction: column; padding-top: 24px; gap: 20px; }
  .toc { width: 100%; position: static; background: var(--surface); border-radius: 18px; padding: 12px; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Фото (img вместо фона) ---------- */
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.card-photo, .bento-photo, .about-photo, .gallery a, .post-photo, .cover, .avatar { position: relative; overflow: hidden; display: block; }
.card-photo .badge, .bento-photo .pill, .gallery .more { z-index: 1; }
.plan-img { width: 100%; height: auto; border-radius: 28px; margin-bottom: 12px; background: var(--surface); }

/* доступность: контраст */
.tile-teal small { color: #fff; }
.aside .box .link-more, .box .link-more { color: var(--teal); }
.step b { color: var(--accent-text); }

/* подпись под логотипом */
.logo-text { display: flex; flex-direction: column; gap: 5px; line-height: 1; }
.logo-text small { font: 600 9.5px var(--body); letter-spacing: 0.3em; color: var(--accent-text); padding-left: 1px; }
@media (max-width: 760px) { .logo-text small { font-size: 8px; letter-spacing: 0.26em; } }

/* название: AZAM + AGENT золотом */
.logo { font-size: 18px; letter-spacing: 0.16em; }
.logo-text .wm b { font-weight: inherit; color: var(--accent-text); }
@media (max-width: 760px) { .logo { font-size: 15px; letter-spacing: 0.12em; } }

/* валюта в меню языка */
.cur-sep { margin: 0 6px; opacity: .45; }
.menu-sep { height: 1px; background: var(--line); margin: 6px 4px; }
.cur-btn { display: block; width: 100%; text-align: left; padding: 10px 14px; border: 0; border-radius: 10px; background: none; font: 600 15px var(--body); color: var(--ink); cursor: pointer; white-space: nowrap; }
.cur-btn.is-on, .cur-btn:hover { background: var(--surface); }
.price-card .conv { font-size: 15px; line-height: 1.45; }

/* cookie-баннер */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-left: auto; background: #fff; border-radius: 20px; box-shadow: 0 16px 50px rgba(16,26,43,.18); padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.45; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; color: var(--ink); }
.cookie a { color: var(--teal); font-weight: 600; }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* подвал и форма */
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.footer-links a { color: inherit; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.consent-note { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.4; color: rgba(255,255,255,.75); }
.consent-note a { color: #fff; }
@media (max-width: 420px) { .lang summary .cur-sep, .lang summary .js-cur-label { display: none; } }

/* форматированный текст из редактора */
.prose h3 { font: 700 22px/1.3 var(--body); margin: 28px 0 10px; }
.prose h4 { font: 700 18px/1.35 var(--body); margin: 22px 0 8px; }
.prose > :first-child { margin-top: 0; }
.prose li { margin-bottom: 6px; }
.prose li > ul, .prose li > ol { margin: 6px 0 0; }
.prose strong, .prose b { font-weight: 700; }
.prose blockquote { margin: 24px 0; padding: 14px 22px; border-left: 3px solid var(--coral); background: var(--surface); border-radius: 0 16px 16px 0; color: var(--ink); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.prose .table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 16px; -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.prose th, .prose td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { background: var(--surface); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.prose caption { caption-side: top; text-align: left; padding: 12px 16px 0; font-weight: 700; }
.faq .answer.prose { font-size: 17px; line-height: 1.6; }
.faq .answer.prose p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .prose h3 { font-size: 19px; } .prose table { font-size: 14px; } .prose th, .prose td { padding: 10px 12px; } }

/* просмотр фото объекта (листалка) */
.gallery a { cursor: zoom-in; }
.gallery a[hidden] { display: none !important; }
.gallery .gal-count { position: absolute; right: 16px; bottom: 16px; z-index: 1; display: none; }
@media (max-width: 760px) { .gallery .gal-count { display: inline-flex; } }
.lb { position: fixed; inset: 0; z-index: 1000; background: #080F1B; display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.lb[hidden] { display: none; }
.lb-img { max-width: calc(100vw - 160px); max-height: calc(100vh - 120px); object-fit: contain; border-radius: 12px; user-select: none; -webkit-user-drag: none; transition: opacity .15s; }
.lb-btn { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(255, 255, 255, .25); outline: none; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 20px; top: 20px; width: 44px; height: 44px; font-size: 22px; }
.lb-count { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; pointer-events: none; color: rgba(255, 255, 255, .8); font-size: 15px; }
body.lb-open { overflow: hidden; }
@media (max-width: 760px) {
  .lb-img { max-width: 100vw; max-height: calc(100vh - 140px); border-radius: 0; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; width: 44px; height: 44px; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
}
