/* Вертус Мебель (Vertus) — светлая / тёмная по системе */
:root {
  color-scheme: light;
  --surface: #ffffff;
  --surface-soft: #f9f7f3;
  --ink: #1a1512;
  --ink-soft: #3d342c;
  --cream: #1a1512;
  --muted: #5a524a;
  --white: #ffffff;
  --black: #f8f5ef;
  --black-soft: #efe9e0;
  /* Тот же стиль, но ярче: насыщенный синий + тёплый фон */
  --bg: #faf7f2;
  --bg-soft: #f1ebe3;
  --brown: #8a6f5a;
  --brown-mid: #a4846c;
  --brown-soft: #bfa08a;
  --turquoise: #1f8fd4;
  --turquoise-bright: #35a4e8;
  --turquoise-deep: #1577b5;
  --line: rgba(26, 21, 18, 0.12);
  --line-strong: rgba(26, 21, 18, 0.2);
  --header-bg: rgba(250, 247, 242, 0.95);
  --nav-bg: rgba(250, 247, 242, 0.98);
  --overlay: rgba(26, 21, 18, 0.45);
  --input-bg: #ffffff;
  --card-grad: linear-gradient(160deg, rgba(31, 143, 212, 0.16), rgba(164, 132, 108, 0.1));
  --card-grad-hover: linear-gradient(160deg, rgba(31, 143, 212, 0.26), rgba(164, 132, 108, 0.14));
  --panel-grad: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(241, 235, 227, 0.96));
  --gift-cta-grad: linear-gradient(160deg, #35a4e8, #1f8fd4);
  --guarantees-grad: linear-gradient(120deg, #35a4e8 0%, #1f8fd4 45%, #1577b5 100%);
  --cta-strip-grad: linear-gradient(110deg, #1f8fd4, #8a6f5a);
  --prices-card-grad: linear-gradient(160deg, #35a4e8, #1577b5);
  --hero-gradient:
    linear-gradient(105deg, rgba(26, 21, 18, 0.76) 0%, rgba(26, 21, 18, 0.45) 45%, rgba(31, 143, 212, 0.48) 100%),
    linear-gradient(to top, #faf7f2 0%, transparent 38%);
  --hero-pattern:
    radial-gradient(circle at 20% 30%, rgba(53, 164, 232, 0.38), transparent 35%),
    radial-gradient(circle at 80% 60%, rgba(164, 132, 108, 0.22), transparent 40%);
  --caption-grad: linear-gradient(transparent, rgba(26, 21, 18, 0.78));
  --shadow: 0 20px 50px rgba(26, 21, 18, 0.12);
  --radius: 4px;
  --font-display: "Geologica", sans-serif;
  --font-body: "Manrope", sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --btn-on-turquoise: #ffffff;
  --sticky-bg: rgba(250, 247, 242, 0.96);
  --modal-backdrop: rgba(26, 21, 18, 0.5);
  --topbar-fg: #faf7f2;
  --topbar-accent: #9ed0f2;
  --promo-fg: #ffffff;
  --on-dark: #faf7f2;
  --on-dark-muted: rgba(250, 247, 242, 0.84);
  --on-dark-line: rgba(250, 247, 242, 0.26);
  --chip-bg: rgba(31, 143, 212, 0.12);
  --form-bg: var(--surface);
  --form-panel: var(--panel-grad);
  --news-card-bg: rgba(31, 143, 212, 0.14);
  --option-bg: rgba(255, 255, 255, 0.95);
  --quiz-section-bg: radial-gradient(ellipse at 10% 0%, rgba(53, 164, 232, 0.24), transparent 50%), var(--bg);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0b0b0b;
    --bg-soft: #141210;
    --surface: #1a1612;
    --surface-soft: #181410;
    --ink: #e8e0d5;
    --ink-soft: #d4cbc0;
    --cream: #e8e0d5;
    --muted: #a89f94;
    --white: #f7f4ef;
    --black: #0b0b0b;
    --black-soft: #141210;
    --brown: #a89080;
    --brown-mid: #bba090;
    --brown-soft: #ccb5a4;
    --turquoise: #4db0ef;
    --turquoise-bright: #6fc2f5;
    --turquoise-deep: #35a4e8;
    --line: rgba(232, 224, 213, 0.12);
    --line-strong: rgba(232, 224, 213, 0.2);
    --header-bg: rgba(11, 11, 11, 0.92);
    --nav-bg: rgba(11, 11, 11, 0.98);
    --overlay: rgba(0, 0, 0, 0.75);
    --input-bg: rgba(11, 11, 11, 0.65);
    --card-grad: linear-gradient(160deg, rgba(95, 106, 116, 0.28), rgba(11, 11, 11, 0.2));
    --card-grad-hover: linear-gradient(160deg, rgba(138, 150, 160, 0.2), rgba(95, 106, 116, 0.3));
    --panel-grad: linear-gradient(145deg, rgba(95, 106, 116, 0.35), rgba(11, 11, 11, 0.9));
    --gift-cta-grad: linear-gradient(160deg, #3d93c9, #246690);
    --guarantees-grad: linear-gradient(120deg, #2f7eb0 0%, #246690 55%, #0b0b0b 100%);
    --cta-strip-grad: linear-gradient(110deg, #2f7eb0, #3a4046);
    --prices-card-grad: linear-gradient(160deg, #3d93c9, #246690);
    --hero-gradient:
      linear-gradient(105deg, rgba(11, 11, 11, 0.97) 0%, rgba(11, 11, 11, 0.75) 42%, rgba(47, 126, 176, 0.5) 100%),
      linear-gradient(to top, #0b0b0b 0%, transparent 40%);
    --hero-pattern:
      radial-gradient(circle at 20% 30%, rgba(61, 147, 201, 0.22), transparent 35%),
      radial-gradient(circle at 80% 60%, rgba(106, 100, 96, 0.28), transparent 40%);
    --caption-grad: linear-gradient(transparent, rgba(11, 11, 11, 0.85));
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    --btn-on-turquoise: #0b0b0b;
    --sticky-bg: rgba(11, 11, 11, 0.92);
    --modal-backdrop: rgba(0, 0, 0, 0.75);
    --topbar-fg: #e8e0d5;
    --topbar-accent: #a8b2ba;
    --promo-fg: #ffffff;
    --on-dark: #e8e0d5;
    --on-dark-muted: rgba(232, 224, 213, 0.78);
    --on-dark-line: rgba(232, 224, 213, 0.2);
    --chip-bg: rgba(11, 11, 11, 0.45);
    --form-bg: rgba(11, 11, 11, 0.55);
    --form-panel: var(--panel-grad);
    --news-card-bg: rgba(95, 106, 116, 0.22);
    --option-bg: rgba(11, 11, 11, 0.4);
    --quiz-section-bg: radial-gradient(ellipse at 10% 0%, rgba(138, 150, 160, 0.12), transparent 50%), var(--bg);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--turquoise-bright);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--ink);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

ul, ol { margin: 0; padding: 0; }

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--turquoise);
  color: var(--btn-on-turquoise);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.4rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
  text-decoration: none;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--turquoise {
  background: var(--turquoise);
  color: var(--btn-on-turquoise);
}

.btn--turquoise:hover {
  background: var(--turquoise-bright);
  color: var(--btn-on-turquoise);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--turquoise-bright);
  color: var(--turquoise-bright);
  background: rgba(95, 106, 116, 0.1);
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

.btn--lg {
  padding: 1.05rem 1.7rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
}

.btn--block {
  width: 100%;
}

/* Promo bar */
.promo-bar {
  background: var(--turquoise-deep);
  color: var(--promo-fg);
  font-size: 0.88rem;
}

.promo-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
}

.promo-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  text-decoration: none;
  font-weight: 700;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.promo-bar__btn:hover {
  opacity: 0.9;
}

/* Topbar */
.topbar {
  background: var(--brown);
  font-size: 0.82rem;
  color: var(--topbar-fg);
}

.topbar__item--pulse {
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc97;
  box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.55);
  animation: pulseDot 1.8s ease infinite;
}

@keyframes pulseDot {
  70% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); }
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  min-height: 36px;
  padding: 0.4rem 0;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.9;
}

.topbar__social {
  margin-left: auto;
  color: var(--topbar-accent);
  font-weight: 600;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  flex-shrink: 0;
}

.logo__mark {
  color: var(--turquoise);
  display: flex;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}

.logo__tag {
  font-size: 0.72rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
}

.nav a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.85;
}

.nav a:hover {
  color: var(--turquoise-bright);
  opacity: 1;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header__phone {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: var(--hero-gradient);
  z-index: 2;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: var(--hero-pattern);
  z-index: 1;
}

.hero__sofa {
  position: absolute;
  inset: 0;
  background:
    url("../img/works/sofa-turquoise-1.jpg")
    center 40% / cover no-repeat;
  transform: scale(1.05);
  animation: heroDrift 18s var(--ease) infinite alternate;
  z-index: 0;
}

.hero__trust {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  color: var(--on-dark-muted);
  animation: fadeUp 0.8s 0.4s var(--ease) both;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--turquoise-deep);
  margin: 0 0 0.6rem;
}

.hero .eyebrow,
.section__head--light .eyebrow,
.guarantees .eyebrow {
  color: #c5dff0;
}

.guarantee strong {
  color: #c5dff0 !important;
}

@keyframes heroDrift {
  from { transform: scale(1.05) translate(0, 0); }
  to { transform: scale(1.1) translate(-1.5%, -1%); }
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  color: var(--on-dark);
}

.hero__content h1,
.hero__content h2,
.hero__content h3 {
  color: var(--on-dark);
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #c5dff0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  animation: fadeUp 0.8s var(--ease) both;
}

.hero h1 {
  margin-bottom: 0.75rem;
  animation: fadeUp 0.8s 0.1s var(--ease) both;
}

.hero__lead {
  font-size: 1.15rem;
  color: var(--on-dark-muted);
  max-width: 34em;
  animation: fadeUp 0.8s 0.18s var(--ease) both;
}

.hero__bullets {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  margin: 1.5rem 0 2rem;
  animation: fadeUp 0.8s 0.26s var(--ease) both;
}

.hero__bullets li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.95rem;
  color: var(--on-dark);
}

.hero .btn--ghost {
  border-color: rgba(245, 242, 236, 0.45);
  color: var(--on-dark);
}

.hero .btn--ghost:hover {
  border-color: var(--turquoise-bright);
  color: var(--turquoise-bright);
}

.hero__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--turquoise);
  border-radius: 1px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: fadeUp 0.8s 0.34s var(--ease) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section__head {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

.section__head p {
  color: var(--muted);
  margin: 0;
}

.section__head--light h2 {
  color: var(--on-dark);
}

.section__head--light p {
  color: var(--on-dark-muted);
}

.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
}

