/* =========================================================
   ПОЛИСИК — основной файл стилей
   Палитра бренда:
   --blue        #4e82b6  (основной)
   --navy        #181a2e  (тёмно-синий / графит)
   --coral       #fa8669  (акцент)
   --violet      #8a84f2  --teal #5ac8c4  --pink #eca3c7
   ========================================================= */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
/* <picture> не должен влиять на вёрстку — в нём лежит тот же <img> */
picture { display: contents; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
details summary::-webkit-details-marker { display: none; }

/* ---------- TOKENS ---------- */
:root {
  --blue: #4e82b6;
  --blue-dark: #3d6a97;
  --blue-soft: #eaf1f8;
  --navy: #181a2e;
  --navy-soft: #2a2d47;
  --coral: #fa8669;
  --violet: #8a84f2;
  --teal: #5ac8c4;
  --pink: #eca3c7;
  --grad-brand: linear-gradient(115deg, #5ac8c4 0%, #6d9ede 45%, #8a84f2 72%, #eca3c7 100%);
  --ink: #1d2038;
  --ink-soft: #4b5170;
  --muted: #7b819b;
  --line: #e4e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --white: #ffffff;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(24, 26, 46, .05);
  --shadow: 0 12px 34px -12px rgba(24, 26, 46, .16);
  --shadow-lg: 0 26px 60px -22px rgba(24, 26, 46, .28);

  --header-h: 74px;
  --container: 1180px;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Nunito', 'Manrope', system-ui, sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- A11Y ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }
:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
  border-radius: 6px;
}

/* =========================================================
   ТИПОГРАФИКА
   ========================================================= */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 800; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); letter-spacing: -.02em; }
h3 { font-size: 1.16rem; }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-sub { color: var(--ink-soft); font-size: 1.06rem; }

