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


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

:root {
  --ocean:     #1d5c5c;
  --ocean-mid: #2e8080;
  --teal:      #3db3b3;
  --teal-light:#6ecfcf;
  --foam:      #e8f7f7;
  --foam-deep: #c8ecec;
  --dark:      #0d2e2e;
  --body:      #1c3a3a;
  --muted:     #527070;
  --accent:    #e8854a;
  --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; }


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

@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); }


/* ===== ПЛАВАЮЩАЯ КНОПКА ЗВОНКА (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;
  padding: 80px 24px 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,.65); font-size: 15px; line-height: 1.7; margin-bottom: 36px; max-width: 480px; }
.hero-cta   { display: flex; gap: 14px; flex-wrap: wrap; align-items: 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,.5); 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,.45); 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(--teal);
  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: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-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);
  border-bottom: 1px solid var(--foam-deep);
  position: relative;
  transition: background-color .5s var(--ease-ui), box-shadow .5s var(--ease-ui);
}
.service-item:last-child { border-bottom: none; }
.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, 1fr); gap: 20px; max-width: 100%; }

.ba-card {
  background: var(--foam);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .35s var(--ease-ui), box-shadow .35s;
}
.ba-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }

.ba-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: contain;
  background: var(--foam);
}

/* Картинки в этой секции не скрываются анимацией скролла */
.before-after .ba-card,
.before-after .ba-card img {
  opacity: 1;
  visibility: visible;
  filter: none;
  transform: none;
}


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

.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(--bg); }
.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(--foam-deep);
  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; }


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

.reviews { background: var(--white); padding-bottom: 60px; overflow: hidden; }

.reviews-stage { width: min(1160px, calc(100% - 48px)); margin: 44px auto 0; padding: 0; }

/* На десктопе — статическая сетка из 4 карточек */
.reviews-overflow { overflow: visible; cursor: default; padding: 0; }

.reviews-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.review-card {
  min-width: 0;
  height: 330px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,252,252,.92));
  border: 1px solid rgba(200,236,236,.78);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(13,46,46,.08);
  overflow: hidden;
  transition: transform .3s var(--ease-ui), box-shadow .3s;
}
.review-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(13,46,46,.12); }

.review-card img {
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 92%;
  margin: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(13,46,46,.08);
}

/* Навигация скрыта на десктопе, появляется на мобильных */
.reviews-footer { display: none; }

.reviews-progress { flex: 1; height: 3px; background: var(--foam-deep); border-radius: 3px; overflow: hidden; }
.reviews-progress-bar {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  width: 25%;
  transition: width .42s var(--ease-ui);
}

.reviews-controls { display: flex; gap: 10px; flex-shrink: 0; }

.reviews-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--foam);
  border: 1px solid var(--foam-deep);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ocean);
  user-select: none;
  touch-action: manipulation;
  transition: background .32s var(--ease-ui), border-color .32s, transform .32s var(--ease-ui), color .32s;
}
.reviews-btn:hover  { background: var(--teal); border-color: var(--teal); color: var(--white); transform: translateY(-1px) scale(1.03); }
.reviews-btn:active { transform: scale(.96); }
.reviews-btn svg    { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }


/* ===== БЛОК 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: center;
  position: relative;
  z-index: 1;
}

.cta-left h2 { color: var(--white); font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.cta-left p  { color: rgba(255,255,255,.6); 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; }
.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 15px 9px 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,.5); font-size: 13px; margin-bottom: 28px; }

.timer-label {
  color: rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.timer-label::before { content: ''; width: 6px; height: 6px; background: #ffb16f; border-radius: 50%; animation: blink 1s ease-in-out infinite; }

.timer { display: flex; gap: 12px; margin-bottom: 28px; align-items: flex-start; }
.timer-unit { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.timer-num {
  background: rgba(255,255,255,.115);
  border: 1px solid rgba(232,133,74,.34);
  border-radius: 12px;
  width: 68px; height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 600;
  color: #ffe2bd;
}
.timer-unit-label { font-size: 10px; color: rgba(255,255,255,.35); letter-spacing: .06em; text-transform: uppercase; }
.timer-sep        { color: rgba(255,255,255,.25); font-size: 28px; padding-top: 18px; }

.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,.3); }
.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: 800;
  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); }

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


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

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,.35); font-size: 12px; margin-top: 10px; line-height: 1.6; }

.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,.35); 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,.2); font-size: 11px; }
.footer-bottom a    { color: rgba(255,255,255,.3); font-size: 11px; text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: rgba(255,255,255,.6); }


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

.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-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,.7); font-size: 13px; line-height: 1.5; flex: 1; min-width: 180px; }
.cookie-banner a { color: var(--teal-light); }

.cookie-accept {
  background: var(--teal);
  color: var(--white);
  border: none;
  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), transform .32s var(--ease-ui);
}
.cookie-accept:hover  { background: var(--teal-light); transform: translateY(-1px); }
.cookie-accept: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); }


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

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; }

/* Картинки "до/после" выводятся всегда, анимация скролла их не скрывает */
.before-after .ba-card,
.before-after .ba-card img {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}


