/* =====================================================================
   Аренда Паттайя — дизайн-система «Telegram-native»
   Фирменный градиент Telegram, тёмно-синий night-mode, чат-пузыри,
   мокап переписки с ботом. Чисто, современно, конверсионно.
   ===================================================================== */

:root {
  /* Палитра Telegram */
  --tg-1: #2AABEE;
  --tg-2: #229ED9;
  --tg-grad: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  --tg-soft: #E7F4FC;
  --green: #3FC380;

  /* Тёмная тема Telegram */
  --navy-950: #0E1621;
  --navy-900: #17212B;
  --navy-800: #1E2C3A;
  --navy-700: #242F3D;
  --bubble-out-dark: #2B5278;

  /* Светлая тема */
  --bg: #F2F6FA;
  --bg-2: #E9F0F7;
  --surface: #FFFFFF;
  --ink: #0F1B28;
  --ink-soft: #5A6B7D;
  --line: #E2EAF2;

  /* Текст на тёмном */
  --on-dark: #F0F5FA;
  --on-dark-soft: rgba(240, 245, 250, 0.68);

  /* Типографика */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Радиусы и тени */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 10px rgba(15, 27, 40, 0.06), 0 8px 24px rgba(15, 27, 40, 0.06);
  --shadow-md: 0 6px 20px rgba(15, 27, 40, 0.08), 0 24px 48px rgba(15, 27, 40, 0.12);
  --shadow-lg: 0 12px 30px rgba(8, 15, 25, 0.22), 0 40px 90px rgba(8, 15, 25, 0.3);
  --glow-blue: 0 10px 30px rgba(42, 171, 238, 0.4);

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------ Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
/* Безопасный размер иконок по умолчанию (конкретные правила его переопределяют) */
svg { width: 1.15em; height: 1.15em; flex: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--tg-1); outline-offset: 3px; border-radius: 6px; }

