/* ============================================================
   Роман — частный специалист по дезинфекции
   Стили сайта
   ============================================================ */


/* ===== ШРИФТЫ =====
   Лежат на своём хостинге, а не на fonts.googleapis.com: Google из РФ
   открывается через раз, и каждый визит отдавал ему IP посетителя. */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-italic-600-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-italic-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-italic-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-italic-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-normal-600-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-normal-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-normal-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-normal-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/onest-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/onest-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/onest-math.woff2') format('woff2');
  unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/onest-symbols.woff2') format('woff2');
  unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89, U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8, U+1FB00-1FBFF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/onest-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/onest-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ===== ПЕРЕМЕННЫЕ ===== */

:root {
  --ocean:     #1d5c5c;
  --ocean-mid: #2e8080;
  --teal:      #3db3b3;
  --teal-light:#6ecfcf;
  --foam:      #e8f7f7;
  --foam-deep: #c8ecec;
  --dark:      #0d2e2e;
  --body:      #1c3a3a;
  --muted:     #527070;
  --accent:    #e8854a;
  --error:     #a8461a;   /* на светлом фоне: контраст 5.9:1 */
  --error-soft:#ffb184;   /* на тёмном фоне карточки акции */
  --white:     #ffffff;
  --bg:        #f3fbfb;

  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-ui: cubic-bezier(0.22, 1, 0.36, 1);
}


/* ===== СБРОС И БАЗОВЫЕ СТИЛИ ===== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Onest', sans-serif;
  background: var(--bg);
  color: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
}

body.modal-open { overflow: hidden; }

img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
a, button { outline: none; }
a:focus-visible,
button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
button { -webkit-appearance: none; }


.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}


/* ===== АНИМАЦИИ ===== */

@keyframes pulse {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: .6; }
  50%       { transform: scale(1.1) translate(20px, -20px); opacity: 1; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fabPulse {
  0%    { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}
@keyframes promoGlow {
  0%, 100% { box-shadow: 0 18px 54px rgba(0,0,0,.18), 0 0 0 rgba(232,133,74,0); }
  50%       { box-shadow: 0 24px 64px rgba(0,0,0,.22), 0 0 34px rgba(232,133,74,.24); }
}
@keyframes promoShine {
  0%        { transform: translateX(-130%) rotate(12deg); }
  54%, 100% { transform: translateX(130%) rotate(12deg); }
}


/* ===== ШАПКА ===== */

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  max-width: 100vw;
  background: rgba(13,46,46,.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(61,179,179,.15);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  user-select: none;
  flex-shrink: 0;
}
.logo-icon { width: 36px; height: 36px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.logo-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.logo-text { color: var(--white); font-size: 15px; font-weight: 600; letter-spacing: .02em; line-height: 1.2; }
.logo-sub  { color: var(--teal-light); font-size: 11px; font-weight: 300; letter-spacing: .04em; }

nav { display: flex; gap: 24px; align-items: center; }
nav a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  transition: color .38s ease;
}
nav a:hover { color: var(--teal-light); }

.header-call {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white);
  font-family: 'Onest', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: background .32s var(--ease-ui), transform .32s var(--ease-ui);
}
.header-call svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.header-call:hover  { background: var(--ocean-mid); transform: translateY(-1px); }
.header-call:active { transform: translateY(1px) scale(.99); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  border-radius: 8px;
  user-select: none;
  transition: background-color .36s ease;
}
.burger:hover { background: rgba(255,255,255,.07); }
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .52s var(--ease), opacity .34s ease, width .42s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ===== МОБИЛЬНОЕ МЕНЮ ===== */

.mobile-nav {
  position: fixed;
  top: 64px; left: 0; right: 0;
  z-index: 99;
  max-width: 100vw;
  background: rgba(13,46,46,.97);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  border-bottom: 1px solid rgba(61,179,179,.12);
  overflow: hidden;
  visibility: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px) scaleY(.985);
  transform-origin: top center;
  will-change: max-height, opacity, transform;
  transition:
    max-height .72s var(--ease),
    opacity .42s ease,
    padding-top .62s var(--ease),
    padding-bottom .62s var(--ease),
    transform .62s var(--ease),
    visibility 0s linear .72s;
}
.mobile-nav.open {
  visibility: visible;
  max-height: min(520px, calc(100svh - 64px));
  opacity: 1;
  pointer-events: auto;
  padding-top: 16px;
  padding-bottom: 24px;
  transform: translateY(0) scaleY(1);
  transition:
    max-height .72s var(--ease),
    opacity .42s ease,
    padding-top .62s var(--ease),
    padding-bottom .62s var(--ease),
    transform .62s var(--ease),
    visibility 0s linear 0s;
}

.mobile-nav a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  user-select: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: color .42s ease, padding-left .52s var(--ease), opacity .42s ease, transform .52s var(--ease);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover      { color: var(--teal-light); padding-left: 6px; }
.mobile-nav.open a       { opacity: 1; transform: translateY(0); }


.mobile-nav-call {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-light);
  font-weight: 600;
}


/* ===== ПЛАВАЮЩАЯ КНОПКА ЗВОНКА (FAB) ===== */

.fab-call {
  display: none;
  position: fixed;
  bottom: max(22px, env(safe-area-inset-bottom));
  right: 16px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(61,179,179,.45);
  transition: bottom .35s var(--ease-ui), transform .32s var(--ease-ui), box-shadow .32s, opacity .32s;
}
.fab-call:hover  { transform: scale(1.08); box-shadow: 0 10px 32px rgba(61,179,179,.55); }
.fab-call:active { transform: scale(.96); }
.fab-call svg    { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; flex-shrink: 0; }

.fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(61,179,179,.35);
  animation: fabPulse 2.5s ease-out infinite;
}


/* ===== HERO ===== */

.hero {
  min-height: 100svh;
  padding-top: 64px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0d2e2e 0%, #1d5c5c 50%, #0f3838 100%);
}

.wave-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.wave-bg svg { position: absolute; bottom: -2px; left: 0; width: 100%; }
.wave-bg::before,
.wave-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,179,179,.12) 0%, transparent 70%);
}
.wave-bg::before { width: 600px; height: 600px; top: 10%; right: -100px; animation: pulse 8s ease-in-out infinite; }
.wave-bg::after  { width: 400px; height: 400px; top: 60%; left: -80px; animation: pulse 10s ease-in-out infinite reverse; }

/* Сетка-паттерн поверх фона */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(61,179,179,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,179,179,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.5) 30%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  /* Боковые отступы даёт сам section, как у остальных блоков.
     Раньше здесь были ещё 24px, и первый экран стоял правее всего сайта */
  padding: 80px 0 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Последовательное появление элементов левой колонки */
