/* ==========================================================================
   RTX Service — ремонт АКПП
   Тёмная тема, красный акцент, Oswald для заголовков / Inter для текста.
   ========================================================================== */

:root {
  --bg: #0b0c0e;
  --bg-alt: #101216;
  --card: #15171b;
  --card-2: #191c21;
  --border: #26292f;
  --border-strong: #34383f;
  --text: #f2f3f5;
  --text-dim: #a7adb6;
  --text-mute: #7d838c;
  --silver: #c9ced6;
  --accent: #e3161d;
  --accent-hover: #ff2a32;
  --accent-2: #ff4b50;
  --radius: 10px;
  --radius-sm: 7px;
  --max-w: 1180px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: "Oswald", "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: .4px;
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 600;
}

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

::selection { background: rgba(227, 22, 29, .35); color: #fff; }

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

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

/* ---------------------------------------------------------------- utils -- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* -------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--text-dim); color: #fff; }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--accent-2);
  transition: color .15s ease;
}
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover { color: #fff; }
.link-arrow:hover::after { transform: translateX(3px); }

/* --------------------------------------------------------------- header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 14, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav__link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color .15s ease;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: #fff; }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: .4px;
  white-space: nowrap;
  color: var(--text);
  transition: color .15s ease;
  animation: phone-pulse 1s linear infinite;
}
.header__phone:hover { color: var(--accent-2); animation: none; }
@keyframes phone-pulse {
  0% { color: #fff; text-shadow: 0 0 18px rgba(255, 60, 65, .95), 0 0 6px rgba(255, 255, 255, .9); }
  38% { color: var(--text); text-shadow: none; }
  100% { color: var(--text); text-shadow: none; }
}
.header__note {
  margin: 2px 0 0;
  font-size: 11.5px;
  color: var(--text-mute);
  white-space: nowrap;
}
.header__address {
  color: var(--silver);
  text-decoration: underline;
  text-decoration-color: rgba(255, 75, 80, .5);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.header__address:hover { color: var(--accent-2); text-decoration-color: currentColor; }
.header__check { margin-right: 5px; vertical-align: -1px; color: var(--accent-2); }

/* Полоса с телефоном и адресом — только на телефоне,
   чтобы обе строки были видны без открытия меню. */
.header__strip {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 18px 7px;
  border-top: 1px solid var(--border);
  background: #08090b;
  font-size: 10.5px;
  line-height: 1.35;
  letter-spacing: .01em;
  color: var(--text-mute);
}
.header__strip-left {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.header__strip-phone {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: .3px;
  color: var(--text);
  white-space: nowrap;
  animation: phone-pulse 1s linear infinite;
}
.header__strip-phone:hover { color: var(--accent-2); animation: none; }
.header__strip-note {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  white-space: nowrap;
}
.header__strip-note .header__check { width: 10px; height: 10px; margin-right: 4px; }
.header__strip-address {
  max-width: 48%;
  font-size: 10.5px;
  line-height: 1.3;
  text-align: right;
  color: var(--silver);
  text-decoration: underline;
  text-decoration-color: rgba(255, 75, 80, .5);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color .15s ease;
}
.header__strip-address:hover { color: var(--accent-2); }
.header__contact { display: flex; flex-direction: column; align-items: flex-end; }
.header__cta { padding: 12px 20px; font-size: 14px; }

.messengers { display: flex; align-items: center; gap: 8px; }
.header__messengers { margin-left: 2px; }
.messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--card);
  color: #fff;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.messenger:hover { background: #20242a; border-color: var(--border-strong); transform: translateY(-1px); }
.messenger--tg { background: #229ed9; border-color: #229ed9; }
.messenger--tg:hover { background: #2aa9e4; border-color: #2aa9e4; }
.messenger img, .messenger svg { width: 17px; height: 17px; }

/* burger (mobile) */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
}
.burger__box { position: relative; width: 20px; height: 14px; }
.burger__box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.burger__box span:nth-child(1) { top: 0; }
.burger__box span:nth-child(2) { top: 6px; }
.burger__box span:nth-child(3) { top: 12px; }
.burger[aria-expanded="true"] .burger__box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-panel {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 8px 24px 22px;
}
.nav-panel.is-open { display: block; }
.nav-panel a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-dim);
}
.nav-panel a:hover { color: #fff; }
.nav-panel .btn { margin-top: 18px; }
.nav-panel__address {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--text-mute);
}
.nav-panel__address a { padding: 0; border: 0; }
.nav-panel__address a:hover { color: var(--accent-2); }

