/* ============================================================
   remkron.ru — первый экран. Чистый минимализм: белый + оранжевый.
   ============================================================ */

:root {
  /* Цвет */
  --bg: #FFFFFF;
  --bg-soft: #EDEFF2;
  --bg-soft-rgb: 237, 239, 242;
  --ink: #0F1115;
  --ink-2: #5A5F66;
  --ink-3: #8A9099;
  --accent: #FF5A1F;
  --accent-press: #E0480F;
  --accent-weak: #FFF1EA;
  --line: #ECEEF1;
  --ok: #16A34A;

  /* Типографика */
  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Ритм */
  --container: 1200px;
  --pad-x: clamp(20px, 5vw, 64px);
  --radius: 12px;
  --radius-lg: 20px;

  --header-h: 80px;
  --shadow-card: 0 30px 60px -28px rgba(15, 17, 21, .22);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- База ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
}
.btn--solid {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(255, 90, 31, .7);
}
.btn--solid:hover { background: var(--accent-press); }
.btn--solid:active { transform: translateY(1px); }

.btn--lg { flex-direction: column; gap: 3px; padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; flex-direction: column; gap: 3px; padding: 16px 22px; font-size: 16px; }
.header__cta { white-space: nowrap; }
.btn__note { font-weight: 600; font-size: 12px; opacity: .85; }
.btn--msg { gap: 8px; }
.btn__msg-ico { width: 20px; height: 20px; flex: none; border-radius: 50%; }

/* ============================================================
   ШАПКА
   ============================================================ */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-fixed {
  position: fixed;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px -22px rgba(15, 17, 21, .4);
  animation: headerDown .3s var(--ease);
}
@keyframes headerDown { from { transform: translateY(-100%); } to { transform: none; } }

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo { display: flex; align-items: center; }
.logo__img { height: 60px; width: auto; }

.nav { display: flex; align-items: center; gap: 22px; margin-left: 8px; }
.nav__link {
  font-size: 15px; font-weight: 700; color: var(--ink-2);
  white-space: nowrap;
  transition: color .15s var(--ease);
}
.nav__link:hover { color: var(--ink); }

/* выпадающие подменю */
.nav__item { position: relative; display: inline-flex; align-items: center; }
.nav__item--has-sub > .nav__link {
  display: inline-flex; align-items: center;
}
.nav__item--has-sub > .nav__link::after {
  content: ""; width: 7px; height: 7px; margin-left: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px); opacity: .55;
}
.nav__link--static { cursor: default; }
/* невидимый «мостик» под пунктом: курсор не теряет наведение по дороге к подменю */
.nav__item--has-sub::after {
  content: ""; position: absolute; left: -8px; right: -8px; top: 100%; height: 16px;
}
.nav__sub {
  position: absolute; top: 100%; left: -8px; min-width: 212px; margin-top: 10px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease) .15s, transform .18s var(--ease) .15s, visibility 0s .33s;
  z-index: 60;
}
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s;
}
.nav__sub a { padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.nav__sub a:hover { background: var(--accent-weak); color: var(--accent); }

.header__meta { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header__contact { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); flex: none; }
.status--open .status__dot { background: var(--ok); animation: softBlink 1.8s ease-in-out infinite; }
.status--open .status__text { color: var(--ink); }
.status--closed .status__dot { background: var(--ink-3); }

/* мягкое мигание зелёной точки «Открыто» */
@keyframes softBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(22, 163, 74, .45); }
  50%      { opacity: .45; box-shadow: 0 0 0 4px rgba(22, 163, 74, .12); }
}

.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 17px; letter-spacing: -.01em; white-space: nowrap;
  transition: color .15s var(--ease);
}
.header__phone-ico { color: var(--accent); flex: none; }
.header__phone:hover { color: var(--accent); }
.header__phone:hover .header__phone-ico { color: inherit; }

.burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: 10px; margin-left: auto; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; padding: 8px var(--pad-x) 20px; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu.is-open { display: flex; }
.mobile-menu__link { padding: 14px 0; font-size: 17px; font-weight: 700; border-bottom: 1px solid var(--line); }
.mobile-menu__phone { padding: 16px 0 4px; font-size: 19px; font-weight: 700; color: var(--accent); }