/* Services */
.services {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  border-top: 1px solid var(--line);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service {
  padding: 1.75rem 1.4rem;
  border-top: 2px solid var(--turquoise);
  background: var(--card-grad);
  border: 1px solid var(--line);
  border-top: 2px solid var(--turquoise);
  transition: transform 0.35s var(--ease), background 0.35s;
}

.service:hover {
  transform: translateY(-4px);
  background: var(--card-grad-hover);
}

.service__icon {
  color: var(--turquoise-bright);
  margin-bottom: 1.1rem;
}

.service p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Gifts */
.gifts {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.gifts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gift {
  padding: 1.75rem 1.4rem;
  border: 1px solid var(--line);
  background: var(--card-grad);
}

.gift__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--turquoise);
  margin-bottom: 0.75rem;
}

.gift p {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.gift--cta {
  background: var(--gift-cta-grad);
  border-color: transparent;
  color: var(--on-dark);
}

.gift--cta h3,
.gift--cta p {
  color: var(--on-dark);
}

.gift--cta p {
  opacity: 0.85;
}

/* Problem */
.problem {
  background: var(--bg);
}

.problem__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.problem__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.9);
}

.problem__list {
  list-style: none;
  margin: 1.25rem 0;
}

.problem__list li {
  padding: 0.55rem 0 0.55rem 1.15rem;
  position: relative;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.problem__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--turquoise);
}

