/* =========================================================
   ПОРШХАБ — базовые стили
   ========================================================= */

:root {
  --bg:            #0e0f11;
  --bg-alt:        #131417;
  --surface:       #1a1c20;
  --surface-2:     #202329;
  --border:        #2a2d33;
  --border-soft:   #23262b;

  --text:          #f2f2f0;
  --text-muted:    #9a9da3;
  --text-dim:      #6b6f76;

  --accent:        #d8b46a;
  --accent-hover:  #e6c47e;
  --accent-soft:   rgba(216, 180, 106, 0.12);
  --error:         #e06c5e;

  --radius-sm:     6px;
  --radius:        12px;
  --radius-lg:     20px;

  --container:     1200px;
  --gap:           24px;

  --font-display:  'Manrope', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

p { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul, ol { list-style: none; margin: 0; padding: 0; }

img { max-width: 100%; display: block; }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--accent); color: #0e0f11; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }

.section__head { max-width: 720px; margin-bottom: 56px; }

.section__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section__title { font-size: 44px; margin-bottom: 20px; }

.section__lead { font-size: 17px; color: var(--text-muted); max-width: 560px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--accent); color: #0e0f11; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--primary:disabled { opacity: 0.7; cursor: not-allowed; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--full { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 15, 17, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.logo__img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.footer__brand .logo__img { width: 36px; height: 36px; }

.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: #0e0f11;
  font-weight: 800;
  font-size: 17px;
}

.logo__text { color: var(--text); }

.nav__list { display: flex; gap: 28px; }

.nav__link {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}
.nav__link:hover { color: var(--text); }

.header__contacts { display: flex; align-items: center; gap: 20px; }

.header__phone { font-weight: 600; font-size: 15px; }
.header__phone:hover { color: var(--accent); }

/* ---------- Burger ---------- */
.burger {
  display: none;
  width: 56px;
  height: 40px;
  padding: 0;
  margin-left: auto;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
  color: var(--text);
}

.burger:hover { border-color: var(--accent); color: var(--accent); }

.burger__car {
  width: 36px;
  height: 20px;
  display: block;
  transition: transform 0.25s ease;
}

.burger:hover .burger__car { transform: translateX(2px); }
.burger:active .burger__car { transform: translateX(2px) scale(0.96); }

/* ---------- Hero ---------- */
.hero { padding: 100px 0 112px; position: relative; overflow: hidden; }

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(216, 180, 106, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero__title { font-size: 64px; margin-bottom: 24px; }

.hero__lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero__actions { display: flex; gap: 14px; margin-bottom: 56px; }

.hero__facts {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 40px;
  justify-content: start;
  border-top: 1px solid var(--border-soft);
  padding-top: 28px;
}

.hero__facts li { display: flex; flex-direction: column; gap: 2px; }

.hero__facts strong {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__facts span { font-size: 13px; color: var(--text-dim); }

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 5;
  margin-left: auto;
}

.hero__visual-glow { display: none; }

.hero__visual-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 1;
}

.hero__visual-light { display: none; }
.hero__visual-frame::after { content: none; }

.hero__visual-car {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 2;
  --poster-color: transparent;
  background: transparent;
  outline: none;
  display: block;
}

