/* Мебельмаркет — статический MVP-макет (stage-2 build)
   Токены из design/docs/design.md: navy/blue/orange/ink/muted/paper/line/sky. */

/* ============ Токены ============ */
:root {
  --navy: #14284C;
  --navy-deep: #29436E;
  --blue: #2356A8;
  --orange: #B9471B;
  --orange-dark: #A03C16;
  --ink: #19202A;
  --muted: #596579;
  --paper: #FBFAF7;
  --line: #B8C2D0;
  --sky: #EAF1FB;
  --sky-strong: #DDE8FA;
  --wood: #D7C3A4;
  --wood-soft: #F1E7D6;
  --wood-mid: #D2A574;
  --wood-edge: #A48C69;
  --white: #FFFFFF;

  --r-s: 12px;
  --r-m: 16px;
  --r-l: 22px;
  --r-xl: 30px;

  --gap-desktop: 64px;
  --gap-tablet: 36px;
  --gap-mobile: 18px;

  --font: "DejaVu Sans", Arial, "Helvetica Neue", sans-serif;
  --header-h: 152px;
}

/* ============ База ============ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { margin: 0; line-height: 1.18; }
p { margin: 0; }

a { color: var(--blue); }

.container {
  width: 100%;
  max-width: 1312px;
  margin: 0 auto;
  padding: 0 var(--gap-desktop);
}

.container--narrow { max-width: 984px; }

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

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  border-radius: 0 0 var(--r-s) var(--r-s);
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

/* ============ Кнопки ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  padding: 17px 26px;
  border: 2px solid transparent;
  border-radius: var(--r-m);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease, transform 0.15s ease;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
}
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); }

.btn--ghost {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--blue); transform: translateY(-2px); }

.btn--ghost-on-navy {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  padding: 12px 20px;
  font-size: 14px;
}
.btn--ghost-on-navy:hover { background: var(--white); color: var(--navy); }

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* ============ Шапка ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 16px rgba(20, 40, 76, 0.16);
}

.topbar {
  background: var(--navy);
  color: var(--white);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
  min-height: 42px;
}
.topbar__city { font-size: 14px; color: var(--sky-strong); margin: 0; }
.topbar__city strong { color: var(--white); font-weight: 600; }
.topbar__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  font-size: 14px;
}
.topbar__nav a {
  color: var(--sky-strong);
  text-decoration: none;
}
.topbar__nav a:hover { color: var(--white); text-decoration: underline; }

.header-main__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 16px;
  padding-bottom: 16px;
  min-height: 110px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}
.brand__mark { display: block; }
.brand__name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.search {
  position: relative;
  flex: 1;
  max-width: 440px;
}
.search__input {
  width: 100%;
  height: 54px;
  padding: 0 52px 0 22px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink);
  background: var(--sky);
  border: 1px solid transparent;
  border-radius: var(--r-m);
}
.search__input:focus {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  background: var(--white);
}
.search__btn {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  cursor: pointer;
}
.search__btn:hover { border-color: var(--blue); }

.header-phone {
  margin: 0;
  text-align: right;
  flex-shrink: 0;
}
.header-phone__num {
  display: block;
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone__num:hover { text-decoration: underline; }
.header-phone__hours {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.header-mobile-search { display: none; }
.header-mobile-search .container { padding-top: 12px; }
.mobile-search {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--sky);
  border: 1px solid transparent;
  border-radius: var(--r-s);
}
.mobile-search:focus {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  background: var(--white);
}

/* Основное меню */
.site-nav { background: var(--white); border-top: 1px solid var(--sky); }
.site-nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 62px;
}
.site-nav__catalog {
  font-size: 15px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.menu {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 1;
}
.site-nav__link {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav__link:hover { color: var(--blue); text-decoration: underline; }
.site-nav__link--extra { display: none; }
.site-nav__cart {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============ Hero ============ */
.hero { background: var(--paper); }
.hero__panel {
  display: flex;
  align-items: center;
  gap: 48px;
  background: var(--navy);
  border-radius: var(--r-xl);
  padding: 64px;
  min-height: 610px;
}
.hero__text { flex: 1.15; min-width: 0; }
.hero__badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--navy-deep);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 17px;
}
.hero__title {
  margin-top: 24px;
  font-size: 52px;
  font-weight: 800;
  color: var(--white);
  max-width: 560px;
}
.hero__lead {
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--sky-strong);
  max-width: 520px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}
