/* ============================================================
   ХимЧист: химчистка мебели, Курган
   Мир: «Карта чистоты» - светлая топографика, синий остров,
   персиковый акцент. Мод: Persuade.
   ============================================================ */

:root {
  --paper: #ECEDEF;
  --paper-raise: #F7F8F9;
  --ink: #131B2E;
  --ink-2: #4A5364;
  --navy: #16305E;
  --navy-deep: #0F2347;
  --navy-soft: #27457F;
  --peach: #F2B27D;
  --peach-deep: #D98F4F;
  --line: #D4D8DD;
  --white: #FFFFFF;

  --font-display: 'Jost', 'Golos Text', system-ui, sans-serif;
  --font-body: 'Golos Text', system-ui, sans-serif;

  --r-card: 20px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur-med: 280ms;
  --dur-slow: 600ms;

  --shadow-soft: 0 2px 6px rgba(19, 27, 46, 0.06), 0 12px 32px rgba(19, 27, 46, 0.10);
  --shadow-deep: 0 24px 64px rgba(15, 35, 71, 0.28);

  --header-h: 72px;
  --container: 1240px;
}

/* ---------- Reset & base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--peach); color: var(--navy-deep); }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }

.section { padding: clamp(72px, 9vw, 128px) 0; }
.section__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* Browser surfaces themed */
caret-color: var(--navy);
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb {
  background: #B9C0C9;
  border-radius: 6px;
  border: 3px solid var(--paper);
}
::-webkit-scrollbar-thumb:hover { background: var(--navy-soft); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(15, 35, 71, 0.22);
}
.btn--primary:hover {
  background: var(--navy-soft);
  box-shadow: 0 14px 36px rgba(15, 35, 71, 0.30);
}

.btn--ghost {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn--ghost:hover { background: rgba(22, 48, 94, 0.08); }

.btn--ghost-dark {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn--ghost-dark:hover { background: rgba(255, 255, 255, 0.10); }

.btn--vk {
  background: var(--white);
  color: var(--navy-deep);
  box-shadow: var(--shadow-soft);
}
.btn--vk:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(15, 35, 71, 0.16); }
.btn--vk svg { fill: #0077FF; }

.btn--sm { padding: 11px 22px; font-size: 0.95rem; }
.btn--wide { width: 100%; }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(236, 237, 239, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.logo__drop { fill: var(--peach-deep); }
.logo__word {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.logo__word em { font-style: normal; color: var(--navy); }

.nav { display: flex; gap: clamp(16px, 2vw, 28px); }

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--peach-deep);
  transition: right var(--dur-med) var(--ease-out);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }

.header__actions { display: flex; align-items: center; gap: 18px; }

.header__phone {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.header__phone:hover { color: var(--navy); }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
}
.burger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur-med) var(--ease-out), top var(--dur-med) var(--ease-out);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  z-index: 49;
  background: var(--paper-raise);
  border-top: 1px solid var(--line);
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; transform: translateY(0); }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu > .btn { margin-top: 20px; }
.mobile-menu__phone {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
  color: var(--navy);
  text-decoration: none;
}
.mobile-menu p {
  margin-top: 6px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-2);
}

/* ---------- Topo background ---------- */

.topo {
  position: absolute;
  inset: 0;
  background: url("../assets/img/topo.svg") center / cover no-repeat;
  opacity: 0.85;
  pointer-events: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
}

.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__copy { max-width: 640px; }

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.1rem);
  margin-bottom: 22px;
}
.hero__accent {
  font-style: italic;
  font-weight: 500;
  color: var(--navy);
  padding-bottom: 0.08em;
  white-space: nowrap;
}

.hero__lede {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34em;
  margin-bottom: 30px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 0.93rem;
  color: var(--ink-2);
}
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust strong { font-weight: 600; color: var(--ink); }

.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; fill: var(--peach-deep); }
.stars--lg svg { width: 21px; height: 21px; }