/* Works gallery */
.works {
  background: var(--bg-soft);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery__item {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--brown);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item--wide img {
  aspect-ratio: 16 / 10;
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.gallery__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1rem 0.85rem;
  background: var(--caption-grad);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--on-dark);
}

/* Orsha geo */
.orsha {
  background:
    radial-gradient(ellipse at 0% 50%, rgba(13, 148, 136, 0.12), transparent 50%),
    var(--bg);
  border-top: 1px solid var(--line);
}

.orsha__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.orsha__media {
  position: relative;
  overflow: hidden;
  background: var(--brown);
}

.orsha__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.orsha__pin {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.45rem 0.75rem;
  background: rgba(26, 21, 18, 0.82);
  font-weight: 700;
  font-size: 0.9rem;
  color: #14b8a6;
}

.orsha__places {
  list-style: none;
  margin: 1.25rem 0;
}

.orsha__places li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.orsha__text .orsha__note strong {
  color: var(--turquoise);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.orsha__note {
  color: var(--muted);
}

/* Videos */
.videos {
  background: var(--bg-soft);
}

.videos__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.video-card {
  background: var(--brown);
  overflow: hidden;
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}

.videos__more {
  margin-top: 1.25rem;
}

.videos__more summary {
  cursor: pointer;
  color: var(--turquoise-bright);
  font-weight: 600;
  margin-bottom: 1rem;
}

.videos__more[open] .videos__row {
  margin-top: 0.5rem;
}

/* Reviews carousel */
.reviews {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  border-top: 1px solid var(--line);
}

.reviews__controls {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.reviews__btn {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.reviews__btn:hover {
  background: var(--turquoise);
  border-color: var(--turquoise);
  color: var(--btn-on-turquoise);
}

.reviews__btn:active {
  transform: scale(0.96);
}

.reviews-carousel__viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.reviews-carousel__track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.55s var(--ease);
  will-change: transform;
}

.review-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: stretch;
  min-width: 0;
  opacity: 0.45;
  transition: opacity 0.45s var(--ease);
}

.review-slide.is-active {
  opacity: 1;
}

.review-slide__quote {
  margin: 0;
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  border-top: 2px solid var(--turquoise);
  background: var(--card-grad);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
}

.review-slide__quote p {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.review-slide__quote p::before {
  content: "«";
  color: var(--turquoise);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4em;
  line-height: 0;
  margin-right: 0.15em;
}

.review-slide__quote footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.review-slide__name {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}

.review-slide__meta {
  font-size: 0.88rem;
  color: var(--muted);
}

.review-slide__shot {
  margin: 0;
  background: var(--brown);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 28rem;
}

.review-slide__shot img {
  width: 100%;
  height: 100%;
  max-height: 28rem;
  object-fit: contain;
  object-position: center top;
  background: var(--bg-soft);
}

@media (max-width: 640px) {
  .reviews .section__head--row {
    margin-bottom: 1.75rem;
  }

  .review-slide__quote {
    padding: 1.4rem 1.15rem;
  }

  .review-slide__quote p {
    font-size: 1rem;
  }

  .review-slide__shot,
  .review-slide__shot img {
    max-height: 18rem;
  }
}

.reviews-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.reviews-carousel__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: var(--line-strong);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s var(--ease), width 0.25s var(--ease);
}

.reviews-carousel__dot[aria-selected="true"] {
  background: var(--turquoise);
  width: 1.5rem;
}

.reviews-carousel__dot:hover {
  background: var(--turquoise-bright);
}

@media (prefers-reduced-motion: reduce) {
  .reviews-carousel__track {
    transition: none;
  }
}

/* CTA strip */
.cta-strip {
  padding: 3rem 0;
  background: var(--cta-strip-grad);
  color: var(--on-dark);
}

.cta-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-strip h2 {
  margin-bottom: 0.4rem;
  color: var(--on-dark);
}

.cta-strip p {
  margin: 0;
  color: var(--on-dark-muted);
  max-width: 36rem;
}

/* Mattress */
.mattress {
  background: var(--bg);
  padding: 3.5rem 0;
}

.mattress__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--card-grad);
}