/* ============================================================
   ПЕРВЫЙ ЭКРАН
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-top: var(--header-h); }
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  min-height: calc(100vh - var(--header-h));
  padding-block: clamp(24px, 4vh, 56px);
}
.hero__content { max-width: 620px; }

.kicker {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 5px 10px;
  display: inline-block;
  border-radius: 6px;
}

.hero__title {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: 50px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.02em;
}
.u-accent { position: relative; white-space: nowrap; }
.u-accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .04em;
  height: .14em;
  background: var(--accent);
  border-radius: 2px;
  opacity: .9;
}

.hero__offer {
  margin: 0 0 22px;
  max-width: 40ch;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  font-weight: 500;
  color: var(--ink-2);
}

.benefits {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.benefits li { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; }
.benefits li::before {
  content: "✓";
  display: grid; place-items: center;
  width: 20px; height: 20px;
  font-size: 12px; font-weight: 900;
  color: var(--accent);
  background: var(--accent-weak);
  border-radius: 50%;
  flex: none;
}

/* ---------- CTA в hero ---------- */
.hero__cta-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-bottom: 30px; }
.hero__phone { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.hero__phone svg { color: var(--accent); flex: none; }
.hero__phone:hover { color: var(--accent); }

/* ---------- Доверие (с иконками) ---------- */
.trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
}
.trust li { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); }
.trust li svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.trust strong { color: var(--ink); font-weight: 700; }

/* ---------- Картинка (рамка справа: скругление, без тени и без бордера) ---------- */
.hero__media { display: flex; align-items: center; justify-content: center; }
.hero__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  max-height: calc(100vh - var(--header-h) - 2 * clamp(24px, 4vh, 56px));
  object-fit: cover;
  /* рамка с тенью */
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px;
  box-shadow: var(--shadow-card);
}

/* ============================================================
   ДЕКОР (полупрозрачные SVG-формы на фоне)
   ============================================================ */
.decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.decor > svg { position: absolute; display: block; }

.decor-blob { color: var(--accent); filter: blur(70px); opacity: .10; }
.decor-blob circle { fill: currentColor; }
.decor-ring { color: var(--accent); opacity: .12; }
.decor-dots { color: var(--ink-3); opacity: .25; }

/* hero */
.decor-blob--a { width: 620px; height: 510px; top: -190px; right: -170px; }
.decor-ring--a { width: 250px; height: 250px; bottom: -70px; left: 40%; opacity: .10; }
.decor-dots--a { top: 96px; left: -36px; }
/* секции */
.decor-ring--tr { width: 280px; height: 280px; top: -90px; right: -80px; }
.decor-ring--bl { width: 280px; height: 280px; bottom: -90px; left: -80px; }
.decor-blob--l { width: 520px; height: 520px; top: 20px; left: -220px; opacity: .08; }
.decor-dots--r { top: 56px; right: 28px; }

/* ============================================================
   СЕКЦИИ (общий каркас)
   ============================================================ */
.section { position: relative; overflow: hidden; padding-block: clamp(64px, 10vh, 120px); }
.section--soft {
  background: linear-gradient(180deg,
    rgba(var(--bg-soft-rgb), 0) 0%,
    rgba(var(--bg-soft-rgb), 1) 50%,
    rgba(var(--bg-soft-rgb), 0) 100%);
}
.section .container { position: relative; z-index: 1; }

.section__head { max-width: 720px; margin: 0 0 clamp(32px, 5vw, 56px); }
.section__head .kicker { margin: 0; }
.section__title {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -.02em;
}
.section__sub { margin: 12px 0 0; font-size: clamp(1rem, 1.6vw, 1.1rem); color: var(--ink-2); max-width: 54ch; }

/* ---------- Услуги (плитки) ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.service-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 18px 40px -24px rgba(15, 17, 21, .25); }
.service-card__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-weak); color: var(--accent); margin-bottom: 16px; }
.service-card__ico svg { width: 24px; height: 24px; }
.service-card__title { margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; }
.service-card__desc { margin: 0 0 18px; font-size: .9rem; color: var(--ink-2); flex: 1; }
.service-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.service-card__price { font-weight: 700; font-size: .95rem; color: var(--ink); }
.service-card__link { font-size: .85rem; font-weight: 700; color: var(--accent); white-space: nowrap; }
.service-card__link:hover { color: var(--accent-press); }
.service-card--accent { background: var(--accent-weak); border-color: transparent; }
.service-card--accent .service-card__ico { background: #fff; }
.service-card--accent .service-card__foot { border-top-color: rgba(224, 72, 15, .18); }

/* карточка услуги с фото вместо иконки */
.service-card--photo { padding: 0; overflow: hidden; }
.service-card__photo { display: block; aspect-ratio: 5 / 3; background: var(--bg-soft); }
.service-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-card--photo .service-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.service-card--photo .service-card__title { margin-top: 0; }