/* --------------------------- Типографика --------------------------- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
p { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 700; }

/* Градиентный текст в стиле Telegram */
.grad {
  background: linear-gradient(120deg, #6ECBFF 0%, #2AABEE 55%, #229ED9 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* --------------------------- Раскладка ----------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(60px, 8.5vw, 110px) 0; position: relative; }
.section--emerald { background: var(--navy-900); color: var(--on-dark); }   /* тёмная секция (имя класса историческое) */
.section--sand { background: var(--bg-2); }
.section--cream { background: var(--bg); }
.section--tight { padding: clamp(44px, 6vw, 72px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--tg-2);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--tg-grad); display: inline-block; }
.section--emerald .eyebrow { color: #6ECBFF; }
.section--emerald .eyebrow::before { background: linear-gradient(90deg, #6ECBFF, #2AABEE); }

.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 12px; }
.section-head p { font-size: 1.08rem; margin-top: 14px; }
.section--emerald .section-head p { color: var(--on-dark-soft); }

/* ----------------------------- Кнопки ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 14px; font-weight: 700; font-size: 1rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease), background .25s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 20px; height: 20px; }
.btn--tg { background: var(--tg-grad); color: #fff; box-shadow: var(--glow-blue); }
.btn--tg:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 16px 40px rgba(42, 171, 238, 0.5); }
.btn--light { background: var(--surface); color: var(--navy-900); box-shadow: var(--shadow-sm); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px rgba(255,255,255,.28); }
.btn--ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 34px; font-size: 1.04rem; border-radius: 16px; }

/* --------------------------- Значки/чипы --------------------------- */
.price-badge {
  display: inline-flex; align-items: baseline; gap: 5px;
  background: var(--tg-grad); color: #fff; font-weight: 800;
  padding: 8px 15px; border-radius: 100px; font-size: .98rem;
  box-shadow: 0 6px 18px rgba(42, 171, 238, 0.45);
}
.price-badge small { font-weight: 600; opacity: .9; font-size: .76rem; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 100px;
  background: var(--tg-soft); color: #1B7FBF;
  font-size: .84rem; font-weight: 600;
}
.chip svg { width: 15px; height: 15px; }
.section--emerald .chip, .page-hero .chip { background: rgba(255,255,255,.1); color: var(--on-dark); }

/* «Бот онлайн» */
.online-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 100px;
  background: rgba(63, 195, 128, 0.12); color: #7ADDA9;
  font-size: .86rem; font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(63, 195, 128, 0.25);
}
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ============================== ХЕДЕР ============================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 18px 0;
}
.site-header.scrolled { background: rgba(14, 22, 33, 0.9); backdrop-filter: blur(16px); box-shadow: 0 10px 40px rgba(0,0,0,.28); padding: 11px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--on-dark); }
.brand__mark { flex: none; border-radius: 14px; box-shadow: var(--glow-blue); line-height: 0; }
.brand__mark svg.logo-mark { width: 44px; height: 44px; }
.brand__name { display: block; font-weight: 800; font-size: 1.16rem; line-height: 1.1; letter-spacing: -0.015em; }
.brand__name em {
  font-style: normal;
  background: linear-gradient(120deg, #6ECBFF, #2AABEE);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.brand__name i { font-style: normal; font-weight: 600; opacity: .45; font-size: .88em; }
.brand__sub { display: block; margin-top: 3px; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 26px; flex-wrap: nowrap; }
.nav a { color: var(--on-dark); font-weight: 600; font-size: .94rem; opacity: .85; transition: opacity .2s, color .2s; white-space: nowrap; }
.nav a:hover { opacity: 1; color: #6ECBFF; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { padding: 11px 20px; border-radius: 12px; }

/* мобильное меню */
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.08); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--on-dark); transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 29px; }
body.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--navy-950);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 90px 32px 40px;
  transform: translateY(-100%); transition: transform .45s var(--ease); visibility: hidden;
}
body.menu-open .mobile-menu { transform: translateY(0); visibility: visible; }
.mobile-menu a { color: var(--on-dark); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.mobile-menu .btn { margin-top: 26px; }

/* ============================== HERO ============================== */
.hero {
  background: radial-gradient(1100px 600px at 80% -10%, rgba(42,171,238,.16), transparent 60%),
              radial-gradient(800px 500px at -10% 110%, rgba(34,158,217,.12), transparent 60%),
              linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--on-dark); position: relative; overflow: hidden;
  padding: clamp(120px, 16vw, 180px) 0 clamp(64px, 8vw, 110px);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .35; pointer-events: none; }
