/* ============================================================
   АТЛАНТИДА КЛИНИНГ — основной файл стилей
   Палитра: глубокий синий → голубой → пена
   Шрифты: Unbounded (заголовки), Golos Text (текст) — самохостинг /fonts
   ============================================================ */

/* ---------- Шрифты (self-hosted, woff2) ---------- */
/* Golos Text 400–700 */
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/golos-text-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/golos-text-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/golos-text-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/golos-text-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/golos-text-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/golos-text-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/golos-text-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/golos-text-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FFFD; }
/* Unbounded 500–700 */
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/unbounded-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/unbounded-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/unbounded-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/unbounded-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/unbounded-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/unbounded-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FFFD; }

:root {
  /* Цвета */
  --deep:        #062A47;   /* глубина океана — футер, тёмные блоки */
  --navy:        #0B3E6F;
  --primary:     #0E6FD8;   /* основной синий */
  --primary-dk:  #0A57AC;
  --cyan:        #2FB8EA;   /* голубой акцент */
  --aqua:        #8ADCF6;
  --foam:        #EAF5FC;   /* светлый фон секций */
  --foam-2:      #F5FAFE;
  --white:       #FFFFFF;
  --ink:         #0F2E4C;   /* основной текст */
  --muted:       #58789A;   /* вторичный текст */
  --line:        #D7E8F5;
  --success:     #1B9E77;

  /* Типографика */
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Golos Text', system-ui, -apple-system, sans-serif;

  /* Геометрия */
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --shadow: 0 8px 30px rgba(9, 62, 111, .10);
  --shadow-lg: 0 18px 50px rgba(9, 62, 111, .16);
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Сброс и база ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 .6em;
  color: var(--deep);
  font-weight: 600;
  letter-spacing: -.01em;
  overflow-wrap: break-word; /* длинные слова («сертифицированная») не создают скролл на 320px */
}

h1 { font-size: clamp(1.8rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dk); }

ul { margin: 0 0 1em; padding-left: 1.2em; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--aqua); color: var(--deep); }

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

.section { padding: 84px 0; }
.section--foam { background: var(--foam); }
.section--tight { padding: 56px 0; }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--primary));
  border-radius: 2px;
}

.lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  color: #fff;
  box-shadow: 0 10px 24px rgba(14, 111, 216, .35);
}
.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(14, 111, 216, .45);
}

.btn--ghost {
  background: transparent;
  color: var(--primary);
  box-shadow: inset 0 0 0 2px var(--primary);
}
.btn--ghost:hover { background: rgba(14, 111, 216, .08); color: var(--primary-dk); }

.btn--light {
  background: #fff;
  color: var(--primary-dk);
  box-shadow: var(--shadow);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--primary-dk); }

.btn--sm { padding: 11px 22px; font-size: .93rem; }

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--deep);
  letter-spacing: .02em;
  line-height: 1.1;
}
.logo:hover { color: var(--primary-dk); }
.logo__mark { flex: 0 0 auto; }
.logo span small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .22em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }

.nav__link {
  position: relative;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 500;
  color: var(--ink);
  font-size: .98rem;
}
.nav__link:hover { background: var(--foam); color: var(--primary-dk); }
.nav__link.is-active { color: var(--primary); font-weight: 600; }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--primary));
}

/* Выпадающее меню услуг */
.nav__item { position: relative; }
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.nav__toggle svg { transition: transform var(--transition); }
.nav__item.is-open .nav__toggle svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav__item.is-open .dropdown,
.nav__item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* На десктопе дропдаун открывается и по наведению */
@media (hover: hover) and (min-width: 1081px) {
  .nav__item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav__item:hover .nav__toggle svg { transform: rotate(180deg); }
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-size: .95rem;
}
.dropdown a:hover { background: var(--foam); color: var(--primary-dk); }

.header__phone {
  font-weight: 700;
  color: var(--deep);
  font-size: 1rem;
  white-space: nowrap;
}
.header__phone small { display: block; font-weight: 400; font-size: .74rem; color: var(--muted); }
.header__phone:hover { color: var(--primary); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 12px 11px;
  background: var(--foam);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--deep);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.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;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(47, 184, 234, .45), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--primary-dk) 55%, var(--primary) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 96px 0 150px;
  max-width: 640px;
}