.mattress__inner p:last-of-type {
  color: var(--muted);
  margin: 0;
  max-width: 32rem;
}

/* Lead OS form */
.lead-os {
  background:
    radial-gradient(ellipse at 90% 20%, rgba(13, 148, 136, 0.12), transparent 45%),
    var(--bg-soft);
}

.lead-os__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.lead-os__perks {
  list-style: none;
  margin-top: 1.5rem;
}

.lead-os__perks li {
  padding: 0.5rem 0 0.5rem 1.1rem;
  position: relative;
  color: var(--muted);
}

.lead-os__perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--turquoise-bright);
  font-weight: 700;
}

.os-form {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  background: var(--form-bg);
  box-shadow: var(--shadow);
}

.os-form select {
  font: inherit;
  color: var(--cream);
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
}

.quiz__gifts-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.35);
  font-size: 0.92rem;
}

.quiz__gifts-banner span {
  padding: 0.25rem 0.55rem;
  background: var(--chip-bg);
  font-size: 0.82rem;
}

.prices__badge {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--turquoise);
  color: var(--btn-on-turquoise);
}

/* Sticky CTA */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: var(--sticky-bg);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  gap: 0.55rem;
  align-items: stretch;
}

.sticky-cta__call,
.sticky-cta__quiz {
  flex: 1;
  text-align: center;
}