.hero__glow--1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(42,171,238,.7), transparent 70%); top: -180px; right: -100px; }
.hero__glow--2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(34,158,217,.5), transparent 70%); bottom: -200px; left: -140px; }
.hero__grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(36px, 5vw, 64px); align-items: center; position: relative; z-index: 2; }
.hero__content { max-width: 640px; }
.hero h1 { margin: 20px 0 20px; color: #fff; }
.hero__lead { font-size: 1.16rem; color: var(--on-dark-soft); max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 38px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.hero__trust-item b { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; color: #fff; display: block; line-height: 1.15; }
.hero__trust-item span { font-size: .83rem; color: var(--on-dark-soft); }

/* ------------------- Мокап телефона с чатом бота ------------------- */
.hero__phone { display: flex; justify-content: center; position: relative; }
.hero__phone::before {
  content: ""; position: absolute; inset: 10% 6%; border-radius: 50%;
  background: radial-gradient(circle, rgba(42,171,238,.35), transparent 65%);
  filter: blur(50px); z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: min(370px, 100%);
  background: var(--navy-950);
  border-radius: 38px; padding: 10px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.09);
}
.phone__screen { border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; background: #DCE7F2; }
.phone__header {
  display: flex; align-items: center; gap: 11px;
  background: rgba(23, 33, 43, 0.98); color: #fff; padding: 13px 16px;
}
.phone__ava {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--tg-grad); display: grid; place-items: center; color: #fff;
}
.phone__ava svg { width: 19px; height: 19px; margin-right: 2px; }
.phone__who { line-height: 1.25; }
.phone__who b { display: block; font-size: .95rem; font-weight: 700; }
.phone__who i { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: .74rem; color: #7ADDA9; }
.phone__who .online-dot { width: 6px; height: 6px; }

.phone__chat {
  padding: 16px 13px; display: flex; flex-direction: column; gap: 9px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.5) 0 2px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.4) 0 2px, transparent 2px),
    linear-gradient(160deg, #D6E4F0 0%, #E4EEF7 55%, #D9E7F3 100%);
  background-size: 90px 90px, 120px 120px, 100% 100%;
  min-height: 380px;
}
.msg {
  max-width: 84%; padding: 9px 13px; border-radius: 16px;
  font-size: .9rem; line-height: 1.45; color: var(--ink);
  box-shadow: 0 1px 2px rgba(15,27,40,.1);
  opacity: 0; transform: translateY(14px) scale(.97);
  animation: msgIn .5s var(--ease) forwards;
}
.msg--in  { background: #fff; align-self: flex-start; border-bottom-left-radius: 6px; }
.msg--out { background: var(--tg-grad); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.msg--out .msg__time { color: rgba(255,255,255,.75); }
.msg__time { display: block; text-align: right; font-size: .68rem; color: var(--ink-soft); margin-top: 3px; }
.checks { color: #8FE3FF; letter-spacing: -0.12em; }

.msg--card { padding: 0; overflow: hidden; width: 84%; background: #fff; }
.msg--card img { width: 100%; height: 128px; object-fit: cover; }
.msg-card__body { padding: 10px 12px 12px; }
.msg-card__body b { display: block; font-size: .84rem; line-height: 1.35; }
.msg-card__price { display: inline-block; margin-top: 5px; font-size: .82rem; font-weight: 800; color: var(--tg-2); }

.msg--typing { display: inline-flex; gap: 5px; align-items: center; padding: 12px 15px; animation-delay: 3.1s !important; }
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: #9FB4C8; animation: typing 1.2s ease-in-out infinite; }
.msg--typing span:nth-child(2) { animation-delay: .18s; }
.msg--typing span:nth-child(3) { animation-delay: .36s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes msgIn { to { opacity: 1; transform: none; } }
.phone__chat .msg:nth-child(1) { animation-delay: .3s; }
.phone__chat .msg:nth-child(2) { animation-delay: 1s; }
.phone__chat .msg:nth-child(3) { animation-delay: 1.8s; }
.phone__chat .msg:nth-child(4) { animation-delay: 2.6s; }

.phone__input {
  display: flex; align-items: center; gap: 10px;
  background: #fff; padding: 10px 12px; border-top: 1px solid var(--line);
}
.phone__input > span:first-child { flex: 1; background: #F1F5F9; color: #94A6B8; font-size: .88rem; padding: 10px 15px; border-radius: 100px; }
.phone__send {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--tg-grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(42,171,238,.45);
  transition: transform .2s var(--ease);
}
.phone__send:hover { transform: scale(1.08); }
.phone__send svg { width: 18px; height: 18px; margin-right: 2px; }

/* ============================ TRUST BAR =========================== */
.trust-bar { background: var(--surface); padding: 22px 0; box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(15,27,40,.04); position: relative; z-index: 3; }
.trust-bar__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.trust-bar__item { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: .93rem; color: var(--ink); }
.trust-bar__item svg { width: 24px; height: 24px; color: var(--tg-2); flex: none; }

/* ========================= КАТАЛОГ КАРТОЧЕК ======================== */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.filters button {
  padding: 11px 20px; border-radius: 100px; font-weight: 600; font-size: .9rem;
  background: var(--surface); color: var(--ink-soft); box-shadow: var(--shadow-sm);
  transition: .25s var(--ease);
}
.filters button:hover { color: var(--tg-2); transform: translateY(-2px); }
.filters button.active { background: var(--tg-grad); color: #fff; box-shadow: var(--glow-blue); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--surface); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__tag { position: absolute; top: 13px; left: 13px; background: rgba(14,22,33,.72); color: #fff; font-size: .74rem; font-weight: 700; padding: 6px 12px; border-radius: 100px; backdrop-filter: blur(8px); }
.card__price { position: absolute; bottom: 13px; right: 13px; }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.16rem; margin-bottom: 5px; }
.card__loc { font-size: .86rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; margin-bottom: 15px; }
.card__loc svg { width: 15px; height: 15px; color: var(--tg-2); }
.card__meta { display: flex; gap: 16px; margin-bottom: 17px; flex-wrap: wrap; }
.card__meta div { display: flex; align-items: center; gap: 6px; font-size: .83rem; color: var(--ink-soft); font-weight: 600; }
.card__meta svg { width: 16px; height: 16px; color: var(--tg-1); }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__foot .btn { padding: 12px 18px; font-size: .9rem; border-radius: 12px; }
.card__from { font-size: .78rem; color: var(--ink-soft); }
.card__from b { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); display: inline-block; }
.card__from em { display: block; font-style: normal; font-size: .74rem; color: var(--ink-soft); margin-top: 1px; }
.rub-note { font-size: .84rem; color: var(--ink-soft); margin-top: 8px; }

/* ============================= РАЙОНЫ ============================= */
.districts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.district {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 290px;
  display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.district:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.district img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .6s var(--ease); }
.district:hover img { transform: scale(1.05); }
.district::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,22,33,.92) 10%, rgba(14,22,33,.2) 55%, transparent); z-index: 1; }
.district__body { position: relative; z-index: 2; padding: 26px; width: 100%; }
.district__body h3 { color: #fff; margin-bottom: 5px; }
.district__body p { color: rgba(255,255,255,.8); font-size: .9rem; margin-bottom: 13px; }
.district__body .arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: #6ECBFF; font-size: .9rem; }
.district--wide { grid-column: span 2; min-height: 240px; }

/* ======================== КАК АРЕНДОВАТЬ ========================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { position: relative; }
.step__num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--tg-grad); color: #fff;
  display: grid; place-items: center;
  font-size: 1.15rem; font-weight: 800;
  box-shadow: var(--glow-blue); margin-bottom: 16px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 7px; }
.step p { font-size: .93rem; }
.section--emerald .step p { color: var(--on-dark-soft); }
.step::before { content: ""; position: absolute; top: 26px; left: 64px; right: -14px; height: 2px; background: repeating-linear-gradient(90deg, rgba(42,171,238,.55) 0 7px, transparent 7px 15px); }
.step:last-child::before { display: none; }

/* ==================== ОТЗЫВЫ — чат-пузыри ========================= */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.review {
  background: var(--surface); border-radius: var(--r-md); border-bottom-left-radius: 6px;
  padding: 24px 26px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px; position: relative;
}
.review__stars { color: #F7B733; display: flex; gap: 3px; }
.review__stars svg { width: 16px; height: 16px; }
.review p { color: var(--ink); font-size: .97rem; line-height: 1.6; flex: 1; }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--tg-grad); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1.05rem;
}
.review__author b { display: block; font-size: .93rem; }
.review__author span { font-size: .8rem; color: var(--ink-soft); }
/* «прочитано» ✓✓ в углу пузыря */
.review::after { content: "✓✓"; position: absolute; right: 18px; bottom: 14px; font-size: .78rem; color: var(--tg-1); letter-spacing: -0.12em; }

/* ============================== FAQ ============================== */
.faq { max-width: 800px; margin: 0 auto; }
.faq__item { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-sm); margin-bottom: 12px; padding: 0 24px; border: none; }
.faq__q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 0; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--ink); }
.faq__icon { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--tg-soft); transition: .3s var(--ease); position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; translate: -50% -50%; background: var(--tg-2); border-radius: 2px; }
.faq__icon::before { width: 12px; height: 2px; } .faq__icon::after { width: 2px; height: 12px; transition: transform .3s var(--ease); }
.faq__item.open .faq__icon { background: var(--tg-grad); }
.faq__item.open .faq__icon::before, .faq__item.open .faq__icon::after { background: #fff; }
.faq__item.open .faq__icon::after { transform: rotate(90deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding-bottom: 22px; padding-right: 50px; font-size: .97rem; }

/* =========================== БОЛЬШОЙ CTA ========================== */
.cta-band { position: relative; overflow: hidden; }
.cta-card {
  background:
    radial-gradient(700px 340px at 85% 0%, rgba(255,255,255,.16), transparent 60%),
    var(--tg-grad);
  border-radius: var(--r-xl); padding: clamp(40px, 6vw, 68px); text-align: center; color: #fff;
  position: relative; overflow: hidden; box-shadow: 0 24px 70px rgba(34, 158, 217, 0.45);
}
.cta-card h2 { position: relative; margin-bottom: 16px; color: #fff; }
.cta-card p { position: relative; color: rgba(255,255,255,.86); max-width: 560px; margin: 0 auto 28px; font-size: 1.08rem; }
.cta-card .btn { position: relative; background: #fff; color: var(--tg-2); box-shadow: 0 14px 34px rgba(10, 50, 80, .3); }
.cta-card .btn:hover { transform: translateY(-2px); filter: none; box-shadow: 0 20px 44px rgba(10, 50, 80, .4); }
.cta-card__note { position: relative; margin-top: 16px; font-size: .85rem; color: rgba(255,255,255,.78); }

/* ============================== ФУТЕР ============================= */
.footer { background: var(--navy-950); color: var(--on-dark); padding: 68px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 46px; }
.footer__about p { color: var(--on-dark-soft); font-size: .93rem; margin: 18px 0; max-width: 320px; }
.footer h4 { font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; color: #6ECBFF; margin-bottom: 17px; font-weight: 800; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: var(--on-dark-soft); font-size: .93rem; transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__contact a { display: flex; align-items: center; gap: 10px; color: var(--on-dark-soft); margin-bottom: 11px; font-size: .93rem; }
.footer__contact a:hover { color: #fff; }
.footer__contact svg { width: 18px; height: 18px; color: var(--tg-1); flex: none; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; margin-bottom: 14px; font-size: .8rem; line-height: 1.7; color: var(--on-dark-soft); }
.footer__bottom { padding-top: 6px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: var(--on-dark-soft); }

/* ==================== ПЛАВАЮЩАЯ КНОПКА / MOBILE CTA ================= */
.tg-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: var(--tg-grad);
  display: grid; place-items: center; box-shadow: 0 12px 32px rgba(42,171,238,.55);
  transform: scale(0); transition: transform .4s var(--ease), filter .2s;
}
.tg-fab.show { transform: scale(1); }
.tg-fab:hover { filter: brightness(1.07); }
.tg-fab svg { width: 28px; height: 28px; color: #fff; margin-right: 3px; }
.tg-fab::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--tg-1); opacity: .5; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.5); opacity: 0; } }

.mobile-cta { display: none; }

/* ========================= ХЛЕБНЫЕ КРОШКИ ========================= */
.breadcrumbs { padding: 104px 0 0; background: var(--navy-950); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .84rem; color: var(--on-dark-soft); }
.breadcrumbs a { color: var(--on-dark-soft); } .breadcrumbs a:hover { color: #6ECBFF; }
.breadcrumbs li::after { content: "›"; margin-left: 8px; opacity: .45; }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs li:last-child { color: var(--on-dark); }

/* ====================== ВНУТРЕННИЙ HERO СТРАНИЦ ==================== */
.page-hero {
  background: radial-gradient(900px 500px at 85% -20%, rgba(42,171,238,.16), transparent 60%),
              linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--on-dark); padding: 28px 0 clamp(48px, 6.5vw, 80px); position: relative; overflow: hidden;
}
.page-hero__glow { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(42,171,238,.4), transparent 70%); filter: blur(90px); top: -160px; right: -80px; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; position: relative; z-index: 2; }
.page-hero h1 { margin: 14px 0 16px; color: #fff; }
.page-hero__lead { font-size: 1.12rem; color: var(--on-dark-soft); max-width: 560px; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.page-hero__img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.08); aspect-ratio: 4/3; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }

/* ========================= ТЕКСТОВЫЙ КОНТЕНТ ====================== */
.prose { max-width: 780px; }
.prose h2 { margin: 38px 0 16px; }
.prose h3 { margin: 28px 0 10px; }
.prose p { margin-bottom: 15px; font-size: 1.02rem; }
.prose ul.ticks { margin: 18px 0; display: grid; gap: 11px; }
.prose ul.ticks li { position: relative; padding-left: 34px; color: var(--ink-soft); }
.prose ul.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--tg-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23229ED9' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; }

/* сетка «контент + сайдбар» */
.split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.aside-card { background: var(--surface); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-md); position: sticky; top: 96px; }
.aside-card h3 { margin: 14px 0 8px; }
.aside-card p { font-size: .93rem; margin-bottom: 18px; }