.section-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.section-tag.tag-light { color: #fff; background: rgba(255, 255, 255, .18); }

.link-strong { color: var(--blue); font-weight: 700; border-bottom: 2px solid rgba(78, 130, 182, .3); }
.link-strong:hover { border-bottom-color: var(--blue); }

/* =========================================================
   КНОПКИ
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(24, 26, 46, .6); }
.btn-primary:hover { background: #24273f; box-shadow: 0 16px 30px -12px rgba(24, 26, 46, .65); }

.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(78, 130, 182, .7); }
.btn-blue:hover { background: var(--blue-dark); }

.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-tg { background: #2aabee; color: #fff; box-shadow: 0 10px 24px -12px rgba(42, 171, 238, .8); }
.btn-tg:hover { background: #1e96d4; }
.btn-max { background: #6e5bf5; color: #fff; box-shadow: 0 10px 24px -12px rgba(110, 91, 245, .8); }
.btn-max:hover { background: #5b48e2; }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 10px 24px -12px rgba(37, 211, 102, .8); }
.btn-wa:hover { background: #1eb958; }
/* Подсказка под кнопками мессенджеров: какой канал надёжнее */
.messenger-hint {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 10px;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.messenger-hint i { color: var(--blue); margin-top: 3px; flex-shrink: 0; }
.messenger-hint strong { color: var(--ink); }

.btn-lg { padding: 18px 32px; font-size: 1.05rem; }
.btn-sm { padding: 11px 20px; font-size: .9rem; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 26px -16px rgba(24, 26, 46, .3);
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, .95);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 44px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 6px 2px;
  position: relative;
  transition: color .18s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { transform: scaleX(1); }
/* Кнопка CTA в меню: перебиваем цвет ссылки .main-nav a (иначе текст серый на тёмном) */
.main-nav .nav-cta {
  flex-shrink: 0;
  color: #fff !important;
  background: var(--navy);
  padding: 16px 32px;
  font-size: 1rem;
  white-space: nowrap;
  box-shadow: 0 12px 26px -12px rgba(24, 26, 46, .7);
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { color: #fff !important; background: #24273f; }
.main-nav .nav-cta i { color: var(--teal); }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--blue-soft);
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 64px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(1200px 520px at 82% -8%, rgba(138,132,242,.16), transparent 62%),
    radial-gradient(900px 460px at 6% 8%, rgba(90,200,196,.16), transparent 60%),
    linear-gradient(180deg, #fbfcff 0%, #f4f7fd 100%);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.blob-1 { width: 420px; height: 420px; background: rgba(90,200,196,.5); top: -140px; left: -120px; }
.blob-2 { width: 480px; height: 480px; background: rgba(138,132,242,.42); bottom: -200px; right: -140px; }
.blob-3 { width: 320px; height: 320px; background: rgba(236,163,199,.4); top: 40px; right: 22%; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue);
  background: #fff;
  border: 1px solid #dbe6f4;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.hero-eyebrow i { color: var(--coral); }

.hero-title { margin-bottom: 18px; text-wrap: balance; }
.hero-sub { font-size: 1.12rem; color: var(--ink-soft); max-width: 540px; margin-bottom: 28px; }
.hero-sub strong { color: var(--navy); font-weight: 800; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

.hero-points { display: grid; gap: 10px; }
.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .96rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.hero-points i {
  color: #fff;
  background: var(--teal);
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: .6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

/* --- Hero art / mascot --- */
.hero-art { position: relative; display: flex; justify-content: center; }
.mascot-wrap { position: relative; width: min(100%, 460px); }

/* 
  Интро-анимация маскота: Полисик «выезжает» справа, выглядывает,
  прячется влево, снова появляется и фиксируется по центру.
  Класс .is-intro ставит и снимает JS (см. js/main.js).
  Пока идёт интро — парение на паузе (animation-play-state).
*/
.hero-art.is-intro .mascot,
.hero-art.is-intro .mascot-shadow { animation-play-state: paused; }

.mascot-wrap.is-intro {
  animation: mascot-peek 5.4s cubic-bezier(.5, .05, .28, 1) both;
  will-change: transform;
}
@keyframes mascot-peek {
  0%   { transform: translate(128%, 5%) rotate(9deg)  scale(.9); }
  10%  { transform: translate(0, 0)      rotate(-4deg) scale(1); }
  20%  { transform: translate(0, -3%)    rotate(3deg); }
  36%  { transform: translate(-92%, 5%)  rotate(-9deg); }
  50%  { transform: translate(-92%, 5%)  rotate(-9deg); }
  62%  { transform: translate(0, 0)      rotate(4deg); }
  74%  { transform: translate(0, -3%)    rotate(-2deg); }
  88%  { transform: translate(0, 0)      rotate(0deg); }
  100% { transform: translate(0, 0)      rotate(0deg); }
}

.mascot {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 26px 40px rgba(24, 26, 46, .18));
  animation: mascot-float 5.5s ease-in-out infinite;
}
@keyframes mascot-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-1.1deg); }
}

.mascot-shadow {
  position: absolute;
  left: 50%; bottom: 26px;
  width: 62%; height: 26px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(24,26,46,.22), transparent 70%);
  filter: blur(6px);
  z-index: 1;
  animation: shadow-pulse 5.5s ease-in-out infinite;
}
@keyframes shadow-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: .85; }
  50% { transform: translateX(-50%) scale(.88); opacity: .6; }
}