.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p { color: rgba(255, 255, 255, .85); font-size: 1.15rem; max-width: 520px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  font-size: .9rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}
.hero__badge svg { flex: 0 0 auto; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  font-size: .92rem;
  color: rgba(255, 255, 255, .8);
}
.hero__note span { display: inline-flex; align-items: center; gap: 8px; }

/* Пузырьки в hero */
.bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bubble {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.5), rgba(255,255,255,.06) 60%);
  border: 1px solid rgba(255, 255, 255, .28);
  animation: rise linear infinite;
}
@keyframes rise {
  from { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: .9; }
  90%  { opacity: .5; }
  to   { transform: translateY(-115vh) translateX(30px); opacity: 0; }
}

/* Волна-разделитель */
.wave { display: block; width: 100%; height: 70px; margin-top: -1px; }
.hero .wave { position: absolute; left: 0; bottom: -1px; z-index: 2; }

/* ---------- Hero внутренних страниц ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(700px 380px at 90% -20%, rgba(47, 184, 234, .4), transparent 60%),
    linear-gradient(150deg, var(--navy), var(--primary-dk) 70%, var(--primary));
}
.page-hero__inner { position: relative; z-index: 2; padding: 60px 0 100px; max-width: 760px; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; }
.page-hero .wave { position: absolute; left: 0; bottom: -1px; z-index: 2; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
  font-size: .86rem;
  color: rgba(255, 255, 255, .65);
}
.breadcrumbs a { color: rgba(255, 255, 255, .85); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span::before { content: '·'; margin-right: 6px; }

/* ---------- Карточки преимуществ ---------- */
.perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.perk {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.perk:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.perk__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(47,184,234,.16), rgba(14,111,216,.14));
  color: var(--primary);
}
.perk h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; margin-bottom: 6px; }
.perk p { font-size: .92rem; color: var(--muted); }

/* ---------- Карточки услуг ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  color: var(--ink);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.service-card:hover::after { transform: scaleX(1); }

.service-card__icon {
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(47,184,234,.16), rgba(14,111,216,.14));
  color: var(--primary);
}
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: .95rem; color: var(--muted); flex: 1; }
.service-card__price {
  margin: 16px 0 0;
  font-weight: 700;
  color: var(--primary-dk);
  font-size: 1.02rem;
}
.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--primary);
}
.service-card:hover .service-card__more { gap: 12px; }
.service-card__more svg { transition: transform var(--transition); }

/* ---------- Блоки тарифов ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: 0 4px 18px rgba(9, 62, 111, .06);
}
.plan--featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.plan__flag {
  position: absolute;
  top: -14px; left: 28px;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.plan h3 { margin-bottom: 4px; }
.plan__from { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.plan__from b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--primary-dk); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan li {
  position: relative;
  padding: 8px 0 8px 30px;
  font-size: .94rem;
  border-bottom: 1px dashed var(--line);
}
.plan li:last-child { border-bottom: 0; }
.plan li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--foam);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E6FD8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4 10-11'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Таблицы цен ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(9, 62, 111, .06);
  font-size: .96rem;
}
.price-table th {
  text-align: left;
  padding: 15px 22px;
  background: linear-gradient(135deg, var(--navy), var(--primary-dk));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .03em;
}
.price-table td { padding: 13px 22px; border-bottom: 1px solid var(--foam); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tr:nth-child(even) td { background: var(--foam-2); }
.price-table td:last-child { font-weight: 700; color: var(--primary-dk); white-space: nowrap; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

.price-note {
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: rgba(47, 184, 234, .1);
  border-left: 4px solid var(--cyan);
  font-size: .92rem;
  color: var(--navy);
}

/* ---------- Этапы работы ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 58px 22px 24px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 18px; left: 22px;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}
.step h3 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: .88rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq details[open] { box-shadow: var(--shadow); border-color: rgba(14, 111, 216, .3); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  color: var(--deep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--foam);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E6FD8' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-size: 13px;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform var(--transition);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding: 0 22px 20px; color: var(--muted); font-size: .97rem; }

/* ---------- Отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.review__stars { display: flex; gap: 3px; color: #F5A623; margin-bottom: 14px; }
.review p { font-size: .96rem; color: var(--ink); flex: 1; }
.review footer { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}
.review__name { font-weight: 600; font-size: .95rem; }
.review__meta { font-size: .82rem; color: var(--muted); }

/* ---------- CTA-полоса ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 56px 48px;
  color: #fff;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(138, 220, 246, .4), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--primary));
}
.cta-band h2 { color: #fff; max-width: 560px; }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 520px; }
.cta-band .btn { margin-top: 22px; }
.cta-band__wave {
  position: absolute;
  right: -40px; bottom: -46px;
  width: 340px;
  opacity: .25;
  pointer-events: none;
}

/* ---------- Контакты ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 4px 18px rgba(9, 62, 111, .06);
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ico {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(47,184,234,.16), rgba(14,111,216,.14));
  color: var(--primary);
}
.contact-list b { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.contact-list a { font-weight: 600; }

.messengers { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.messenger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  color: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
}
.messenger:hover { transform: translateY(-2px); color: #fff; box-shadow: var(--shadow); }
.messenger--wa { background: #23B33A; }
.messenger--tg { background: #279FD9; }
.messenger--vb { background: #7360F2; }

/* ---------- Формы ---------- */
.form { display: grid; gap: 16px; }
.form label { font-weight: 600; font-size: .9rem; display: grid; gap: 7px; }
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: var(--foam-2);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 111, 216, .12);
}
.form textarea { min-height: 110px; resize: vertical; }
.form__fields { display: grid; gap: 16px; }
.form__agree { font-size: .8rem; color: var(--muted); font-weight: 400; }
.form__agree a { text-decoration: underline; }