/* фича-плитки */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: var(--surface); border-radius: var(--r-md); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.section--emerald .feature { background: var(--navy-800); box-shadow: none; border: 1px solid rgba(255,255,255,.06); }
.feature__ic { width: 52px; height: 52px; border-radius: 50%; background: var(--tg-soft); display: grid; place-items: center; margin-bottom: 17px; }
.section--emerald .feature__ic { background: rgba(42,171,238,.14); }
.feature__ic svg { width: 25px; height: 25px; color: var(--tg-2); }
.section--emerald .feature__ic svg { color: #6ECBFF; }
.feature h3 { font-size: 1.12rem; margin-bottom: 7px; }
.feature p { font-size: .93rem; }
.section--emerald .feature h3 { color: #fff; }
.section--emerald .feature p { color: var(--on-dark-soft); }

/* ====================== АНИМАЦИИ ПРИ СКРОЛЛЕ ====================== */
/* Скрываем до появления ТОЛЬКО если работает JS (класс html.js).
   Без JS — контент виден сразу (важно для SEO и надёжности). */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; } .reveal.d3 { transition-delay: .21s; } .reveal.d4 { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .msg { opacity: 1; transform: none; animation: none; }
  html { scroll-behavior: auto; }
}

/* ====================== КВИЗ-ПОДБОР (CRO) ========================= */
.quiz { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.quiz__left h2 { margin-top: 12px; }
.quiz__lead { font-size: 1.06rem; margin-top: 14px; max-width: 480px; }
.quiz__list { margin-top: 22px; display: grid; gap: 12px; }
.quiz__list li { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: .96rem; color: var(--ink); }
.quiz__list svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--tg-soft); color: var(--tg-2); flex: none; }