.hero-bubble {
  position: absolute;
  top: 8%;
  left: -6%;
  z-index: 4;
  background: #fff;
  border-radius: 18px 18px 18px 4px;
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 2px;
  max-width: 200px;
  animation: bubble-in .7s .6s both;
}
.hero-bubble strong { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 1rem; }
.hero-bubble span { font-size: .82rem; color: var(--muted); }
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(10px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip { background: var(--navy); padding: 26px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-grid li { display: grid; gap: 3px; }
.trust-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: #fff;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.trust-label { font-size: .86rem; color: rgba(255, 255, 255, .72); font-weight: 600; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 84px 0; }
.section-why { background: var(--bg-soft); }
.section-calc { background: var(--bg-soft); }

/* ---------- STEPS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d5e0ef; }
.step-num {
  position: absolute;
  top: -14px; left: 24px;
  width: 34px; height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: .95rem;
  box-shadow: 0 8px 18px -8px rgba(24,26,46,.7);
}
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; font-size: 1.08rem; }
.step p { font-size: .93rem; color: var(--ink-soft); }

.step-accent { background: linear-gradient(160deg, #fff 0%, #f3f7fd 100%); border-color: #cfe0f3; }
.step-accent .step-icon { background: var(--grad-brand); color: #fff; }
.step-accent .step-num { background: var(--coral); }

.how-note {
  margin: 36px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: .95rem;
  color: var(--ink-soft);
  background: #fff;
  border: 1px dashed #cdd9e9;
  border-radius: var(--radius);
  padding: 16px 22px;
}
.how-note i { color: var(--blue); margin-right: 6px; }

/* ---------- GUARANTEE ---------- */
.guarantee {
  background: var(--navy);
  color: #fff;
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}
.guarantee::before {
  content: '';
  position: absolute;
  width: 620px; height: 620px;
  right: -180px; top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,132,242,.5), transparent 68%);
  filter: blur(30px);
}
.guarantee::after {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  left: -200px; bottom: -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90,200,196,.42), transparent 68%);
  filter: blur(30px);
}
.guarantee-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: center;
  gap: 44px;
}
.guarantee h2 { color: #fff; margin-bottom: 16px; }
.guarantee-copy > p { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 620px; margin-bottom: 26px; }
.guarantee-list { display: grid; gap: 12px; }
.guarantee-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.94);
}
.guarantee-list i {
  color: var(--navy);
  background: var(--teal);
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: .65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.guarantee-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  text-align: center;
  backdrop-filter: blur(6px);
}
.guarantee-badge {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 4.4rem);
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.guarantee-card p { color: #fff; font-weight: 700; margin-bottom: 14px; }
.guarantee-card-note { font-size: .82rem; color: rgba(255,255,255,.66); display: block; }

/* ---------- CALCULATORS ---------- */
.calc-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 6px;
  max-width: 520px;
  margin: 0 auto 26px;
  box-shadow: var(--shadow-sm);
}
.calc-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .98rem;
  color: var(--ink-soft);
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.calc-tab:hover { color: var(--navy); }
.calc-tab.is-active { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -12px rgba(78,130,182,.9); }

.calc-panels { position: relative; }
.calc-panel { display: none; }
.calc-panel.is-active { display: block; animation: fade-up .4s ease both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.calc-frame {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
}
/* Оверлей ПОВЕРХ iframe: виден, пока калькулятор грузится.
   Раньше заглушка лежала под iframe (z-index 1) и была не видна —
   пользователь видел просто белый прямоугольник и решал, что
   «калькулятор не открылся». Теперь оверлей сверху и снимается
   по событию load (класс .is-loaded). */
.calc-frame::before {
  content: 'Загружаем калькулятор…';
  grid-area: 1 / 1;
  z-index: 2;
  align-self: center;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  pointer-events: none;
  transition: opacity .25s ease;
}
/* Спиннер */
.calc-frame::after {
  content: '';
  grid-area: 1 / 1;
  z-index: 2;
  align-self: center;
  justify-self: center;
  width: 34px;
  height: 34px;
  margin-top: -46px;
  border: 3px solid rgba(78, 130, 182, .25);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: calc-spin .9s linear infinite;
  pointer-events: none;
  transition: opacity .25s ease;
}
@keyframes calc-spin { to { transform: rotate(360deg); } }

/* Ипотека грузится дольше — предупреждаем об этом прямо в оверлее */
#panel-ipoteka .calc-frame::before {
  content: 'Загружаем калькулятор ипотеки… Это может занять 10–20 секунд.';
}