.hero-inner > div:first-child > * { animation: fadeUp .7s var(--ease) both; }
.hero-inner > div:first-child > *:nth-child(1) { animation-delay: .1s; }
.hero-inner > div:first-child > *:nth-child(2) { animation-delay: .2s; }
.hero-inner > div:first-child > *:nth-child(3) { animation-delay: .3s; }
.hero-inner > div:first-child > *:nth-child(4) { animation-delay: .4s; }
.hero-inner > div:first-child > *:nth-child(5) { animation-delay: .5s; }
.hero-right { animation: fadeUp .7s var(--ease) .35s both; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(61,179,179,.12);
  border: 1px solid rgba(61,179,179,.3);
  color: var(--teal-light);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  user-select: none;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--teal-light); }
.hero-desc  { color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.7; margin-bottom: 36px; }
.hero-cta   { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
/* Вторая кнопка добирает остаток строки: правый край ряда совпадает
   с краем заголовка, абзаца и строки с цифрами */
.hero-cta .btn-outline { flex: 1 1 auto; justify-content: center; }

.hero-trust { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; }
.trust-num  { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 600; color: var(--teal-light); line-height: 1; }
.trust-label{ font-size: 12px; color: rgba(255,255,255,.72); margin-top: 2px; }

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-content: start;
}

.hero-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(61,179,179,.15);
  border-radius: 16px;
  padding: 18px 22px;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  user-select: none;
  cursor: pointer;
  backface-visibility: hidden;
  transition:
    transform .85s var(--ease-ui),
    background-color .85s var(--ease-ui),
    border-color .85s var(--ease-ui),
    box-shadow .85s var(--ease-ui);
}
.hero-card:hover {
  background: rgba(255,255,255,.075);
  border-color: rgba(110,207,207,.34);
  transform: translateX(4px) scale(1.004);
  box-shadow: 0 16px 42px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.045);
}
.hero-card:active { transform: translateX(2px) scale(.998); }

.hero-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(61,179,179,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .86s var(--ease), background-color .86s var(--ease), box-shadow .86s var(--ease);
}
.hero-card:hover .hero-card-icon { transform: scale(1.04); }
.hero-card-icon img { width: 100%; height: 100%; object-fit: contain; }

.hero-card-text strong { display: block; color: var(--white); font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.hero-card-text span   { color: rgba(255,255,255,.72); font-size: 12px; }


/* ===== ОБЩИЕ СТИЛИ СЕКЦИЙ ===== */

section { padding: 80px 24px; }
.container { max-width: 1160px; margin: 0 auto; }
section[id], footer[id] { scroll-margin-top: 106px; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ocean);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  user-select: none;
}
.section-tag::before { content: ''; width: 20px; height: 2px; background: var(--teal); border-radius: 2px; }

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 14px;
}

.section-desc { color: var(--muted); font-size: 15px; max-width: 540px; line-height: 1.7; margin-bottom: 52px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white);
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  letter-spacing: .02em;
  user-select: none;
  transition: background .32s var(--ease-ui), transform .32s var(--ease-ui), box-shadow .32s;
}
.btn-primary svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.btn-primary:hover  { background: var(--teal-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(61,179,179,.35); }
.btn-primary:active { transform: translateY(1px) scale(.99); box-shadow: none; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.25);
  cursor: pointer;
  user-select: none;
  transition: border-color .32s var(--ease-ui), color .32s var(--ease-ui), transform .32s var(--ease-ui);
}
.btn-outline:hover  { border-color: var(--teal-light); color: var(--teal-light); transform: translateY(-1px); }
.btn-outline:active { transform: translateY(1px) scale(.99); }


/* ===== СЕКЦИЯ "ОБО МНЕ" ===== */

.about { background: var(--white); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.about-photo { position: relative; }
.about-photo-wrap { width: 100%; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; }
.about-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

.about-badge {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  background: var(--white);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.about-badge-row  { display: flex; align-items: center; gap: 10px; }
.about-badge-dot  { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; flex-shrink: 0; animation: blink 2s ease-in-out infinite; }
.about-badge-text { font-size: 13px; font-weight: 600; color: var(--dark); }
.about-badge-sub  { font-size: 12px; color: var(--muted); margin-top: 2px; }

.about-lead { margin-bottom: 0; }

.about-features { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
}
.about-features li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--foam);
  color: var(--ocean);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}


/* ===== СЕКЦИЯ "УСЛУГИ" ===== */

.services { background: var(--bg); }

.services-list { border: 1px solid var(--foam-deep); border-radius: 24px; overflow: hidden; }

.service-item {
  background: var(--white);
  position: relative;
  transition: background-color .5s var(--ease-ui), box-shadow .5s var(--ease-ui);
}
/* Разделитель — сверху следующей строки, а не снизу предыдущей: строки
   анимируются отдельными слоями, и на плотных экранах телефонов следующая
   строка перекрывала нижнюю линию — часть разделителей пропадала */
.service-item + .service-item { border-top: 1px solid var(--foam-deep); }
.service-item:hover      { box-shadow: inset 0 0 0 1px rgba(61,179,179,.12); }

.service-item-header {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 110px;
  padding: 20px 34px;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  transition: background-color .6s var(--ease-ui), box-shadow .6s var(--ease-ui);
}
.service-item-header:hover       { background: linear-gradient(90deg, rgba(110,207,207,.08), rgba(110,207,207,.025)); }
.service-item-header:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--teal); outline-offset: -4px; }
.service-item.active .service-item-header { background: linear-gradient(90deg, rgba(110,207,207,.11), rgba(110,207,207,.045)); }

.service-item-icon {
  grid-column: 1;
  justify-self: center;
  align-self: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--foam), var(--foam-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .68s var(--ease-ui), background .68s var(--ease-ui), box-shadow .68s var(--ease-ui);
}
.service-item-icon img { width: 68%; height: 68%; object-fit: contain; }

.service-item-header:hover .service-item-icon,
.service-item.active .service-item-icon {
  background: linear-gradient(135deg, var(--ocean), var(--teal));
  transform: scale(1.045);
  box-shadow: 0 12px 26px rgba(61,179,179,.13);
}

.service-item-meta {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.service-item-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.28;
  margin: 0;
  white-space: normal;
}
.service-item-sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
  white-space: normal;
}

.service-item-arrow {
  grid-column: 3;
  justify-self: end;
  align-self: center;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  gap: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
}
.service-item-arrow svg { transition: transform .4s var(--ease-ui); }
.service-item.active .service-item-arrow svg { transform: rotate(180deg); }

/* Раскрываемое тело аккордеона */
.service-item-body {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height .66s var(--ease-ui), visibility 0s linear .66s;
}
.service-item.active .service-item-body {
  visibility: visible;
  transition: max-height .66s var(--ease-ui), visibility 0s linear 0s;
}