.quiz__box {
  background: var(--surface); border-radius: var(--r-xl);
  padding: clamp(24px, 3.4vw, 38px); box-shadow: var(--shadow-md);
  position: relative;
}
.quiz__bar { height: 6px; border-radius: 6px; background: var(--bg-2); overflow: hidden; margin-bottom: 24px; }
.quiz__bar span { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--tg-grad); transition: width .45s var(--ease); }
.quiz__step, .quiz__done { display: none; }
.quiz__step.active, .quiz__done.active { display: block; animation: quizIn .4s var(--ease); }
@keyframes quizIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.quiz__q { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 18px; }
.quiz__q small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tg-2); margin-bottom: 6px; }
.quiz__opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.quiz__opts button {
  padding: 15px 18px; border-radius: 14px; font-weight: 600; font-size: .96rem;
  background: var(--bg); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: .2s var(--ease); text-align: center;
}
.quiz__opts button:hover { box-shadow: inset 0 0 0 2px var(--tg-1); color: var(--tg-2); transform: translateY(-1px); }
.quiz__opts button.sel { background: var(--tg-grad); color: #fff; box-shadow: var(--glow-blue); }
.quiz__opts .wide { grid-column: 1 / -1; }
.quiz__summary { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; }
.quiz__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: .84rem; color: var(--ink-soft); }