.hero__scene {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.hero__blob {
  position: absolute;
  inset: 0 -14% 2% 8%;
  background: linear-gradient(160deg, var(--navy-soft), var(--navy) 55%, var(--navy-deep));
  border-radius: 58% 42% 55% 45% / 52% 55% 45% 48%;
  box-shadow: var(--shadow-deep);
  animation: blob 11s ease-in-out infinite alternate;
}

@keyframes blob {
  0%   { border-radius: 58% 42% 55% 45% / 52% 55% 45% 48%; transform: rotate(0deg) scale(1); }
  50%  { border-radius: 48% 52% 44% 56% / 58% 46% 54% 42%; transform: rotate(2deg) scale(1.02); }
  100% { border-radius: 55% 45% 50% 50% / 46% 56% 44% 54%; transform: rotate(-2deg) scale(1.01); }
}

.hero__photo {
  position: relative;
  width: min(66%, 300px);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(9, 18, 38, 0.42);
  transform: rotate(1.5deg) translateX(-6%);
}
.hero__photo img { width: 100%; }

.hero__tag {
  position: absolute;
  left: 2%;
  bottom: 10%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--peach);
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.3;
  padding: 12px 18px;
  border-radius: 16px 16px 16px 4px;
  box-shadow: 0 10px 26px rgba(15, 35, 71, 0.22);
}
.hero__tag svg { fill: var(--navy-deep); flex: none; }

/* ---------- Services ---------- */

.services__head {
  max-width: 640px;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.services__head p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 1.05rem;
}

.services__list { list-style: none; }

.services__list > li + li { border-top: 1px solid var(--line); }

.services__list a {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  padding: clamp(20px, 2.6vw, 30px) clamp(8px, 1.5vw, 20px);
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out);
}
.services__list a:hover { background: var(--paper-raise); }
.services__list a:hover .services__arrow { background: var(--navy); border-color: var(--navy); }
.services__list a:hover .services__arrow svg { fill: var(--white); transform: translateX(3px); }

.services__name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.services__note { font-size: 0.94rem; color: var(--ink-2); }

.services__price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
  white-space: nowrap;
}

.services__arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  transition: background-color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.services__arrow svg {
  width: 18px; height: 18px;
  fill: var(--navy);
  transition: fill var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

/* ---------- Prices & calculator ---------- */

.prices { background: var(--paper-raise); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.prices__head {
  max-width: 680px;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.prices__head p { margin-top: 14px; color: var(--ink-2); font-size: 1.05rem; }

.prices__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.prices__group + .prices__group { margin-top: 36px; }

.prices__group h3 {
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  margin-bottom: 14px;
}

.prices__group ul { list-style: none; }
.prices__group li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 1rem;
}
.prices__group li span:last-child {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.prices__fineprint {
  margin-top: 22px;
  font-size: 0.88rem;
  color: var(--ink-2);
  max-width: 46em;
}

/* Calculator card */

.calc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-card);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}
.calc::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.05), 0 0 0 56px rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.calc__head h3 { font-size: 1.45rem; margin-bottom: 6px; }
.calc__head p { font-size: 0.94rem; color: rgba(255, 255, 255, 0.72); margin-bottom: 22px; }

.calc__items { display: grid; grid-template-columns: 1fr; gap: 6px; margin-bottom: 18px; }

.calc__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.calc__label { font-size: 0.97rem; }

.stepper {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: var(--r-pill);
  padding: 3px;
}
.stepper__btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 1.15rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.stepper__btn:hover { background: rgba(255, 255, 255, 0.18); }
.stepper__btn:active { transform: scale(0.92); }
.stepper__btn:disabled { opacity: 0.35; cursor: default; }
.stepper output {
  display: inline-block;
  min-width: 30px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.calc__option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 22px;
  cursor: pointer;
}
.calc__option input {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.calc__option input::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--navy);
  transform: scale(0);
  transition: transform var(--dur-fast) var(--ease-out);
}
.calc__option input:checked { background: var(--peach); border-color: var(--peach); }
.calc__option input:checked::after { transform: scale(1); }
.calc__option em {
  font-style: normal;
  color: var(--peach);
  font-weight: 600;
  margin-left: auto;
}