.service-item-content {
  padding: 20px 28px 28px 92px;
  border-top: 1px solid var(--foam-deep);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .34s ease, transform .48s var(--ease-ui);
}
.service-item.active .service-item-content { opacity: 1; transform: translateY(0); }

.service-item-content p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }

.service-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.service-tags li { background: var(--foam); color: var(--ocean); font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: 100px; }

.service-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  user-select: none;
  transition: gap .25s var(--ease-ui), color .2s;
}
.service-cta-link:hover { gap: 12px; color: var(--ocean); }


/* ===== СЕКЦИЯ "ДО И ПОСЛЕ" ===== */

.before-after { background: var(--white); }

.ba-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.ba { margin: 0; }

.ba-frame {
  --pos: 50%;
  position: relative;
  aspect-ratio: 640 / 564;
  border-radius: 18px;
  overflow: hidden;
  background: var(--foam);
  box-shadow: 0 12px 34px rgba(13,46,46,.10);
}

.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Верхний снимок обрезается по позиции ползунка — так открывается нижний */
.ba-clip { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.ba-tag {
  position: absolute;
  top: 12px;
  padding: 5px 11px;
  border-radius: 100px;
  background: rgba(13,46,46,.6);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
}
.ba-tag--before { left: 12px; }
.ba-tag--after  { right: 12px; }

/* Настоящий input даёт клавиатуру, мышь, тач и скринридеры без костылей */
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-appearance: none;
  appearance: none;
}
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 46px; height: 100%; }
.ba-range::-moz-range-thumb     { width: 46px; height: 100%; border: none; opacity: 0; }

.ba-line {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 0 0 1px rgba(13,46,46,.16);
  pointer-events: none;
}

.ba-knob {
  position: absolute;
  top: 50%; left: 50%;
  width: 42px; height: 42px;
  margin: -21px 0 0 -21px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(13,46,46,.3);
  transition: transform .3s var(--ease-ui);
}
.ba-knob::before,
.ba-knob::after {
  content: '';
  position: absolute;
  top: 50%;
  margin-top: -5px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.ba-knob::before { right: 58%; border-right: 6px solid var(--ocean); }
.ba-knob::after  { left: 58%;  border-left: 6px solid var(--ocean); }

.ba-frame:hover .ba-knob { transform: scale(1.08); }
.ba-range:focus-visible ~ .ba-line .ba-knob { outline: 3px solid var(--teal); outline-offset: 3px; }

.ba-caption { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.ba-caption strong { font-size: 15px; font-weight: 600; color: var(--dark); }
.ba-caption span   { font-size: 13px; color: var(--muted); }

/* ===== СЕКЦИЯ "ЦЕНЫ" ===== */

.prices { background: var(--bg); }
.prices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.price-block {
  background: var(--white);
  border: 1px solid var(--foam-deep);
  border-radius: 20px;
  padding: 32px;
  transition: box-shadow .3s, transform .3s var(--ease-ui);
}
.price-block:hover { box-shadow: 0 8px 32px rgba(0,0,0,.06); transform: translateY(-2px); }

.price-block h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-block-icon { width: 28px; height: 28px; flex-shrink: 0; }
.price-block-icon img { width: 100%; height: 100%; object-fit: contain; }

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--foam-deep);
  font-size: 14px;
}
.price-row:last-of-type { border-bottom: none; }
.price-label { color: var(--muted); }
.price-val   { font-weight: 600; color: var(--dark); }
.price-note  { margin-top: 20px; font-size: 12px; color: var(--muted); line-height: 1.5; }


/* ===== СЕКЦИЯ "КАК РАБОТАЮ" ===== */

.process { background: var(--white); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: steps; }

.step {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 24px;
  border: 1px solid var(--foam-deep);
  position: relative;
  overflow: hidden;
  transition:
    transform .78s var(--ease-ui),
    box-shadow .78s var(--ease-ui),
    border-color .78s var(--ease-ui),
    background-color .78s var(--ease-ui);
}

/* Цветная линия появляется при наведении */
.step::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.05s var(--ease-ui);
}
.step:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(13,46,46,.085); }
.step:hover::after { transform: scaleX(1); }

/* Порядковый номер шага */
.step::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 600;
  color: var(--ocean-mid);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.step h4 { font-size: 16px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.step p  { font-size: 13px; color: var(--muted); line-height: 1.6; }


/* ===== СЕКЦИЯ "БЕЗОПАСНОСТЬ" ===== */

.safety { background: var(--bg); }

.safety-grid { margin-top: 38px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.safety-item {
  background: var(--white);
  border: 1px solid var(--foam-deep);
  border-radius: 20px;
  padding: 26px 28px;
  position: relative;
  padding-left: 68px;
}
/* Галочка в кружке — тот же приём, что в списке «Обо мне» */
.safety-item::before {
  content: '✓';
  position: absolute;
  top: 26px; left: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--foam);
  color: var(--ocean);
  font-size: 13px;
  font-weight: 700;
}
.safety-item h3 { font-size: 16px; font-weight: 600; color: var(--dark); margin-bottom: 8px; line-height: 1.35; }
.safety-item p  { font-size: 14px; color: var(--muted); line-height: 1.6; }



/* ===== СЕКЦИЯ "ОТЗЫВЫ" ===== */

.reviews { background: var(--white); }

.reviews-grid {
  list-style: none;
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.review {
  background: linear-gradient(180deg, var(--white), #f7fcfc);
  border: 1px solid var(--foam-deep);
  border-radius: 20px;
  padding: 24px 28px 26px;
  box-shadow: 0 10px 30px rgba(13,46,46,.06);
  transition: transform .3s var(--ease-ui), box-shadow .3s var(--ease-ui);
}
.review:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(13,46,46,.10); }

.review-rating { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; margin-bottom: 12px; }
.review-rating svg { width: 15px; height: 15px; fill: #f5a623; flex-shrink: 0; }
.review-deal {
  margin-left: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ocean);
  background: var(--foam);
  border-radius: 100px;
  padding: 3px 10px;
  white-space: nowrap;
}

.review-service { font-size: 15px; font-weight: 600; color: var(--dark); line-height: 1.35; }
.review-date    { font-size: 12px; color: var(--muted); margin-top: 3px; }

.review-text {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--foam-deep);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--body);
  /* Длинные отзывы подрезаем, иначе одна карточка растягивает всю строку сетки */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
}
.review.review-open .review-text {
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.review-more {
  margin-top: 10px;
  padding: 0;
  background: none;
  border: none;
  color: var(--ocean-mid);
  font-family: 'Onest', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color .25s var(--ease-ui);
}
.review-more:hover { color: var(--teal); }

/* ===== БЛОК CTA ===== */

.cta-block {
  background: linear-gradient(135deg, var(--dark) 0%, var(--ocean) 60%, #1e6868 100%);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,179,179,.1) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}
.cta-block::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(61,179,179,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,179,179,.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

/* Колонка тянется на высоту карточки справа, кнопка прижата к низу —
   иначе верх и низ двух колонок не совпадают на десяток пикселей */
.cta-left { display: flex; flex-direction: column; }

.cta-left h2 { color: var(--white); font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.cta-left p  { color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }

.free-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }

.cta-call { width: fit-content; align-self: flex-start; margin-top: auto; }
.free-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.75);
  font-size: 14px;
}
.free-list li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(61,179,179,.2) url("data:image/svg+xml,%3Csvg width='10' height='8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3.5L4 6.5L9 1' stroke='%236ecfcf' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  border: 1px solid rgba(61,179,179,.4);
}

/* Карточка акции */
.cta-right {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 40px;
  background:
    radial-gradient(circle at 20% 0%, rgba(232,133,74,.32), transparent 34%),
    radial-gradient(circle at 100% 12%, rgba(110,207,207,.20), transparent 34%),
    linear-gradient(150deg, rgba(255,255,255,.14), rgba(255,255,255,.045));
  border: 1px solid rgba(232,133,74,.55);
  box-shadow: 0 24px 70px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.10);
  animation: promoGlow 3.4s ease-in-out infinite;
}
/* Блик, анимирующийся по карточке */
.cta-right::before {
  content: '';
  position: absolute;
  inset: -30% auto -30% -44%;
  width: 42%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  transform: rotate(12deg);
  animation: promoShine 4.8s ease-in-out infinite;
}
.cta-right > * { position: relative; z-index: 1; }

.promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 9px;
  border-radius: 999px;
  color: var(--dark);
  background: linear-gradient(135deg, #ffd9a8, var(--accent));
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 14px 34px rgba(232,133,74,.28);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.promo-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--dark);
  font-size: 22px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 8px 22px rgba(13,46,46,.24);
}