/* ===== > 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); }
}

/* Карточки отзывов немного ниже на средних экранах */
@media (max-width: 1100px) and (min-width: 900px) {
  .review-card { height: 310px; }
}


/* ===== ≤ 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 20px 80px; }
  .hero-right  { display: none; }

  .about-grid    { grid-template-columns: 1fr; gap: 40px; }
  .prices-grid   { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .cta-inner     { grid-template-columns: 1fr; gap: 32px; }
  .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 {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -24px;
    padding: 0 24px 4px;
  }
  .ba-grid::-webkit-scrollbar { display: none; }
  .ba-card { flex: 0 0 80%; scroll-snap-align: start; }

  /* Отзывы — горизонтальный свайп */
  .reviews-stage { width: 100%; margin: 30px auto 0; padding: 0; }
  .reviews-overflow {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 16px 18px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }
  .reviews-overflow::-webkit-scrollbar { display: none; }
  .reviews-track {
    display: flex;
    align-items: center;
    gap: 16px;
    width: max-content;
    min-height: clamp(420px, 56svh, 560px);
  }
  .review-card {
    flex: 0 0 min(420px, calc(100vw - 32px));
    width: min(420px, calc(100vw - 32px));
    height: clamp(420px, 56svh, 560px);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .review-card:hover { transform: none; box-shadow: none; }
  .review-card img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    border-radius: 22px;
    box-shadow: 0 16px 42px rgba(13,46,46,.10);
    background: #fff;
  }

  /* Навигация отзывов скрыта — юзер листает пальцем */
  .reviews-footer,
  .reviews-controls,
  .reviews-progress { display: none; }

  /* 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 20px 82px; }
  .hero-badge { font-size: 11px; line-height: 1.45; padding: 7px 12px; }
  .hero-desc  { font-size: 14px; }
  .hero-trust { gap: 16px; }
  .hero-cta   { max-width: 260px; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; padding-left: 20px; padding-right: 20px; }

  .process-steps { grid-template-columns: 1fr; }

  .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 { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .ba-card { flex-basis: 86%; border-radius: 14px; }
  .ba-card img { border-radius: 14px; }

  .reviews-overflow { padding-left: 14px; padding-right: 14px; scroll-padding-inline: 14px; }
  .review-card {
    flex-basis: calc(100vw - 34px);
    width: calc(100vw - 34px);
    height: clamp(340px, 49vh, 430px);
  }

  .cta-right  { padding: 24px 18px; border-radius: 22px; animation: none; }
  .promo-pill span { min-width: 64px; height: 34px; font-size: 20px; }
  .timer      { gap: 8px; justify-content: space-between; }
  .timer-sep  { padding-top: 14px; font-size: 24px; }
  .timer-num  { width: 54px; height: 54px; font-size: 28px; }

  .modal { padding: 28px 20px; }

  /* Cookie-плашка на смартфоне — компактная двухколоночная */
  .cookie-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    width: calc(100% - 24px);
    padding: 10px 12px;
    gap: 8px;
    border-radius: 14px;
  }
  .cookie-banner p { flex-basis: auto; min-width: 0; font-size: 10.5px; line-height: 1.35; }
  .cookie-accept   { width: auto; min-width: 84px; min-height: 38px; padding: 8px 12px; font-size: 12px; }
}


/* ===== ≤ 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-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; }

  .reviews-overflow { padding-left: 14px; padding-right: 14px; scroll-padding-inline: 14px; }
  .review-card { flex-basis: calc(100vw - 28px); width: calc(100vw - 28px); }

  .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; }
}