.calc-frame.is-loaded::before,
.calc-frame.is-loaded::after {
  opacity: 0;
  visibility: hidden;
}
.calc-frame iframe {
  grid-area: 1 / 1;
  display: block;
  position: relative;
  z-index: 1;
  /* во время загрузки прозрачный, чтобы оверлей читался */
  background: transparent;
  /* min-height защищает от «схлопывания» в 0px, когда скрытая
     вкладка инициализируется скриптом iFrameResize */
  min-height: 650px;
  border-radius: var(--radius);
  border: none;
}
.calc-frame.is-loaded iframe { background: #fff; }

.calc-note {
  max-width: 780px;
  margin: 22px auto 0;
  text-align: center;
  font-size: .9rem;
  color: var(--ink-soft);
}
.calc-note i { color: var(--blue); margin-right: 6px; }
.calc-open-link {
  text-align: center;
  margin: 12px auto 0;
  font-size: .92rem;
  color: var(--muted);
}
.calc-open-link a {
  color: var(--blue);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid rgba(78, 130, 182, .3);
}
.calc-open-link a:hover { border-bottom-color: var(--blue); }
.calc-open-link i { font-size: .78rem; }
.calc-fallback { text-align: center; margin-top: 12px; font-size: .95rem; color: var(--muted); }

/* ---------- PRODUCTS ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cfe0f3; }
.product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  border-radius: 15px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.product-name { font-family: var(--font-display); font-weight: 800; font-size: 1.06rem; color: var(--navy); }
.product-desc { font-size: .9rem; color: var(--ink-soft); }
.product-cta {
  margin-top: auto;
  padding-top: 12px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.product-cta i { transition: transform .2s ease; }
.product-card:hover .product-cta i { transform: translateX(4px); }

/* ---------- WHY ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.why-card h3 { margin-bottom: 8px; font-size: 1.06rem; }
.why-card p { font-size: .93rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: #cfe0f3; box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
  position: relative;
}
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  transition: transform .25s ease, background-color .25s ease, color .25s ease;
}
.faq-item[open] summary::after { content: '−'; background: var(--blue); color: #fff; }
.faq-body {
  padding: 0 22px 22px;
  font-size: .96rem;
  color: var(--ink-soft);
}
.faq-body a { color: var(--blue); font-weight: 600; border-bottom: 1px solid rgba(78,130,182,.35); }
.faq-more { text-align: center; margin-top: 28px; color: var(--muted); }

/* ---------- TELEGRAM CHANNEL STRIP ---------- */
.tg-strip-section { padding: 0 0 8px; }
.tg-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, #229ed9 0%, #2aabee 55%, #6e5bf5 130%);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  box-shadow: 0 22px 50px -24px rgba(42, 171, 238, .75);
  color: #fff;
}
.tg-strip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.tg-strip-text { display: grid; gap: 3px; flex: 1 1 260px; }
.tg-strip-text strong { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: #fff; }
.tg-strip-text span { font-size: .95rem; color: rgba(255, 255, 255, .88); }
.tg-strip .btn-tg {
  background: #fff;
  color: #229ed9;
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .5);
  flex-shrink: 0;
}
.tg-strip .btn-tg:hover { background: #f2fbff; color: #1a86ba; }

/* ---------- ЗНАКОМЬТЕСЬ, ПОЛИСИК ---------- */
.section-polisik {
  background:
    radial-gradient(760px 380px at 12% 0%, rgba(90, 200, 196, .14), transparent 62%),
    radial-gradient(680px 360px at 92% 100%, rgba(236, 163, 199, .16), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fd 100%);
}
.polisik-inner {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.polisik-art { position: relative; display: flex; justify-content: center; }
/* У картинки хомяка белый фон (не прозрачный), поэтому подложка тоже
   белая — тогда фон сцены сливается с карточкой, а цветной щит
   остаётся акцентом. Круглая маска обрезала бы щит — берём карточку. */
.polisik-photo {
  position: relative;
  width: min(100%, 400px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px 14px 18px;
  display: grid;
  justify-items: center;
  gap: 12px;
}
.polisik-photo img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 10px);
}
.polisik-hello {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-soft);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.polisik-copy h2 { margin-bottom: 16px; }
.polisik-copy > p { color: var(--ink-soft); margin-bottom: 14px; }

.polisik-traits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
.polisik-traits li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px;
  box-shadow: var(--shadow-sm);
}
.trait-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.05rem;
}
.trait-text { display: block; font-size: .9rem; color: var(--ink-soft); }
.trait-text strong { display: block; font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: .98rem; margin-bottom: 3px; }