.cta-right h3 { color: var(--white); font-size: clamp(26px, 3.3vw, 36px); font-weight: 600; line-height: 1.05; margin-bottom: 10px; }
.cta-right > p { color: rgba(255,255,255,.74); font-size: 13.5px; line-height: 1.6; margin-bottom: 26px; }

.cta-form { display: flex; flex-direction: column; gap: 12px; }

.cta-input {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 14px 18px;
  min-height: 50px;
  color: var(--white);
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  width: 100%;
  outline: none;
  transition: border-color .25s, background .25s;
}
.cta-input::placeholder { color: rgba(255,255,255,.62); }
.cta-input:focus         { border-color: rgba(61,179,179,.6); background: rgba(255,255,255,.09); }

.cta-submit {
  background: linear-gradient(135deg, var(--accent), #ff9f5f);
  color: var(--dark);
  border: none;
  border-radius: 12px;
  padding: 15px;
  min-height: 50px;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 12px 28px rgba(232,133,74,.28);
  transition: background .32s var(--ease-ui), transform .32s var(--ease-ui);
}
.cta-submit:hover  { background: linear-gradient(135deg, #ff9f5f, #ffc078); transform: translateY(-2px); }
.cta-submit:active { transform: translateY(1px) scale(.99); }

/* Подпись под полем, когда номер введён не полностью */
.field-error         { margin-top: -4px; font-size: 12px; font-weight: 500; line-height: 1.45; }
.field-error[hidden] { display: none; }
.modal-form .field-error { color: var(--error); }
.cta-form   .field-error { color: var(--error-soft); }

.modal-input.input-invalid { border-color: var(--error);      background: rgba(168,70,26,.06); }
.cta-input.input-invalid   { border-color: var(--error-soft); background: rgba(255,177,132,.10); }

.cta-policy { font-size: 11px; color: rgba(255,255,255,.72); text-align: center; line-height: 1.5; }
.cta-policy a { color: rgba(255,255,255,.9); }


/* ===== ФУТЕР ===== */

footer { background: var(--dark); padding: 48px 24px; max-width: 100vw; }

.footer-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.footer-info p { color: rgba(255,255,255,.6); font-size: 12px; margin-top: 10px; line-height: 1.6; }
/* Почта выглядит как остальные строки блока, ссылку выдаёт только наведение */
.footer-mail { color: inherit; font: inherit; text-decoration: none; transition: color .2s; }
.footer-mail:hover { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.footer-mail:focus-visible { color: var(--white); outline: 2px solid var(--teal-light); outline-offset: 2px; border-radius: 2px; }

.footer-contact { display: flex; flex-direction: column; gap: 8px; text-align: right; }
.footer-contact a { color: var(--teal-light); text-decoration: none; font-size: 22px; font-weight: 600; transition: color .2s; }
.footer-contact a:hover { color: var(--white); }
.footer-contact span    { color: rgba(255,255,255,.6); font-size: 12px; }

.footer-bottom {
  max-width: 1160px;
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span { color: rgba(255,255,255,.56); font-size: 11px; }
.footer-note { color: rgba(255,255,255,.5); font-size: 11px; }
.footer-bottom a    { color: rgba(255,255,255,.64); font-size: 11px; text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: rgba(255,255,255,.92); }


/* ===== МОДАЛЬНОЕ ОКНО ===== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .38s ease, visibility 0s linear .38s;
}
.modal-overlay[hidden] { display: none; }
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .38s ease, visibility 0s linear 0s;
}

.modal {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,.2);
  transform: scale(.95) translateY(14px);
  opacity: 0;
  transition: transform .48s var(--ease-ui), opacity .38s ease;
}
.modal-overlay.open .modal { transform: none; opacity: 1; }

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--foam);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  cursor: pointer;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: background .2s, transform .3s var(--ease-ui);
}
.modal-close:hover { background: var(--foam-deep); transform: rotate(90deg); }

.modal h3 { font-size: 22px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.modal > p { font-size: 14px; color: var(--muted); margin-bottom: 24px; line-height: 1.5; }

.modal-form { display: flex; flex-direction: column; gap: 12px; }

.modal-input {
  background: var(--foam);
  border: 1px solid var(--foam-deep);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--body);
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  width: 100%;
  outline: none;
  transition: border-color .25s, background .25s;
}
.modal-form textarea.modal-input { resize: none; }
.modal-input:focus { border-color: var(--teal); background: #f0fafa; }

.modal-submit {
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: background .32s var(--ease-ui), transform .32s var(--ease-ui);
}
.modal-submit:hover  { background: var(--ocean-mid); transform: translateY(-1px); }
.modal-submit:active { transform: translateY(1px) scale(.99); }

.modal-policy { font-size: 11px; color: var(--muted); text-align: center; line-height: 1.5; }
.modal-policy a { color: var(--teal); }


/* ===== COOKIE-БАННЕР ===== */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: calc(100% - 48px);
  max-width: 620px;
  z-index: 520;
  background: var(--dark);
  border: 1px solid rgba(61,179,179,.2);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  opacity: 0;
  transition: transform .55s var(--ease-ui), opacity .4s ease;
}
.cookie-banner.visible { transform: translateX(-50%) translateY(0); opacity: 1; }
.cookie-banner.hiding  { transform: translateX(-50%) translateY(120%); opacity: 0; }

.cookie-banner p { color: rgba(255,255,255,.82); font-size: 13px; line-height: 1.5; flex: 1; min-width: 180px; }
.cookie-banner a { color: var(--teal-light); }

.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

.cookie-accept,
.cookie-decline {
  border-radius: 100px;
  padding: 9px 20px;
  font-family: 'Onest', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  transition: background .32s var(--ease-ui), border-color .32s var(--ease-ui), color .32s var(--ease-ui), transform .32s var(--ease-ui);
}

.cookie-accept { background: var(--teal); color: var(--white); border: none; }
.cookie-accept:hover  { background: var(--teal-light); transform: translateY(-1px); }
.cookie-accept:active { transform: translateY(1px) scale(.99); }

/* Отказ — равноправная кнопка, просто без заливки */
.cookie-decline {
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.28);
}
.cookie-decline:hover  { color: var(--white); border-color: rgba(255,255,255,.55); transform: translateY(-1px); }
.cookie-decline:active { transform: translateY(1px) scale(.99); }


/* ===== TOAST-УВЕДОМЛЕНИЕ ===== */

.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  z-index: 9999;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
  background: var(--dark);
  color: var(--white);
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  border: 1px solid rgba(61,179,179,.25);
  opacity: 0;
  transition: opacity .35s ease, transform .42s var(--ease-ui);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }


/* ===== НОМЕР И QR-КОД ДЛЯ ЗВОНКА С КОМПЬЮТЕРА ===== */

.call-pop {
  position: fixed;
  top: 0; left: 0;
  z-index: 900;
  width: 264px;
  padding: 22px 22px 20px;
  background: var(--white);
  border: 1px solid var(--foam-deep);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(13,46,46,.22);
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .3s var(--ease-ui);
}
.call-pop[hidden] { display: none; }
.call-pop.open { opacity: 1; transform: none; }

.call-pop-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 28px; height: 28px;
  border: none;
  border-radius: 50%;
  background: var(--foam);
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.call-pop-close:hover { background: var(--foam-deep); }

.call-pop-title { font-size: 13px; color: var(--muted); margin-bottom: 4px; }

.call-pop-num {
  display: inline-block;
  font-size: 21px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  white-space: nowrap;
  user-select: all;
}
.call-pop-num:hover { color: var(--ocean-mid); }

.call-pop-copied {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ocean-mid);
}
.call-pop-copied::before { content: '✓ '; }

.call-pop-qr {
  width: 148px;
  margin: 14px auto 12px;
  padding: 8px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--foam-deep);
}
.call-pop-qr svg { display: block; width: 100%; height: auto; }