.hero__media {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.hero__img { width: min(430px, 100%); height: auto; }
.hero__caption {
  font-size: 17px;
  font-weight: 700;
  color: var(--sky-strong);
}

/* ============ Секции ============ */
.section { padding-top: 64px; padding-bottom: 64px; }
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}
.section__title {
  font-size: 38px;
  font-weight: 800;
  color: var(--ink);
}
.section__sub {
  margin-top: 10px;
  font-size: 17px;
  color: var(--muted);
}
.section__more {
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}
.price-note {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

/* Комнаты */
.rooms__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.room-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  min-height: 300px;
  text-decoration: none;
  transition: outline-color 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
}
.room-card:hover {
  outline: 2px solid var(--blue);
  outline-offset: 0;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 40, 76, 0.10);
}
.room-card__media {
  display: flex;
  align-items: flex-end;
  height: 150px;
}
.room-card__media img { width: 100%; height: auto; object-fit: contain; }
.room-card__name {
  font-size: 23px;
  font-weight: 800;
  color: var(--navy);
}
.room-card__desc {
  font-size: 15px;
  color: var(--muted);
}
.room-card__arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  font-size: 24px;
  font-weight: 700;
  color: var(--orange);
}

/* Популярные товары */
.popular__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 26px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  min-height: 480px;
  transition: outline-color 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
}
.product-card:hover {
  outline: 2px solid var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 40, 76, 0.10);
}
.product-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 8px;
}
.product-card__media {
  display: flex;
  align-items: flex-end;
  height: 190px;
  padding-top: 18px;
}
.product-card__media img { width: 88%; height: auto; object-fit: contain; }
.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.product-card__name {
  margin-top: 18px;
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
}
.product-card__cat {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
}
.product-card__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}
.product-card__price {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}
.btn--cart {
  padding: 13px 20px;
  font-size: 14px;
  background: var(--orange);
  color: var(--white);
  border: 0;
  border-radius: var(--r-s);
}
.btn--cart:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* Шаги */
.steps__panel {
  background: var(--sky);
  border-radius: var(--r-xl);
  padding: 48px 52px;
}
.steps__title {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
}
.steps__grid {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step__num {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--orange);
}
.step__text {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  max-width: 220px;
}
.steps__cta { margin-top: 34px; }

/* FAQ (аккордеон) */
.acc { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.acc__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
}
.acc__item[aria-expanded="true"] { border-color: var(--blue); }
.acc__heading { margin: 0; }
.acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 24px 28px;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  color: var(--navy);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.acc__btn:hover { color: var(--blue); }
.acc__icon {
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.acc__panel {
  padding: 0 28px 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.acc__panel[hidden] { display: none; }

/* Отзывы */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.review-card {
  margin: 0;
  background: var(--navy);
  border-radius: var(--r-l);
  padding: 28px;
}
.review-card__stars {
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--white);
}
.review-card__quote { margin: 14px 0 0; }
.review-card__quote p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--white);
}
.review-card__author {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--sky-strong);
}

/* Форма обратного звонка */
.callback__panel {
  display: flex;
  align-items: center;
  gap: 48px;
  background: var(--navy);
  border-radius: var(--r-xl);
  padding: 52px 56px;
}
.callback__text { flex: 1; }
.callback__title {
  font-size: 34px;
  font-weight: 800;
  color: var(--white);
}
.callback__sub {
  margin-top: 12px;
  font-size: 17px;
  color: var(--sky-strong);
  max-width: 380px;
}
.callback__form { flex: 1; display: flex; flex-direction: column; gap: 16px; }