.calc__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  margin-bottom: 8px;
}
.calc__total-label { font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); }
.calc__total-value {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.calc__note { font-size: 0.82rem; color: rgba(255, 255, 255, 0.62); margin-bottom: 18px; }

.calc .btn--primary {
  background: var(--peach);
  color: var(--navy-deep);
  box-shadow: none;
}
.calc .btn--primary:hover { background: #F6C093; box-shadow: 0 10px 26px rgba(9, 18, 38, 0.30); }

/* ---------- Process ---------- */

.process__head {
  max-width: 640px;
  margin-bottom: clamp(36px, 4vw, 60px);
}
.process__head p { margin-top: 14px; color: var(--ink-2); font-size: 1.05rem; }

.process__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.6vw, 32px);
  counter-reset: step;
}

.step { position: relative; }

.step__num {
  position: absolute;
  top: -14px;
  left: 18px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--peach);
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(15, 35, 71, 0.18);
}

.step__fig {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-raise);
  aspect-ratio: 16 / 9;
  margin-bottom: 18px;
}
.step__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.step:hover .step__fig img { transform: scale(1.04); }

.step h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.step p { font-size: 0.95rem; color: var(--ink-2); }

/* ---------- Review + why ---------- */

.review__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.review__quote {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-card);
  padding: clamp(28px, 3.4vw, 44px);
  box-shadow: var(--shadow-deep);
}

.review__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.review__score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
}
.review__source { font-size: 0.88rem; color: rgba(255, 255, 255, 0.66); }

.review__quote blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.review__link {
  display: inline-block;
  font-size: 0.94rem;
  color: var(--peach);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.review__link:hover { color: #F6C093; }

.review__why h2 { margin-bottom: 26px; }

.why { list-style: none; display: grid; gap: 22px; }
.why li { display: flex; gap: 16px; }
.why__icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(19, 27, 46, 0.06);
}
.why__icon svg { width: 22px; height: 22px; fill: var(--navy); }
.why h3 { font-size: 1.06rem; margin-bottom: 4px; }
.why p { font-size: 0.94rem; color: var(--ink-2); }

/* ---------- Booking ---------- */

.booking {
  background:
    radial-gradient(1100px 520px at 18% 0%, rgba(39, 69, 127, 0.35), transparent 62%),
    var(--navy-deep);
  color: var(--white);
}

.booking__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.booking__info h2 { margin-bottom: 16px; }
.booking__info > p { color: rgba(255, 255, 255, 0.75); max-width: 34em; margin-bottom: 28px; }

.booking__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 14px;
  transition: color var(--dur-fast) var(--ease-out);
}
.booking__phone:hover { color: var(--peach); }

.booking__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 28px;
}
.booking__meta li { display: flex; align-items: center; gap: 7px; }

.booking__form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-card);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--shadow-deep);
  display: grid;
  gap: 18px;
}

.field { display: grid; gap: 7px; }

.field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper-raise);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field input::placeholder,
.field textarea::placeholder { color: #7A8291; opacity: 1; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(22, 48, 94, 0.15);
}

.field.is-invalid input { border-color: #B3423A; }
.field.is-invalid .field__error { display: block; animation: err-in 240ms var(--ease-out); }

.field__error { display: none; font-size: 0.85rem; color: #B3423A; }
.field__hint { font-size: 0.82rem; color: #6B7484; }

.booking__form .btn--primary { justify-self: stretch; }

.booking__form-note {
  font-size: 0.8rem;
  color: #6B7484;
  text-align: center;
}

.booking__success {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-card);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--shadow-deep);
}
.booking__success:not([hidden]) { animation: success-in 320ms var(--ease-out); }
.booking__success h3 { font-size: 1.4rem; margin-bottom: 10px; }
.booking__success p { margin-bottom: 14px; }
.booking__success-next { color: var(--ink-2); font-size: 0.95rem; }
.booking__success-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.booking__edit {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.booking__edit:hover { color: var(--navy); }

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

.faq__inner { max-width: 860px; }

.faq h2 { margin-bottom: clamp(28px, 3vw, 44px); }

.faq__list { display: grid; gap: 12px; }

.faq details {
  background: var(--paper-raise);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.faq details[open] { border-color: var(--navy-soft); }

.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
}
.faq summary::-webkit-details-marker { display: none; }

.faq__mark {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  transition: transform var(--dur-med) var(--ease-out), background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.faq__mark::before,
.faq__mark::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--navy);
  transform: translate(-50%, -50%);
}
.faq__mark::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform var(--dur-med) var(--ease-out); }
.faq details[open] .faq__mark { background: var(--peach); border-color: var(--peach); }
.faq details[open] .faq__mark::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq details > p {
  padding: 0 24px 22px;
  color: var(--ink-2);
  max-width: 62ch;
}
.faq details[open] > p { animation: faq-in 300ms var(--ease-out); }

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(48px, 6vw, 72px) 0 0;
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

