/* ==========================================================================
   Sharkoff Cleaning — дизайн-система
   ========================================================================== */

:root {
  /* Фирменный синий взят из логотипа */
  --brand: #1657e8;
  --brand-dark: #0f3fb0;
  --brand-soft: #e9f0ff;
  --brand-tint: #f4f7ff;

  --ink: #0b1a30;
  --ink-soft: #52627a;
  --ink-mute: #8b99ac;

  --line: #e3eaf5;
  --line-soft: #eef2f9;

  --bg: #f7f9fd;
  --surface: #ffffff;

  --eco: #12a074;
  --eco-soft: #e6f6f0;
  --warm: #f2681f;
  --warm-soft: #fff0e7;

  --shadow-sm: 0 1px 2px rgba(11, 26, 48, .05), 0 2px 8px rgba(11, 26, 48, .04);
  --shadow-md: 0 2px 4px rgba(11, 26, 48, .04), 0 12px 28px rgba(11, 26, 48, .08);
  --shadow-lg: 0 4px 8px rgba(11, 26, 48, .04), 0 24px 60px rgba(11, 26, 48, .13);
  --shadow-brand: 0 8px 24px rgba(22, 87, 232, .28);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --wrap: 1180px;
  --header-h: 74px;

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- reset ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.025em; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid rgba(22, 87, 232, .45);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- каркас --------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tint { background: var(--bg); }
.section--brand { background: var(--brand-tint); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: currentColor; opacity: .55;
}
.section-head--center .eyebrow::before { display: none; }

h1, .h1 { font-size: clamp(2.15rem, 5.1vw, 3.65rem); letter-spacing: -.035em; line-height: 1.04; }
h2, .h2 { font-size: clamp(1.72rem, 3.5vw, 2.6rem); }
h3, .h3 { font-size: clamp(1.12rem, 1.6vw, 1.3rem); letter-spacing: -.02em; }

.lead {
  margin-top: 18px;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.muted { color: var(--ink-soft); }
.small { font-size: 14px; line-height: 1.55; }
.tiny  { font-size: 13px; line-height: 1.5; color: var(--ink-mute); }

/* --- кнопки --------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 16px; font-weight: 700; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--brand-dark); }

.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: #cbd8ee; box-shadow: var(--shadow-md); }

.btn--wa { background: #25d366; color: #06331a; box-shadow: 0 8px 22px rgba(37, 211, 102, .3); }
.btn--wa:hover { background: #1fbe5b; }

.btn--tg { background: #2aabee; color: #04283a; box-shadow: 0 8px 22px rgba(42, 171, 238, .3); }
.btn--tg:hover { background: #1c97d8; }

.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--lg { padding: 17px 32px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; color: var(--brand); font-size: 15px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* --- шапка ---------------------------------------------------------------- */

.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(11, 26, 48, .05); }

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

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 38px; height: auto; }
.brand__name {
  font-size: 19px; font-weight: 800; letter-spacing: .01em;
  line-height: 1; color: var(--brand);
}
.brand__sub {
  display: block; margin-top: 3px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink-mute);
}

.nav { display: flex; align-items: center; gap: 3px; margin-inline: auto; }
.nav a {
  padding: 9px 14px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; color: var(--ink-soft);
  transition: background-color .16s ease, color .16s ease;
}
.nav a:hover { background: var(--brand-soft); color: var(--brand); }
.nav a.is-active { color: var(--ink); font-weight: 700; }

.header__cta { display: flex; align-items: center; gap: 12px; flex: none; }
.header__phone {
  font-size: 16px; font-weight: 700; letter-spacing: -.01em;
  white-space: nowrap;
}