/* Поля форм */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.field__input {
  height: 48px;
  padding: 0 14px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
}
.field__input:focus {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.field__input[aria-invalid="true"] { border-color: var(--orange); }
.field__error {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-dark);
}
.field--check { gap: 8px; }
.field__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.field__check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--orange);
  flex-shrink: 0;
}

.form-status {
  min-height: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sky-strong);
}
.form-status[data-kind="error"] { color: #FFC9B3; }

.form-server-error {
  background: var(--navy-deep);
  border: 1px solid var(--wood-mid);
  border-radius: var(--r-s);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.form-success {
  background: var(--navy-deep);
  border-radius: var(--r-s);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.form-success p:last-child {
  font-size: 15px;
  line-height: 1.5;
  color: var(--white);
}
.form-success__mark {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  border-radius: 50%;
}

/* ============ Футер ============ */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding-top: 56px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
}
.footer__phone {
  display: inline-block;
  margin-top: 18px;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}
.footer__phone:hover { text-decoration: underline; }
.footer__line {
  margin-top: 8px;
  font-size: 15px;
  color: var(--sky-strong);
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--sky-strong);
}
.footer__col a {
  font-size: 15px;
  color: var(--white);
  text-decoration: none;
  width: fit-content;
}
.footer__col a:hover { text-decoration: underline; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid var(--navy-deep);
  font-size: 14px;
  color: var(--sky-strong);
}
.footer__tagline { font-size: 14px; }

/* ============ Модальное окно заявки ============ */
.modal { position: fixed; inset: 0; z-index: 80; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 40, 76, 0.55);
  cursor: pointer;
}
.modal__box {
  position: relative;
  width: min(460px, calc(100vw - 32px));
  margin: 8vh auto 0;
  background: var(--white);
  border-radius: var(--r-l);
  padding: 32px;
  box-shadow: 0 24px 64px rgba(20, 40, 76, 0.35);
  max-height: 84vh;
  overflow-y: auto;
}
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}
.modal__close:hover { color: var(--navy); border-color: var(--blue); }
.modal__title {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  padding-right: 44px;
}
.modal__sub {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}
.modal__form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal__form .form-status { color: var(--muted); }
.modal__form .form-status[data-kind="error"] { color: var(--orange-dark); }
.modal__form .form-success {
  background: var(--sky);
}
.modal__form .form-success p:last-child { color: var(--navy); }
.modal__form .form-success__mark { background: var(--orange); }
.modal__form .form-server-error {
  background: var(--paper);
  border-color: var(--orange);
  color: var(--navy);
}
.modal__form .btn--ghost-on-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.modal__form .btn--ghost-on-navy:hover { background: var(--navy); color: var(--white); }

/* ============ Tablet (до 1200 px) ============ */
@media (max-width: 1200px) {
  .container { padding: 0 var(--gap-tablet); }

  .site-nav__inner { gap: 18px; }
  .site-nav__link { white-space: normal; }
  .site-nav__cart { display: none; }
  .faq-sub { display: none; }

  .hero__panel {
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
    padding: var(--gap-tablet);
    min-height: 0;
  }
  .hero__title { font-size: 42px; max-width: 100%; }
  .hero__lead { max-width: 100%; }
  .hero__media { align-items: flex-start; }
  .hero__img { width: min(340px, 82%); }

  .rooms__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: var(--gap-tablet);
  }

  .popular__grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 22px;
  }
  .product-card { min-height: 0; min-width: 0; flex-direction: row; align-items: center; gap: 20px; padding: 18px; }
  .product-card__badge { position: static; order: 2; align-self: flex-start; min-width: 0; max-width: 100%; white-space: normal; }
  .product-card__media { width: 150px; height: 110px; flex-shrink: 0; padding: 0; }
  .product-card__media img { width: 100%; }
  .product-card__name { margin-top: 0; font-size: 19px; }
  .product-card__price-row { margin-top: 12px; padding-top: 0; }

  .steps__panel { padding: var(--gap-tablet); }
  .steps__grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }

  .reviews__grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }

  .callback__panel { flex-direction: column; align-items: stretch; gap: 28px; padding: var(--gap-tablet); }
  .callback__form { max-width: 460px; }

  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ============ Mobile (до 600 px) ============ */