/* ==================== EXIT-INTENT МОДАЛКА (CRO) =================== */
/* КРИТИЧНО: пока элемент скрыт атрибутом hidden — он полностью выключен,
   иначе прозрачный оверлей перекрывает все клики на странице */
.exit-modal[hidden], .cookie-bar[hidden] { display: none !important; }
.exit-modal:not(.show) { pointer-events: none; }
.exit-modal {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(8, 15, 25, 0.6); backdrop-filter: blur(5px);
  display: grid; place-items: center; padding: 20px;
  opacity: 0; transition: opacity .3s var(--ease);
}
.exit-modal.show { opacity: 1; }
.exit-modal__card {
  background: var(--surface); border-radius: var(--r-xl);
  padding: 30px; max-width: 430px; width: 100%;
  box-shadow: var(--shadow-lg); position: relative;
  transform: translateY(14px) scale(.97); transition: transform .3s var(--ease);
}
.exit-modal.show .exit-modal__card { transform: none; }
.exit-modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-2); color: var(--ink-soft);
  font-size: 1.3rem; line-height: 1; display: grid; place-items: center;
  transition: .2s;
}
.exit-modal__close:hover { background: var(--line); color: var(--ink); }
.exit-modal__chat { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; padding-right: 26px; }
.exit-modal__ava { flex: none; border-radius: 12px; box-shadow: var(--glow-blue); line-height: 0; }
.exit-modal__bubble {
  background: var(--bg); border-radius: 16px; border-top-left-radius: 6px;
  padding: 14px 16px; font-size: .97rem; line-height: 1.55; color: var(--ink);
}
.exit-modal__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 13px; font-size: .83rem; color: var(--ink-soft); }