/* Валидация */
.form label.has-error input,
.form label.has-error select,
.form label.has-error textarea {
  border-color: #D64545;
  background: #FDF3F3;
}
.form .field-error {
  display: none;
  font-size: .8rem;
  font-weight: 500;
  color: #C03030;
}
.form label.has-error .field-error { display: block; }

/* Honeypot — скрытое поле-ловушка для спам-ботов */
.form .hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form__error {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(214, 69, 69, .1);
  border: 1px solid rgba(214, 69, 69, .35);
  color: #A22525;
  font-weight: 500;
  font-size: .95rem;
}
.form__error a { color: #A22525; text-decoration: underline; }

.form__success {
  display: none;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: rgba(27, 158, 119, .12);
  border: 1px solid rgba(27, 158, 119, .4);
  color: #0D6B4F;
  font-weight: 500;
  font-size: .95rem;
}
.form.is-sent .form__success { display: block; }
.form.is-sent .form__fields { display: none; }

/* ---------- Модальное окно ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 42, 71, .55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 22px;
  padding: 38px 34px;
  box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(.98);
  transition: transform var(--transition);
}
.modal.is-open .modal__box { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--foam);
  color: var(--deep);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.modal__close:hover { background: var(--line); transform: rotate(90deg); }
.modal__box h3 { margin-bottom: 4px; }
.modal__sub { color: var(--muted); font-size: .93rem; margin-bottom: 22px; }

/* ---------- Списки «что входит» ---------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: .97rem;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(47, 184, 234, .18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A57AC' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4 10-11'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.check-list--cols { grid-template-columns: 1fr 1fr; gap: 10px 28px; }

/* Секция «услуга»: текст + карточка цены */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.split__aside { position: sticky; top: 100px; }

/* Страховка от grid-blowout: таблицы и select не должны распирать колонки */
.split > *,
.contact-grid > *,
.plans > *,
.services-grid > *,
.hub-grid > * { min-width: 0; }
.form select { min-width: 0; }
.table-wrap { max-width: 100%; }

/* ---------- Футер ---------- */
.footer {
  position: relative;
  margin-top: 90px;
  background: var(--deep);
  color: rgba(255, 255, 255, .78);
  font-size: .94rem;
}
.footer .wave--top { position: absolute; top: -68px; left: 0; height: 70px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding: 70px 0 40px;
}
.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: rgba(255, 255, 255, .78); }
.footer a:hover { color: var(--aqua); }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer .logo span small { color: rgba(255, 255, 255, .5); }
.footer__about { font-size: .9rem; color: rgba(255, 255, 255, .6); max-width: 300px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  justify-content: space-between;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
}
.footer__bottom a { color: rgba(255, 255, 255, .65); text-decoration: underline; }
.footer__disclaimer { font-size: .78rem; color: rgba(255,255,255,.4); max-width: 820px; margin-top: 6px; }

/* ---------- Анимация появления ----------
   Элементы скрываются только когда JS активен (body.js),
   поэтому без скриптов контент всегда виден. */