@media (max-width: 600px) {
  :root { --gap-mobile: 18px; }
  .container { padding: 0 18px; }

  .topbar { display: none; }

  .header-main { border-bottom: 0; }
  .header-main__inner {
    min-height: 0;
    padding: 10px 0 4px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .brand__mark { width: 52px; height: 28px; }
  .brand__name { font-size: 12px; }
  .search { display: none; }
  .header-phone__num { font-size: 17px; }
  .header-phone__hours { font-size: 12px; }
  .header-mobile-search { display: block; }

  .site-nav__inner {
    flex-wrap: wrap;
    min-height: 0;
    padding-top: 6px;
    padding-bottom: 10px;
    gap: 12px;
  }
  .site-nav__catalog { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; order: 3; }
  .menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    order: 4;
    padding: 14px 0 6px;
    border-top: 1px solid var(--sky);
  }
  .menu.is-open { display: flex; }
  .site-nav__link--extra { display: inline-block; }
  .site-nav__cart { display: none; }

  .section { padding-top: var(--gap-mobile); padding-bottom: var(--gap-mobile); }
  .section__title { font-size: 26px; }
  .section__sub { font-size: 15px; }
  .section__head { flex-direction: column; gap: 8px; }

  .hero__panel {
    border-radius: var(--r-l);
    padding: 20px;
    min-height: 0;
  }
  .hero__title { font-size: 32px; margin-top: 16px; }
  .hero__lead { font-size: 16px; margin-top: 12px; }
  .hero__actions { margin-top: 24px; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__media { align-items: flex-start; }
  .hero__img { width: min(260px, 88%); }

  .rooms__grid { grid-template-columns: 1fr; gap: 14px; }
  .room-card { min-height: 0; flex-direction: row; align-items: center; gap: 16px; padding: 14px; }
  .room-card__media { width: 96px; height: 72px; flex-shrink: 0; align-items: center; }
  .room-card__media img { width: 100%; }
  .room-card__name { font-size: 19px; }
  .room-card__arrow { position: static; margin-left: auto; }

  .popular__grid { gap: 14px; }
  .product-card { flex-direction: column; align-items: stretch; gap: 8px; padding: 16px; }
  .product-card__badge { order: 0; align-self: flex-start; }
  .product-card__media { width: 100%; height: 130px; }
  .product-card__price-row { margin-top: 10px; }
  .btn--cart { width: 100%; }
  .product-card__price-row { flex-direction: column; align-items: stretch; gap: 10px; }

  .steps__panel { padding: 22px 18px; border-radius: var(--r-l); }
  .steps__title { font-size: 24px; }
  .steps__grid { grid-template-columns: 1fr; gap: 16px; }
  .step__text { max-width: none; }

  .reviews__grid { grid-template-columns: 1fr; gap: 14px; }

  .callback__panel { padding: 24px 18px; gap: 20px; border-radius: var(--r-l); }
  .callback__title { font-size: 24px; }

  .acc__btn { padding: 18px; font-size: 16px; }
  .acc__panel { padding: 0 18px 18px; font-size: 15px; }

  .footer__grid { grid-template-columns: 1fr; gap: 26px; padding-bottom: 26px; }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 18px;
    padding-bottom: 22px;
  }

  .modal__box {
    width: calc(100vw - 24px);
    margin: 6vh auto 0;
    padding: 22px;
  }
  .modal__title { font-size: 22px; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .room-card:hover, .product-card:hover, .btn:hover { transform: none; }
}