/* ----------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% 30% auto 30%;
  height: 130%;
  background: radial-gradient(ellipse, rgba(227, 22, 29, .13), transparent 68%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 56px;
  align-items: center;
}
.hero__title {
  font-size: clamp(34px, 4.6vw, 58px);
  margin-bottom: .35em;
}
.hero__title span { color: var(--accent-2); }
.hero__lead {
  color: var(--text-dim);
  font-size: 17.5px;
  max-width: 480px;
  margin-bottom: 28px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12.5px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, .02);
}
.chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
  flex-shrink: 0;
}

/* --------------------------------------------------------------- shifter -- */
.shifter {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.shifter__stage {
  position: relative;
  width: min(280px, 100%);
  aspect-ratio: 800 / 1140;
  isolation: isolate;
}
.shifter__glow {
  position: absolute;
  inset: 8% 6% 12% 6%;
  background: radial-gradient(ellipse 50% 50% at 50% 45%, rgba(227, 22, 29, .32), transparent 72%);
  filter: blur(42px);
  z-index: 0;
  pointer-events: none;
  animation: glow-pulse 5s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: .7; }
  50% { opacity: 1; }
}
.shifter__photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  /* мягкое растворение краёв фото в фоне страницы */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0, #000 13%, #000 86%, transparent 100%),
    linear-gradient(to right, transparent 0, #000 11%, #000 89%, transparent 100%);
  mask-image:
    linear-gradient(to bottom, transparent 0, #000 13%, #000 86%, transparent 100%),
    linear-gradient(to right, transparent 0, #000 11%, #000 89%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
/* Виньетка поверх кадра: гасит края фото в фон страницы. Живёт на .shifter__stage,
   а не внутри .shifter__photo — иначе её срезала бы та же маска, что и фото. */
.shifter__stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -16%;
  background: radial-gradient(ellipse 50% 48% at 50% 47%,
    transparent 38%,
    rgba(11, 12, 14, .58) 60%,
    rgba(11, 12, 14, .92) 79%,
    rgba(11, 12, 14, 0) 100%);
  pointer-events: none;
}
.shifter__photo.is-dragging { cursor: grabbing; }
.shifter__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .2s ease;
  -webkit-user-drag: none;
  pointer-events: none;
}
.shifter__frame.is-active { opacity: 1; }
/* Раньше здесь был 3-пиксельный «стук» фото — из-за него весь виджет
   подпрыгивал при переключении. Оставили только плавную смену кадров. */

.shifter__panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 340px;
  text-align: center;
}
.shifter__caption {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.shifter__tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(10, 11, 13, .85);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.shifter__tab {
  width: 46px;
  height: 40px;
  background: none;
  border: none;
  border-radius: 7px;
  color: var(--text-dim);
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}
.shifter__tab:hover { color: #fff; }
.shifter__tab.is-active { color: #fff; background: var(--accent); }
.shifter__content {
  margin-top: 16px;
  /* фиксированная высота панели: при смене положения текст разной длины
     не должен менять высоту сетки и сдвигать заголовок слева */
  display: flex;
  flex-direction: column;
  min-height: 164px;
  transition: opacity .18s ease;
}
.shifter__content.is-swapping { opacity: 0; }
.shifter__title {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: .4px;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.shifter__text { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; margin: 0 0 10px; }
.shifter__link { font-size: 13px; margin-top: auto; }

/* Стрелки-подсказки: показывают, что селектор можно двигать,
   и работают как кнопки — если тянуть не хочется. */
.shifter__arrows {
  position: absolute;
  top: 50%;
  right: -20px;
  z-index: 4;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shifter__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(11, 12, 14, .85);
  color: var(--text-dim);
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease, opacity .3s ease;
  animation: arrow-hint 2.8s ease-in-out infinite;
}
.shifter__arrow:nth-child(2) { animation-delay: .4s; }
.shifter__arrow:hover,
.shifter__arrow:focus-visible {
  color: #fff;
  border-color: var(--accent);
  background: rgba(227, 22, 29, .18);
}
@keyframes arrow-hint {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}
.shifter.is-touched .shifter__arrow { animation: none; opacity: .75; }

/* -------------------------------------------------------------- sections -- */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section__head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--accent-2);
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.section__title { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: .45em; }
.section__sub { color: var(--text-dim); font-size: 16px; margin: 0; }
.section__foot { margin-top: 34px; text-align: center; }

/* -------------------------------------------------------------- services -- */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.service-card:hover { border-color: var(--border-strong); background: var(--card-2); transform: translateY(-2px); }
.service-card__num {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.service-card__title { font-size: 21px; margin-bottom: 10px; }
.service-card__text { color: var(--text-dim); font-size: 14.5px; margin-bottom: 22px; }
.service-card__link { margin-top: auto; }

/* -------------------------------------------------------------- symptoms -- */
.symptoms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.symptom {
  display: block;
  padding: 22px 22px 20px;
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--card);
  transition: background .18s ease, border-color .18s ease;
}
.symptom:hover { background: var(--card-2); border-color: var(--border-strong); border-left-color: var(--accent-2); }
.symptom__title { font-size: 15.5px; margin: 0 0 6px; }
.symptom__text { margin: 0; color: var(--text-dim); font-size: 13.5px; line-height: 1.5; }

/* --------------------------------------------------------------- process -- */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  counter-reset: step;
}
.process__step { position: relative; }
.process__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 58px;
  right: -14px;
  border-top: 1px dashed var(--border-strong);
}
.process__num {
  counter-increment: step;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent-2);
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 17px;
}
.process__num::before { content: counter(step); }
.process__title { font-size: 16.5px; margin-bottom: 6px; }
.process__text { margin: 0; color: var(--text-dim); font-size: 14px; }