.call-pop-hint { font-size: 12px; line-height: 1.45; color: var(--muted); }


/* ===== АНИМАЦИИ ПОЯВЛЕНИЯ ПРИ СКРОЛЛЕ ===== */

body.anim-ready .reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(.992);
  transition: opacity .82s var(--ease-ui), transform .82s var(--ease-ui);
  will-change: opacity, transform;
}
body.anim-ready .reveal-on-scroll.reveal-left  { transform: translate3d(-38px, 0, 0) scale(.992); }
body.anim-ready .reveal-on-scroll.reveal-right { transform: translate3d(38px, 0, 0) scale(.992); }

body.anim-ready .reveal-on-scroll.reveal-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }

body.anim-ready .reveal-on-scroll.reveal-delay-1 { transition-delay: .06s; }
body.anim-ready .reveal-on-scroll.reveal-delay-2 { transition-delay: .12s; }
body.anim-ready .reveal-on-scroll.reveal-delay-3 { transition-delay: .18s; }

/* ===== > 1100px: усиленные анимации на широких экранах ===== */

@media (min-width: 1100px) {
  body.anim-ready .reveal-on-scroll {
    transform: translate3d(0, 54px, 0) scale(.988);
    transition-duration: .92s;
  }
  body.anim-ready .reveal-on-scroll.reveal-left  { transform: translate3d(-46px, 0, 0) scale(.988); }
  body.anim-ready .reveal-on-scroll.reveal-right { transform: translate3d(46px, 0, 0) scale(.988); }
  body.anim-ready .reveal-on-scroll.reveal-visible { transform: translate3d(0, 0, 0) scale(1); }
}

/* ===== ≤ 899px: планшет и мобильный ===== */