/* ---------- Счётчики ---------- */
.stats { list-style: none; margin: 0 0 clamp(40px, 6vw, 64px); padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; padding: 26px 12px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fcfcfc; }
.stat__ico { width: 48px; height: 48px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 14px; background: var(--accent-weak); color: var(--accent); }
.stat__ico svg { width: 24px; height: 24px; }
.stat__num { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.stat__star { color: var(--accent); margin-left: 2px; }
.stat__label { display: block; margin-top: 8px; font-size: .9rem; color: var(--ink-2); }

/* ---------- Преимущества ---------- */
.advantages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 28px; }
.advantage { display: flex; gap: 14px; }
.advantage__ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--accent-weak); color: var(--accent); }
.advantage__ico svg { width: 24px; height: 24px; }
.advantage__title { margin: 3px 0 4px; font-size: 1rem; font-weight: 700; }
.advantage__desc { margin: 0; font-size: .9rem; color: var(--ink-2); }

/* ---------- Этапы ---------- */
.steps { list-style: none; margin: 0 0 clamp(32px, 4vw, 44px); padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step__icon {
  position: relative; display: inline-block;
  width: clamp(104px, 10vw, 128px);
  margin-bottom: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 10px;
  box-shadow: 0 18px 40px -24px rgba(15, 17, 21, .28);
}
.step__img { width: 100%; height: auto; display: block; border-radius: 10px; }
.step__num {
  position: absolute; top: -10px; right: -10px; z-index: 1;
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff;
  border: 3px solid #fff;
  font-family: var(--font-head); font-weight: 900; font-size: 1rem;
  box-shadow: 0 8px 16px -6px rgba(255, 90, 31, .7);
}
.step__title { margin: 10px 0 6px; font-size: 1.05rem; font-weight: 700; }
.step__desc { margin: 0; font-size: .9rem; color: var(--ink-2); }

.kak__cta { text-align: center; }

/* ---------- Адаптив новых секций ---------- */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .advantages { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .step { text-align: left; display: grid; grid-template-columns: 92px 1fr; column-gap: 18px; align-items: center; }
  .step__icon { grid-column: 1; grid-row: 1 / span 2; width: 92px; margin-bottom: 0; align-self: start; }
  .step__title { grid-column: 2; grid-row: 1; margin: 0 0 4px; align-self: end; }
  .step__desc { grid-column: 2; grid-row: 2; align-self: start; }
}
@media (max-width: 520px) {
  .services { grid-template-columns: 1fr; }
  .advantages { grid-template-columns: 1fr; }
}

/* ============================================================
   ОСТАЛЬНЫЕ БЛОКИ ГЛАВНОЙ
   ============================================================ */
.container--narrow { max-width: 820px; }
.section--tight { padding-block: clamp(32px, 5vh, 56px); }

.btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); background: #fff; }
.btn--invert { background: #fff; color: var(--accent); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .45); }
.btn--invert:hover { background: #fff; color: var(--accent-press); }

/* ---------- Цены ---------- */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-row__name { font-weight: 600; }
.price-row__val { font-weight: 700; white-space: nowrap; }
.price-row__val--free { color: var(--ok); }
.prices__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 32px; }
.prices__link { font-weight: 700; color: var(--accent); }
.prices__link:hover { color: var(--accent-press); }

/* ---------- Скупка / продажа ---------- */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.offer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; align-items: flex-start; }
.offer__ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--accent-weak); color: var(--accent); margin-bottom: 18px; }
.offer__ico svg { width: 28px; height: 28px; }
.offer__title { margin: 0 0 10px; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; }
.offer__desc { margin: 0 0 22px; color: var(--ink-2); }
.offer .btn { margin-top: auto; }