.polisik-social {
  margin-top: 46px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  box-shadow: var(--shadow);
  text-align: center;
}
.polisik-social-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.polisik-social-sub { color: var(--ink-soft); max-width: 560px; margin: 0 auto 22px; }
.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  color: #fff;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.social-btn i { font-size: 1.15rem; }
.social-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
/* Атрибут hidden должен побеждать display:inline-flex у .social-btn,
   иначе незаполненные соцсети (пустые ссылки) остаются видимыми. */
.social-btn[hidden] { display: none; }
.social-tg { background: linear-gradient(120deg, #229ed9, #2aabee); box-shadow: 0 14px 30px -16px rgba(42, 171, 238, .9); }
.social-inst { background: linear-gradient(120deg, #feda75, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5); box-shadow: 0 14px 30px -16px rgba(214, 41, 118, .8); }

/* ---------- CONTACTS ---------- */
.contacts-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.section-contacts { background: linear-gradient(180deg, #ffffff 0%, #f4f7fd 100%); }
.contacts-copy h2 { margin-bottom: 14px; }
.contacts-copy .section-sub { margin-bottom: 26px; }

.contact-list { display: grid; gap: 12px; }
.contact-list a {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-list a:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: #cfe0f3; }
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.contact-icon.icon-tg { background: #e6f5fd; color: #2aabee; }
.contact-icon.icon-wa { background: #e7f8ee; color: #25d366; }
.contact-icon.icon-max { background: #ece9fe; color: #6e5bf5; }
.contact-text { display: grid; gap: 1px; }
.contact-text strong { font-family: var(--font-display); color: var(--navy); font-weight: 800; font-size: 1rem; }
.contact-text em { font-style: normal; font-size: .84rem; color: var(--muted); }

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}
.contact-card h3 { margin-bottom: 6px; font-size: 1.3rem; }
.contact-card-sub { font-size: .9rem; color: var(--muted); margin-bottom: 20px; }

/* ---------- FORMS ---------- */
.lead-form { display: grid; gap: 15px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .87rem; font-weight: 700; color: var(--navy); }
.field .optional { font-weight: 500; color: var(--muted); }
.field input[type="text"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fbfcfe;
  font-size: .97rem;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.field textarea { resize: vertical; min-height: 54px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237b819b' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(78,130,182,.13);
}
.field.has-error input, .field.has-error select { border-color: #e5533d; background: #fef6f4; }
.field-error { font-size: .8rem; color: #d53f28; min-height: 0; }

.field-check { grid-template-columns: 22px 1fr; align-items: start; gap: 10px; }
.field-check input[type="checkbox"] {
  width: 20px; height: 20px;
  margin-top: 2px;
  accent-color: var(--blue);
  flex-shrink: 0;
}
.field-check label { font-size: .84rem; font-weight: 500; color: var(--ink-soft); line-height: 1.45; }
.field-check label a { color: var(--blue); font-weight: 700; }
.field-check .field-error { grid-column: 1 / -1; }

.messenger-buttons { display: grid; gap: 10px; margin-top: 4px; }
.messenger-buttons .btn { width: 100%; }
@media (min-width: 520px) {
  .messenger-buttons { grid-template-columns: 1fr 1fr; }
}

.form-status { font-size: .88rem; font-weight: 600; min-height: 0; }
.form-status.is-ok { color: #1f8a4c; }
.form-status.is-err { color: #d53f28; }
.form-status.is-busy { color: var(--muted); }

/* ---------- БЛОК С ТЕКСТОМ ЗАЯВКИ ----------
   Показывается после клика по кнопке мессенджера. Нужен как страховка:
   если Telegram/MAX текст не подставил, заявку видно и можно скопировать. */
.copy-block {
  margin-top: 14px;
  padding: 14px 16px;
  background: #f4f7fb;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  animation: fade-up .3s ease both;
}
.copy-block-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 10px;
}
.copy-block-head i { color: var(--blue); margin-top: 2px; flex-shrink: 0; }
.copy-block-text {
  margin: 0;
  padding: 12px;
  max-height: 190px;
  overflow: auto;
  background: #fff;
  border: 1px dashed rgba(78, 130, 182, .45);
  border-radius: 10px;
  font-family: inherit;
  font-size: .85rem;
  line-height: 1.55;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
  -webkit-user-select: all;
  user-select: all;
  cursor: text;
}
.copy-block-text::selection { background: rgba(78, 130, 182, .28); }
.copy-block-actions { margin-top: 10px; }
.copy-block-actions .btn { width: 100%; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 60px 0 28px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-logo { height: 42px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; max-width: 420px; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 1rem;
  transition: background-color .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--blue); transform: translateY(-2px); }

.footer-nav h4, .footer-legal h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; font-family: var(--font-display); }
.footer-nav ul, .footer-legal ul { display: grid; gap: 9px; }
.footer-nav a, .footer-legal a { font-size: .9rem; transition: color .18s ease; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--coral); }
.footer-contacts { font-style: normal; margin-top: 14px; font-size: .9rem; line-height: 1.9; }
.footer-contacts a:hover { color: var(--coral); }

.footer-bottom { padding-top: 22px; display: grid; gap: 12px; }
.footer-disclaimer { font-size: .78rem; line-height: 1.6; color: rgba(255,255,255,.5); max-width: 900px; }
.footer-copy { font-size: .82rem; color: rgba(255,255,255,.45); }

/* =========================================================
   FLOATING CALLBACK
   ========================================================= */
.fab-callback {
  position: fixed;
  right: 22px;
  /* Поднимается над уведомлением о cookie (--cookie-h задаётся из JS) */
  bottom: calc(22px + var(--cookie-h, 0px));
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 16px 34px -12px rgba(24,26,46,.75);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.fab-callback i { font-size: 1.05rem; color: var(--teal); }
.fab-callback { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, bottom .25s ease; }
.fab-callback:hover { transform: translateY(-3px); background: #24273f; }
.fab-callback::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--teal);
  animation: fab-ping 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes fab-ping {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(1.14); opacity: 0; }
}
body.modal-open .fab-callback { opacity: 0; pointer-events: none; }

/* =========================================================
   MODAL
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-overlay { position: absolute; inset: 0; background: rgba(15,17,32,.6); backdrop-filter: blur(4px); animation: fade-in .25s ease; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 28px 26px;
  box-shadow: var(--shadow-lg);
  animation: modal-in .3s cubic-bezier(.2,.8,.3,1) both;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: background-color .18s ease, color .18s ease;
}
.modal-close:hover { background: #e7ecf5; color: var(--navy); }

.modal-mascot {
  width: 108px;
  height: 108px;
  margin: -8px auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-mascot img { width: 100%; height: 100%; object-fit: contain; animation: mascot-float 5s ease-in-out infinite; }

.modal-title { text-align: center; font-size: 1.4rem; margin-bottom: 6px; }
.modal-sub { text-align: center; font-size: .9rem; color: var(--muted); margin-bottom: 20px; }

/* =========================================================
   COOKIE BAR
   ========================================================= */
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 940;
  background: rgba(24,26,46,.97);
  color: #fff;
  padding: 14px 0;
  box-shadow: 0 -10px 30px -18px rgba(0,0,0,.6);
  animation: cookie-up .4s ease both;
}
@keyframes cookie-up { from { transform: translateY(100%); } to { transform: none; } }
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-inner p { font-size: .86rem; color: rgba(255,255,255,.82); max-width: 820px; }
.cookie-inner p i { color: var(--teal); margin-right: 6px; }
.cookie-inner p a { color: #fff; font-weight: 700; text-decoration: underline; }
.cookie-inner .btn-primary { background: var(--teal); color: var(--navy); box-shadow: none; }
.cookie-inner .btn-primary:hover { background: #4bb9b5; }

/* =========================================================
   АДАПТИВ
   ========================================================= */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 20px 24px 40px;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.2,.8,.3,1);
    overflow-y: auto;
    box-shadow: -10px 0 40px -20px rgba(24,26,46,.4);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 16px 4px; font-size: 1.05rem; }
  .main-nav a::after { display: none; }
  .nav-cta { margin-top: 22px; width: 100%; padding: 18px 24px; font-size: 1.02rem; }

  .burger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .hero-copy { order: 2; }
  .hero-art { order: 1; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-points { justify-items: start; max-width: 460px; margin: 0 auto; }
  .hero-bubble { left: auto; right: 4%; top: 2%; }

  .guarantee-inner { grid-template-columns: 1fr; gap: 30px; }
  .guarantee-card { max-width: 420px; }
  .polisik-inner { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .polisik-art { order: 1; }
  .polisik-copy { order: 2; }
  .polisik-traits { text-align: left; max-width: 620px; margin-left: auto; margin-right: auto; }
  .contacts-inner { grid-template-columns: 1fr; gap: 28px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 34px; }
  .hero { padding: 40px 0 54px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .trust-strip { padding: 22px 0; }
  .steps { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .polisik-traits { grid-template-columns: 1fr; }
  .polisik-photo { width: min(100%, 280px); padding: 20px; }
  .polisik-hello { font-size: .85rem; padding: 8px 14px; }
  .polisik-social { padding: 24px 20px; }
  .social-btn { flex: 1 1 100%; justify-content: center; }
  .calc-tabs { flex-direction: column; border-radius: var(--radius); max-width: 100%; }
  .calc-tab { border-radius: var(--radius); }
  .calc-frame { padding: 6px; border-radius: var(--radius); }
  .calc-frame iframe { border-radius: 12px; }
  .btn-lg { padding: 16px 24px; font-size: .98rem; width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .fab-callback span { display: none; }
  .fab-callback { padding: 16px; }
  .fab-callback i { font-size: 1.3rem; }

  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-inner .btn { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .product-grid { grid-template-columns: 1fr; }
  .contacts-copy h2 { font-size: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; }
  /* Прямая речь на телефоне: компактное облако рядом с хомяком, а не
     растянутый блок. Раньше `position: static` превращал облако во
     flex-элемент, который тянулся на всю высоту маскота — из-за этого
     между строками появлялся огромный разрыв. */
  .hero-art { align-items: flex-start; gap: 6px; }
  .mascot-wrap { flex: 1 1 auto; min-width: 0; }
  .hero-bubble {
    position: static;
    margin: 0;
    padding: 10px 14px;
    max-width: 160px;
    align-self: flex-start;
    align-content: start;
    border-radius: 14px 14px 14px 4px;
    animation: bubble-in .7s .6s both;
  }
  .hero-bubble strong { font-size: .86rem; }
  .hero-bubble span { font-size: .72rem; }
  .mascot-wrap.is-intro { animation-duration: 4.6s; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .mascot, .mascot-shadow, .fab-callback::before { animation: none !important; }
}

/* ---------- PRINT ---------- */
@media print {
  .site-header, .fab-callback, .cookie-bar, .hero-bg, .modal { display: none !important; }
}