@media (max-width: 899px) {
  nav, .header-call { display: none; }
  .burger   { display: flex; }
  .fab-call { display: flex; }

  section[id], footer[id] { scroll-margin-top: 92px; }

  .hero { align-items: flex-start; }
  .hero-inner  { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 80px; }
  .hero-right  { display: none; }

  .about-grid    { grid-template-columns: 1fr; gap: 40px; }
  .reviews-grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .prices-grid   { grid-template-columns: 1fr; }
  .safety-grid   { grid-template-columns: 1fr; gap: 16px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .cta-inner     { grid-template-columns: 1fr; gap: 30px; }
  /* Звонок — главное действие блока: во всю ширину и крупнее обычной кнопки */
  .cta-call      { width: 100%; justify-content: center; padding: 17px 24px; font-size: 15px; }
  .footer-inner  { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }
  .footer-bottom  { flex-direction: column; align-items: flex-start; }

  .service-item-header {
    grid-template-columns: 48px minmax(0, 1fr) 34px;
    min-height: 92px;
    padding: 16px 18px;
    gap: 14px;
  }
  .service-item-icon   { width: 44px; height: 44px; }
  .service-item-title  { font-size: 15.5px; }
  .service-item-sub    { font-size: 11.7px; line-height: 1.4; }
  .service-item-arrow  { width: 34px; justify-content: center; min-height: 44px; }
  .service-item-arrow span { display: none; }
  .service-item-content { padding-left: 28px; }

  .ba-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

  /* FAB прячется когда видна cookie-плашка */
  body.cookie-visible .fab-call { opacity: 0; pointer-events: none; transform: scale(.92); }

  /* Hover-трансформации на touch убираем */
  .hero-card:hover,
  .step:hover { transform: none; }

  /* Упрощённые анимации скролла на мобильных */
  body.anim-ready .reveal-on-scroll,
  body.anim-ready .reveal-on-scroll.reveal-left,
  body.anim-ready .reveal-on-scroll.reveal-right {
    transform: translate3d(0, 24px, 0);
    transition: opacity .58s var(--ease-ui), transform .58s var(--ease-ui);
  }
  body.anim-ready .reveal-on-scroll.reveal-visible,
  body.anim-ready .reveal-on-scroll.reveal-left.reveal-visible,
  body.anim-ready .reveal-on-scroll.reveal-right.reveal-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}


/* ===== ≤ 600px: смартфон ===== */

@media (max-width: 600px) {
  html   { scroll-padding-top: 70px; }
  header { padding: 0 16px; }
  section { padding: 60px 16px; }
  section[id], footer[id] { scroll-margin-top: 84px; }

  .hero-inner { padding: 52px 0 82px; }
  footer      { padding-left: 16px; padding-right: 16px; }
  /* В две строки плашка растягивалась на всю ширину и справа оставалась
     пустота — поджимаем разрядку, чтобы на обычном телефоне хватало строки */
  .hero-badge { font-size: 11px; line-height: 1.45; padding: 7px 12px; letter-spacing: .03em; }
  .hero-desc  { font-size: 14px; }
  .hero-trust { gap: 16px; }
  .hero-cta   { max-width: 100%; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; padding-left: 20px; padding-right: 20px; }

  .process-steps { grid-template-columns: 1fr; }
  .reviews-grid  { grid-template-columns: 1fr; }
  .review        { padding: 22px 20px 24px; }

  .service-item-header {
    grid-template-columns: 46px minmax(0, 1fr) 32px;
    min-height: 86px;
    padding: 15px 16px;
    gap: 12px;
  }
  .service-item-icon    { width: 42px; height: 42px; border-radius: 11px; }
  .service-item-content { padding: 18px 16px 22px; }

  .ba-grid { grid-template-columns: 1fr; gap: 22px; }

  .cta-right  { padding: 24px 18px; border-radius: 22px; animation: none; }
  .promo-pill span { min-width: 64px; height: 34px; font-size: 20px; }

  .modal { padding: 28px 20px; }

  /* Cookie-плашка на смартфоне: текст сверху, кнопки во всю ширину */
  .cookie-banner {
    display: block;
    width: calc(100% - 24px);
    padding: 12px 14px;
    border-radius: 14px;
  }
  .cookie-banner p { min-width: 0; font-size: 11px; line-height: 1.4; }
  .cookie-actions  { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cookie-accept,
  .cookie-decline  { width: 100%; min-height: 40px; padding: 9px 12px; font-size: 12.5px; }
}


/* ===== ≤ 380px: очень маленький экран ===== */

@media (max-width: 380px) {
  .logo      { gap: 8px; }
  .logo-icon { width: 32px; height: 32px; border-radius: 9px; }
  .logo-text { font-size: 13px; }
  .logo-sub  { font-size: 9.5px; max-width: 168px; white-space: normal; line-height: 1.25; }
  .burger    { padding-right: 2px; }

  .hero h1    { font-size: 34px; }
  /* Номер в кнопке не влезает в одну строку на самых узких экранах */
  .hero-cta .btn-primary { font-size: 13px; padding-left: 16px; padding-right: 16px; letter-spacing: 0; }
  .hero-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
  .trust-num  { font-size: 32px; }

  .price-block { padding: 24px 20px; }
  .price-row   { gap: 14px; align-items: flex-start; }
  .price-val   { text-align: right; }

  .footer-contact a { font-size: 20px; }
}


/* ===== ПОЛЬЗОВАТЕЛИ БЕЗ АНИМАЦИЙ ===== */

@media (prefers-reduced-motion: reduce) {
  body.anim-ready .reveal-on-scroll,
  body.anim-ready .reveal-on-scroll.reveal-left,
  body.anim-ready .reveal-on-scroll.reveal-right,
  body.anim-ready .reveal-on-scroll.reveal-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Убираем hover-трансформации на touch-устройствах */
@media (hover: none) {
  .hero-card:hover,
  .step:hover { transform: none; }
}


/* ============================================================
   v15: многостраничный сайт. Ниже только новые блоки и правки
   поверх стилей v14; всё, что выше, не менялось.
   ============================================================ */


/* ===== ШАПКА v15 ===== */

.logo-text { font-size: 16px; letter-spacing: .03em; }
.logo-sub  { font-size: 11px; }

nav { gap: 22px; }
nav a { position: relative; padding: 6px 0; }
nav a[aria-current="page"] { color: var(--white); }
nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
}

.header-call .hc-num { display: none; }
@media (min-width: 1240px) {
  .header-call .hc-num   { display: inline; }
  .header-call .hc-short { display: none; }
}
@media (min-width: 900px) and (max-width: 1080px) {
  nav { gap: 14px; }
  nav a { font-size: 12.5px; }
  .logo-sub { display: none; }
}

.mobile-nav a[aria-current="page"] { color: var(--teal-light); }
.mobile-nav.open { max-height: min(600px, calc(100svh - 64px)); overflow-y: auto; }


/* ===== ПЕРВЫЙ ЭКРАН ВНУТРЕННИХ СТРАНИЦ ===== */

.hero--page { min-height: 0; }
.hero--page .hero-inner {
  padding: 40px 0 104px;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: start;
}
.hero--page h1 { font-size: clamp(34px, 4.4vw, 54px); }

.crumbs { margin-bottom: 26px; }
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.6);
}
.crumbs li + li::before { content: '/'; margin: 0 9px; color: rgba(255,255,255,.35); }
.crumbs a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--teal-light); }
.crumbs [aria-current] { color: rgba(255,255,255,.9); }

.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -12px 0 30px;
}
.hero-facts li {
  font-size: 12.5px;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(61,179,179,.22);
  border-radius: 100px;
  padding: 6px 13px;
}
.hero-facts b { color: var(--white); font-weight: 600; }

/* Карточка цены справа на первом экране услуги */
.price-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(61,179,179,.22);
  border-radius: 22px;
  padding: 28px 28px 24px;
  color: rgba(255,255,255,.8);
  animation: fadeUp .7s var(--ease) .35s both;
}
.price-card-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 12px;
}
.price-card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 14px;
}
.price-card-row:last-of-type { border-bottom: none; }
.price-card-row b { color: var(--white); font-weight: 600; white-space: nowrap; }
.price-card-note { font-size: 12px; line-height: 1.55; color: rgba(255,255,255,.62); margin-top: 12px; }
.price-card-link {
  display: inline-flex;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-light);
  text-decoration: none;
}
.price-card-link:hover { color: var(--white); }

.hero-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: rgba(255,255,255,.6);
}
.hero-note a { color: rgba(255,255,255,.85); }


/* ===== ОБЩИЕ ЭЛЕМЕНТЫ ===== */