/* ---------- Отзывы ---------- */
.section__head--rating { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: none; }
.section__head--rating .kicker { margin: 0; }
/* на десктопе рейтинг всегда справа от заголовка (заголовок переносится внутри, а не блок целиком) */
@media (min-width: 761px) {
  .section__head--rating { flex-wrap: nowrap; }
  .section__head--rating > :first-child { flex: 1 1 auto; min-width: 0; }
  .section__head--rating .rating { flex: none; }
}
.rating { text-align: right; }
.rating__score { font-family: var(--font-head); font-size: 2.4rem; font-weight: 400; line-height: 1; display: inline-flex; align-items: center; gap: 10px; }
.rating__stars { color: var(--accent); font-size: 1.1rem; letter-spacing: 2px; }
.rating__meta { margin: 6px 0 0; font-size: .85rem; color: var(--ink-2); }
.reviews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.review { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; }
.review__stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 10px; }
.review__text { margin: 0 0 18px; font-size: .92rem; flex: 1; }
.review__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .82rem; }
.review__name { font-weight: 700; }
.review__src { color: var(--ink-3); }

/* ---------- О компании ---------- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about__text .section__title { margin-top: 10px; }
.about__text p { margin: 14px 0 0; color: var(--ink-2); max-width: 60ch; }
.about__text .kicker { color: #fff; }
.about__facts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.about__facts li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 2px; }
.about__facts strong { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--accent); }
.about__facts span { font-size: .88rem; color: var(--ink-2); }
.about__media img { width: 100%; height: auto; border-radius: var(--radius-lg); display: block; }
.about__facts--icons li { display: flex; align-items: center; gap: 14px; }
.about__facts--icons .about__facts-ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-weak); color: var(--accent); }
.about__facts--icons .about__facts-ico svg { width: 22px; height: 22px; }
.about__facts--icons .about__facts-txt { display: grid; gap: 2px; }

/* ---------- Гарантия ---------- */
.guarantee { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 28px; background: var(--accent-weak); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }
.guarantee__item { display: flex; gap: 14px; align-items: flex-start; }
.guarantee__ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: #fff; color: var(--accent); }
.guarantee__ico svg { width: 24px; height: 24px; }
.guarantee__item h3 { margin: 2px 0 4px; font-size: 1rem; font-weight: 700; }
.guarantee__item p { margin: 0; font-size: .88rem; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { list-style: none; margin: 0; padding: 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; background: none; border: none; text-align: left; font: inherit; font-weight: 700; font-size: 1.05rem; color: var(--ink); transition: color .15s var(--ease); }
.faq__q:hover { color: var(--accent); }
.faq__chevron { width: 22px; height: 22px; flex: none; color: var(--ink-3); transition: transform .3s var(--ease), color .2s; }
.faq__item.is-open .faq__chevron { transform: rotate(180deg); color: var(--accent); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a p { margin: 0 0 20px; color: var(--ink-2); max-width: 70ch; }
.faq--boxed { display: grid; gap: 12px; }
.faq--boxed .faq__item { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 20px; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.faq--boxed .faq__item:hover { border-color: var(--accent); }
.faq--boxed .faq__item.is-open { border-color: var(--accent); box-shadow: var(--shadow-card); }
.faq-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-layout__media img { width: 100%; height: auto; border-radius: var(--radius-lg); display: block; }

/* ---------- Контакты ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 48px); }
.contact-row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-row__label { font-size: .82rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .03em; }
.contact-row__val a:hover { color: var(--accent); }
.contacts__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contacts__map { min-height: 340px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.contacts__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- Финальный CTA ---------- */
.cta-band { padding-block: clamp(48px, 8vh, 88px); }
.cta-band__inner {
  background: var(--accent-weak);
  border: 1px solid #F7D7C6;
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 40px);
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  gap: clamp(22px, 4vw, 48px);
}
.cta-band__media { flex: none; }
.cta-band__media img { width: clamp(150px, 20vw, 230px); height: auto; border-radius: var(--radius-lg); display: block; }
.cta-band__title { margin: 0; color: var(--ink); font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.1; }
.cta-band__sub { margin: 10px 0 0; color: var(--ink-2); max-width: 46ch; }
.cta-band__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 22px; }
.cta-band__phone { color: var(--accent); font-weight: 700; font-size: 1.2rem; white-space: nowrap; }
.cta-band__phone:hover { color: var(--accent-press); text-decoration: underline; }

/* ---------- Подвал ---------- */
.footer { background: var(--ink); color: #C9CDD3; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(40px, 6vh, 72px); }
.footer__logo { align-self: flex-start; height: 70px; width: auto; margin-bottom: 16px; background: #fff; padding: 9px 12px; border-radius: 10px; }
.footer__about { font-size: .9rem; line-height: 1.6; color: #9AA0A8; max-width: 34ch; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__title { margin: 0 0 16px; font-size: .95rem; font-weight: 700; color: #fff; }
.footer__col a { color: #C9CDD3; font-size: .92rem; transition: color .15s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__addr { margin: 6px 0 0; font-size: .9rem; color: #9AA0A8; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; font-size: .82rem; color: #8A9099; }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a { color: #8A9099; }
.footer__legal a:hover { color: var(--accent); }

/* ---------- Адаптив остальных блоков ---------- */
@media (max-width: 1024px) {
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .prices { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }
  .section__head--rating { align-items: flex-start; }
  .rating { text-align: left; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band__media { justify-self: center; }
  .faq-layout { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .reviews { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ============================================================
   МОБИЛЬНАЯ НИЖНЯЯ ПАНЕЛЬ
   ============================================================ */
.mobile-bar { display: none; }

/* ============================================================
   МОДАЛЬНОЕ ОКНО
   ============================================================ */
.modal {
  border: none;
  padding: 0;
  background: transparent;
  width: min(460px, calc(100% - 32px));
  margin: auto;
}
.modal::backdrop { background: rgba(15, 17, 21, .55); backdrop-filter: blur(2px); }

.modal__card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 34px);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .45);
}
.modal[open] .modal__card { animation: modalIn .26s var(--ease); }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: #fff; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 10px;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.modal__close:hover { color: var(--ink); border-color: var(--ink-3); }

.modal__title { margin: 0 0 6px; font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 1.7rem); font-weight: 700; letter-spacing: -.02em; padding-right: 40px; }
.modal__sub { margin: 0 0 22px; font-size: 14.5px; color: var(--ink-2); max-width: 36ch; }

/* ---------- Форма ---------- */
.lead__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field__label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field__input {
  font-family: inherit;
  font-size: 15px; font-weight: 500;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field__input::placeholder { color: var(--ink-3); }
.field__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 90, 31, .15); }
.field__select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A5F66' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.field--error .field__input { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 90, 31, .15); }

.consent { display: flex; gap: 10px; margin-top: 14px; font-size: 12.5px; color: var(--ink-2); line-height: 1.45; cursor: pointer; }
.consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.consent.consent--error span { color: var(--accent-press); }
.consent__link { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.lead__success {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: #F0FBF4;
  border: 1px solid #CBEBD5;
  color: #14793A;
  font-size: 14px;
  font-weight: 700;
}

/* ============================================================
   АНИМАЦИЯ ВХОДА
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(16px); }
.is-in[data-reveal],
.is-in [data-reveal] {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.hero__content.is-in [data-reveal]:nth-child(1) { transition-delay: .05s; }
.hero__content.is-in [data-reveal]:nth-child(2) { transition-delay: .12s; }
.hero__content.is-in [data-reveal]:nth-child(3) { transition-delay: .19s; }
.hero__content.is-in [data-reveal]:nth-child(4) { transition-delay: .26s; }
.hero__content.is-in [data-reveal]:nth-child(5) { transition-delay: .33s; }
.hero__content.is-in [data-reveal]:nth-child(6) { transition-delay: .40s; }
.hero__media.is-in { transition-delay: .18s; }

/* стаггер карточек/пунктов в новых секциях по inline --i */
.is-in [data-reveal] { transition-delay: calc(var(--i, 0) * 60ms); }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 980px) {
  .nav { display: none; }
  .header__meta .status,
  .header__meta .header__cta { display: none; }
  .burger { display: flex; }
  .header__meta { gap: 12px; margin-left: auto; }

  .hero__inner { grid-template-columns: 1fr; gap: 16px; min-height: 0; padding-block: 8px 28px; }
  .hero__content { order: 2; max-width: none; }
  .hero__media { order: 1; padding-top: 8px; }
  .hero__media img { width: 100%; max-width: 440px; max-height: 44vh; object-fit: contain; }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .logo__img { height: 38px; }
  .header__phone { display: none; }
  .hero__media { display: none; }
  body { padding-bottom: 74px; }
  .hero__title { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  .lead__grid { grid-template-columns: 1fr; }
  .benefits { gap: 8px 16px; }
  .hero__cta-wrap .btn--lg { width: 100%; }
  .hero__phone { width: 100%; justify-content: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); }

  .mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 30px -20px rgba(15, 17, 21, .4);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar__item {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 10px 4px;
    font-size: 12px; font-weight: 700; color: var(--ink-2);
    background: none; border: none;
  }
  .mobile-bar__item--accent { color: var(--accent); }
  .mobile-bar__ico { font-size: 18px; line-height: 1; }
  .mobile-bar__ico--img { width: 20px; height: 20px; border-radius: 50%; }
}

/* ============================================================
   ВНУТРЕННИЕ СТРАНИЦЫ (услуги, блог)
   ============================================================ */

/* ---------- Хлебные крошки ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--accent); }
.crumbs__sep { color: var(--ink-3); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Шапка внутренней страницы ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(24px, 5vh, 48px));
  padding-bottom: clamp(28px, 5vh, 52px);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero .crumbs { margin-bottom: 16px; }
.page-hero__title {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800; line-height: 1.06; letter-spacing: -.02em;
}
.page-hero__sub { margin: 16px 0 0; font-size: clamp(1.02rem, 2vw, 1.18rem); color: var(--ink-2); max-width: 54ch; }
.page-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; }
.page-hero .benefits { margin: 24px 0 0; }
.page-hero .trust { margin-top: 24px; }

/* ---------- Неисправности (что чиним) ---------- */
.faults { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fault {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 18px;
}
.fault__name { font-weight: 600; }
.fault__price { font-weight: 700; color: var(--accent); white-space: nowrap; }

/* ---------- Смежные услуги ---------- */
.related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related__card {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
  font-weight: 700; color: var(--ink);
  transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.related__card:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.related__card svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.related__card .related__arrow { margin-left: auto; }

/* ---------- SEO-текст / типографика статьи ---------- */
.prose { max-width: 760px; color: var(--ink-2); font-size: 1.02rem; line-height: 1.72; }
.prose > :first-child { margin-top: 0; }
.prose h2 {
  font-family: var(--font-head); color: var(--ink);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em;
  margin: 1.7em 0 .5em;
}
.prose h3 { font-family: var(--font-head); color: var(--ink); font-size: 1.2rem; font-weight: 700; margin: 1.4em 0 .4em; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin: 0 0 .55em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); font-weight: 700; }

/* ---------- Врезка-совет ---------- */
.callout {
  display: flex; gap: 14px;
  background: var(--accent-weak); border: 1px solid #FFD9C7; border-radius: var(--radius-lg);
  padding: 20px 22px; margin: 1.7em 0;
}
.callout__ico { width: 26px; height: 26px; color: var(--accent); flex: none; }
.callout p { margin: 0; color: var(--ink); }

/* ---------- Лента блога ---------- */
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  color: var(--ink);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: transparent; }
.post-card__media { aspect-ratio: 1 / 1; background: var(--bg-soft); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }

/* картинка-заглушка (градиент + иконка) - заменить на реальные фото */
.media-ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--accent-weak) 0%, var(--bg-soft) 100%); }
.media-ph svg { width: 44%; max-width: 92px; height: auto; color: var(--accent); opacity: .5; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.post-tag {
  align-self: flex-start;
  font-size: 12px; font-weight: 700; color: var(--accent);
  background: var(--accent-weak); padding: 4px 11px; border-radius: 50px;
}
.post-card__title {
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em;
  margin: 12px 0 8px;
}
.post-card__excerpt { margin: 0 0 16px; font-size: .96rem; color: var(--ink-2); }
.post-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
.post-card__more { color: var(--accent); font-weight: 700; }

/* ---------- Пагинация ---------- */
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.pagination { margin-top: clamp(32px, 5vw, 48px); }
.pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-family: var(--font-head); font-weight: 700; transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease); }
.pagination a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination .page-numbers.dots { border-color: transparent; background: none; min-width: auto; padding: 0 4px; }