.burger {
  display: none; flex: none;
  width: 44px; height: 44px; padding: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; align-items: center; justify-content: center;
}
.burger span {
  display: block; position: relative;
  width: 18px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .2s ease, background-color .2s ease;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .2s ease, top .2s ease;
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  padding: 8px 0 22px;
  border-top: 1px solid var(--line);
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block; padding: 13px 4px;
  font-size: 17px; font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav .btn { margin-top: 18px; }

/* --- герой ---------------------------------------------------------------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(22, 87, 232, .14), transparent 62%),
    radial-gradient(800px 460px at 4% 8%, rgba(22, 87, 232, .07), transparent 60%),
    var(--surface);
}
.hero__inner {
  display: grid; grid-template-columns: 1fr .82fr; gap: clamp(32px, 5vw, 70px);
  align-items: center;
  padding-block: clamp(44px, 6vw, 84px) clamp(52px, 7vw, 96px);
}

.hero__chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 9px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 700; color: var(--ink-soft);
  margin-bottom: 22px;
}
.hero__chip b { color: var(--ink); font-weight: 800; }
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--eco); flex: none;
  box-shadow: 0 0 0 4px rgba(18, 160, 116, .16);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(18, 160, 116, .16); }
  50%      { box-shadow: 0 0 0 7px rgba(18, 160, 116, .07); }
}

.hero h1 .accent {
  background: linear-gradient(102deg, var(--brand) 8%, #4b86ff 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: 32px; padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__trust li {
  display: flex; align-items: center; gap: 9px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
}
.hero__trust svg { width: 19px; height: 19px; color: var(--brand); flex: none; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.hero__badge {
  position: absolute; left: -26px; bottom: 34px;
  display: flex; align-items: center; gap: 13px;
  padding: 15px 21px;
  background: var(--surface); border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.hero__badge-icon {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  background: var(--warm-soft); border-radius: 13px;
  color: var(--warm);
}
.hero__badge-icon svg { width: 22px; height: 22px; }
.hero__badge b { display: block; font-size: 15.5px; letter-spacing: -.01em; }
.hero__badge span { font-size: 13px; color: var(--ink-mute); }

/* --- карточки услуг ------------------------------------------------------- */

.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d3deef; }

.card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--brand-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.04); }

.card__tag {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(6px);
  font-size: 12.5px; font-weight: 700; color: var(--ink);
}
.card__tag--eco { background: rgba(18, 160, 116, .94); color: #fff; }

.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.card__body h3 { margin-bottom: 8px; }
.card__price {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 12px;
  font-size: 15px; font-weight: 700; color: var(--brand);
}
.card__price small { font-size: 13px; font-weight: 600; color: var(--ink-mute); }
.card__body p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.card__foot { margin-top: auto; padding-top: 20px; }

.card__meta {
  display: flex; align-items: center; gap: 7px;
  margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-mute);
}
.card__meta svg { width: 16px; height: 16px; flex: none; }

/* --- шаги ----------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; padding: 28px 24px 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
}
.step__num {
  display: grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: 16px;
  background: var(--brand); color: #fff; border-radius: 12px;
  font-size: 17px; font-weight: 800;
  box-shadow: var(--shadow-brand);
}
.step h3 { font-size: 1.06rem; margin-bottom: 7px; }
.step p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }

/* --- калькулятор ---------------------------------------------------------- */

.calc { display: grid; grid-template-columns: 1fr 372px; gap: 26px; align-items: start; }