.section-white { background: var(--white); }
.section-bg    { background: var(--bg); }
.section-desc a { color: var(--ocean); }

.lead-text { font-size: 16px; line-height: 1.75; color: var(--body); max-width: 760px; }
.lead-text + .lead-text { margin-top: 14px; }

.prose { max-width: 780px; }
.prose p { font-size: 15px; line-height: 1.75; color: var(--body); margin-bottom: 14px; }
.prose p:last-child { margin-bottom: 0; }

.note-box {
  margin-top: 28px;
  background: var(--foam);
  border-left: 3px solid var(--teal);
  border-radius: 0 14px 14px 0;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--body);
  max-width: 860px;
}
.note-box b { color: var(--dark); }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--foam);
  color: var(--ocean);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ===== КАРТОЧКИ УСЛУГ НА ГЛАВНОЙ ===== */

.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--foam-deep);
  border-radius: 22px;
  padding: 28px 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: transform .5s var(--ease-ui), box-shadow .5s var(--ease-ui), border-color .5s var(--ease-ui);
}
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(13,46,46,.09); border-color: rgba(61,179,179,.45); }

.svc-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.svc-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--foam);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.svc-card-icon img { width: 70%; height: 70%; object-fit: contain; }
.svc-card h3 { font-size: 19px; font-weight: 600; color: var(--dark); line-height: 1.25; }
.svc-card p  { font-size: 14px; line-height: 1.65; color: var(--muted); margin-bottom: 14px; }
.svc-card .service-tags { margin-bottom: 18px; }
.svc-card-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--foam-deep);
}
.svc-card-price { font-size: 15px; font-weight: 600; color: var(--dark); }
.svc-card-more  { font-size: 13px; font-weight: 600; color: var(--teal); white-space: nowrap; transition: color .2s; }
.svc-card:hover .svc-card-more { color: var(--ocean); }


/* ===== ВРЕДИТЕЛИ: РАЗДЕЛЫ НА СТРАНИЦЕ УСЛУГИ ===== */

.pest-list { display: flex; flex-direction: column; gap: 22px; }

.pest {
  background: var(--white);
  border: 1px solid var(--foam-deep);
  border-radius: 22px;
  padding: 32px;
  scroll-margin-top: 96px;
}
.section-bg .pest { background: var(--white); }
.pest-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.pest h3 { font-family: 'Cormorant Garamond', serif; font-size: clamp(26px, 3vw, 34px); font-weight: 600; color: var(--dark); line-height: 1.15; }
.pest-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--ocean);
  background: var(--foam);
  border-radius: 100px;
  padding: 6px 14px;
  white-space: nowrap;
}
.pest > p { font-size: 15px; line-height: 1.7; color: var(--body); margin-bottom: 20px; max-width: 860px; }
.pest-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.pest-cols h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 12px;
}
.pest-actions { margin-top: 22px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.pest-actions .service-cta-link { margin: 0; }

.pest-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: -24px 0 32px; }
.pest-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ocean);
  background: var(--white);
  border: 1px solid var(--foam-deep);
  border-radius: 100px;
  padding: 7px 15px;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.pest-nav a:hover { background: var(--foam); border-color: var(--teal); color: var(--ocean); }


/* ===== ТАБЛИЦЫ ===== */