.hero__visual-car::part(default-progress-bar) { display: none; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.service {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service:hover { border-color: var(--accent); transform: translateY(-2px); }

.service--link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service--link:hover { border-color: var(--accent); transform: translateY(-2px); }

.service--link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.service__name { font-size: 19px; margin-bottom: 12px; }

.service__desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.55;
}

.service__price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.services__more { margin-top: 40px; text-align: center; }

/* ---------- Models ---------- */
.models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.model {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.model:hover { border-color: var(--accent); background: var(--surface-2); }

.model__name { font-family: var(--font-display); font-size: 18px; font-weight: 600; }

.model__arrow {
  color: var(--text-dim);
  font-size: 18px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.model:hover .model__arrow { color: var(--accent); transform: translateX(3px); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.step {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.step__num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 20px;
}

.step__title { font-size: 18px; margin-bottom: 10px; }

.step__text { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ---------- Portfolio ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.case {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.case__media { display: grid; grid-template-columns: 1fr 1fr; height: 200px; }

.case__img {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.case__img--before {
  background: linear-gradient(135deg, #1a1c20 0%, #23262b 100%);
  border-right: 1px solid var(--border-soft);
}

.case__img--after {
  background: linear-gradient(135deg, #23262b 0%, #2a2d33 100%);
  color: var(--accent);
}

.case__title { font-size: 17px; padding: 20px 22px 6px; }

.case__meta { font-size: 13px; color: var(--text-muted); padding: 0 22px 22px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review__text { font-size: 15px; line-height: 1.65; color: var(--text); margin-bottom: 24px; }

.review__footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}

.review__author { font-family: var(--font-display); font-weight: 700; font-size: 15px; }

.review__meta { font-size: 13px; color: var(--text-dim); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; }

.faq__item { border-bottom: 1px solid var(--border-soft); padding: 22px 0; }
.faq__item:first-child { border-top: 1px solid var(--border-soft); }

.faq__q {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q::after {
  content: '+';
  font-size: 22px;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq__item[open] .faq__q::after { content: '−'; }

.faq__a {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 14px;
  max-width: 680px;
}

/* ---------- Booking ---------- */
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.booking__channels { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }

.channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease;
}

.channel:hover { border-color: var(--accent); }

.channel__name { font-size: 14px; color: var(--text-muted); }
.channel__value { font-weight: 600; font-size: 15px; }

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__row { display: flex; flex-direction: column; gap: 8px; }

.form__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.form__input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form__input:focus { outline: none; border-color: var(--accent); }
.form__input::placeholder { color: var(--text-dim); }
.form__input--area { resize: vertical; min-height: 80px; }

.form__note { font-size: 12px; color: var(--text-dim); line-height: 1.5; }

.form__note a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.form__note a:hover { color: var(--accent); }

.form__status { font-size: 14px; margin: 0; min-height: 20px; line-height: 1.5; color: var(--accent); }
.form__status--error { color: var(--error); }

.form input[name="_gotcha"] {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Contacts ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }

.contacts__list { display: flex; flex-direction: column; gap: 22px; margin: 0 0 32px; }

.contacts__item dt { font-size: 13px; color: var(--text-dim); margin-bottom: 4px; }

.contacts__item dd { margin: 0; font-size: 16px; font-weight: 500; }

.contacts__item a:hover { color: var(--accent); }

.contacts__map {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 380px;
  overflow: hidden;
}

.contacts__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  padding: 56px 0 28px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-soft);
}

.footer__brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.footer__tagline {
  width: 100%;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 300px;
}

.footer__nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }

.footer__nav a { font-size: 14px; color: var(--text-muted); }
.footer__nav a:hover { color: var(--accent); }

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  font-weight: 500;
}

.footer__contacts a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-dim);
}

.footer__bottom a { color: var(--text-dim); }
.footer__bottom a:hover { color: var(--accent); }

/* ---------- Floating CTA ---------- */
.floating-cta {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  padding: 14px 26px;
  background: var(--accent);
  color: #0e0f11;
  font-weight: 700;
  font-size: 15px;
  border-radius: 50px;
  box-shadow: 0 12px 32px rgba(216, 180, 106, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

.floating-cta:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* =========================================================
   МОДАЛЬНОЕ ОКНО ЗАПИСИ
   ========================================================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open { display: flex; animation: modalFadeIn 0.18s ease; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.modal__window {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px 32px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
  animation: modalSlideUp 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.modal__close:hover { color: var(--text); border-color: var(--border); background: var(--surface-2); }

.modal__head { margin-bottom: 24px; }

.modal__title { font-size: 26px; margin-bottom: 10px; letter-spacing: -0.02em; }

.modal__lead { font-size: 15px; color: var(--text-muted); line-height: 1.5; }

.form--modal { background: transparent; border: none; border-radius: 0; padding: 0; gap: 16px; }

body.modal-open { overflow: hidden; }

@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================================================
   БУРГЕР И МОБИЛЬНОЕ МЕНЮ
   ========================================================= */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: none;
  align-items: stretch;
  justify-content: flex-end;
}

.mobile-menu.is-open { display: flex; animation: menuFadeIn 0.2s ease; }

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.mobile-menu__panel {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 20px 24px 28px;
  overflow-y: auto;
  animation: menuSlideIn 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-soft);
}

.mobile-menu__close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.mobile-menu__close:hover { color: var(--text); border-color: var(--accent); background: var(--surface-2); }

.mobile-menu__nav { flex: 1; }

.mobile-menu__list { display: flex; flex-direction: column; gap: 4px; }

.mobile-menu__link {
  display: block;
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mobile-menu__link:hover,
.mobile-menu__link:active { background: var(--surface-2); border-color: var(--border); color: var(--accent); }

.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--border-soft);
}

.mobile-menu__phone { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text); }
.mobile-menu__phone:hover { color: var(--accent); }

.mobile-menu__email { font-size: 14px; color: var(--text-muted); }
.mobile-menu__email:hover { color: var(--accent); }

body.menu-open { overflow: hidden; }

@keyframes menuFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes menuSlideIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

/* =========================================================
   ADAPTIVE
   ========================================================= */

@media (max-width: 1200px) {
  .container { padding: 0 28px; }
  .hero__title { font-size: 56px; }
  .hero__inner { gap: 48px; }
  .section__title { font-size: 40px; }
  .section { padding: 88px 0; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .models { grid-template-columns: repeat(4, 1fr); }
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
}

@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header__inner { gap: 20px; }

  .hero { padding: 80px 0 88px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__title { font-size: 52px; }
  .hero__lead { max-width: 640px; }
  .hero__visual { max-width: 480px; margin: 0 auto; aspect-ratio: 4 / 3; }
  .hero__facts { grid-template-columns: repeat(4, 1fr); gap: 24px; }

  .section { padding: 80px 0; }
  .section__title { font-size: 36px; }
  .section__lead { font-size: 16px; }

  .services { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cases { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .cases .case:last-child { grid-column: 1 / -1; }
  .reviews { grid-template-columns: 1fr; gap: 16px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .models { grid-template-columns: repeat(3, 1fr); }
  .booking { grid-template-columns: 1fr; gap: 40px; }

  .contacts {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 640px;
    margin: 0 auto;
    justify-items: center;
    text-align: center;
  }
  .contacts__info { width: 100%; max-width: 520px; }
  .contacts__list { align-items: center; text-align: center; }
  .contacts__map { width: 100%; max-width: 640px; min-height: 340px; }
  .contacts__map iframe { min-height: 340px; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; text-align: center; }
  .footer__brand { justify-content: center; }
  .footer__tagline { margin-left: auto; margin-right: auto; }
  .footer__nav ul { justify-content: center; text-align: center; }
  .footer__contacts {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .section__title { font-size: 32px; }
  .section__head { margin-bottom: 40px; }

  .hero { padding: 64px 0 72px; }
  .hero__title { font-size: 44px; }
  .hero__lead { font-size: 17px; margin-bottom: 32px; }
  .hero__actions { margin-bottom: 40px; }
  .hero__visual { max-width: 420px; }

  .services { grid-template-columns: 1fr; gap: 14px; }
  .cases { grid-template-columns: 1fr; gap: 16px; }
  .cases .case:last-child { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .models { grid-template-columns: repeat(2, 1fr); }

  .contacts {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 600px;
    margin: 0 auto;
    justify-items: center;
    text-align: center;
  }
  .contacts__info { width: 100%; max-width: 500px; }
  .contacts__list { align-items: center; text-align: center; }
  .contacts__map { width: 100%; max-width: 600px; min-height: 320px; }
  .contacts__map iframe { min-height: 320px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; text-align: center; }
  .footer__brand { justify-content: center; }
  .footer__tagline { margin-left: auto; margin-right: auto; }
  .footer__nav ul { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__contacts { flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; padding-top: 20px; }

  .floating-cta { right: 20px; bottom: 20px; padding: 12px 22px; font-size: 14px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .header__inner { height: 64px; gap: 12px; }
  .logo { font-size: 18px; }
  .logo__mark { width: 28px; height: 28px; font-size: 15px; }
  .header__phone { font-size: 14px; }
  .header__contacts { gap: 12px; }
  .btn--sm { padding: 9px 16px; font-size: 13px; }

  .burger { width: 48px; height: 36px; }
  .burger__car { width: 30px; height: 17px; }

  .section { padding: 64px 0; }
  .section__title { font-size: 28px; }
  .section__lead { font-size: 15px; }
  .section__head { margin-bottom: 32px; }

  .hero { padding: 48px 0 56px; }
  .hero__eyebrow { font-size: 12px; margin-bottom: 16px; }
  .hero__title { font-size: 36px; margin-bottom: 20px; }
  .hero__lead { font-size: 16px; margin-bottom: 28px; }
  .hero__actions { flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
  .hero__actions .btn { flex: 1 1 auto; padding: 13px 20px; }

  .hero__facts { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; padding-top: 24px; }
  .hero__facts strong { font-size: 22px; }

  .hero__visual { max-width: 340px; aspect-ratio: 1 / 1; }

  .service { padding: 22px 20px; }
  .service__name { font-size: 17px; }
  .service__price { font-size: 18px; }

  .model { padding: 18px 20px; }
  .model__name { font-size: 16px; }

  .step { padding: 22px 20px; }
  .step__title { font-size: 17px; }

  .case__media { height: 160px; }
  .case__title { font-size: 16px; padding: 16px 18px 4px; }
  .case__meta { padding: 0 18px 18px; }

  .review { padding: 24px 22px; }
  .review__text { font-size: 14px; }

  .faq__q { font-size: 16px; }
  .faq__a { font-size: 14px; }

  .form { padding: 26px 22px; gap: 16px; }
  .form__input { padding: 12px 14px; font-size: 15px; }

  .contacts {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 560px;
    margin: 0 auto;
    justify-items: center;
    text-align: center;
  }
  .contacts__info { width: 100%; max-width: 480px; }
  .contacts__list { align-items: center; text-align: center; }
  .contacts__map { width: 100%; max-width: 560px; min-height: 300px; }
  .contacts__map iframe { min-height: 300px; }

  .footer { padding: 44px 0 24px; }
  .footer__tagline { font-size: 13px; }

  .floating-cta { right: 16px; bottom: 16px; padding: 11px 20px; font-size: 13px; }

  .modal { padding: 12px; align-items: flex-end; }
  .modal__window {
    max-width: 100%;
    max-height: calc(100vh - 24px);
    padding: 32px 22px 24px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .modal__title { font-size: 22px; }
  .modal__lead { font-size: 14px; }
  .form--modal { gap: 14px; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }

  .header__phone { display: none; }
  .header__inner { height: 60px; }

  .section { padding: 56px 0; }
  .section__title { font-size: 26px; margin-bottom: 16px; }
  .section__eyebrow { font-size: 11px; letter-spacing: 0.1em; }
  .section__head { margin-bottom: 28px; }

  .hero { padding: 40px 0 48px; }
  .hero__title { font-size: 30px; line-height: 1.15; }
  .hero__lead { font-size: 15px; margin-bottom: 24px; }
  .hero__actions { margin-bottom: 28px; }
  .hero__actions .btn { padding: 12px 18px; font-size: 14px; }

  .hero__facts { grid-template-columns: repeat(2, 1fr); gap: 16px 20px; padding-top: 20px; }
  .hero__facts strong { font-size: 20px; }
  .hero__facts span { font-size: 12px; }

  .hero__visual { max-width: 280px; }

  .models { grid-template-columns: 1fr; gap: 10px; }
  .model { padding: 16px 18px; }

  .service { padding: 20px 18px; }
  .service__name { font-size: 16px; }
  .service__desc { font-size: 13px; margin-bottom: 16px; }

  .services__more .btn { width: 100%; }

  .booking__channels { gap: 10px; margin-top: 24px; }
  .channel { padding: 14px 16px; }
  .channel__name { font-size: 13px; }
  .channel__value { font-size: 14px; }

  .form { padding: 22px 18px; border-radius: var(--radius); }
  .form__label { font-size: 12px; }

  .contacts {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 480px;
    margin: 0 auto;
    justify-items: center;
    text-align: center;
  }
  .contacts__info { width: 100%; max-width: 420px; }
  .contacts__list { gap: 18px; margin-bottom: 24px; align-items: center; text-align: center; }
  .contacts__item dd { font-size: 15px; }
  .contacts__map { width: 100%; max-width: 480px; min-height: 260px; }
  .contacts__map iframe { min-height: 260px; }

  .footer__nav ul { grid-template-columns: 1fr; gap: 8px; justify-items: center; text-align: center; }

  .floating-cta {
    right: 12px;
    bottom: 12px;
    padding: 10px 18px;
    font-size: 13px;
    box-shadow: 0 8px 20px rgba(216, 180, 106, 0.28);
  }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }

  .section { padding: 48px 0; }
  .section__title { font-size: 24px; }
  .section__lead { font-size: 14px; }

  .hero { padding: 32px 0 40px; }
  .hero__title { font-size: 26px; }
  .hero__lead { font-size: 14px; }

  .hero__facts { gap: 14px 16px; }
  .hero__facts strong { font-size: 18px; }
  .hero__facts span { font-size: 11px; letter-spacing: 0.04em; }

  .hero__visual { max-width: 240px; }

  .btn { padding: 12px 20px; font-size: 14px; }
  .btn--sm { padding: 8px 14px; font-size: 12px; }

  .service { padding: 18px 16px; }
  .service__name { font-size: 15px; }
  .service__price { font-size: 17px; }

  .step { padding: 20px 16px; }

  .case__media { height: 140px; }

  .review { padding: 20px 18px; }

  .faq__item { padding: 18px 0; }
  .faq__q { font-size: 15px; }

  .form { padding: 20px 16px; }
  .form__input { padding: 11px 12px; font-size: 14px; }

  .contacts {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 100%;
    margin: 0 auto;
    justify-items: center;
    text-align: center;
  }
  .contacts__info { width: 100%; }
  .contacts__list { align-items: center; text-align: center; }
  .contacts__item dd { font-size: 14px; }
  .contacts__map { width: 100%; min-height: 220px; }
  .contacts__map iframe { min-height: 220px; }

  .modal__window { padding: 28px 18px 20px; }
  .modal__title { font-size: 20px; }

  .burger { width: 44px; height: 34px; }
  .burger__car { width: 26px; height: 15px; }

  .mobile-menu__panel {
    max-width: 100%;
    border-left: none;
    padding: 16px 18px 24px;
  }
  .mobile-menu__link { font-size: 16px; padding: 12px 14px; }
  .mobile-menu__phone { font-size: 17px; }
}