/* ===== Pixel Dark Hi-Tech Design ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=optional');

:root {
  --header-height: 72px;
  --safe-top: env(safe-area-inset-top, 0);
  --safe-bottom: env(safe-area-inset-bottom, 0);
  --safe-left: env(safe-area-inset-left, 0);
  --safe-right: env(safe-area-inset-right, 0);
  --bg: #FFFFFF;
  /* Фон по бокам: путь от папки css/ — если картинка в корне в img/, то ../img/page-bg.jpg */
  --page-bg-image: url('../img/page-bg.jpg');
  --bg-card: rgba(127,188,231,0.20);
  --bg-card-hover: rgba(116,125,126,0.08);
  --border: rgba(98,165,222,0.08);
  --border-hover: rgba(109,123,123,0.15);
  --text: #000000;
  --text-secondary: #105AE0;
  --text-muted: #626262;
  --white: #000000;
  --accent: #2FA1E8;
  --accent2: #476FEC;
  --gradient: linear-gradient(135deg, #54D1F7, #1B62EA);
  --gradient-text: linear-gradient(135deg, #0EA1F3, #000BF3);
  --cta: #3b9de8;
  --cta-hover: #57A4EC;
  --primary: #3b82f6;
  --blue: #3b82f6;
  --green: #22c55e;
  --glass: rgba(4,4,4,0.19);
  --glass-border: rgba(9,8,8,0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Skip link — для экранных читалок и клавиатуры */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--cta);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top .2s;
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  overflow-x: hidden;
  min-width: 0;
  padding-top: calc(var(--header-height) + var(--safe-top));
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  /* Фон по бокам: слева — как есть, справа — зеркально (body::after с scaleX(-1)) */
  --side-width: max(0px, (100vw - 1200px) / 2);
  background-image:
    var(--page-bg-image),
    linear-gradient(135deg, rgba(127,188,231,0.08) 0%, rgba(220,235,250,0.15) 50%, rgba(127,188,231,0.08) 100%);
  background-size: var(--side-width) 100%, var(--side-width) 100%;
  background-position: left center, left center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
body::before {
  content: '';
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  top: 0;
  bottom: 0;
  background: var(--bg);
  z-index: -1;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
}
body::after {
  content: '';
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: var(--side-width);
  background-image:
    var(--page-bg-image),
    linear-gradient(135deg, rgba(127,188,231,0.08) 0%, rgba(220,235,250,0.15) 50%, rgba(127,188,231,0.08) 100%);
  background-size: var(--side-width) 100%, var(--side-width) 100%;
  background-position: left center, left center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  transform: scaleX(-1);
  z-index: -2;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #4178E1; }

h1,h2,h3 { color: var(--white); font-weight: 800; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 20px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 16px; }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin-bottom: 12px; }
ul, ol { margin: 0 0 16px 24px; }
li { margin-bottom: 8px; color: var(--text-secondary); }
li strong { color: var(--text); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; min-width: 0; box-sizing: border-box; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  width: 100%; max-width: 100vw;
  background: rgba(127,188,231,0.14);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  padding-top: var(--safe-top);
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  overflow: visible;
}
.header__inner {
  display: flex; align-items: center;
  min-height: var(--header-height); height: var(--header-height); gap: 12px;
  overflow: visible; min-width: 0;
  padding-right: env(safe-area-inset-right, 0);
  contain: layout;
}
.header__logo { flex-shrink: 0; }
.header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
  min-width: 0;
}
.header__logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--white); font-weight: 800; font-size: 1.2rem;
  flex-shrink: 0; min-width: 0;
}
.header__logo-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.header__logo-sub { font-size: .7rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; }
.header__nav a {
  color: var(--text-secondary); text-decoration: none;
  font-size: .875rem; font-weight: 500; padding: 6px 10px;
  border-radius: 8px; transition: all .2s;
  white-space: nowrap; flex-shrink: 0;
}
.header__nav a:hover { color: var(--white); background: var(--bg-card); }
.header__nav a.active { color: var(--white); background: var(--bg-card-hover); }
/* Акции и Контакты — как обычные ссылки (без фона) */
/* Dropdown «Ремонт» */
.header__nav-dropdown {
  position: relative;
}
.header__nav-dropdown,
.header__nav {
  overflow: visible;
}
.header__nav-dropdown > a {
  color: var(--text-secondary);
  font-size: .875rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all .2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.header__nav-dropdown > a::after {
  content: ' ▾';
  font-size: .75em;
  opacity: .8;
}
.header__nav-dropdown:hover > a {
  color: var(--white);
  background: var(--bg-card);
}
.header__nav-dropdown.has-active > a { color: var(--white); background: var(--bg-card-hover); }
.header__nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: -4px;
  min-width: 200px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  padding: 16px 0 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .2s, visibility .2s, transform .2s;
  z-index: 10001;
  isolation: isolate;
}
.header__nav-dropdown:hover .header__nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header__nav-submenu a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  font-size: .9rem;
  text-decoration: none;
  transition: background .15s, color .15s;
  border-radius: 0;
  white-space: nowrap;
  cursor: pointer;
}
.header__nav-submenu a:hover {
  background: rgba(127,188,231,0.2);
  color: var(--text);
}
.header__nav-submenu a.active {
  background: rgba(47,161,232,0.15);
  color: var(--text);
  font-weight: 600;
}
.header__phone {
  display: flex; align-items: center; gap: 8px;
  color: var(--white); font-weight: 700; font-size: .95rem;
  text-decoration: none; flex-shrink: 0; min-width: 175px;
  white-space: nowrap; margin-left: auto; margin-right: 12px;
  text-align: right;
}
.header__phone:hover { color: var(--accent); }
.header__burger {
  display: none; background: var(--bg-card); border: 1px solid var(--border); cursor: pointer;
  padding: 10px; min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm); transition: all .2s;
}
.header__burger:hover {
  background: var(--cta);
  border-color: var(--cta);
}
.header__burger-icon {
  display: block;
  stroke: var(--text);
  transition: stroke .2s;
}
.header__burger:hover .header__burger-icon { stroke: #fff; }
/* Бургер → X при открытом меню */
.header__burger-icon .burger-line {
  transform-origin: center;
  transition: transform .3s ease, opacity .2s ease;
}
.header__burger.open .burger-line--top {
  transform: translateY(6px) rotate(45deg);
}
.header__burger.open .burger-line--mid {
  opacity: 0;
  transform: scaleX(0);
}
.header__burger.open .burger-line--bot {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu — safe area для iPhone с вырезом */
.mobile-menu {
  display: none; position: fixed;
  top: var(--header-height, 72px);
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(248,250,252,0.98) 0%, rgba(255,255,255,0.95) 100%);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: 12px max(16px, var(--safe-right)) max(16px, var(--safe-bottom)) max(16px, var(--safe-left));
  flex-direction: column; gap: 6px; z-index: 99;
  overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  padding-bottom: 100px;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  visibility: hidden;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  animation: mobileMenuSlide .35s ease both;
}
/* Stagger пунктов меню при открытии */
.mobile-menu.open > a {
  opacity: 0;
  transform: translateX(-20px);
  animation: mobileMenuItemIn .4s ease forwards;
}
.mobile-menu.open > a:nth-child(1) { animation-delay: .05s; }
.mobile-menu.open > a:nth-child(2) { animation-delay: .08s; }
.mobile-menu.open > a:nth-child(3) { animation-delay: .11s; }
.mobile-menu.open > a:nth-child(4) { animation-delay: .14s; }
.mobile-menu.open > a:nth-child(5) { animation-delay: .17s; }
.mobile-menu.open > a:nth-child(6) { animation-delay: .2s; }
.mobile-menu.open > a:nth-child(7) { animation-delay: .23s; }
.mobile-menu.open > a:nth-child(8) { animation-delay: .26s; }
.mobile-menu.open > a:nth-child(9) { animation-delay: .29s; }
@keyframes mobileMenuSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes mobileMenuItemIn {
  to { opacity: 1; transform: translateX(0); }
}
/* Блокировка скролла страницы при открытом мобильном меню */
html:has(.mobile-menu.open),
body:has(.mobile-menu.open) {
  overflow: hidden;
  touch-action: none;
}
/* Пункты меню — стеклянные карточки */
.mobile-menu a:not(.mobile-menu__phone) {
  color: var(--text); font-size: 0.95rem; font-weight: 500;
  padding: 10px 14px; border-radius: 12px; text-decoration: none;
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
  min-height: 44px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(98,165,222,0.2);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: all .2s;
}
.mobile-menu a:not(.mobile-menu__phone):hover {
  background: rgba(127,188,231,0.25);
  border-color: rgba(98,165,222,0.35);
  box-shadow: 0 4px 16px rgba(98,165,222,0.12);
  color: var(--text);
}
.mobile-menu a.active:not(.mobile-menu__phone) {
  background: rgba(127,188,231,0.2);
  border-color: rgba(98,165,222,0.3);
  font-weight: 600;
}
/* Иконка в стеклянном круге */
.mobile-menu__icon {
  font-size: 1.1em; line-height: 1; flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(98,165,222,0.15);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.mobile-menu a:hover .mobile-menu__icon {
  background: rgba(127,188,231,0.3);
  border-color: rgba(98,165,222,0.25);
}
/* Номер телефона — выделенный блок */
.mobile-menu__phone {
  margin-top: auto; margin-bottom: 0;
  padding: 14px 16px !important;
  font-size: 1.05rem; font-weight: 700; flex-shrink: 0;
  position: sticky; bottom: 0;
  display: flex !important; align-items: center; gap: 14px;
  text-decoration: none; white-space: nowrap; overflow: visible;
  background: var(--gradient) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(27,98,234,0.35);
  transition: transform .2s, box-shadow .2s;
}
.mobile-menu__phone:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(27,98,234,0.4);
  color: #fff !important;
}
.mobile-menu__phone .mobile-menu__icon {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.3);
  box-shadow: none;
}
.mobile-menu__phone:hover .mobile-menu__icon {
  background: rgba(255,255,255,0.35);
  border-color: rgba(255,255,255,0.4);
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  padding: 16px 0; font-size: .85rem; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { margin: 0 8px; opacity: .5; }

/* ===== HERO ===== */
.hero { padding: 80px 0 60px; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; min-width: 0; }
.hero__grid > * { min-width: 0; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 100px; padding: 8px 20px; font-size: .85rem;
  color: var(--text-secondary); margin-bottom: 28px;
}
.hero__badge::before { content: "🔧"; }
.hero__title span {
  background: var(--gradient-text); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__desc { font-size: 1.1rem; color: var(--text-secondary); max-width: 520px; margin-bottom: 32px; line-height: 1.8; }
.hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__buttons .btn { min-width: 180px; flex: 1 1 auto; justify-content: center; }
.hero__services {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  min-width: 0; min-height: 0;
}
.hero__service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 20px;
  text-align: center; text-decoration: none; color: var(--text);
  transition: all .3s;
}
.hero__service-card:hover {
  background: var(--bg-card-hover); border-color: var(--border-hover);
  transform: translateY(-2px); color: var(--white);
}
.hero__service-card .icon {
  font-size: 2.2rem; margin-bottom: 10px; display: block;
}
.hero__service-card .name { font-weight: 600; font-size: .95rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px; font-weight: 600;
  font-size: .95rem; text-decoration: none; transition: all .25s;
  border: none; cursor: pointer; font-family: inherit;
}
.btn--primary { background: var(--cta); color: #FFFFFF; }
.btn--primary:hover { background: var(--cta-hover); color: #000000; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(21,150,249,0.30); }
.btn--outline {
  background: rgba(255,255,255,0.7); color: var(--white);
  border: 1px solid rgba(98,165,222,0.25); padding: 14px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(98,165,222,0.12);
  backdrop-filter: blur(8px);
}
.btn--outline:hover {
  background: var(--bg-card); border-color: var(--border-hover); color: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 2px 6px rgba(98,165,222,0.2);
}
.btn--accent { background: var(--gradient); color: #FEFEFE; }
.btn--accent:hover { opacity: .9; color: #fff; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,87,255,0.30); }
.btn--block { width: 100%; justify-content: center; }

/* ===== STATS ===== */
.stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stats__item .num {
  font-size: 2.5rem; font-weight: 900; display: block; line-height: 1;
  background: var(--gradient-text); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.stats__item .plus { color: var(--text-muted); font-size: 1rem; font-weight: 400; }
.stats__item .label { font-size: .85rem; color: var(--text-muted); margin-top: 4px; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section--border { border-top: 1px solid var(--border); }
.section__header { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.section__header p { color: var(--text-secondary); }

/* ===== SERVICE CARDS GRID ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  text-decoration: none; color: var(--text); transition: all .3s;
  display: flex; flex-direction: column;
}
.service-card:hover {
  background: var(--bg-card-hover); border-color: var(--border-hover);
  transform: translateY(-3px); color: var(--text);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
}
.service-card__icon { font-size: 2rem; margin-bottom: 16px; }
.service-card__name { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.service-card__desc { font-size: .9rem; color: var(--text-secondary); margin-bottom: 12px; flex-grow: 1; }
.service-card__price { font-size: .9rem; font-weight: 600; color: #000000; }

/* ===== ADVANTAGES ===== */
.advantages-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.advantage {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.advantage__icon { font-size: 1.8rem; margin-bottom: 12px; }
.advantage__title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.advantage__text { font-size: .9rem; color: var(--text-secondary); }

/* ===== ARTICLES (Blog) ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: all .3s;
}
.article-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
  color: var(--text);
  box-shadow: 0 12px 32px rgba(47,161,232,0.12);
}
.article-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.article-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.article-card__desc {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}

/* ===== BRANDS ===== */
.brands-row {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.brands-row span {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 8px 18px; border-radius: 100px; font-size: .85rem;
  color: var(--text-secondary); transition: all .2s;
}
.brands-row span:hover { border-color: var(--border-hover); color: var(--text); }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.review-card__header { display: flex; justify-content: space-between; margin-bottom: 12px; }
.review-card__author { font-weight: 600; color: var(--white); }
.review-card__date { font-size: .85rem; color: var(--text-muted); }
.review-card__category {
  display: inline-block; font-size: .75rem; font-weight: 600; color: var(--accent);
  background: rgba(47, 161, 232, 0.12); padding: 4px 10px; border-radius: 20px;
  margin-bottom: 10px;
}
.review-card__stars { color: #fbbf24; letter-spacing: 2px; font-size: .9rem; margin-bottom: 10px; }
.review-card__text { font-size: .95rem; color: var(--text-secondary); line-height: 1.7; }
.review-cta--compact { text-align: center; margin-top: 28px; }
.review-cta--compact .btn { min-width: 200px; }
.review-cta__buttons {
  display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap;
}
.review-form__submit { text-align: center; margin-top: 16px; }

/* ===== INFO BOX ===== */
.info-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 28px; margin: 24px 0;
}
.info-box p { margin-bottom: 6px; color: var(--text-secondary); }
.info-box p:last-child { margin-bottom: 0; }
.info-box strong { color: var(--text); }

/* ===== PRICE TABLE ===== */
.price-table {
  width: 100%; border-collapse: collapse; margin: 20px 0 28px;
  font-size: .95rem;
}
.price-table th, .price-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.price-table th {
  font-weight: 600; color: var(--text-muted);
  font-size: .8rem; text-transform: uppercase; letter-spacing: .5px;
}
.price-table td { color: var(--text-secondary); }
.price-table .price { color: #000000; font-weight: 600; white-space: nowrap; }
.price-table tr:hover td { background: var(--bg-card); }

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid var(--border); padding: 0;
}
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 1rem;
  color: var(--text); padding: 18px 0;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--text-muted); transition: .2s; }
.faq-item[open] summary::after { content: "−"; color: var(--accent); }
.faq-item[open] summary { color: var(--white); }
.faq-item .answer { padding: 0 0 18px; color: var(--text-secondary); line-height: 1.7; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px; text-align: center;
  margin: 48px 0;
  background-image: radial-gradient(ellipse at top, rgba(109,206,236,0.08), transparent 60%);
}
.cta-section h2 { margin-bottom: 12px; }
.cta-section p { color: var(--text-secondary); margin-bottom: 24px; }

/* ===== AVITO CTA ===== */
.avito-cta {
  display: flex; gap: 24px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 40px; margin: 32px 0;
}
.avito-cta__icon { font-size: 3rem; flex-shrink: 0; }
.avito-cta__content { flex: 1; min-width: 0; }
.avito-cta__content h2 { font-size: 1.4rem; margin-bottom: 8px; }
.avito-cta__content p { color: var(--text-secondary); margin-bottom: 20px; }
.btn--avito {
  display: inline-flex; align-items: center; gap: 10px;
  background: #00BF00 !important; color: #fff !important;
  padding: 14px 24px; font-weight: 600;
}
.btn--avito:hover { background: #00a000 !important; color: #fff !important; }
.avito-cta__note { font-size: .9rem; color: var(--text-muted); margin-top: 16px; }
.avito-cta__note a { color: var(--accent); }
@media (max-width: 600px) {
  .avito-cta { flex-direction: column; padding: 24px; }
}

/* ===== SERVICE PAGE ===== */
.service-hero { padding: 48px 0 32px; border-bottom: 1px solid var(--border); }
.service-hero h1 span {
  background: var(--gradient-text); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.service-hero__meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
.service-hero__tag {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 100px; padding: 8px 18px; font-size: .85rem; color: var(--text-secondary);
}
.service-hero__tag .accent { color: #000000; font-weight: 600; }

.service-content { padding: 48px 0; }
.service-content h2 { font-size: 1.5rem; margin: 40px 0 16px; }
.service-content h2:first-child { margin-top: 0; }

/* Other services links */
.other-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.other-links a {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 8px 18px; border-radius: 100px; font-size: .85rem;
  color: var(--text-secondary); text-decoration: none; transition: all .2s;
}
.other-links a:hover { border-color: var(--accent); color: var(--accent); }

/* ===== CONTACTS ===== */
.contacts-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 32px 0;
}
.contacts-grid--single { grid-template-columns: 1fr; }
.contact-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-bottom: 16px;
}
.contact-item .label {
  font-size: .75rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px;
}
.contact-item .value { font-size: 1.1rem; font-weight: 700; color: var(--white); }
.contact-item .value a { color: var(--text); }
.contact-item .value a:hover { color: var(--text-muted); }
.contact-item .note { font-size: .85rem; color: var(--text-muted); margin-top: 2px; }

/* Zone (Зона обслуживания) */
.zone-map-block {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  margin: 24px 0;
}
.zone-map-bg {
  position: absolute;
  inset: 0;
  min-height: 320px;
}
.zone-map-bg iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: brightness(0.7) saturate(0.9);
}
.zone-map-overlay {
  position: relative;
  z-index: 1;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(248,252,255,0.78) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-height: 280px;
  display: flex;
  align-items: flex-start;
  border-radius: 0 0 var(--radius) var(--radius);
}
.zone-map-overlay .zone-list {
  background: transparent;
  border: none;
  padding: 0;
  max-width: 100%;
}
.zone-map-overlay .zone-list__heading {
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.zone-map-overlay .zone-list__items li {
  background: rgba(47,161,232,0.15);
  border-color: rgba(98,165,222,0.3);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 24px 0 40px; align-items: stretch; }
.zone-list { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.zone-list__heading { font-weight: 700; font-size: 1rem; color: var(--white); margin-bottom: 16px; }
.zone-list__items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.zone-list__items li { background: rgba(47,161,232,0.12); border: 1px solid var(--border); padding: 8px 16px; border-radius: 100px; font-size: .9rem; color: var(--text-secondary); }
.zone-callout { background: linear-gradient(135deg, rgba(47,161,232,0.08), rgba(71,111,236,0.06)); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.zone-callout__icon { font-size: 2rem; margin-bottom: 12px; }
.zone-callout__title { font-weight: 700; font-size: 1.1rem; color: var(--white); margin-bottom: 8px; }
.zone-callout p { font-size: .95rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* Zapis + Zone in one row */
.zapis-zone-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  margin-bottom: 48px;
}
.zapis-zone-col--form {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.zapis-zone-col--form .zapis-form-foot { flex: 1; min-height: 0; }
.zapis-zone-col--zone {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.zapis-zone-col--zone .zone-list { margin-bottom: 20px; }
.zapis-zone-col--zone .zone-callout { flex: 1; min-height: 0; margin-top: 20px; }

.zapis-form-foot {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: linear-gradient(135deg, rgba(47,161,232,0.08), rgba(71,111,236,0.06));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.zapis-form-foot__note {
  font-size: .9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.zapis-form-foot__contact {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.zapis-form-foot__phone {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  margin-left: 8px;
}
.zapis-form-foot__phone:hover { color: var(--cta-hover); }
.zapis-form-foot__hours {
  font-size: .85rem;
  color: var(--text-muted);
}
@media (max-width: 900px) {
  .zapis-zone-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .zone-grid { grid-template-columns: 1fr; }
  .zone-map-block { min-height: 280px; }
  .zone-map-overlay { padding: 20px; min-height: 260px; }
}

/* Calculator */
.calc-wrapper {
  display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: stretch;
  max-width: 1100px; margin: 0 auto;
}
.calc-card {
  background: linear-gradient(160deg, rgba(127,188,231,0.15), rgba(255,255,255,0.5));
  border: 1px solid var(--border); box-shadow: 0 8px 32px rgba(47,161,232,0.08);
  border-radius: var(--radius-lg); padding: 36px;
}
.calc-steps {
  display: flex; gap: 12px; margin-bottom: 28px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.calc-step {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; color: var(--text-muted);
  transition: all .25s;
}
.calc-step__num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-card); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .8rem;
}
.calc-step.calc-step--active .calc-step__num {
  background: var(--gradient); border-color: var(--accent);
  color: #fff;
}
.calc-step.calc-step--done .calc-step__num {
  background: var(--green, #22c55e); border-color: var(--green);
  color: #fff;
}
.calc-step.calc-step--active .calc-step__text,
.calc-step.calc-step--done .calc-step__text { color: var(--white); font-weight: 600; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.calc-result {
  padding: 24px 28px; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(47,161,232,0.15), rgba(71,111,236,0.1));
  border: 1px solid rgba(98,165,222,0.25); border-radius: var(--radius);
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s;
}
.calc-result.visible { opacity: 1; transform: translateY(0); }
.calc-result__main {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px;
}
.calc-result__label { font-size: .9rem; color: var(--text-secondary); }
.calc-result__price {
  font-size: 1.75rem; font-weight: 800;
  background: var(--gradient-text); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.calc-result__meta {
  display: flex; flex-direction: column; gap: 8px;
  font-size: .88rem; color: var(--text-secondary); line-height: 1.5;
}
.calc-result__time { color: var(--accent); font-weight: 500; }
.calc-result__tip {
  padding: 10px 14px; background: rgba(255,255,255,0.5);
  border-radius: var(--radius-sm); border-left: 3px solid var(--accent);
}
.calc-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.calc-actions .btn { flex: 1; min-width: 160px; justify-content: center; }
.calc-info-cards {
  display: flex; flex-direction: column; gap: 16px; justify-content: space-between;
}
.calc-info {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px;
  transition: all .25s;
}
.calc-info:hover {
  border-color: rgba(98,165,222,0.3);
  box-shadow: 0 4px 20px rgba(47,161,232,0.1);
}
.calc-info__icon { font-size: 1.8rem; margin-bottom: 10px; }
.calc-info__title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.calc-info__text { font-size: .85rem; color: var(--text-secondary); line-height: 1.5; }
@media (max-width: 900px) {
  .calc-wrapper { grid-template-columns: 1fr; }
  .calc-info-cards { flex-direction: row; flex-wrap: wrap; }
  .calc-info { flex: 1; min-width: 200px; }
}
@media (max-width: 768px) {
  .calc-row { grid-template-columns: 1fr; }
  .calc-card { padding: 24px; }
  .calc-steps { flex-wrap: wrap; }
  .calc-result__price { font-size: 1.4rem; }
  .calc-actions { flex-direction: column; }
  .calc-actions .btn { width: 100%; }
  .calc-info-cards { flex-direction: column; }
}

/* Form */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 1rem;
  font-family: inherit; color: var(--text); transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--accent);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input.input-error, .form-group input.input-error:focus { border-color: #ef4444; outline-color: #ef4444; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select option { background: var(--bg); color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Map */
.map-container {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin: 20px 0;
  position: relative;
}
.map-container iframe {
  width: 100%; height: 350px; border: 0;
  filter: brightness(.85) contrast(1.1);
  display: block; vertical-align: bottom;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 24px; margin-top: 0;
  background: rgba(179,207,221,0.20);
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px; margin-bottom: 32px;
}
.footer__heading { font-weight: 700; color: var(--white); margin-bottom: 12px; font-size: .9rem; }
.footer__links { display: flex; flex-direction: column; gap: 6px; }
.footer__links a { color: var(--text-muted); font-size: .85rem; text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: var(--text); }
.footer__contacts { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; color: var(--text-muted); }
.footer__contacts a { color: var(--text-muted); text-decoration: none; }
.footer__contacts a:hover { color: var(--accent); }
.footer__desc { color: var(--text-muted); font-size: .85rem; margin-top: 8px; max-width: 280px; }
.footer__logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--white); font-size: 1.1rem; }
.footer__logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--gradient); display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem;
}
.footer__bottom {
  border-top: 1px solid var(--border); padding-top: 20px;
  font-size: .8rem; color: var(--text-muted);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ===== TELEGRAM & WHATSAPP FLOAT ===== */
/* Десктоп: pill с текстом. Мобильная: круглые иконки (см. media) */
.telegram-float,
.whatsapp-float {
  position: fixed;
  z-index: 50;
  padding: 14px 24px;
  border-radius: 100px;
  font-weight: 600; font-size: .9rem;
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  transition: all .25s;
  min-height: 44px;
}
.telegram-float svg,
.whatsapp-float svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
}

.telegram-float {
  bottom: max(28px, var(--safe-bottom));
  right: max(28px, var(--safe-right));
  background: #2AABEE; color: #fff;
}
.telegram-float:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(42,171,238,.4); color: #fff; }

.whatsapp-float {
  bottom: max(90px, calc(58px + var(--safe-bottom)));
  right: max(28px, var(--safe-right));
  background: #25D366; color: #fff;
}
.whatsapp-float:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(37,211,102,.4); color: #fff; }

/* Кнопка «Наверх» */
#back-to-top {
  position: fixed; bottom: max(28px, var(--safe-bottom)); left: max(28px, var(--safe-left));
  z-index: 49; width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; visibility: hidden; transition: all .25s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--cta); color: #fff; border-color: var(--cta); }

/* ===== TELEGRAM BANNER ===== */
.tg-banner {
  background: linear-gradient(135deg, #0088cc, #00b4d8, #2AABEE);
  border-radius: var(--radius-lg); padding: 32px 40px;
  display: flex; align-items: center; gap: 24px;
}
.tg-banner__icon {
  width: 72px; height: 72px; min-width: 72px;
  background: rgba(255,255,255,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.tg-banner__content { flex-grow: 1; }
.tg-banner__title { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.tg-banner__text { font-size: .95rem; color: rgba(255,255,255,0.8); }
.tg-banner__btn {
  flex-shrink: 0; background: #fff; color: #0088CC;
  padding: 14px 28px; border-radius: 100px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  transition: all .25s; white-space: nowrap;
}
.tg-banner__btn:hover { background: rgba(255,255,255,0.9); color: #006699; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(13,100,250,0.20); }

/* ===== FORM + CONTACTS GRID ===== */
.form-contacts-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch;
}
.form-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  display: flex; flex-direction: column;
}
.form-card form { display: flex; flex-direction: column; flex-grow: 1; }
.form-card form .form-group:last-of-type { flex-grow: 1; display: flex; flex-direction: column; }
.form-card form .form-group:last-of-type textarea { flex-grow: 1; }
.form-card form .btn { margin-top: auto; }
.contacts-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px;
  display: flex; align-items: center; gap: 16px;
  transition: all .2s; flex: 1;
}
.contact-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.contact-card__icon { font-size: 1.5rem; min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.contact-card__label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.contact-card__value { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-top: 2px; }
.contact-card__value a { color: var(--text); text-decoration: none; }
.contact-card__value a:hover { color: var(--text-muted); }

/* Map block inside contacts */
.map-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  margin-bottom: 8px;
  position: relative; isolation: isolate;
}
.map-block .map-container {
  margin: 0; border: none; border-radius: 0;
  overflow: hidden;
}
.map-block .map-container iframe {
  height: 200px; width: 100%;
  filter: brightness(.9) contrast(1.05);
  display: block; vertical-align: bottom;
}
/* Map in contacts-grid (full height) */
.contacts-grid .map-block .map-container iframe {
  height: 350px;
}

/* Страница контактов: убрать наложение внизу */
.page-contacts .service-content {
  padding-bottom: max(48px, var(--safe-bottom));
}
.map-link {
  display: block; text-align: center; padding: 12px;
  font-size: .9rem; font-weight: 600; color: var(--accent);
  text-decoration: none; border-top: 1px solid var(--border);
  transition: all .2s;
}
.map-link:hover { background: var(--bg-card-hover); color: #8CD1F0; }

/* ===== ANIMATIONS ===== */

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* На мобильной — лёгкий масштаб при появлении для CTA и карточек */
@media (max-width: 768px) {
  .fade-in {
    transform: translateY(20px) scale(0.98);
    transition: opacity .5s ease, transform .5s ease;
  }
  .fade-in.visible {
    transform: translateY(0) scale(1);
  }
}

/* Stagger children */
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.stagger.visible > *:nth-child(1) { transition-delay: .05s; }
.stagger.visible > *:nth-child(2) { transition-delay: .1s; }
.stagger.visible > *:nth-child(3) { transition-delay: .15s; }
.stagger.visible > *:nth-child(4) { transition-delay: .2s; }
.stagger.visible > *:nth-child(5) { transition-delay: .25s; }
.stagger.visible > *:nth-child(6) { transition-delay: .3s; }
.stagger.visible > *:nth-child(7) { transition-delay: .35s; }
.stagger.visible > *:nth-child(8) { transition-delay: .4s; }
.stagger.visible > *:nth-child(9) { transition-delay: .45s; }
.stagger.visible > * { opacity: 1; transform: translateY(0); }

/* Hero title entrance */
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__title { animation: heroSlideUp .7s ease both; }
.hero__desc { animation: heroSlideUp .7s ease .15s both; }
.hero__buttons { animation: heroSlideUp .7s ease .25s both; }
.hero__badge { animation: heroSlideUp .5s ease .05s both; }
.stats { animation: heroSlideUp .7s ease .35s both; }
.hero__services { animation: heroSlideUp .7s ease .3s both; }

/* Gradient shimmer on hero title */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.hero__title span {
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}

/* Pulse glow on primary CTA */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(21,173,249,0.20); }
  50% { box-shadow: 0 8px 32px rgba(21,207,249,0.40); }
}
.btn--primary { animation: pulseGlow 3s ease infinite; }
.btn--primary:hover { animation: none; box-shadow: 0 8px 24px rgba(21,116,249,0.30); }

/* Telegram banner slide-in */
@keyframes bannerIn {
  from { opacity: 0; transform: scale(.97); }
  to { opacity: 1; transform: scale(1); }
}
.tg-banner.visible { animation: bannerIn .5s ease both; }

/* Service cards hover lift */
.service-card { transition: all .3s cubic-bezier(.25,.46,.45,.94); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 30px rgba(84,205,247,0.08);
}

/* Review cards hover */
.review-card { transition: all .3s ease; }
.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
}

/* Advantage cards hover glow */
.advantage { transition: all .3s ease; }
.advantage:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}

/* Brand tags hover */
.brands-row span { transition: all .2s ease; }
.brands-row span:hover {
  background: rgba(9,106,217,0.27); border-color: var(--accent);
  color: var(--white); transform: translateY(-2px);
}

/* Telegram float bounce */
@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.telegram-float,
.whatsapp-float { animation: floatBounce 3s ease infinite; }

/* Touch feedback — эффект нажатия на мобильных */
@media (max-width: 768px) {
  .btn:active,
  .service-card:active,
  .hero__service-card:active,
  .advantage:active,
  .review-card:active,
  .mobile-menu a:active {
    transform: scale(0.97);
    transition: transform .1s ease;
  }
  .btn--primary:active { transform: scale(0.98); }
  .mobile-menu__phone:active { transform: scale(0.98); }
  .telegram-float:active,
  .whatsapp-float:active { transform: scale(0.9); animation: none; }
}

/* Hero service cards — поочерёдное появление на мобильной */
@media (max-width: 768px) {
  .hero__service-card {
    opacity: 0;
    transform: translateY(16px);
    animation: heroCardIn .5s ease forwards;
  }
  .hero__service-card:nth-child(1) { animation-delay: .4s; }
  .hero__service-card:nth-child(2) { animation-delay: .45s; }
  .hero__service-card:nth-child(3) { animation-delay: .5s; }
  .hero__service-card:nth-child(4) { animation-delay: .55s; }
  .hero__service-card:nth-child(5) { animation-delay: .6s; }
  .hero__service-card:nth-child(6) { animation-delay: .65s; }
}
@keyframes heroCardIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Анимация при открытии страницы на мобильной — применяется ко всем страницам */
@media (max-width: 768px) {
  /* Страницы с breadcrumbs + service-hero (не главная) */
  .breadcrumbs { animation: heroSlideUp .5s ease both; }
  .service-hero h1 { animation: heroSlideUp .6s ease .05s both; }
  .service-hero p { animation: heroSlideUp .6s ease .1s both; }
  .service-hero__meta { animation: heroSlideUp .5s ease .15s both; }
  .service-hero__tag {
    opacity: 0;
    transform: translateY(16px);
    animation: heroCardIn .5s ease forwards;
  }
  .service-hero__tag:nth-child(1) { animation-delay: .2s; }
  .service-hero__tag:nth-child(2) { animation-delay: .25s; }
  .service-hero__tag:nth-child(3) { animation-delay: .3s; }
  .service-hero__tag:nth-child(4) { animation-delay: .35s; }
  .service-hero__tag:nth-child(5) { animation-delay: .4s; }
  .service-hero__tag:nth-child(6) { animation-delay: .45s; }
  /* Страница 404 */
  .error-page .error-code { animation: heroSlideUp .5s ease both; }
  .error-page .error-title { animation: heroSlideUp .5s ease .08s both; }
  .error-page .error-text { animation: heroSlideUp .5s ease .15s both; }
  .error-page .btn { animation: heroSlideUp .5s ease .2s both; }
}

.telegram-float:hover,
.whatsapp-float:hover { animation: none; transform: translateY(-2px); }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Prefers reduced motion */
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ===== RESPONSIVE ===== */
/* Узкий десктоп 769–1000px: навигация в одну строку, горизонтальный скролл при нехватке места */
@media (min-width: 769px) and (max-width: 1000px) {
  .header .container { padding-right: max(28px, calc(24px + env(safe-area-inset-right, 0))); padding-left: max(20px, env(safe-area-inset-left, 0)); }
  .header__inner { flex-wrap: nowrap; }
  .header__logo { flex-shrink: 0; }
  .header__nav { overflow-x: auto; overflow-y: hidden; flex: 1; flex-shrink: 1; min-width: 0; justify-content: center; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .header__nav::-webkit-scrollbar { height: 4px; }
  .header__phone { margin-left: auto; flex-shrink: 0; font-size: .85rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__services { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .hero__service-card { padding: 14px 8px; min-width: 0; }
  .hero__service-card .icon { font-size: 1.5rem; }
  .hero__service-card .name { font-size: .8rem; }
  .hero__buttons { flex-wrap: wrap; }
  .hero__buttons .btn { min-width: 140px; flex: 1 1 140px; }
}

/* 768px — при «версии для ПК» на телефоне viewport обычно ~980px → показываем десктоп */
@media(max-width:768px) {
  .header__nav { display: none; }
  .header__burger { display: flex; flex-shrink: 0; }
  .header__logo-sub {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .header__phone {
    flex-shrink: 0; margin-left: auto;
    font-size: 0 !important;
    min-width: 48px; width: 48px; height: 48px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all .2s;
  }
  .header__phone::before {
    content: '📞';
    font-size: 1.3rem;
    color: var(--white);
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .header__phone:hover {
    background: var(--cta);
    border-color: var(--cta);
  }
  .header__phone:hover::before { color: #fff; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .form-contacts-grid { grid-template-columns: 1fr; }
  .tg-banner { flex-direction: column; text-align: center; padding: 28px 24px; }
}

/* 768px — полная мобильная вёрстка; >768 при «версии ПК» → десктоп */
@media(max-width:768px) {
  :root { --header-height: 60px; }
  /* General */
  .container { padding: 0 16px; padding-left: max(16px, var(--safe-left)); padding-right: max(16px, var(--safe-right)); }
  .section { padding: 40px 0; }
  .section__header { margin-bottom: 32px; }

  /* Header — кнопка «Позвонить» и меню сгруппированы справа */
  .header__inner { min-height: 60px; height: 60px; gap: 8px; align-items: center; }

  /* Mobile menu */
  .mobile-menu { padding: 12px 16px; padding-bottom: max(100px, env(safe-area-inset-bottom)); gap: 6px; }
  .mobile-menu a:not(.mobile-menu__phone) { padding: 10px 14px; font-size: .95rem; gap: 12px; min-height: 44px; }
  .mobile-menu__icon { width: 36px; height: 36px; font-size: 1.1em; }
  .mobile-menu__phone {
    font-size: 1.1rem; padding: 18px 16px !important;
    min-height: 54px; gap: 12px;
  }

  /* Hero */
  .hero { padding: 32px 0 28px; }
  .hero__badge { font-size: .8rem; padding: 6px 16px; margin-bottom: 20px; }
  .hero__title { font-size: 1.8rem; margin-bottom: 14px; }
  .hero__desc { font-size: .95rem; margin-bottom: 24px; }
  .hero__buttons { flex-direction: column; gap: 12px; margin-bottom: 32px; }
  .btn--block-m { width: 100%; justify-content: center; }
  .hero__services { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__service-card { padding: 20px 14px; }
  .hero__service-card .icon { font-size: 1.8rem; margin-bottom: 6px; }
  .hero__service-card .name { font-size: .85rem; }

  /* Stats — always 3 columns on mobile */
  .stats { 
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 12px;
    text-align: center;
  }
  .stats__item .num { font-size: 1.6rem; }
  .stats__item .plus { font-size: .8rem; }
  .stats__item .label { font-size: .75rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 22px; }

  /* Advantages */
  .advantages-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .advantage { padding: 20px; }
  .advantage__icon { font-size: 1.4rem; margin-bottom: 8px; }
  .advantage__title { font-size: .9rem; }
  .advantage__text { font-size: .82rem; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card { padding: 22px; }

  /* Brands */
  .brands-row { gap: 8px; }
  .brands-row span { padding: 6px 14px; font-size: .8rem; }

  /* Telegram banner */
  .tg-banner { padding: 24px 20px; gap: 16px; }
  .tg-banner__icon { width: 56px; height: 56px; min-width: 56px; }
  .tg-banner__icon svg { width: 36px; height: 36px; }
  .tg-banner__title { font-size: 1.1rem; }
  .tg-banner__text { font-size: .85rem; }
  .tg-banner__btn { padding: 12px 24px; font-size: .9rem; }

  /* Form section */
  .form-contacts-grid { grid-template-columns: 1fr; gap: 20px; }
  .form-card { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-card { padding: 16px 18px; }
  .contact-card__icon { font-size: 1.2rem; min-width: 32px; height: 32px; }
  .contact-card__label { font-size: .7rem; }
  .contact-card__value { font-size: .95rem; }

  /* Map */
  .map-block .map-container iframe { height: 180px; }
  .contacts-grid .map-block .map-container iframe { height: 250px; }

  /* CTA */
  .cta-section { padding: 28px 20px; border-radius: var(--radius); }
  .cta-section h2 { font-size: 1.2rem; }

  /* Price table */
  .price-table { font-size: .85rem; }
  .price-table th, .price-table td { padding: 10px 12px; }

  /* FAQ */
  .faq-item summary { font-size: .95rem; padding: 14px 0; }

  /* Service pages */
  .service-hero { padding: 32px 0 20px; }
  .service-hero h1 { font-size: 1.6rem; }
  .service-hero__meta { gap: 8px; }
  .service-hero__tag { padding: 6px 14px; font-size: .8rem; }
  .service-content { padding: 32px 0; }
  .service-content h2 { font-size: 1.25rem; margin: 28px 0 12px; }

  /* Other links */
  .other-links { gap: 8px; }
  .other-links a { padding: 6px 14px; font-size: .8rem; }

  /* Footer */
  .footer { padding: 32px 0 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 20px; }
  .footer__desc { max-width: 100%; }
  .footer__bottom { flex-direction: column; text-align: center; }

  /* Breadcrumbs */
  .breadcrumbs { font-size: .8rem; padding: 12px 0; }

  /* Telegram & WhatsApp float — круглые иконки на мобильной */
  .telegram-float,
  .whatsapp-float {
    width: 48px; height: 48px;
    padding: 0; border-radius: 50%;
    justify-content: center; min-height: 0;
  }
  .telegram-float .float-btn__label,
  .whatsapp-float .float-btn__label { display: none; }
  .telegram-float svg,
  .whatsapp-float svg { width: 24px; height: 24px; }
  .telegram-float {
    bottom: max(20px, var(--safe-bottom));
    right: max(16px, var(--safe-right));
  }
  .whatsapp-float {
    bottom: max(76px, calc(48px + var(--safe-bottom)));
    right: max(16px, var(--safe-right));
  }
}

/* Планшеты и крупные телефоны (480–640px) */
@media(max-width:480px) {
  .container { padding: 0 14px; }
  .hero__title { font-size: 1.7rem; }
  .stats__item .num { font-size: 1.5rem; }
}

/* Стандартные телефоны (375–480px): iPhone SE, 12/13/14 */
@media(max-width:375px) {
  .container { padding: 0 12px; }
  .header .container { padding: 0 12px; }
  .hero__title { font-size: 1.55rem; }
  .hero__service-card { padding: 16px 12px; }
  .btn { padding: 12px 20px; font-size: .9rem; }
  .stats { gap: 8px; }
  .stats__item .num { font-size: 1.4rem; }
  .service-card { padding: 20px; }
  .advantage { padding: 18px; }
  .mobile-menu a:not(.mobile-menu__phone) { padding: 12px 14px; min-height: 44px; }
}

/* Узкие Android (360px) */
@media(max-width:360px) {
  .container { padding: 0 10px; }
  .header .container { padding: 0 10px; }
  .hero__title { font-size: 1.45rem; }
  .hero__service-card { padding: 14px 10px; }
  .hero__service-card .name { font-size: .8rem; }
  .brands-row span { padding: 5px 12px; font-size: .75rem; }
  .other-links a { padding: 6px 12px; font-size: .75rem; }
}

/* Минимальная ширина (320px) */
@media(max-width:320px) {
  .container { padding: 0 8px; }
  .header .container { padding: 0 8px; }
  .header__inner { min-height: 54px; height: 54px; gap: 4px; }
  .header__logo { font-size: .95rem; }
  .header__logo-icon { width: 32px; height: 32px; font-size: 1.35rem; }
  .header__logo-sub { font-size: .55rem; }
  .hero__title { font-size: 1.35rem; }
  .hero__buttons { gap: 10px; }
  .stats { grid-template-columns: 1fr; gap: 8px; }
  .stats__item .num { font-size: 1.3rem; }
  .hero__services { grid-template-columns: 1fr; }
  .mobile-menu a:not(.mobile-menu__phone) { padding: 12px 10px; min-height: 44px; font-size: .9rem; }
  .telegram-float,
  .whatsapp-float { width: 44px; height: 44px; }
  .telegram-float svg,
  .whatsapp-float svg { width: 22px; height: 22px; }
}

/* Очень узкие экраны (≤400px) */
@media(max-width:400px) {
  :root { --header-height: 56px; }
  .header .container { padding: 0 12px; }
  .header__inner { min-height: 56px; height: 56px; gap: 6px; }
  .header__logo { font-size: 1rem; gap: 6px; }
  .header__logo-icon { width: 34px; height: 34px; font-size: 1.5rem; }
  .header__logo-sub { font-size: .6rem; }
  .header__phone { min-width: 44px; width: 44px; height: 44px; }
  .header__phone::before { font-size: 1.15rem; }
  .mobile-menu {
    padding: 12px 16px; padding-bottom: max(100px, env(safe-area-inset-bottom));
  }
  .mobile-menu a:not(.mobile-menu__phone) { padding: 10px 14px; font-size: .95rem; min-height: 44px; }
  .mobile-menu__phone {
    font-size: 1.05rem; padding: 16px 14px !important;
    min-height: 50px;
  }
}

/* ===== 404 PAGE ===== */
.error-page {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
  }
  .error-code {
    font-size: clamp(100px, 20vw, 180px);
    font-weight: 800;
    line-height: 1;
    color: #0090FF;
    margin-bottom: 16px;
    letter-spacing: -4px;
}
  .error-title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}
  .error-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 32px;
}
  .error-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}
  .error-links a {
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius);
    padding: 14px 20px;
    color: var(--white);
    text-decoration: none;
    font-size: .95rem;
    transition: all .2s;
}
  .error-links a:hover {
    background: rgba(75,164,247,0.15);
    border-color: var(--primary);
  }
/* ===== REVIEWS PAGE ===== */
  .reviews-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 28px 32px;
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    margin-bottom: 40px;
}
  .reviews-stats__rating {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
  .reviews-stats__stars { color: #23A9F5; font-size: 1.6rem; letter-spacing: 2px; }
  .reviews-stats__count { color: var(--text-secondary); font-size: .95rem; }
  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}
  .review-card {
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color .2s, transform .2s;
}
  .review-card:hover {
    border-color: rgba(91,179,246,0.30);
    transform: translateY(-2px);
}
  .review-header {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}
  .review-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem; color: #fff; flex-shrink: 0;
}
  .review-name { font-weight: 600; color: var(--white); font-size: .95rem; }
  .review-date { color: var(--text-secondary); font-size: .8rem; }
  .review-stars { margin-left: auto; color: #2370F5; font-size: 1.1rem; letter-spacing: 1px; }
  .review-category {
    display: inline-block; font-size: .75rem; font-weight: 600; color: var(--accent);
    background: rgba(47, 161, 232, 0.12); padding: 4px 10px; border-radius: 20px;
    margin-bottom: 8px;
  }
  .review-device {
    font-size: .85rem; color: var(--primary); margin-bottom: 10px;
    padding: 6px 12px; background: rgba(91,179,246,0.08);
    border-radius: 8px; display: inline-block;
}
  .review-text { color: var(--text-secondary); font-size: .95rem; line-height: 1.6; margin: 0; }
  .review-cta {
    text-align: center; padding: 40px 24px;
    background: rgba(91,175,246,0.06);
    border: 1px solid rgba(91,144,246,0.15);
    border-radius: var(--radius); margin-bottom: 48px;
}
  .review-cta h2 { margin-bottom: 12px; }
  .review-cta p { color: var(--text-secondary); margin-bottom: 20px; }
  .review-form-wrap {
    max-width: 520px; margin: 0 auto 24px; text-align: left;
    padding: 24px; background: rgba(0,0,0,0.03); border: 1px solid var(--border); border-radius: var(--radius);
  }
  .review-form .form-row { margin-bottom: 16px; }
  .review-form .btn { margin-top: 8px; }
  .review-stars-input {
    display: flex; gap: 4px; align-items: center; flex-wrap: wrap;
  }
  .review-stars-input input { position: absolute; opacity: 0; width: 0; height: 0; }
  .review-stars-input .star { display: inline-flex; }
  .review-stars-input label {
    font-size: 1.5rem; color: var(--border); cursor: pointer;
    transition: color .2s, transform .1s; user-select: none;
  }
  .review-stars-input label:hover { color: #fbbf24; transform: scale(1.1); }
  /* Слева направо: 5★ 4★ 3★ 2★ 1★; при выборе 1 — правая, при 5 — все */
  .review-stars-input[data-rating="5"] .star:nth-child(1) label,
  .review-stars-input[data-rating="5"] .star:nth-child(2) label,
  .review-stars-input[data-rating="5"] .star:nth-child(3) label,
  .review-stars-input[data-rating="5"] .star:nth-child(4) label,
  .review-stars-input[data-rating="5"] .star:nth-child(5) label { color: #fbbf24; }
  .review-stars-input[data-rating="4"] .star:nth-child(2) label,
  .review-stars-input[data-rating="4"] .star:nth-child(3) label,
  .review-stars-input[data-rating="4"] .star:nth-child(4) label,
  .review-stars-input[data-rating="4"] .star:nth-child(5) label { color: #fbbf24; }
  .review-stars-input[data-rating="3"] .star:nth-child(3) label,
  .review-stars-input[data-rating="3"] .star:nth-child(4) label,
  .review-stars-input[data-rating="3"] .star:nth-child(5) label { color: #fbbf24; }
  .review-stars-input[data-rating="2"] .star:nth-child(4) label,
  .review-stars-input[data-rating="2"] .star:nth-child(5) label { color: #fbbf24; }
  .review-stars-input[data-rating="1"] .star:nth-child(5) label { color: #fbbf24; }
  .review-rating-msg-wrap {
    height: 3.5rem; margin-top: 10px;
    display: flex; align-items: center;
  }
  .review-rating-msg {
    font-size: .9rem; margin: 0;
    color: var(--text-secondary); transition: opacity .4s ease, color .25s ease;
    padding: 8px 12px; border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: inline-block; max-width: 100%;
    line-height: 1.35;
  }
  .review-rating-msg.is-hidden { opacity: 0; pointer-events: none; }
  .review-rating-msg--high { color: var(--green, #22c55e); font-weight: 500; }
  .review-rating-msg--mid { color: var(--text-secondary); }
  .review-rating-msg--low { color: var(--text-muted); }
  .review-platforms {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
  .platform-card {
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    padding: 20px 28px; text-align: center; text-decoration: none;
    color: var(--white); transition: border-color .2s, transform .2s;
    min-width: 200px; display: block;
}
  .platform-card:hover {
    border-color: rgba(91,183,246,0.30);
    transform: translateY(-2px);
  }
  .platform-card--disabled {
    cursor: default; opacity: 0.6; pointer-events: none;
  }
  .platform-card--disabled .platform-card__action { color: var(--text-muted); }
  .platform-card__icon { font-size: 2rem; margin-bottom: 8px; }
  .platform-card__name { font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
  .platform-card__action { color: var(--primary); font-size: .85rem; }
  @media (max-width: 768px) {
    .reviews-grid { grid-template-columns: 1fr; }
    .reviews-stats { flex-direction: column; text-align: center; gap: 12px; }
  }

/* ===== PROMOTIONS PAGE ===== */
  .promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}
  .promo-card {
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s, transform .2s;
}
  .promo-card:hover {
    border-color: rgba(91,171,246,0.30);
    transform: translateY(-3px);
}
  .promo-card--main {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(91,194,246,0.12), rgba(71,95,236,0.08));
    border-color: rgba(91,202,246,0.25);
}
  .promo-card--main .promo-card__body {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}
  .promo-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}
  .promo-badge--hot {
    background: rgba(71,148,236,0.15);
    color: #476CEC;
}
  .promo-badge--always {
    background: rgba(91,152,246,0.15);
    color: var(--primary);
}
  .promo-badge--new {
    background: rgba(88,133,194,0.15);
    color: #22ABC5;
}
  .promo-card__header {
    padding: 24px 24px 0;
    display: flex;
    align-items: center;
}
  .promo-card__body {
    padding: 16px 24px 24px;
}
  .promo-card__icon {
    font-size: 2.5rem;
    line-height: 1;
}
  .promo-card__discount {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
  .promo-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin: 12px 0 8px;
}
  .promo-card__text {
    color: var(--text-secondary);
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}
  .promo-card__note {
    font-size: .82rem;
    color: var(--text-secondary);
    opacity: .7;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 12px;
    margin-top: 12px;
}
  .promo-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    transition: background .2s;
  }
  .promo-card__btn:hover {
    background: var(--cta-hover);
    color: #000000;
  }
  .promo-how {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 20px 0;
}
  .promo-step {
    flex: 1;
    min-width: 180px;
    padding: 20px 16px;
    background: rgba(0,0,0,0.03);
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.06);
}
  .promo-step__num {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #FFFFFF;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 10px;
}
  .promo-step__text {
    color: var(--text-secondary);
    font-size: .9rem;
    line-height: 1.4;
  }

  @media (max-width: 768px) {
    .promo-grid { grid-template-columns: 1fr; }
    .promo-card--main .promo-card__body { flex-direction: column; gap: 16px; }
  }

/* ===== TIPS PAGE (Советы по уходу) ===== */
.tips-list {
  margin: 0 0 24px 24px;
  padding: 0;
  list-style: none;
}
.tips-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}
.tips-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green, #22c55e);
  font-weight: 700;
}

/* ===== PROCESS PAGE (Как мы ремонтируем) ===== */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 32px 0;
}
.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.process-step__num {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step__body h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: var(--white);
}
.process-step__body p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}
.process-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}
.process-photo__img {
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  min-height: 280px;
}
.process-photo__img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.process-photo__placeholder {
  background: linear-gradient(135deg, rgba(84,209,247,0.15), rgba(27,98,234,0.1));
  border: 2px dashed rgba(98,165,222,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-photo__placeholder-text {
  color: var(--text-muted);
  font-size: 1.05rem;
}
.process-photo__caption {
  font-size: .9rem;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}
@media (max-width: 768px) {
  .process-step { flex-direction: column; gap: 12px; padding: 20px 0; }
  .process-photos { grid-template-columns: 1fr; }
}
