/* =====================================================================
   PhuketThai — стили лендинга
   ===================================================================== */
:root {
  --navy: #0c2540;
  --navy-2: #123457;
  --ink: #1c2b3a;
  --muted: #5b6b7c;
  --coral: #ff6b4a;
  --coral-dark: #e8562f;
  --sand: #fff7ef;
  --bg: #f5f8fb;
  --white: #ffffff;
  --tg: #2aabee;
  --tg-dark: #1e96d1;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(12, 37, 64, .10);
  --shadow-lg: 0 18px 50px rgba(12, 37, 64, .18);
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Golos Text', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { text-decoration: none; color: inherit; }
b, strong { font-weight: 600; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; color: var(--navy); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.section-head--light h2 { color: #fff; }
.section-head--light p { color: rgba(255, 255, 255, .75); }

/* ===== Кнопки ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn--tg {
  background: linear-gradient(135deg, var(--tg) 0%, var(--tg-dark) 100%);
  color: #fff; box-shadow: 0 8px 22px rgba(42, 171, 238, .35);
}
.btn--tg:hover { box-shadow: 0 12px 28px rgba(42, 171, 238, .45); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--sm .ic { width: 17px; height: 17px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--xl { padding: 19px 38px; font-size: 18px; }
.btn--xl .ic { width: 23px; height: 23px; }
.btn--full { width: 100%; }

/* ===== Шапка ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 37, 64, .92); backdrop-filter: blur(12px);
  transition: box-shadow .2s ease;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 66px; }

.logo { display: flex; align-items: center; gap: 9px; }
.logo__mark { font-size: 26px; }
.logo__text { font-family: var(--font-head); font-weight: 600; font-size: 21px; color: #fff; letter-spacing: .2px; }
.logo__text b { font-weight: 800; color: var(--coral); }

.nav { display: flex; gap: 22px; margin-left: 8px; }
.nav a { color: rgba(255, 255, 255, .82); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav a:hover { color: #fff; }

.header__meta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.online { display: flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.online i {
  width: 8px; height: 8px; border-radius: 50%; background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, .25); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52, 211, 153, .25); }
  50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, .08); }
}

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(90% 120% at 85% -10%, #1b4a75 0%, transparent 55%),
    linear-gradient(165deg, #0c2540 0%, #123457 55%, #1a2f55 100%);
  padding: 72px 0 88px;
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero__glow--1 { width: 480px; height: 480px; background: rgba(255, 107, 74, .22); top: -160px; right: -120px; }
.hero__glow--2 { width: 380px; height: 380px; background: rgba(42, 171, 238, .18); bottom: -180px; left: -100px; }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

.hero__badge {
  display: inline-block; font-size: 13.5px; font-weight: 600;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero__title { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.5px; }
.hero__title span {
  background: linear-gradient(120deg, #ffb35a, var(--coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { margin: 18px 0 28px; font-size: 17.5px; color: rgba(255, 255, 255, .82); max-width: 520px; }

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.chip {
  font-size: 14px; font-weight: 500; padding: 8px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .9); transition: background .15s, border-color .15s;
}
.chip:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); }

.hero__trust { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; font-size: 14px; color: rgba(255, 255, 255, .72); }

/* Мокап чата */
.hero__chat { display: flex; justify-content: flex-end; }
.chat {
  width: 100%; max-width: 360px; background: #fff; border-radius: 22px;
  box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink);
  transform: rotate(1.5deg);
}
.chat__head {
  display: flex; align-items: center; gap: 11px;
  padding: 14px 16px; background: var(--navy); color: #fff;
}
.chat__ava {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #ffb35a, var(--coral));
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.chat__who { display: flex; flex-direction: column; line-height: 1.25; }
.chat__who b { font-size: 15px; }
.chat__who em { font-style: normal; font-size: 12px; color: #7fe0a7; }
.chat__tg { width: 22px; height: 22px; fill: var(--tg); margin-left: auto; }
.chat__body { padding: 16px 14px; display: flex; flex-direction: column; gap: 9px; background: #eef4f9; }
.msg {
  max-width: 85%; padding: 9px 13px; font-size: 13.5px; line-height: 1.45;
  border-radius: 14px; box-shadow: 0 1px 2px rgba(12, 37, 64, .08);
}
.msg--in { background: #fff; border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--out { background: #d3ecff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg--typing { background: #fff; align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; }
.msg--typing i {
  width: 7px; height: 7px; border-radius: 50%; background: #9db4c8;
  animation: typing 1.2s infinite;
}
.msg--typing i:nth-child(2) { animation-delay: .2s; }
.msg--typing i:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat__cta {
  display: block; text-align: center; padding: 13px;
  font-family: var(--font-head); font-weight: 700; font-size: 14.5px;
  color: #fff; background: linear-gradient(135deg, var(--tg), var(--tg-dark));
  transition: filter .15s;
}
.chat__cta:hover { filter: brightness(1.08); }

/* ===== Полоса цифр ===== */
.stats { background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .08); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 26px 20px; }
.stat { text-align: center; color: #fff; }
.stat b { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 800; color: #ffb35a; }
.stat span { font-size: 13.5px; color: rgba(255, 255, 255, .68); }

/* ===== Преимущества ===== */
.perks { padding: 72px 0; background: var(--white); }
.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.perk {
  background: var(--sand); border-radius: var(--radius); padding: 26px 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.perk:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.perk__ic { font-size: 30px; display: block; margin-bottom: 13px; }
.perk b { display: block; font-family: var(--font-head); font-size: 16.5px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.perk p { font-size: 14px; color: var(--muted); }

/* ===== Карточки объектов ===== */
.listings { padding: 76px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img, .card__media svg { width: 100%; height: 100%; object-fit: cover; }
.card__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 999px;
  background: rgba(12, 37, 64, .82); color: #fff; backdrop-filter: blur(4px);
}
.card__tag--hit { background: rgba(232, 86, 47, .92); }
.card__tag--deal { background: rgba(16, 145, 120, .92); }
.card__tag--rating { background: rgba(255, 179, 90, .95); color: var(--navy); }
.card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card__loc { font-size: 13px; font-weight: 600; color: var(--coral-dark); margin-bottom: 7px; }
.card__title { font-size: 17.5px; font-weight: 700; color: var(--navy); margin-bottom: 11px; }
.card__specs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.card__specs span {
  font-size: 12.5px; font-weight: 500; color: var(--muted);
  background: var(--bg); padding: 4px 10px; border-radius: 999px;
}
.card__desc { font-size: 14px; color: var(--muted); margin-bottom: 16px; flex: 1; }
.card__foot { margin-bottom: 14px; }
.card__price b { font-family: var(--font-head); font-size: 23px; font-weight: 800; color: var(--navy); }
.card__price span { font-size: 13.5px; color: var(--muted); }

.listings__more { text-align: center; margin-top: 44px; }
.listings__more p { color: var(--muted); margin-bottom: 18px; font-size: 16px; }

/* ===== Шаги ===== */
.steps {
  padding: 76px 0;
  background:
    radial-gradient(80% 100% at 15% 0%, rgba(255, 107, 74, .16) 0%, transparent 60%),
    linear-gradient(160deg, #0c2540, #16395f);
  color: #fff;
}
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); padding: 28px 24px;
}
.step__num {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 19px;
  background: linear-gradient(135deg, #ffb35a, var(--coral)); color: var(--navy);
}
.step b { display: block; font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: rgba(255, 255, 255, .74); }
.steps__cta { text-align: center; margin-top: 40px; }

/* ===== Районы ===== */
.districts { padding: 76px 0; background: var(--white); }
.districts__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.district {
  background: var(--bg); border: 1px solid #e4ebf2; border-radius: 14px;
  padding: 16px 15px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.district:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--tg); }
.district b { display: block; font-family: var(--font-head); font-size: 15.5px; font-weight: 700; color: var(--navy); }
.district span { display: block; font-size: 12.5px; color: var(--muted); margin: 3px 0 8px; }
.district em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--coral-dark); }

/* ===== Отзывы ===== */
.reviews { padding: 76px 0; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: var(--white); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow);
}
.review__stars { color: #ffb35a; font-size: 17px; letter-spacing: 2px; margin-bottom: 13px; }
.review blockquote { font-size: 14.5px; color: var(--ink); margin-bottom: 15px; }
.review figcaption { font-size: 13.5px; color: var(--muted); }
.review figcaption b { color: var(--navy); }

/* ===== FAQ ===== */
.faq { padding: 76px 0; background: var(--white); }
.faq__list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--bg); border: 1px solid #e4ebf2; border-radius: 14px;
  overflow: hidden; transition: border-color .15s;
}
.faq__item[open] { border-color: var(--tg); background: #fff; box-shadow: var(--shadow); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 18px 48px 18px 22px; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 15.5px; color: var(--navy);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--coral); transition: transform .2s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item div { padding: 0 22px 20px; font-size: 14.5px; color: var(--muted); }

/* ===== Финальный CTA ===== */
.final {
  padding: 84px 0;
  background:
    radial-gradient(70% 120% at 80% 10%, rgba(255, 179, 90, .25) 0%, transparent 55%),
    linear-gradient(150deg, #e8562f 0%, #c44b8c 90%);
  color: #fff;
}
.final__inner { text-align: center; max-width: 640px; margin: 0 auto; }
.final__inner h2 { color: #fff; margin-bottom: 16px; }
.final__inner > p { font-size: 17px; color: rgba(255, 255, 255, .88); margin-bottom: 30px; }
.final .btn--tg { box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.final__note { margin-top: 20px; font-size: 14px; color: rgba(255, 255, 255, .8); }

/* ===== Подвал ===== */
.footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 44px 0 90px; }
.footer__inner { display: flex; flex-direction: column; gap: 16px; }
.footer__inner > p { font-size: 14px; max-width: 520px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__nav a { font-size: 13.5px; color: rgba(255, 255, 255, .6); transition: color .15s; }
.footer__nav a:hover { color: #fff; }
.footer small { font-size: 12.5px; color: rgba(255, 255, 255, .4); display: block; padding-right: 76px; line-height: 1.7; }

/* ===== Плавающая кнопка ===== */
.float {
  position: fixed; right: 20px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--tg), var(--tg-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(42, 171, 238, .5);
  animation: bob 2.6s ease-in-out infinite;
}
.float .ic { width: 27px; height: 27px; fill: #fff; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ===== Мобильная панель ===== */
.mobilebar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px);
  box-shadow: 0 -6px 24px rgba(12, 37, 64, .14);
}
.mobilebar .btn { width: 100%; }

/* =====================================================================
   Внутренние страницы (районы, блог)
   ===================================================================== */
.page { padding: 40px 0 76px; }
.page__container { max-width: 860px; }
.page__container--narrow { max-width: 760px; }
.page h1 { font-size: clamp(27px, 3.6vw, 40px); font-weight: 800; color: var(--navy); margin: 14px 0 14px; }
.lead { font-size: 17.5px; color: var(--muted); margin-bottom: 28px; }

/* Хлебные крошки */
.crumbs { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.crumbs a { color: var(--tg-dark); }
.crumbs a:hover { text-decoration: underline; }
.crumbs i { font-style: normal; color: #b6c3d0; }
.crumbs span { color: var(--muted); }

/* Быстрые факты */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 30px; }
.fact { background: var(--white); border: 1px solid #e4ebf2; border-radius: 14px; padding: 14px 12px; text-align: center; }
.fact b { display: block; font-family: var(--font-head); font-size: 19px; font-weight: 800; color: var(--coral-dark); }
.fact span { font-size: 12.5px; color: var(--muted); }

/* Фото страницы */
.page-photo { margin: 0 0 28px; }
.page-photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Текстовый контент */
.prose { font-size: 15.5px; }
.prose p { margin-bottom: 15px; }
.prose h2 { font-size: 22px; margin: 30px 0 14px; }
.prose ul { padding-left: 22px; margin-bottom: 15px; }
.prose li { margin-bottom: 7px; }
.prose a { color: var(--tg-dark); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--tg); }
.prose .note { font-size: 13.5px; color: var(--muted); }

/* Таблица цен */
.table-wrap { overflow-x: auto; margin-bottom: 12px; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 12px 16px; text-align: left; font-size: 14.5px; }
.price-table th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; }
.price-table tr:nth-child(even) td { background: var(--bg); }
.price-table td:nth-child(2), .price-table td:nth-child(3) { font-weight: 600; color: var(--navy); white-space: nowrap; }

/* Плюсы и минусы */
.goodbad { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 8px; }
.goodbad__col { border-radius: 14px; padding: 18px 20px; }
.goodbad__col--good { background: #eefaf3; border: 1px solid #cdeeda; }
.goodbad__col--bad { background: #fdf3ef; border: 1px solid #f6ddd2; }
.goodbad__col > b { display: block; font-family: var(--font-head); font-size: 15.5px; margin-bottom: 10px; color: var(--navy); }
.goodbad__col ul { margin: 0; padding-left: 20px; }
.goodbad__col li { font-size: 14px; margin-bottom: 6px; }

/* CTA-баннер */
.cta-banner {
  margin: 36px 0;
  background:
    radial-gradient(70% 120% at 85% 0%, rgba(255, 179, 90, .28) 0%, transparent 55%),
    linear-gradient(150deg, #0c2540, #16395f);
  border-radius: var(--radius); padding: 34px 30px; text-align: center; color: #fff;
}
.cta-banner h2 { color: #fff; font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 10px; }
.cta-banner p { color: rgba(255, 255, 255, .8); font-size: 15px; max-width: 520px; margin: 0 auto 20px; }
.cta-banner__note { display: block; margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .65); }

/* Ссылки «другие районы / читайте также» */
.related { margin-top: 8px; }
.related > b { display: block; font-family: var(--font-head); font-size: 15.5px; color: var(--navy); margin-bottom: 12px; }
.related__links { display: flex; flex-wrap: wrap; gap: 9px; }
.related__links a {
  font-size: 13.5px; font-weight: 500; padding: 8px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid #e4ebf2; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.related__links a:hover { border-color: var(--tg); box-shadow: var(--shadow); }
.related__links--col { flex-direction: column; align-items: flex-start; }
.related__links--col a { border-radius: 12px; }

/* Плитки хаба районов */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tile {
  background: var(--white); border: 1px solid #e4ebf2; border-radius: var(--radius);
  padding: 22px 22px 18px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  display: flex; flex-direction: column;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--tg); }
.tile b { font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--navy); }
.tile > span { font-size: 13px; color: var(--coral-dark); font-weight: 600; margin: 2px 0 10px; }
.tile p { font-size: 14px; color: var(--muted); margin-bottom: 12px; flex: 1; }
.tile em { font-style: normal; font-family: var(--font-head); font-size: 13.5px; font-weight: 700; color: var(--tg-dark); }

/* Карточки блога */
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.post-card {
  background: var(--white); border: 1px solid #e4ebf2; border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--tg); }
.post-card b { font-family: var(--font-head); font-size: 16.5px; font-weight: 700; color: var(--navy); margin-bottom: 9px; }
.post-card p { font-size: 14px; color: var(--muted); margin-bottom: 13px; flex: 1; }
.post-card span { font-size: 12.5px; color: var(--muted); }
.post-meta { font-size: 13.5px; color: var(--muted); margin: -4px 0 22px; }

/* Ссылка «все районы» на главной */
.districts__all { text-align: center; margin-top: 26px; }
.districts__all a { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--tg-dark); }
.districts__all a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .goodbad, .tiles, .posts { grid-template-columns: 1fr; }
  .page { padding: 28px 0 60px; }
}

/* ===== Анимация появления ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =====================================================================
   Адаптив
   ===================================================================== */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .districts__grid { grid-template-columns: repeat(4, 1fr); }
  .perks__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__chat { justify-content: center; }
  .chat { transform: none; }
}

@media (max-width: 760px) {
  .nav, .online { display: none; }
  .hero { padding: 48px 0 60px; }
  .hero__trust { gap: 12px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 20px 10px; }
  .steps__grid, .reviews__grid { grid-template-columns: 1fr; }
  .districts__grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .perks__grid { grid-template-columns: 1fr; }
  .perks, .listings, .steps, .districts, .reviews, .faq { padding: 56px 0; }
  .final { padding: 64px 0; }
  .mobilebar { display: block; }
  .float { bottom: 84px; }
  .footer { padding-bottom: 120px; }
  .btn--xl { padding: 16px 26px; font-size: 16px; }
}