body.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
body.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Хаб услуг: крупные ссылки ---------- */
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.hub-card {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  color: var(--ink);
  transition: transform var(--transition), box-shadow var(--transition);
}
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.hub-card .service-card__icon { margin-bottom: 0; flex: 0 0 auto; }
.hub-card h3 { margin-bottom: 6px; }
.hub-card p { color: var(--muted); font-size: .94rem; margin-bottom: 8px; }

/* ---------- Карта на контактах ---------- */
.map-block {
  position: relative;
  margin-top: 44px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 260px at 80% 20%, rgba(47,184,234,.18), transparent 60%),
    var(--foam);
  min-height: 380px;
  display: grid;
  place-items: center;
}
.map-block iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-block__placeholder { text-align: center; padding: 40px 24px; }
.map-block__placeholder p { color: var(--muted); margin-bottom: 18px; }

/* ---------- Cookie-уведомление ---------- */
.cookie-bar {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 300;
  display: none;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 22px;
  background: var(--deep);
  color: rgba(255,255,255,.85);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  font-size: .87rem;
}
.cookie-bar.is-visible { display: flex; }
.cookie-bar a { color: var(--aqua); text-decoration: underline; }
.cookie-bar .btn { flex: 0 0 auto; }

/* ---------- Мобильная панель действий ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(9,62,111,.12);
}
.mobile-bar .btn { flex: 1; padding: 13px 10px; font-size: .95rem; }

/* ---------- Кнопка «наверх» ---------- */
.to-top {
  position: fixed;
  right: 18px; bottom: 24px;
  z-index: 140;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--primary-dk); }

/* ---------- Мелкие утилитарные классы (вместо инлайн-стилей) ---------- */
.footer__messengers { margin-top: 18px; }
.card-subtitle {
  margin-top: 26px;
  font-family: var(--font-body);
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Текстовая страница (политика) ---------- */
.prose { max-width: 840px; }
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose p, .prose li { color: var(--ink); font-size: .97rem; }

/* ============================================================
   Адаптивность
   ============================================================ */
@media (max-width: 1080px) {
  .perks { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .services-grid, .plans, .reviews { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  /* Шапка становится компактной раньше (тесно на 861–1080px) */
  .header__phone small { display: none; }
  .header .btn { display: none; }
  .burger { display: flex; }
  .header__phone { margin-left: auto; }

  .nav {
    position: fixed;
    top: 76px;
    left: 0; right: 0;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 18px 24px 26px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 13px 14px; font-size: 1.02rem; }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    margin: 2px 0 6px 14px;
    padding: 0 0 0 6px;
    display: none;
  }
  .nav__item.is-open .dropdown { display: block; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 72px; }
  .to-top { bottom: 86px; }
  .cookie-bar { bottom: 82px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .header__inner { gap: 14px; }
  .hero__inner { padding: 68px 0 130px; }
  .perks, .steps, .services-grid, .plans, .reviews { grid-template-columns: 1fr; }
  .check-list--cols { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 26px; border-radius: 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; padding-top: 56px; }
  .modal__box { padding: 30px 22px; }
  .hub-card { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .logo span { display: none; }   /* остаётся только марка — имя есть в меню и футере */
  .logo__mark { width: 38px; height: 38px; }
  .header__phone { font-size: .95rem; }
  .header__inner { gap: 12px; min-height: 68px; }
  .nav { top: 68px; max-height: calc(100vh - 68px); }
}

/* ---------- Доступность: уменьшенная анимация ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Печать ---------- */
@media print {
  .header, .footer, .modal, .cta-band, .mobile-bar, .to-top,
  .cookie-bar, .burger, .bubbles, .wave, .hero__actions, [data-open-modal] {
    display: none !important;
  }
  body { padding-bottom: 0; font-size: 12pt; color: #000; }
  body.js .reveal { opacity: 1 !important; transform: none !important; }
  .hero, .page-hero { background: none; color: #000; padding: 0; }
  .hero h1, .page-hero h1, .hero p, .page-hero p { color: #000; }
  .section { padding: 16pt 0; }
  .price-table { box-shadow: none; font-size: 10pt; }
  .price-table th { background: #eee !important; color: #000 !important; }
  .price-table td, .price-table th { border: 1pt solid #999; padding: 6pt 8pt; }
  a { color: #000; text-decoration: none; }
}