.table-wrap {
  background: var(--white);
  border: 1px solid var(--foam-deep);
  border-radius: 20px;
  overflow: hidden;
}
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th,
.data-table td { text-align: left; vertical-align: top; padding: 15px 20px; line-height: 1.55; }
.data-table thead th {
  background: var(--foam);
  color: var(--ocean);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.data-table tbody tr + tr td,
.data-table tbody tr + tr th { border-top: 1px solid var(--foam-deep); }
.data-table tbody th { font-weight: 600; color: var(--dark); }
.data-table td { color: var(--muted); }
.data-table .num { white-space: nowrap; font-weight: 600; color: var(--dark); }
.table-caption { margin-top: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.55; }


/* ===== ПАМЯТКИ ===== */

.memo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.memo {
  background: var(--white);
  border: 1px solid var(--foam-deep);
  border-radius: 22px;
  padding: 30px 30px 26px;
}
.memo h3 { font-size: 18px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.memo-sub { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.memo ol { list-style: none; counter-reset: memo; display: flex; flex-direction: column; gap: 12px; }
.memo li {
  counter-increment: memo;
  position: relative;
  padding-left: 38px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
}
.memo li::before {
  content: counter(memo);
  position: absolute;
  left: 0; top: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--foam);
  color: var(--ocean);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.memo-foot { margin-top: 18px; font-size: 12.5px; color: var(--muted); line-height: 1.55; }


/* ===== ВОПРОСЫ И ОТВЕТЫ ===== */

.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--foam-deep);
  border-radius: 16px;
  transition: border-color .3s, box-shadow .3s;
}
.faq-item[open] { border-color: rgba(61,179,179,.5); box-shadow: 0 10px 30px rgba(13,46,46,.06); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  position: relative;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.45;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 22px; top: 50%;
  width: 10px; height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
  transition: transform .3s var(--ease-ui), margin-top .3s var(--ease-ui);
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item summary:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; border-radius: 16px; }
.faq-answer { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.faq-answer p + p { margin-top: 10px; }
.faq-answer a { color: var(--ocean); }


/* ===== ДОКУМЕНТЫ И РЕКВИЗИТЫ ===== */

.docs-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.req-list { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0; font-size: 14px; }
.req-list dt,
.req-list dd { padding: 13px 0; border-bottom: 1px solid var(--foam-deep); line-height: 1.5; }
.req-list dt { color: var(--muted); padding-right: 24px; }
.req-list dd { color: var(--dark); font-weight: 500; overflow-wrap: anywhere; }
.req-list dt:last-of-type,
.req-list dd:last-of-type { border-bottom: none; }
.req-list a { color: var(--ocean); }

.license-card {
  background: linear-gradient(150deg, var(--dark), var(--ocean));
  color: rgba(255,255,255,.82);
  border-radius: 22px;
  padding: 30px;
}
.license-card h3 { color: var(--white); font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.license-card p  { font-size: 14px; line-height: 1.65; margin-bottom: 12px; }
.license-card .license-num {
  font-size: 22px;
  letter-spacing: .01em;
  font-weight: 600;
  color: var(--teal-light);
  line-height: 1.15;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.license-card a { color: var(--teal-light); }


/* ===== БЛОК ДЛЯ ОРГАНИЗАЦИЙ ===== */

.b2b-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }


/* ===== РУКОВОДИТЕЛЬ ===== */

.lead-person { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: center; }
.lead-person-photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; }
.lead-person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.lead-person-role { font-size: 13px; color: var(--muted); margin: -6px 0 18px; }


/* ===== ДРУГИЕ УСЛУГИ (ПЕРЕЛИНКОВКА) ===== */

.more-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.more-link {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--foam-deep);
  border-radius: 16px;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  transition: border-color .25s, transform .25s var(--ease-ui);
}
.more-link:hover { border-color: var(--teal); transform: translateY(-2px); }
.more-link img { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }
.more-link span { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }


/* ===== ПОДВАЛ v15 ===== */

.footer-inner--wide { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: start; }
.footer-nav { display: flex; flex-direction: column; gap: 9px; }
.footer-nav-title { color: rgba(255,255,255,.45); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.footer-nav a { color: rgba(255,255,255,.75); font-size: 13.5px; text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: var(--teal-light); }


/* ===== ТЕСТОВАЯ ВЕРСИЯ ===== */

.preview-flag {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 95;
  background: #b4461a;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 6px 11px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
  pointer-events: none;
}


/* ===== АДАПТИВ v15 ===== */

@media (max-width: 899px) {
  .hero--page .hero-inner { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 92px; }
  .hero--page .price-card { order: 2; }
  .svc-grid, .memo-grid, .docs-grid, .b2b-grid { grid-template-columns: 1fr; }
  .pest-cols { grid-template-columns: 1fr; gap: 20px; }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-person { grid-template-columns: 1fr; gap: 28px; }
  .lead-person-photo { max-width: 340px; }
  .footer-inner--wide { grid-template-columns: 1fr 1fr; }
  .footer-inner--wide .footer-info { grid-column: 1 / -1; }
  .footer-inner--wide .footer-contact { text-align: left; }
  /* Старое правило «nav { display:none }» для шапки прятало и эти блоки */
  nav.crumbs   { display: block; }
  nav.pest-nav { display: flex; }
}

@media (max-width: 600px) {
  .hero--page .hero-inner { padding: 24px 0 84px; }
  .crumbs { margin-bottom: 18px; }
  .hero-facts { margin: -8px 0 24px; }
  .price-card { padding: 22px 20px 18px; }
  .pest, .memo, .svc-card { padding: 24px 20px; }
  .pest-nav { margin-top: -28px; }
  .more-grid { grid-template-columns: 1fr; }
  .footer-inner--wide { grid-template-columns: 1fr; }

  /* Таблица превращается в карточки: подпись столбца берётся из data-label */
  .data-table thead { display: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; width: 100%; }
  .data-table tbody tr { padding: 14px 18px; }
  .data-table tbody tr + tr { border-top: 1px solid var(--foam-deep); }
  .data-table tbody tr + tr td,
  .data-table tbody tr + tr th { border-top: none; }
  .data-table th, .data-table td { padding: 4px 0; }
  .data-table tbody th { font-size: 15px; margin-bottom: 4px; }
  .data-table td[data-label]::before {
    content: attr(data-label) ': ';
    font-weight: 600;
    color: var(--ocean);
  }
  .data-table .num { white-space: normal; }

  .req-list { grid-template-columns: 1fr; }
  .req-list dt { padding: 12px 0 0; border-bottom: none; font-size: 12.5px; }
  .req-list dd { padding: 2px 0 12px; }
  .license-card { padding: 24px 20px; }
  .license-card .license-num { font-size: 18px; }
}

/* На главной в левой колонке первого экрана теперь шесть элементов */
.hero-inner > div:first-child > *:nth-child(6) { animation-delay: .6s; }

@media (max-width: 380px) {
  .logo-sub { max-width: none; white-space: nowrap; font-size: 10px; }
}

/* ===== v15.1: WhatsApp и «Почему выбирают» ===== */
.hero-wa {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  color: rgba(255,255,255,.9); font-size: 14px; font-weight: 500; text-decoration: none;
}
.hero-wa:hover { color: var(--teal-light); }
.hero-wa svg, .footer-wa svg, .mobile-nav-wa svg, .btn-wa svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.hero-wa:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn-wa { gap: 8px; text-decoration: none; color: var(--ocean); border-color: rgba(29,92,92,.35); }
.btn-wa:hover { color: var(--ocean-mid); border-color: var(--ocean-mid); }
.wa-inline { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.mobile-nav-wa { display: flex; align-items: center; gap: 8px; color: var(--teal-light); font-weight: 600; }
.footer-contact .footer-wa { display: inline-flex; align-items: center; gap: 6px; align-self: flex-end; font-size: 15px; font-weight: 500; }

.why-block { margin-top: 72px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.why-item { background: var(--bg); border-radius: 20px; padding: 26px 22px; }
.why-num { font-family: 'Onest', sans-serif; font-size: 24px; font-weight: 700; color: var(--ocean); margin-bottom: 14px; white-space: nowrap; }
.why-item h3 { font-size: 17px; font-weight: 600; color: var(--dark); margin-bottom: 8px; line-height: 1.3; }
.why-item p { font-size: 14px; line-height: 1.6; color: var(--muted); }
@media (max-width: 1080px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 899px) { .footer-contact .footer-wa { align-self: flex-start; } }
@media (max-width: 560px) { .why-block { margin-top: 52px; } .why-grid { grid-template-columns: 1fr; gap: 14px; } .why-item { padding: 22px 20px; } }

/* WhatsApp: круглая кнопка-иконка в одной группе с кнопками связи.
   Широкий экран: [Позвонить][Вызвать специалиста][WA] в одну строку, правый край по абзацу.
   Узкий: [Позвонить] / [Вызвать специалиста][WA].
   Звонок остаётся главным: кнопка WA прозрачная, цвет только у значка. */
.btn-msg {
  flex: none; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  transition: background .32s var(--ease-ui), border-color .32s var(--ease-ui), transform .32s var(--ease-ui);
}
.btn-msg svg { width: 24px; height: 24px; fill: #25D366; }
.hero-cta { gap: 12px; }
.cta-pair { display: flex; gap: 12px; flex: 1 1 auto; min-width: 0; }
.cta-pair .btn-outline { flex: 1 1 auto; }
@media (min-width: 900px) {
  .hero-cta .btn-primary { padding-left: 24px; padding-right: 24px; }
  .hero-cta .btn-outline { padding-left: 18px; padding-right: 18px; }
}
.btn-msg:hover { background: rgba(37,211,102,.12); border-color: rgba(37,211,102,.55); transform: translateY(-1px); }
.btn-msg:focus-visible, .header-msg:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-msg {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18);
  transition: background .32s var(--ease-ui), border-color .32s var(--ease-ui);
}
.header-msg svg { width: 19px; height: 19px; fill: #25D366; }
.header-msg:hover { background: rgba(37,211,102,.12); border-color: rgba(37,211,102,.55); }

@media (max-width: 899px) {
  .header-actions { display: none; }
  .cta-pair .btn-outline { width: auto; flex: 1 1 0; min-width: 0; }
}