.sticky-cta__call {
  background: var(--surface);
}

/* Floating phone (desktop / tablet) */
.float-phone {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 95;
  width: 3.4rem;
  height: 3.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--turquoise);
  color: var(--btn-on-turquoise);
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), background 0.25s;
}

.float-phone:hover {
  transform: scale(1.06);
  background: var(--turquoise-bright);
  color: var(--btn-on-turquoise);
}

/* Installment highlight */
.installment {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #2f5670 0%, #3f6f8c 45%, #7a6556 100%);
  color: var(--on-dark);
  text-align: center;
  border-top: 1px solid var(--on-dark-line);
}

.installment__inner {
  max-width: 40rem;
}

.installment__label {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d4dbe0;
}

.installment h2 {
  margin: 0;
  font-size: clamp(2.4rem, 8vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--on-dark);
  line-height: 1;
}

.installment__big {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.4rem);
  font-weight: 800;
  color: #eef2f4;
  line-height: 1.05;
}

.installment__sub {
  margin: 0.5rem 0 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--on-dark-muted);
}

.installment__text {
  margin: 1.25rem auto 0;
  max-width: 28rem;
  color: var(--on-dark-muted);
}

.installment__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.installment .btn--ghost {
  border-color: rgba(245, 242, 236, 0.45);
  color: var(--on-dark);
}

.installment .btn--ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.topbar__phone {
  color: var(--topbar-accent);
  font-weight: 700;
  text-decoration: none;
  opacity: 1;
}

.hero__trust a {
  color: #d4dbe0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Perk / gift modal */
.perk-modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(26rem, calc(100vw - 2rem));
}

.perk-modal::backdrop {
  background: var(--modal-backdrop);
}

.perk-modal__panel {
  background: var(--surface);
  color: var(--ink);
  padding: 1.75rem 1.4rem 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  text-align: center;
}

.perk-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.perk-modal__emoji {
  margin: 0;
  font-size: 1.75rem;
}

.perk-modal h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.6rem;
}

.perk-modal__lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.perk-modal__code-label {
  margin: 1.15rem 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--turquoise-deep);
}

.perk-modal__code {
  margin: 0 auto;
  display: inline-block;
  min-width: 8rem;
  padding: 0.65rem 1.1rem;
  border: 1px dashed var(--line-strong);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--bg-soft);
}

.perk-modal__timer {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.perk-modal__timer strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.perk-modal__perks {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  text-align: left;
  display: grid;
  gap: 0.4rem;
}

.perk-modal__perks li {
  padding: 0.45rem 0.65rem;
  background: var(--chip-bg);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.perk-modal__perks li::before {
  content: "✓ ";
  color: var(--turquoise);
  font-weight: 700;
}

.perk-modal__form {
  margin-top: 1rem;
  text-align: left;
}

.perk-modal__note {
  margin: 0.75rem 0 0;
  color: var(--turquoise-deep);
  font-weight: 600;
}

.perk-modal__call {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--turquoise-deep);
}

/* Quiz */
.quiz-section {
  background: var(--quiz-section-bg);
}

.quiz {
  border: 1px solid var(--line);
  background: var(--form-panel);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow);
}

.quiz__head {
  margin-bottom: 2rem;
}

.quiz__head p {
  color: var(--muted);
}

.quiz__progress {
  height: 4px;
  background: var(--line);
  margin: 1.5rem 0 0.6rem;
  overflow: hidden;
}

.quiz__progress-bar {
  height: 100%;
  width: 20%;
  background: var(--turquoise);
  transition: width 0.4s var(--ease);
}

.quiz__step-label {
  font-size: 0.85rem;
  color: var(--turquoise-bright);
  margin: 0;
}

.quiz__step {
  border: 0;
  padding: 0;
  margin: 0 0 1.5rem;
  min-width: 0;
}

.quiz__step[hidden] {
  display: none !important;
}