/* ---------------------------------------------------------------- prices -- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-card__head { padding: 22px 24px 14px; border-bottom: 1px solid var(--border); }
.price-card__head h3 { font-size: 18px; margin: 0; }
.price-card__list { list-style: none; margin: 0; padding: 6px 24px 20px; }
.price-card__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--text);
}
.price-card__list li > span { min-width: 0; }
.price-card__list li:last-child { border-bottom: none; }
.price-card__list small { display: block; color: var(--text-mute); font-size: 12px; margin-top: 2px; }
.price-card__price {
  flex-shrink: 0;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .3px;
  color: var(--accent-2);
  white-space: nowrap;
}
.price-card__foot { padding: 0 24px 22px; margin-top: auto; }
.price-note {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
}

/* ----------------------------------------------------------------- trust -- */
.trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.trust__item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.trust__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(227, 22, 29, .12);
  color: var(--accent-2);
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 15px;
}
.trust__title { font-size: 17px; margin: 0 0 6px; }
.trust__text { margin: 0; color: var(--text-dim); font-size: 14.5px; }

/* --------------------------------------------------------------- gallery -- */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gallery-row figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--card);
}
.gallery-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.gallery-row figure:hover img { transform: scale(1.04); }
.gallery-row figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 16px 12px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent);
  font-family: "Oswald", sans-serif;
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--silver);
}

/* ------------------------------------------------------------------ band -- */
.band {
  padding: 56px 0;
  background:
    radial-gradient(ellipse 60% 120% at 20% 50%, rgba(227, 22, 29, .16), transparent 70%),
    var(--bg-alt);
  border-block: 1px solid var(--border);
}
.band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.band__title { font-size: clamp(24px, 3vw, 32px); margin-bottom: .3em; }
.band__text { margin: 0; color: var(--text-dim); max-width: 540px; font-size: 16px; }
.band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ------------------------------------------------------------------- faq -- */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq__item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.faq__item[open] { border-color: var(--border-strong); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: .2px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--accent-2);
  font-size: 20px;
  line-height: 1;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p { margin: 0; padding: 0 22px 20px; color: var(--text-dim); font-size: 15px; }