.logo--footer .logo__word { color: var(--white); }
.logo--footer .logo__word em { color: var(--peach); }

.footer__brand p {
  margin-top: 14px;
  font-size: 0.94rem;
  max-width: 30em;
}

.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h3 {
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}
.footer__col a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.96rem;
  width: fit-content;
}
.footer__col a:hover { color: var(--peach); }
.footer__col span { font-size: 0.96rem; color: rgba(255, 255, 255, 0.82); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px clamp(20px, 4vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer__bottom a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer__bottom a:hover { color: var(--peach); }

/* ---------- Mobile action bar ---------- */

.mobilebar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 48;
  gap: 10px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(247, 248, 249, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(9, 18, 38, 0.25);
  border: 1px solid var(--line);
}
.mobilebar .btn { flex: 1; padding: 14px 10px; font-size: 0.98rem; }
.mobilebar .btn--ghost { background: var(--white); }

/* ---------- Reveal motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Кейфреймы состояний ---------- */

@keyframes success-in {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes err-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes tick {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.calc__total-value.is-ticking { animation: tick 260ms var(--ease-out); }

/* ---------- Focal: сцена входа хиро ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero__inner > * {
    opacity: 0;
    transform: translateY(26px);
    animation: hero-in 700ms var(--ease-out) forwards;
  }
  .hero__inner > :nth-child(2) { animation-delay: 120ms; }
  .hero__scene { animation-name: scene-in; }
}

@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scene-in {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    filter: blur(6px);
  }
  60% { filter: blur(0); }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.hero__scene { will-change: transform, opacity, filter; }

/* Топографика дышит очень медленно; вне вьюпорта — пауза (класс .is-idle вешает JS) */
@media (prefers-reduced-motion: no-preference) {
  .topo {
    background-position: 0 0;
    animation: topo-drift 90s linear infinite alternate;
  }
  .topo.is-idle { animation-play-state: paused; }
}

@keyframes topo-drift {
  from { background-position: 0 0; }
  to   { background-position: -70px -40px; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .header__phone { display: none; }
  .burger { display: block; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__scene {
    order: -1;
    min-height: 0;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
  .hero__photo { width: min(64%, 300px); transform: rotate(1.5deg); }
  .hero__blob { inset: 0 4% 6% 0; }

  .prices__grid { grid-template-columns: 1fr; }
  .calc { position: relative; top: auto; }

  .review__grid { grid-template-columns: 1fr; }
  .booking__grid { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { padding-bottom: 84px; }
  .mobilebar { display: flex; }

  .services__list a {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name arrow"
      "note arrow"
      "price arrow";
    row-gap: 6px;
  }
  .services__name { grid-area: name; }
  .services__note { grid-area: note; }
  .services__price { grid-area: price; }
  .services__arrow { grid-area: arrow; }

  .process__grid { grid-template-columns: 1fr; }
  .step { max-width: 460px; }

  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }

  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 2.25rem; }
}

@media (max-width: 420px) {
  .header__actions .btn--sm { display: none; }
}

/* ---------- Большие экраны: контейнер и кегль растут ---------- */

@media (min-width: 1440px) {
  :root { --container: 1420px; }
}

@media (min-width: 1720px) {
  :root { --container: 1560px; }
  html { font-size: 1.0625rem; }
}

@media (min-width: 2200px) {
  :root { --container: 1680px; }
  html { font-size: 1.125rem; }
  .hero__photo { width: min(60%, 340px); }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__blob,
  .topo { animation: none; }
  .hero__inner > * { animation: none; opacity: 1; transform: none; filter: none; }
  .calc__total-value.is-ticking,
  .booking__success:not([hidden]),
  .field.is-invalid .field__error,
  .faq details[open] > p { animation: none; }
  .mobile-menu { transition: none; transform: none; }
  .step__fig img,
  .btn,
  .services__arrow svg { transition: none; }
}