.quiz__step legend {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding: 0;
}

.quiz__options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.quiz__option {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0;
  min-height: 3.2rem;
}

/* Невидимый radio на всю карточку — клики всегда попадают в input */
.quiz__option input[type="radio"] {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.quiz__option span {
  position: relative;
  z-index: 1;
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--option-bg);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  user-select: none;
  pointer-events: none;
}

.quiz__option:hover span,
.quiz__option input[type="radio"]:focus-visible + span {
  border-color: var(--turquoise);
}

.quiz__option input[type="radio"]:checked + span,
.quiz__option.is-selected span {
  border-color: var(--turquoise);
  background: rgba(95, 106, 116, 0.16);
  box-shadow: inset 0 0 0 1px var(--turquoise);
  color: var(--ink);
}

.quiz__option input[type="radio"]:focus-visible + span {
  outline: 2px solid var(--turquoise-bright);
  outline-offset: 2px;
}

.quiz__step.is-invalid .quiz__option span {
  border-color: #c45c4a;
}

.quiz-summary {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  background: var(--chip-bg);
  border: 1px solid var(--line);
  text-align: left;
}

.quiz-summary__title {
  margin: 0 0 0.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

.quiz-summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.quiz__hint {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.quiz__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.quiz__step[hidden] {
  display: none !important;
}

#quiz-submit[hidden],
#quiz-prev[hidden],
#quiz-next[hidden] {
  display: none !important;
}

.quiz__fields {
  display: grid;
  gap: 1rem;
  max-width: 420px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.field span {
  color: var(--muted);
}

.field input,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--turquoise);
}

.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.65rem;
}

.field--check input {
  margin-top: 0.25rem;
  accent-color: var(--turquoise);
}

.quiz__success {
  text-align: center;
  padding: 2rem 1rem;
}

.quiz__success h3 {
  color: var(--turquoise-bright);
}

/* Guarantees */
.guarantees {
  background: var(--guarantees-grad);
  padding: 4.5rem 0;
  color: var(--on-dark);
}

.guarantees__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.guarantee {
  padding: 1.5rem 0;
  border-top: 1px solid var(--on-dark-line);
}

.guarantee strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #c5ddc9;
  margin-bottom: 0.4rem;
}

.guarantee span {
  color: var(--on-dark);
  opacity: 0.9;
}

/* Fabrics */
.fabrics__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.fabrics__list li {
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.92rem;
  transition: border-color 0.2s, color 0.2s;
}

.fabrics__list li:hover {
  border-color: var(--turquoise);
  color: var(--turquoise-bright);
}

.fabrics__extras {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.fabrics__extras ul {
  list-style: none;
}

.fabrics__extras li {
  padding: 0.45rem 0 0.45rem 1rem;
  position: relative;
  color: var(--muted);
}

.fabrics__extras li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--turquoise);
}

.fabrics__extras p {
  color: var(--muted);
  margin: 0;
}

/* Prices */
.prices {
  background: var(--black-soft);
}

.prices__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.prices__list {
  list-style: none;
  margin-top: 1.5rem;
}

.prices__list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  padding-left: 1.25rem;
  position: relative;
  color: var(--muted);
}

.prices__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--turquoise);
}

.prices__card {
  background: var(--prices-card-grad);
  padding: 2rem 1.75rem;
  text-align: center;
  color: var(--on-dark);
}

.prices__from {
  margin: 0;
  font-size: 0.9rem;
  color: var(--on-dark);
  opacity: 0.7;
}

.prices__value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  margin: 0.2rem 0 0.4rem;
  color: var(--turquoise-bright);
}

.prices__hint {
  font-size: 0.85rem;
  color: var(--on-dark-muted);
  margin-bottom: 1.5rem;
}

/* Process */
.process__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: none;
}

.process__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--turquoise);
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.process__list p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* News */
.news-preview,
.news-page {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--brown-mid);
  background: var(--news-card-bg);
  transition: transform 0.3s var(--ease), border-color 0.3s;
  color: inherit;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: var(--turquoise);
  color: inherit;
}

.news-card__img {
  aspect-ratio: 16 / 10;
  background: var(--brown) center / cover no-repeat;
}

.news-card__body {
  padding: 1.25rem 1.15rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__date {
  font-size: 0.8rem;
  color: var(--turquoise-bright);
  margin-bottom: 0.5rem;
}

.news-card__body p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
  flex: 1;
}