/* -------------------------------------------------------------- contacts -- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 56px;
  align-items: start;
}
.contact__label {
  display: block;
  margin-bottom: 4px;
  font-family: "Oswald", sans-serif;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.contact__phone {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: .5px;
  transition: color .15s ease;
}
.contact__phone:hover { color: var(--accent-2); }
.contact__who { margin: 10px 0 26px; max-width: 440px; color: var(--text-dim); font-size: 14.5px; }
.contact__address { margin: 4px 0 26px; font-size: 16px; line-height: 1.45; }
.contact__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.contact__note { color: var(--text-dim); font-size: 14px; margin: 0; }

.contact__map {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
.contact__map iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

.contact__form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact__form h3 { font-size: 20px; margin-bottom: 6px; }
.contact__form .form__lead { color: var(--text-dim); font-size: 14px; margin-bottom: 22px; }
.field { display: block; margin-bottom: 14px; }
.field span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  resize: vertical;
  transition: border-color .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #6b717a; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #ff6b6b; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 6px 0 18px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-dim);
}
.consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: var(--accent-2); }

.form__status { margin: 12px 0 0; font-size: 13.5px; min-height: 1.2em; caret-color: transparent; }
.contact__form { caret-color: transparent; }
.contact__form input, .contact__form textarea { caret-color: auto; }
.form__status.is-success { color: #6fd68f; }
.form__status.is-error { color: #ff8a8a; }
.form__status.is-info { color: var(--text-dim); }
.form__hint { margin: 10px 0 0; font-size: 12px; color: var(--text-mute); text-align: center; }

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

/* ---------------------------------------------------------------- footer -- */
.site-footer {
  padding: 52px 0 40px;
  border-top: 1px solid var(--border);
  background: #08090b;
  color: var(--text-dim);
  font-size: 13.5px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.footer__brand { max-width: 300px; }
.footer__brand img { height: 34px; width: auto; margin-bottom: 14px; }
.footer__brand p { margin: 0; font-size: 13px; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__title {
  margin: 0 0 12px;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer__list a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--text-mute);
}
.footer__bottom p { margin: 0; }

/* --------------------------------------------------------- mobile bottom -- */
.mobile-bar {
  display: none;
  position: fixed;
  z-index: 90;
  left: 0;
  right: 0;
  bottom: 0;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 12, 14, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}
.mobile-bar .btn { flex: 1; padding: 13px 12px; font-size: 14px; }

/* ----------------------------------------------------------- inner pages -- */
.page-hero {
  padding: 40px 0 44px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 100% at 15% 0%, rgba(227, 22, 29, .12), transparent 65%),
    var(--bg);
}
.breadcrumbs { margin: 0 0 22px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--text-mute); }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: var(--border-strong); }
.breadcrumbs a:hover { color: var(--text); }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: .35em; }
.page-hero p { color: var(--text-dim); max-width: 680px; font-size: 16.5px; margin: 0; }

.prose { padding: 64px 0; }
.prose__inner,
.page-hero .container { max-width: 880px; margin-inline: auto; }
.prose h2 { font-size: clamp(23px, 2.6vw, 29px); margin: 46px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; }
.prose p { color: var(--text-dim); font-size: 16px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; color: var(--text-dim); }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent-2); }
.prose strong { color: var(--text); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 14.5px; }
.prose th, .prose td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.prose th { color: var(--text-mute); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.prose td { color: var(--text-dim); }
.prose .note {
  padding: 18px 20px;
  border-left: 2px solid var(--accent);
  background: var(--card);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: var(--text-dim);
}
.cta-band {
  margin-top: 48px;
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 6px; font-size: 22px; }
.cta-band p { margin: 0; font-size: 14.5px; }

/* --------------------------------------------------------------- reveal -- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------- breakpoints -- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hero__grid { gap: 36px; }
}

@media (max-width: 940px) {
  .nav, .header__cta, .header__contact { display: none; }
  .burger { display: inline-flex; }
  .header__inner { height: 68px; }
  .logo img { height: 34px; }
  .hero { padding: 44px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__lead { margin-bottom: 24px; }
  .shifter__stage { width: min(260px, 70vw); }
  .shifter__content { min-height: 168px; }
  .shifter__arrows { right: -8px; }
  .header__actions { gap: 10px; }
  .header__messengers { gap: 6px; }
  .header__messengers .messenger { width: 36px; height: 36px; }
  .header__strip { display: flex; }
  .services, .price-grid { grid-template-columns: 1fr; }
  .symptoms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .process__step:not(:last-child)::after { display: none; }
  .trust { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .band__inner { flex-direction: column; align-items: flex-start; }
  .footer__top { flex-direction: column; gap: 30px; }
  .footer__cols { gap: 40px; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 74px; }
  .section { padding: 64px 0; }
  .prose { padding: 48px 0; }
}

@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .hero__title { font-size: clamp(30px, 8.4vw, 40px); }
  .hero__lead { font-size: 16px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .symptoms { grid-template-columns: 1fr; }
  .gallery-row { grid-template-columns: 1fr 1fr; }
  .gallery-row figure:first-child { grid-column: span 2; }
  .section__head { margin-bottom: 34px; }
  .contact__form { padding: 22px; }
  .contact__phone { font-size: 26px; }
  .contact__map iframe { height: 260px; }
  .footer__cols { gap: 28px; flex-direction: column; }
  .faq__item summary { font-size: 14.5px; padding: 16px 18px; }
  .faq__item p { padding: 0 18px 18px; font-size: 14px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 374px) {
  .header__strip-phone { font-size: 19px; }
  .header__strip-address { font-size: 9.5px; max-width: 52%; }
  .header__strip-note { font-size: 8.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shifter__glow, .shifter__photo.is-shifting,
  .shifter__arrow, .header__phone { animation: none; }
  .shifter__frame, .shifter__content { transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .gallery-row img { transition: none; }
}

@media print {
  .site-header, .mobile-bar, .site-footer, .hero__cta, .contact__form { display: none; }
  body { background: #fff; color: #000; }
}