.calc__panel {
  padding: clamp(24px, 3vw, 34px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.calc__step + .calc__step { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line-soft); }
.calc__label {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 15px;
  font-size: 15px; font-weight: 800; letter-spacing: -.01em;
}
.calc__label i {
  display: grid; place-items: center;
  width: 24px; height: 24px; flex: none;
  background: var(--brand-soft); color: var(--brand); border-radius: 8px;
  font-size: 12.5px; font-weight: 800; font-style: normal;
}
.calc__hint { margin: -8px 0 15px 34px; font-size: 13.5px; color: var(--ink-mute); }

.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(184px, 1fr)); gap: 11px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__box {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 15px 17px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md);
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.opt:hover .opt__box { border-color: #c3d3ee; }
.opt input:checked + .opt__box {
  border-color: var(--brand); background: var(--brand-tint);
  box-shadow: 0 0 0 3px rgba(22, 87, 232, .1);
}
.opt input:focus-visible + .opt__box { outline: 3px solid rgba(22, 87, 232, .4); outline-offset: 2px; }
.opt__name { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.opt__price { font-size: 13.5px; font-weight: 600; color: var(--ink-mute); }
.opt input:checked + .opt__box .opt__price { color: var(--brand); }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip__box {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px;
  font-size: 14.5px; font-weight: 600;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}
.chip__box b { font-weight: 700; color: var(--ink-mute); }
.chip:hover .chip__box { border-color: #c3d3ee; }
.chip input:checked + .chip__box { border-color: var(--brand); background: var(--brand); color: #fff; }
.chip input:checked + .chip__box b { color: rgba(255, 255, 255, .82); }
.chip input:focus-visible + .chip__box { outline: 3px solid rgba(22, 87, 232, .4); outline-offset: 2px; }

.field { display: block; }
.field__row { display: flex; flex-wrap: wrap; gap: 12px; }
.input {
  width: 100%; padding: 13px 16px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font-size: 16px; font-weight: 600;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.input::placeholder { color: var(--ink-mute); font-weight: 500; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(22, 87, 232, .12); }
textarea.input { min-height: 104px; resize: vertical; line-height: 1.55; font-weight: 500; }

.calc__area { display: flex; align-items: center; gap: 12px; max-width: 320px; }
.calc__area .input { flex: 1; }
.calc__area span { font-size: 15px; font-weight: 700; color: var(--ink-soft); }

/* итог */
.summary {
  position: sticky; top: calc(var(--header-h) + 20px);
  padding: 28px;
  background: linear-gradient(168deg, #10306e 0%, #0b1f4a 100%);
  color: #fff; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.summary h3 { font-size: 1.12rem; margin-bottom: 20px; }
.summary__lines { font-size: 14.5px; }
.summary__line {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .8);
}
.summary__line b { color: #fff; font-weight: 700; white-space: nowrap; }
.summary__line--muted { color: rgba(255, 255, 255, .55); font-style: italic; }
.summary__total {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.summary__total span { font-size: 14px; color: rgba(255, 255, 255, .7); }
.summary__total b { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.summary__note {
  margin-top: 14px; padding: 12px 14px;
  background: rgba(255, 255, 255, .08); border-radius: var(--r-sm);
  font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, .72);
}
.summary__actions { display: grid; gap: 10px; margin-top: 20px; }
.summary__actions .btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .22); }
.summary__actions .btn--ghost:hover { background: rgba(255, 255, 255, .17); border-color: rgba(255, 255, 255, .35); }

/* --- прайс-таблицы -------------------------------------------------------- */

.price-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.price-table caption {
  text-align: left; padding-bottom: 14px;
  font-size: 1.06rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink);
}
.price-table th {
  text-align: left; padding: 0 0 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-mute); border-bottom: 1px solid var(--line);
}
.price-table th:last-child, .price-table td:last-child { text-align: right; }
.price-table td { padding: 13px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.price-table td:last-child { font-weight: 700; white-space: nowrap; padding-left: 18px; }
.price-table tr:last-child td { border-bottom: none; }

.panel {
  padding: clamp(24px, 3vw, 34px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.panel--flat { box-shadow: none; }

/* список «что входит» */
.checklist { display: grid; gap: 11px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 15.5px; line-height: 1.5; color: var(--ink-soft);
}
.checklist svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--brand); }
.checklist--eco svg { color: var(--eco); }

/* --- блок услуги (детальная страница) ------------------------------------- */

.svc { display: grid; grid-template-columns: 1fr; gap: 28px; }
.svc + .svc { margin-top: clamp(48px, 6vw, 82px); padding-top: clamp(48px, 6vw, 82px); border-top: 1px solid var(--line); }
.svc__head { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 54px); align-items: center; }
.svc__media img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow-md);
}
.svc__price {
  display: inline-flex; align-items: baseline; gap: 8px;
  margin: 18px 0 0; padding: 11px 20px;
  background: var(--brand-soft); border-radius: 999px;
  font-weight: 800; color: var(--brand-dark); font-size: 19px;
}
.svc__price small { font-size: 13px; font-weight: 700; color: var(--brand); opacity: .8; }
.svc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }

/* --- преимущества --------------------------------------------------------- */

.feature-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.feature-split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }

.features { display: grid; gap: 26px; margin-top: 30px; }
.feature { display: flex; gap: 16px; }
.feature__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; flex: none;
  background: var(--brand-soft); color: var(--brand); border-radius: 14px;
}
.feature__icon svg { width: 23px; height: 23px; }
.feature h3 { font-size: 1.04rem; margin-bottom: 5px; }
.feature p { font-size: 14.8px; line-height: 1.55; color: var(--ink-soft); }

/* --- цифры ---------------------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  padding: 26px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
}
.stat b {
  display: block; font-size: clamp(1.7rem, 3vw, 2.25rem); font-weight: 800;
  letter-spacing: -.035em; line-height: 1; color: var(--brand);
  margin-bottom: 9px;
}
.stat span { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); line-height: 1.45; display: block; }

/* --- галерея -------------------------------------------------------------- */

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gallery img {
  width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--r-md);
  transition: transform .3s ease;
}
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--r-md); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure:nth-child(1), .gallery figure:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.gallery figure:nth-child(1) img, .gallery figure:nth-child(2) img { aspect-ratio: 1; }

/* --- FAQ ------------------------------------------------------------------ */

.faq { display: grid; gap: 12px; max-width: 840px; margin-inline: auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.faq details[open] { border-color: #cfdcf2; box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-size: 16.5px; font-weight: 700; letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none;
  width: 11px; height: 11px;
  border-right: 2.2px solid var(--brand); border-bottom: 2.2px solid var(--brand);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq__body { padding: 0 24px 22px; font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }
.faq__body p + p { margin-top: 10px; }

/* --- CTA-полоса ----------------------------------------------------------- */

.cta {
  position: relative; overflow: hidden;
  padding: clamp(38px, 5vw, 60px);
  background: linear-gradient(140deg, var(--brand) 0%, #0d3aa8 100%);
  color: #fff; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.cta::after {
  content: ""; position: absolute; right: -90px; top: -90px;
  width: 340px; height: 340px; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.cta__inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { margin-top: 12px; font-size: 16.5px; color: rgba(255, 255, 255, .82); max-width: 540px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn--ghost { background: #fff; border-color: #fff; color: var(--brand-dark); }
.cta .btn--outline { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.cta .btn--outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* --- контакты ------------------------------------------------------------- */

.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact-card {
  display: flex; align-items: flex-start; gap: 15px;
  padding: 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfdcf2; }
.contact-card__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border-radius: 13px; background: var(--brand-soft); color: var(--brand);
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card b { display: block; font-size: 16px; letter-spacing: -.01em; }
.contact-card span { font-size: 13.5px; color: var(--ink-mute); }

.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  font-size: 14.5px; font-weight: 700;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.social:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: #cfdcf2; }
.social svg { width: 18px; height: 18px; flex: none; }

/* --- подвал --------------------------------------------------------------- */

.footer {
  padding-block: clamp(48px, 6vw, 72px) 34px;
  background: #08152a; color: rgba(255, 255, 255, .68);
}
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: rgba(255, 255, 255, .45); }
.footer p { margin-top: 16px; font-size: 14.5px; line-height: 1.6; max-width: 320px; }
.footer h4 {
  margin: 0 0 16px; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .45);
}
.footer li + li { margin-top: 10px; }
.footer a { font-size: 15px; color: rgba(255, 255, 255, .72); transition: color .16s ease; }
.footer a:hover { color: #fff; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  padding-top: 24px; font-size: 13.5px; color: rgba(255, 255, 255, .45);
}

/* --- мобильная панель действий -------------------------------------------- */

.action-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  gap: 8px;
}
.action-bar a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 7px 4px; border-radius: 14px;
  font-size: 11.5px; font-weight: 700; color: var(--ink-soft);
}
.action-bar a svg { width: 21px; height: 21px; }
.action-bar a.is-primary { background: var(--brand); color: #fff; }

/* --- вспомогательное ------------------------------------------------------ */

.page-hero {
  padding-block: clamp(40px, 5vw, 66px) clamp(34px, 4vw, 52px);
  background:
    radial-gradient(900px 380px at 82% -20%, rgba(22, 87, 232, .13), transparent 60%),
    var(--surface);
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13.5px; color: var(--ink-mute); }
.crumbs a { font-weight: 600; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { opacity: .5; }

.tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; }
.tabs a {
  padding: 10px 20px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 15px; font-weight: 700; color: var(--ink-soft);
  transition: all .16s ease;
}
.tabs a:hover { border-color: #c3d3ee; color: var(--ink); }
.tabs a.is-active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }

.note {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 17px 20px;
  background: var(--brand-tint); border: 1px solid #dbe6fb; border-radius: var(--r-md);
  font-size: 14.5px; line-height: 1.55; color: var(--ink-soft);
}
.note svg { width: 20px; height: 20px; flex: none; color: var(--brand); margin-top: 1px; }
.note b { color: var(--ink); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }

/* --- счётчики предметов (химчистка) --------------------------------------- */

.count-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 8px;
}
.count-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 11px 12px 11px 16px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .16s ease, background-color .16s ease;
}
.count-row.is-active { border-color: var(--brand); background: var(--brand-tint); }
.count-row__name { font-size: 14.8px; font-weight: 600; line-height: 1.3; }
.count-row__name b {
  display: block; margin-top: 2px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-mute);
}
.count-row.is-active .count-row__name b { color: var(--brand); }

.stepper {
  display: inline-flex; align-items: center; gap: 2px; flex: none;
  background: var(--bg); border-radius: 999px; padding: 3px;
}
.stepper__btn {
  width: 30px; height: 30px; padding: 0;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 50%;
  font-size: 17px; font-weight: 700; line-height: 1; color: var(--ink);
  cursor: pointer;
  transition: background-color .14s ease, color .14s ease, border-color .14s ease;
}
.stepper__btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.stepper__val {
  min-width: 26px; text-align: center;
  font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums;
}

/* --- тост ----------------------------------------------------------------- */

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 90;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 22px;
  background: var(--ink); color: #fff; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: transform .24s ease, opacity .24s ease;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* --- адаптив -------------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__phone { display: none; }
  .calc { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 460px; }
  .hero__media img { aspect-ratio: 3 / 2; }
  .hero__badge { left: auto; right: -14px; bottom: -20px; }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .svc__head { grid-template-columns: 1fr; }
  .svc__media { order: -1; }
  .svc__grid { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; }
  .feature-split img { max-height: 380px; }
  .cta__inner { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery figure:nth-child(1), .gallery figure:nth-child(2) { grid-column: span 3; grid-row: span 1; }
  .gallery figure:nth-child(1) img, .gallery figure:nth-child(2) img { aspect-ratio: 16 / 9; }
}

@media (max-width: 700px) {
  body { font-size: 16px; padding-bottom: 74px; }
  .action-bar { display: flex; }
  .cards--3, .cards--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__badge { position: static; margin-top: 16px; }
  .hero__media { max-width: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:nth-child(1), .gallery figure:nth-child(2) { grid-column: span 2; }
  .price-table { font-size: 14.5px; }
  .opts { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .wrap { padding-inline: 17px; }
  .stats { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1; }
}

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

@media print {
  .header, .action-bar, .cta, .calc, .footer__bottom { display: none !important; }
}