.news-empty {
  grid-column: 1 / -1;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--ink-soft);
  border: 1px dashed var(--line-strong);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.news-empty__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

.news-empty p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
}

.news-empty .btn {
  margin-top: 0.5rem;
}

.news-card__body h3,
.news-card__body h3 a {
  color: var(--ink);
  text-decoration: none;
}

.news-card__body h3 a:hover {
  color: var(--turquoise-bright);
}

.works__page-label {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.works-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 2rem;
}

.works-pager__pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.works-pager__num {
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.5rem;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.works-pager__num:hover {
  border-color: var(--turquoise);
  color: var(--turquoise-deep);
}

.works-pager__num.is-active,
.works-pager__num[aria-current="page"] {
  background: var(--turquoise);
  border-color: var(--turquoise);
  color: var(--btn-on-turquoise);
}

.gallery__item[hidden] {
  display: none !important;
}

/* Page hero (news) */
.page-hero {
  padding: 3.5rem 0 2rem;
  background:
    linear-gradient(120deg, rgba(61, 92, 71, 0.12), transparent 50%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  color: var(--muted);
  max-width: 36rem;
  margin: 0;
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--turquoise-bright);
}

/* Contacts */
.contacts {
  background: var(--bg-soft);
}

.contacts__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contacts__lead {
  color: var(--muted);
  max-width: 28rem;
}

.contacts__list {
  list-style: none;
  margin-top: 2rem;
}

.contacts__list li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.contacts__list li > span:first-child {
  color: var(--muted);
  font-size: 0.9rem;
}

.contacts__list a {
  color: var(--cream);
  font-weight: 600;
}

.contacts__list a:hover {
  color: var(--turquoise-bright);
}

.contact-form {
  background: var(--form-panel);
  border: 1px solid var(--line);
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.form-note {
  margin: 0;
  color: var(--turquoise-bright);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  background: var(--bg-soft);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer__brand strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.footer__brand p {
  color: var(--muted);
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer__nav a {
  color: var(--cream);
  font-size: 0.9rem;
}

.footer__meta {
  text-align: right;
}

.footer__meta p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Modal */
.modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 420px;
  width: calc(100% - 2rem);
}

.modal::backdrop {
  background: var(--modal-backdrop);
}

.modal__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.75rem;
  position: relative;
  display: grid;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.modal__panel h2 {
  margin-bottom: 0;
}

.modal__panel > p {
  color: var(--muted);
  margin: 0;
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .services__grid,
  .gifts__grid,
  .gallery,
  .videos__row,
  .news-grid,
  .process__list,
  .guarantees__grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .review-slide {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .review-slide__shot {
    max-height: 22rem;
    order: -1;
  }

  .prices__inner,
  .contacts__inner,
  .fabrics__extras,
  .footer__inner,
  .problem__inner,
  .lead-os__inner,
  .orsha__inner {
    grid-template-columns: 1fr;
  }

  .footer__meta {
    text-align: left;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 120;
    background: var(--nav-bg);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem 1.75rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
    margin: 0;
  }

  .nav a {
    display: block;
    padding: 0.7rem 0.25rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .burger {
    display: flex;
    z-index: 121;
  }

  body.nav-open {
    overflow: hidden;
  }

  .header__phone {
    display: none;
  }

  .section__head--row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .services__grid,
  .gifts__grid,
  .gallery,
  .videos__row,
  .news-grid,
  .process__list,
  .guarantees__grid,
  .quiz__options {
    grid-template-columns: 1fr;
  }

  .gallery__item--wide {
    grid-column: span 1;
  }

  .topbar__social {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
    padding: 3rem 0 3.5rem;
    align-items: center;
  }

  .header__actions .btn--sm {
    display: none;
  }

  .contacts__list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .sticky-cta {
    display: flex;
  }

  .float-phone {
    bottom: calc(4.6rem + env(safe-area-inset-bottom));
  }

  body {
    padding-bottom: 5rem;
  }

  .installment__actions {
    flex-direction: column;
  }

  .installment__actions .btn {
    width: 100%;
  }

  .promo-bar__inner {
    font-size: 0.8rem;
  }

  .video-card video {
    aspect-ratio: 16 / 10;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__sofa { animation: none; }
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover { transform: none; }
}
