/* ============================================================
   Курьер Доставка — лендинг
   Дизайн-система по SPEC.md п.4
   ============================================================ */

/* ---------- 4.1 Цветовые токены ---------- */
:root {
  --yellow-primary: #FFCC00;
  --yellow-hover: #F2B705;
  --yellow-light: #FFF7D6;
  --black-primary: #21201F;
  --white: #FFFFFF;
  --gray-bg: #F5F4F2;
  --gray-text: #807E7A;
  --gray-border: #E6E4E0;
  --radius-card: 24px;
  --radius-btn: 16px;
  --radius-control: 12px;
  --shadow-sticky: 0 -4px 24px rgba(33, 32, 31, 0.10);
  --container: 1200px;
  --section-gap: 96px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

::selection {
  background: var(--yellow-primary);
  color: var(--black-primary);
}

/* Плавное появление при скролле (класс добавляет JS) */
.js-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.js-reveal.is-inview {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-reveal {
    opacity: 1;
    transform: none;
  }
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: var(--black-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

.section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.section__title {
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 46px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section__subtitle {
  margin: 0 0 48px;
  font-size: 18px;
  line-height: 26px;
  color: var(--gray-text);
}

/* ---------- 4.4 Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 40px;
  border: none;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease,
    transform 0.15s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.2s ease;
}

.btn:focus-visible {
  outline: 3px solid rgba(255, 204, 0, 0.55);
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(0) scale(0.97);
  box-shadow: none;
}

.btn--primary {
  background: var(--yellow-primary);
  color: var(--black-primary);
}

.btn--primary:hover {
  background: var(--yellow-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(242, 183, 5, 0.38);
}

.btn--secondary {
  background: transparent;
  color: var(--black-primary);
  border: 2px solid var(--black-primary);
}

.btn--secondary:hover {
  background: rgba(33, 32, 31, 0.06);
  transform: translateY(-1px);
}

.btn--sm {
  height: 48px;
  padding: 0 24px;
  border-radius: 14px;
}

.btn--lg {
  height: 60px;
  padding: 0 48px;
}

.btn--block {
  width: 100%;
}

/* ---------- 1. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  transition: box-shadow 0.25s ease;
}

.header.is-scrolled {
  box-shadow: 0 4px 20px rgba(33, 32, 31, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-right: auto;
}

.header__city {
  position: relative;
}

.city-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border: none;
  border-radius: 12px;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  color: var(--black-primary);
  transition: background-color 0.15s ease;
}

.city-trigger:hover,
.city-trigger.is-open {
  background: var(--gray-bg);
}

.city-trigger__chevron {
  transition: transform 0.2s ease;
}

.city-trigger.is-open .city-trigger__chevron {
  transform: rotate(180deg);
}

.city-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  max-height: min(60vh, 480px);
  overflow-y: auto;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 32px rgba(33, 32, 31, 0.12);
  z-index: 60;
  transform-origin: top left;
  animation: drop-in 0.18s ease both;
}

@keyframes drop-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.city-dropdown::-webkit-scrollbar {
  width: 8px;
}

.city-dropdown::-webkit-scrollbar-thumb {
  background: var(--gray-border);
  border-radius: 4px;
}

.city-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.city-dropdown__title {
  margin: 0 8px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.city-dropdown__search {
  width: 100%;
  height: 40px;
  margin-bottom: 8px;
  padding: 0 12px;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-control);
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  color: var(--black-primary);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.city-dropdown__search::placeholder {
  color: var(--gray-text);
}

.city-dropdown__search:focus-visible {
  outline: none;
  border-color: var(--yellow-primary);
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.35);
}

.city-dropdown__empty {
  margin: 0;
  padding: 12px;
  font-size: 14px;
  color: var(--gray-text);
}

.city-dropdown__item {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: var(--black-primary);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.city-dropdown__item:hover {
  background: var(--gray-bg);
  transform: translateX(2px);
}

.city-dropdown__item.is-current {
  background: var(--yellow-light);
  font-weight: 600;
}

/* ---------- 2. Hero ---------- */
.hero {
  padding-top: 72px;
  padding-bottom: var(--section-gap);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero__title {
  margin: 0 0 24px;
  font-size: 56px;
  line-height: 62px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero__city {
  color: var(--yellow-hover);
}

.hero__subtitle {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 28px;
  color: var(--gray-text);
}

.hero__offer {
  margin: 0 0 32px;
  font-size: 20px;
  line-height: 30px;
}

.hero__offer strong {
  font-weight: 800;
  color: var(--yellow-hover);
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.city-hint {
  margin: 20px 0 0;
  font-size: 15px;
  color: var(--gray-text);
}

.city-hint__link {
  border: none;
  background: none;
  padding: 0;
  color: var(--black-primary);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero__facts {
  display: flex;
  gap: 24px;
  margin-top: 48px;
}

.hero__fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__fact + .hero__fact {
  padding-left: 24px;
  border-left: 1px solid var(--gray-border);
}

.hero__fact-num {
  font-size: 24px;
  line-height: 30px;
  font-weight: 800;
  color: var(--yellow-hover);
}

.hero__fact-label {
  font-size: 14px;
  line-height: 20px;
  color: var(--gray-text);
}

.hero__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
}

.hero__img--mobile {
  display: none;
}

/* ---------- 3. Преимущества ---------- */
.benefits {
  background: var(--gray-bg);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(33, 32, 31, 0.08);
}

.benefit-card__icon {
  display: block;
  margin: 0 auto 20px;
  width: 80px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.benefit-card__title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  text-align: center;
}

.benefit-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  color: var(--gray-text);
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

/* ---------- 4. Как начать ---------- */
.steps__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 32px 24px;
  background: var(--gray-bg);
  border-radius: var(--radius-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(33, 32, 31, 0.08);
}

.step__img {
  display: block;
  margin: 0 auto 20px;
}

.step__title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}

.step__text {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  color: var(--gray-text);
}

/* ---------- 5. Калькулятор ---------- */
.calc {
  background: var(--yellow-light);
  padding-bottom: 48px;
}

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

.calc__field {
  margin-bottom: 32px;
  border: none;
  padding: 0;
}

.calc__label {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--black-primary);
}

.calc__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.calc__label-row .calc__label {
  margin-bottom: 0;
}

.calc__value {
  font-size: 20px;
  font-weight: 800;
  color: var(--yellow-hover);
}

.calc__select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-control);
  background: var(--white);
  font-family: inherit;
  font-size: 16px;
  color: var(--black-primary);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%2321201F' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.calc__select:focus-visible {
  outline: 2px solid var(--yellow-primary);
  border-color: var(--black-primary);
}

/* Сегмент-контрол транспорта (п.4.5) */
.segment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 48px;
  height: 48px;
}

.segment__btn {
  border: none;
  border-radius: 44px;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--black-primary);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.segment__btn:hover {
  background: var(--gray-bg);
}

.segment__btn.is-active {
  background: var(--black-primary);
  color: var(--white);
}

/* Слайдеры (п.4.5) */
.range {
  width: 100%;
  height: 24px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

.range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right,
    var(--yellow-primary) 0 var(--range-fill, 50%),
    var(--gray-border) var(--range-fill, 50%) 100%);
}

.range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -9px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(33, 32, 31, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.range:hover::-webkit-slider-thumb {
  transform: scale(1.15);
  box-shadow: 0 3px 10px rgba(33, 32, 31, 0.35);
}

.range:active::-webkit-slider-thumb {
  transform: scale(1.2);
}

.range::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: var(--gray-border);
}

.range::-moz-range-progress {
  height: 6px;
  border-radius: 3px;
  background: var(--yellow-primary);
}

.range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(33, 32, 31, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.range:hover::-moz-range-thumb {
  transform: scale(1.15);
  box-shadow: 0 3px 10px rgba(33, 32, 31, 0.35);
}

.range:active::-moz-range-thumb {
  transform: scale(1.2);
}

/* Карточка результата (п.4.5) */
.calc__result-card {
  padding: 32px;
  background: var(--black-primary);
  border-radius: var(--radius-card);
}

.calc__result-label {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.7);
}

.calc__result-label:not(:first-child) {
  margin-top: 24px;
}

.calc__result-num {
  margin: 0;
  font-size: 48px;
  line-height: 56px;
  font-weight: 800;
  color: var(--yellow-primary);
  font-variant-numeric: tabular-nums;
}

.calc__note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--gray-text);
}