/* ========================= РЕКВИЗИТЫ ============================== */
.requisites { margin-top: 16px; display: grid; gap: 0; }
.requisites li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.requisites li:last-child { border-bottom: none; }
.requisites span { color: var(--ink-soft); flex: none; }
.requisites b { text-align: right; font-weight: 600; }

/* ===================== COOKIE-УВЕДОМЛЕНИЕ ========================= */
.cookie-bar {
  position: fixed; left: 20px; bottom: 20px; z-index: 110;
  max-width: 360px; background: var(--surface); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 12px;
  animation: quizIn .5s var(--ease);
}
.cookie-bar p { font-size: .85rem; line-height: 1.55; }
.cookie-bar a { color: var(--tg-2); font-weight: 600; text-decoration: underline; }
.cookie-bar .btn { padding: 10px 18px; font-size: .9rem; align-self: flex-start; }
@media (max-width: 640px) {
  .cookie-bar { left: 12px; right: 12px; bottom: 84px; max-width: none; }
}

/* ============== Значок «непрочитанного» на FAB (CRO) ============== */
.tg-fab__badge {
  position: absolute; top: -3px; right: -3px;
  min-width: 21px; height: 21px; border-radius: 100px; padding: 0 5px;
  background: #FF3B30; color: #fff;
  font-size: .72rem; font-weight: 800; line-height: 21px; text-align: center;
  box-shadow: 0 3px 10px rgba(255, 59, 48, .5);
  transform: scale(0); transition: transform .35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tg-fab__badge.show { transform: scale(1); }

/* ============================ АДАПТИВ ============================= */
/* меню прячется в бургер раньше, чем начнёт переноситься */
@media (max-width: 1080px) {
  .nav, .header-actions .btn--tg { display: none; }
  .burger { display: block; }
}
@media (max-width: 980px) {
  .hero__grid, .page-hero__grid, .quiz { grid-template-columns: 1fr; }
  .hero__phone { margin-top: 8px; }
  .page-hero__img { max-width: 520px; }
  .cards, .reviews, .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .split { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .cards, .reviews, .districts, .features, .steps { grid-template-columns: 1fr; }
  .district--wide { grid-column: span 1; }
  .hero__trust { gap: 18px; }
  .hero__trust-item b { font-size: 1.4rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand__name { font-size: 1.05rem; }
  .brand__sub { font-size: .55rem; letter-spacing: .1em; white-space: nowrap; }
  .phone { width: min(340px, 100%); }
  .phone__chat { min-height: 330px; }
  .tg-fab { display: none; }
  .mobile-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: rgba(255,255,255,.96); backdrop-filter: blur(14px); padding: 11px 16px;
    gap: 12px; align-items: center; box-shadow: 0 -8px 30px rgba(15,27,40,.14);
  }
  .mobile-cta .price { color: var(--ink); line-height: 1.15; }
  .mobile-cta .price b { color: var(--tg-2); font-size: 1.15rem; font-weight: 800; display: block; }
  .mobile-cta .price span { font-size: .7rem; color: var(--ink-soft); }
  .mobile-cta .btn { flex: 1; padding: 14px; }
  body { padding-bottom: 72px; }
}