/* ---------- Статья ---------- */
.section--article { padding-top: calc(var(--header-h) + clamp(24px, 5vh, 48px)); overflow: visible; }
.article { max-width: 760px; margin-inline: auto; }
.article .crumbs { margin-bottom: 16px; }
.article__cover.media-ph { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); }
.article__head { margin-bottom: clamp(22px, 4vw, 34px); }
.article__title {
  margin: 14px 0 0;
  font-family: var(--font-head); font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.02em;
}
.article__meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--ink-3); }
.article__cover { margin: clamp(20px, 4vw, 32px) 0; }
.article__cover img { width: 100%; border-radius: var(--radius-lg); }

/* ---------- CTA внутри статьи ---------- */
.post-cta {
  margin: 2em 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 26px;
}
.post-cta__title { margin: 0; font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.post-cta__sub { margin: 6px 0 0; font-size: .95rem; color: var(--ink-2); }

/* ---------- Шапка услуги с картинкой справа ---------- */
.page-hero--media .page-hero__inner {
  max-width: none;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.page-hero--media .page-hero__media img { width: 100%; height: auto; border-radius: var(--radius-lg); }

/* ---------- Статья: контент + боковая колонка ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.article-main { min-width: 0; }
.article-main .crumbs { margin-bottom: 16px; }
.article-main .prose { max-width: none; }
.article-aside { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 18px; }

.toc { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; }
.toc__title { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.toc nav { display: flex; flex-direction: column; gap: 2px; }
.toc a { font-size: .94rem; color: var(--ink-2); padding: 7px 0 7px 14px; border-left: 2px solid var(--line); transition: color .15s var(--ease), border-color .15s var(--ease); }
.toc a:hover { color: var(--accent); border-left-color: var(--accent); }

.aside-cta { background: var(--accent-weak); border: 1px solid #FFD9C7; border-radius: var(--radius-lg); padding: 22px; }
.aside-cta__title { margin: 0; font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; }
.aside-cta__sub { margin: 8px 0 0; font-size: .9rem; color: var(--ink-2); }
.aside-cta .btn { width: 100%; margin-top: 14px; }
.aside-cta__phone { display: block; margin-top: 12px; text-align: center; font-weight: 700; color: var(--accent); }
.aside-cta__phone:hover { color: var(--accent-press); }

/* ---------- Прайс по категориям (ceny.html) ---------- */
.price-group + .price-group { margin-top: clamp(44px, 6vw, 72px); }
.price-group .section__head { margin-bottom: clamp(20px, 3vw, 28px); }

/* ---------- Каталог: табы-фильтр и карточки товаров ---------- */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(24px, 4vw, 36px); }
.cat-tab {
  font: inherit; font-weight: 700; font-size: 14px; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); border-radius: 50px; padding: 10px 18px;
  transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
.cat-tab:hover { color: var(--ink); border-color: var(--ink-3); }
.cat-tab[aria-selected="true"] { color: #fff; background: var(--accent); border-color: var(--accent); }

.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: transparent; }
.product-card.is-hidden { display: none; }
.product-card__media { position: relative; aspect-ratio: 5 / 4; }
.product-card__badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 12px; font-weight: 700; color: var(--accent);
  background: var(--accent-weak); padding: 4px 11px; border-radius: 50px;
}
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.product-card__title { margin: 0 0 6px; font-size: 1.02rem; font-weight: 700; line-height: 1.25; }
.product-card__meta { margin: 0 0 8px; font-size: .86rem; color: var(--ink-2); flex: 1; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.product-card__price { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.product-card__stock { font-size: .8rem; font-weight: 700; color: var(--ok); }
.product-card .btn { width: 100%; margin-top: 12px; }
@media (max-width: 1024px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .products { grid-template-columns: 1fr; } }

/* ---------- Адаптив внутренних страниц ---------- */
@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .toc { display: none; }
}
@media (max-width: 860px) {
  .page-hero--media .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero--media .page-hero__media { display: none; }
}
@media (max-width: 760px) {
  .faults { grid-template-columns: repeat(2, 1fr); }
  .related { grid-template-columns: 1fr; }
  .posts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .faults { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .page-hero__cta .btn--lg { width: 100%; }
}

/* ---------- Что покупаем (список с иконками, skupka) ---------- */
.buy-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; }
.buy-list li { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.buy-list__ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--accent-weak); color: var(--accent); }
.buy-list__ico svg { width: 24px; height: 24px; }
.buy-list b { display: block; font-size: 1.02rem; font-weight: 700; }
.buy-list div span { display: block; margin-top: 2px; font-size: .9rem; color: var(--ink-2); }
@media (max-width: 620px) { .buy-list { grid-template-columns: 1fr; } }

/* отзывы карточками на белом фоне (страница отзывов) */
.reviews--cards .review { background: #fff; }

/* ---------- Уважение к настройкам движения ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