.calc__illustration {
  margin: 48px auto 0;
  border-radius: var(--radius-card);
  max-width: 480px;
  width: 100%;
  height: auto;
}

/* ---------- 7. FAQ ---------- */
.faq__layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.faq-item {
  border-bottom: 1px solid var(--gray-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-border);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 24px 0;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  color: var(--black-primary);
  transition: color 0.2s ease;
}

.faq-item__question:hover {
  color: var(--yellow-hover);
}

.faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--yellow-light);
  transition: transform 0.2s ease;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--black-primary);
}

.faq-item__icon::before {
  width: 10px;
  height: 2px;
}

.faq-item__icon::after {
  width: 2px;
  height: 10px;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 16px;
  line-height: 26px;
  color: var(--gray-text);
  transition: max-height 0.35s ease, padding 0.3s ease, opacity 0.3s ease;
}

.faq-item.is-open .faq-item__answer {
  max-height: 400px;
  padding: 0 0 24px;
  opacity: 1;
}

.faq-item__answer p {
  margin: 0;
}

.faq__media {
  position: sticky;
  top: 96px;
  display: flex;
  justify-content: center;
}

.faq__img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: var(--radius-card);
}

/* ---------- 8. Финальный CTA ---------- */
.final-cta {
  background: var(--gray-bg);
}

.final-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.final-cta__title {
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 46px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.final-cta__text {
  margin: 0 0 40px;
  font-size: 18px;
  line-height: 28px;
  color: var(--gray-text);
}

.final-cta__text .js-final-city {
  color: var(--black-primary);
  font-weight: 700;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black-primary);
  color: var(--white);
}

.footer__inner {
  padding-top: 64px;
  padding-bottom: 48px;
}

.logo--footer {
  color: var(--yellow-primary);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin: 24px 0 32px;
  font-size: 15px;
}

.footer__nav a {
  position: relative;
}

.footer__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--yellow-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.footer__nav a:hover {
  color: var(--yellow-primary);
}

.footer__nav a:hover::after {
  transform: scaleX(1);
}

.footer__disclaimer {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 760px;
}

.footer__copy {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- 9. Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 12px 16px;
  background: var(--white);
  box-shadow: var(--shadow-sticky);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

/* ---------- 10. Floating CTA (desktop) ---------- */
.float-cta {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--yellow-primary) 0%, var(--yellow-hover) 100%);
  color: var(--black-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(242, 183, 5, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(242, 183, 5, 0.55);
}

.float-cta__arrow {
  transition: transform 0.2s ease;
}

.float-cta:hover .float-cta__arrow {
  transform: translateX(3px);
}

@media (max-width: 767px) {
  .float-cta {
    display: none;
  }
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* ---------- 9. Попап подтверждения города ---------- */
.geo-popup {
  position: fixed;
  left: 50%;
  top: 56px;
  z-index: 120;
  width: min(440px, calc(100% - 32px));
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 40px rgba(33, 32, 31, 0.16);
  transform: translate(-50%, -50%);
  animation: geo-popup-in 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes geo-popup-in {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 16px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.geo-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: none;
  padding: 4px;
  color: var(--gray-text);
  cursor: pointer;
}

.geo-popup__close:hover {
  color: var(--black-primary);
}

.geo-popup__text {
  margin: 0 24px 12px 0;
  font-size: 16px;
  line-height: 22px;
  color: var(--black-primary);
}

.geo-popup__text strong {
  font-weight: 700;
}

.geo-popup__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .geo-popup__actions .btn {
    flex: 1;
  }
}

/* ============================================================
   Адаптивность (п.4.6)
   ============================================================ */

/* 768–1199: две колонки, hero меньше */
@media (max-width: 1199px) {
  .hero__inner {
    grid-template-columns: 1fr 0.9fr;
    gap: 32px;
  }

  .hero__title {
    font-size: 44px;
    line-height: 50px;
  }

  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .calc__result {
    max-width: 480px;
    margin: 0 auto;
  }

  .faq__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq__media {
    display: none;
  }
}

/* ≤767: одна колонка, sticky CTA, мобильные шрифты */
@media (max-width: 767px) {
  :root {
    --section-gap: 56px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header__inner {
    height: 60px;
    gap: 8px;
  }

  .logo {
    font-size: 15px;
  }

  .city-trigger {
    height: 36px;
    padding: 0 8px;
    gap: 4px;
    font-size: 13px;
  }

  .city-trigger__pin svg,
  .city-trigger__chevron svg {
    width: 14px;
    height: 14px;
  }

  .city-dropdown {
    position: fixed;
    top: 68px;
    left: 16px;
    right: 16px;
    width: auto;
  }

  .header .btn--sm {
    height: 40px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 13px;
  }

  .hero__title,
  .hero__subtitle,
  .hero__offer,
  .city-hint {
    text-align: center;
  }

  .hero__facts {
    justify-content: center;
  }

  .hero__fact {
    flex: 0 0 auto;
  }

  .hero {
    padding-top: 40px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__title {
    font-size: 32px;
    line-height: 38px;
  }

  .hero__subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .hero__offer {
    font-size: 17px;
    line-height: 26px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    padding: 0 24px;
  }

  .hero__img--desktop {
    display: none;
  }

  .hero__img--mobile {
    display: block;
  }

  .hero__facts {
    gap: 12px;
  }

  .hero__fact {
    flex: 1;
  }

  .hero__fact + .hero__fact {
    padding-left: 12px;
  }

  .hero__fact-num {
    font-size: 18px;
    line-height: 24px;
  }

  .hero__fact-label {
    font-size: 12px;
    line-height: 16px;
  }

  .section__title {
    font-size: 26px;
    line-height: 32px;
  }

  .section__subtitle {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 32px;
  }

  .benefits__grid,
  .steps__list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .calc__result-num {
    font-size: 34px;
    line-height: 42px;
  }

  .faq-item__question {
    font-size: 16px;
    line-height: 24px;
    padding: 18px 0;
  }

  .faq-item__answer {
    font-size: 15px;
    line-height: 24px;
  }

  .final-cta__title {
    font-size: 26px;
    line-height: 32px;
  }

  .final-cta__text {
    font-size: 16px;
    line-height: 24px;
  }

  .final-cta .btn {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    padding: 0 24px;
  }

  .footer__inner {
    padding-top: 48px;
    padding-bottom: 112px;
  }

  .footer__nav {
    flex-direction: column;
    gap: 12px;
  }
}
