/* ============================================================
   Мастер-НК Двери — main stylesheet
   Mobile-first, no frameworks
   ============================================================ */

:root {
  --bg: #fbf8f3;
  --bg-2: #f4ede2;
  --bg-3: #efe5d6;
  --surface: #ffffff;
  --ink: #1b1d21;
  --ink-2: #505258;
  --muted: #6d675f;
  --line: #e7ded1;
  --line-2: #d8cbbb;
  --accent: #a84a24;
  --accent-dark: #8f3f1f;
  --accent-soft: #f3e2d8;
  --gold: #c99a5b;
  --gold-ink: #8a5a2b;
  --dark: #1b1d21;
  --dark-2: #24272c;
  --green: #2f6b4f;
  --red: #a52d25;
  --serif: "Prata", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow: 0 24px 60px -36px rgba(27, 29, 33, 0.45);
  --shadow-sm: 0 10px 30px -20px rgba(27, 29, 33, 0.35);
  --container: 1240px;
  --header-h: 74px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

svg {
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.15rem, 6.2vw, 4.15rem);
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 3rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

::selection {
  background: var(--accent);
  color: #fff;
}

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

.btn:focus-visible,
.chip:focus-visible {
  outline-color: var(--ink);
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 48px);
  margin-inline: auto;
  padding-inline: 20px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px -18px rgba(180, 85, 45, 0.95);
}

.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn--outline {
  border-color: var(--line-2);
  color: var(--ink);
  background: transparent;
}

.btn--outline:hover {
  background: #fff;
  border-color: var(--ink);
}

.btn--ghost {
  color: var(--ink-2);
  background: transparent;
  padding-inline: 14px;
}

.btn--ghost:hover {
  background: var(--bg-2);
  color: var(--ink);
}

.btn--light {
  background: #fff;
  color: var(--ink);
}

.btn--light:hover {
  background: var(--accent-soft);
}

.btn--sm {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 13px;
}

.btn--lg {
  min-height: 56px;
  padding: 16px 28px;
  font-size: 15px;
}

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

/* ============ Top bar ============ */

.topbar {
  background: var(--dark);
  color: #d5cdc1;
  font-size: 12px;
  line-height: 1.35;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding-block: 7px;
}

.topbar__promo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #f0e8dc;
  font-weight: 600;
}

.topbar__dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 154, 91, 0.16);
}

.topbar__promo-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar__meta {
  display: none;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
}

/* ============ Header ============ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.98);
  border-bottom: 1px solid var(--line);
}

.header.is-scrolled {
  box-shadow: 0 14px 34px -30px rgba(27, 29, 33, 0.7);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
}

.logo {
  position: relative;
  z-index: 130;
  display: inline-flex;
  flex: none;
  align-items: center;
}

.logo img {
  width: 168px;
  height: auto;
}

.nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: 96px 24px 40px;
  background: var(--bg);
  transform: translateX(101%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.nav.is-open {
  transform: translateX(0);
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav__link {
  display: block;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.2;
}

.nav__link:hover {
  color: var(--accent);
}

.nav__mobile-actions {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.nav__mobile-phone {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}

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

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding-block: 4px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.header__phone .icon {
  width: 19px;
  height: 19px;
  color: var(--accent);
}

.header__phone span {
  display: none;
}

.header__phone small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.header__cta {
  display: none;
}

.burger {
  position: relative;
  z-index: 130;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.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;
  padding-top: 34px;
  background:
    radial-gradient(circle at 88% 18%, rgba(201, 154, 91, 0.2), transparent 38%),
    radial-gradient(circle at 4% 70%, rgba(180, 85, 45, 0.08), transparent 32%),
    linear-gradient(145deg, #fbf8f3 0%, #f7f0e6 52%, #f2e7d9 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(27, 29, 33, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 60%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 34px;
}

.hero__content {
  max-width: 660px;
}

.eyebrow,
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  flex: none;
  background: currentColor;
}

.hero__title {
  margin: 16px 0 18px;
  max-width: 760px;
}

.hero__lead {
  max-width: 570px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero__actions .btn {
  flex: 1 1 210px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 20px;
}

.hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
}

.hero__points .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.hero__note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.hero__visual {
  position: relative;
  min-height: 430px;
  padding-top: 8px;
}

.hero-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 430px;
  padding: 10px 8px 0;
}

.hero-stage__glow {
  position: absolute;
  top: 5%;
  left: 50%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 154, 91, 0.42), transparent 68%);
  transform: translateX(-50%);
  filter: blur(16px);
}

.hero-stage__arch {
  position: absolute;
  inset: 0 7% 34px;
  border: 1px solid rgba(180, 85, 45, 0.32);
  border-radius: 240px 240px 16px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.04));
}

.hero-door {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 12px 12px 0;
  border: 1px solid rgba(216, 203, 187, 0.9);
  border-radius: 120px 120px 14px 14px;
  background: #fff;
  box-shadow: 0 28px 44px -30px rgba(27, 29, 33, 0.5);
}

.hero-door img {
  width: 100%;
  height: auto;
  border-radius: 108px 108px 6px 6px;
  object-fit: contain;
}

.hero-door figcaption {
  padding: 9px 2px 11px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
}

.hero-door--main {
  width: 46%;
  max-width: 238px;
}

.hero-door--second {
  width: 43%;
  max-width: 222px;
  margin-left: -14px;
  transform: translateY(26px);
}

.hero-float {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.hero-float__num {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
}

.hero-float__label {
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
}

.hero-float--1 {
  top: 6%;
  right: 0;
}

.hero-float--2 {
  bottom: 8%;
  left: 0;
  font-size: 11px;
  line-height: 1.4;
}

.hero-float--2 .icon {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.hero-float--2 strong {
  font-size: 12px;
}

/* ============ Trust bar ============ */

.trustbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.trustbar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 17px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trustbar__item:nth-child(2n) {
  border-right: 0;
}

.trustbar__item:nth-child(n + 3) {
  border-bottom: 0;
}

.trustbar__num {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1;
  white-space: nowrap;
}

.trustbar__label {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.35;
}

/* ============ Sections ============ */

.section {
  padding: 66px 0;
}

.section--sand {
  background: var(--bg-2);
}

.section--dark {
  background: var(--dark);
  color: #f3ece1;
}

.section--lead {
  background:
    radial-gradient(circle at 90% 10%, rgba(201, 154, 91, 0.25), transparent 35%),
    linear-gradient(135deg, #f4e4d9 0%, #fbf7f0 100%);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.section-head--center {
  text-align: center;
}

.section-head--center .kicker {
  justify-content: center;
}

.section-title {
  margin-top: 8px;
}

.section-lead {
  max-width: 530px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}

.section--dark .section-lead,
.section--dark .kicker--light + .section-title + p {
  color: #b9b1a5;
}

.kicker--light {
  color: var(--gold);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
}

.section-link .icon {
  width: 17px;
  height: 17px;
}

/* ============ Categories ============ */

.cats {
  display: grid;
  gap: 16px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.cat-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 230px;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 100%, rgba(201, 154, 91, 0.16), transparent 60%),
    #f7f2e9;
}

.cat-card__media img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.cat-card:hover .cat-card__media img {
  transform: scale(1.025);
}

.cat-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.cat-card__price {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cat-card__title {
  margin: 6px 0 8px;
  font-size: 21px;
}

.cat-card__title a:hover {
  color: var(--accent);
}

.cat-card__text {
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.6;
}

.cat-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 800;
}

.cat-card__link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.cat-card__link:hover .icon {
  transform: translateX(3px);
}

.mini-cats {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.mini-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.mini-cat:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.mini-cat > .icon {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--accent);
}

.mini-cat span {
  min-width: 0;
}

.mini-cat strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
}

.mini-cat small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

/* ============ Product cards ============ */

.products,
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(222px, 1fr));
  gap: 14px;
}

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 14px;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background:
    radial-gradient(circle at 50% 100%, rgba(201, 154, 91, 0.14), transparent 58%),
    #f8f4ec;
  overflow: hidden;
}

.product-card__media img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.025);
}

.product-card__badge {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px;
}

.product-card__factory {
  margin-bottom: 4px;
  color: var(--gold-ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card__finish {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card__title {
  margin-top: 4px;
  font-size: 18px;
}

.product-card__title a:hover {
  color: var(--accent);
}

.product-card__title button {
  padding: 0;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  background: none;
  cursor: pointer;
}

.product-card__title button:hover {
  color: var(--accent);
}

.price {
  margin-top: 8px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 13px;
}

.product-card__actions .btn {
  flex: 1 1 auto;
}

.catalog-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

/* ============ Features ============ */

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

.feature {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.feature__icon .icon {
  width: 23px;
  height: 23px;
}

.feature__title {
  margin-bottom: 6px;
  font-size: 18px;
}

.feature__text {
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.65;
}

/* ============ Objections ============ */

.objections {
  display: grid;
  gap: 30px;
}

.objections__intro .section-title {
  margin: 8px 0 14px;
}

.objections__intro > p {
  max-width: 440px;
  color: #b9b1a5;
  font-size: 14px;
  line-height: 1.7;
}

.objections__intro .btn {
  margin-top: 22px;
}

.objections__list {
  display: grid;
  gap: 0;
}

.objection {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.objection__q {
  color: #f3ece1;
  font-size: 16px;
}

.objection__a {
  margin-top: 6px;
  color: #b9b1a5;
  font-size: 13.5px;
  line-height: 1.65;
}

/* ============ Steps ============ */

.steps {
  display: grid;
  gap: 22px;
  counter-reset: steps;
}

.step {
  position: relative;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}

.step__num {
  display: block;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.step__title {
  margin: 10px 0 6px;
  font-size: 18px;
}

.step__text {
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.65;
}

.steps__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 26px;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.6;
}

.steps__note .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--accent);
}

/* ============ Clients ============ */

.clients {
  display: grid;
  gap: 10px;
}

.client-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.client-card__mark {
  color: var(--gold-ink);
  font-family: var(--serif);
  font-size: 15px;
}

.client-card h3 {
  margin: 8px 0 4px;
  font-size: 16px;
  line-height: 1.35;
}

.client-card p {
  color: var(--muted);
  font-size: 11.5px;
}

.trust-extra {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.letter-card {
  display: grid;
  gap: 10px;
  align-content: start;
}

.letter-card img {
  width: 100%;
  height: 280px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  object-fit: contain;
}

.letter-card figcaption {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.brands__title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brands__list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.brands__list li {
  padding: 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
}

.brands__note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

/* ============ Reviews ============ */

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

.review {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.review__quote {
  width: 28px;
  height: 28px;
  color: var(--gold);
  fill: currentColor;
  stroke: none;
}

.review__text {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}

.review__author {
  margin-top: auto;
  padding-top: 16px;
}

.review__author strong {
  display: block;
  font-size: 13px;
}

.review__author span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
}

.reviews__link {
  margin-top: 22px;
  text-align: center;
}

.reviews__link a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
}

.reviews__link .icon {
  width: 16px;
  height: 16px;
}

.reviews__note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11.5px;
  text-align: center;
}

/* ============ Guarantee ============ */

.guarantee {
  display: grid;
  gap: 20px;
}

.guarantee__num {
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(5.2rem, 18vw, 9.5rem);
  line-height: 0.82;
  letter-spacing: -0.04em;
}

.guarantee__content .section-title {
  margin: 8px 0 14px;
}

.guarantee__content > p {
  max-width: 620px;
  color: #b9b1a5;
  font-size: 14px;
  line-height: 1.7;
}

.guarantee__list {
  display: grid;
  gap: 8px;
  margin: 20px 0 24px;
}

.guarantee__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.guarantee__list .icon {
  width: 17px;
  height: 17px;
  color: var(--gold);
}

/* ============ FAQ ============ */

.faq {
  max-width: 840px;
  margin-inline: auto;
  border-top: 1px solid var(--line-2);
}

.faq__item {
  border-bottom: 1px solid var(--line-2);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__icon {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}

.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__a {
  padding: 0 42px 20px 0;
}

.faq__a p {
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.7;
}

/* ============ Lead form ============ */

.lead {
  display: grid;
  gap: 26px;
  align-items: center;
}

.lead__content .section-title {
  margin: 8px 0 13px;
}

.lead__text {
  max-width: 480px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}

.lead__list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.lead__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.lead__list .icon {
  width: 17px;
  height: 17px;
  color: var(--accent);
}

.lead__phone {
  margin-top: 20px;
  color: var(--muted);
  font-size: 12.5px;
}

.lead__phone a {
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.lead__form-wrap {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.lead__aside {
  display: grid;
  gap: 10px;
}

.lead__aside .form__note {
  margin-top: 2px;
}

.lead-form {
  display: grid;
  gap: 0;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 700;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder {
  color: #a9a29a;
}

.field input:hover {
  border-color: #bfae9b;
}

.field input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(180, 85, 45, 0.12);
}

.field input[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(165, 45, 37, 0.08);
}

.field__error {
  display: block;
  margin-top: 5px;
  color: var(--red);
  font-size: 11.5px;
  line-height: 1.4;
}

.field__error:empty {
  display: none;
}

.form__note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
  text-align: center;
}

.form__note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__success {
  padding: 18px;
  border: 1px solid #cfe6d4;
  border-radius: 14px;
  background: #f1f8f3;
  text-align: center;
}

.form__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}

.form__success-icon .icon {
  width: 22px;
  height: 22px;
}

.form__success strong {
  display: block;
  font-size: 16px;
}

.form__success p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.55;
}

.form__error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fbeeec;
  color: var(--red);
  font-size: 12px;
  line-height: 1.5;
}

.lead-form.is-sent .field,
.lead-form.is-sent > .btn,
.lead-form.is-sent .form__note,
.lead-form.is-sent .hp {
  display: none;
}

/* ============ Contacts ============ */

.contacts {
  display: grid;
  gap: 24px;
}

.contact-list {
  display: grid;
  align-content: start;
  gap: 2px;
}

.contact-list__item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  flex: none;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
}

.contact-list__icon .icon {
  width: 20px;
  height: 20px;
}

.contact-list__item div > span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list__item strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.5;
}

.contact-list__item strong a {
  display: inline-block;
  padding-block: 4px;
  line-height: 1.2;
}

.contact-list__item strong a:hover {
  color: var(--accent);
}

.contacts__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.contacts__actions .btn {
  flex: 1 1 190px;
}

.map {
  min-width: 0;
}

.map iframe {
  display: block;
  width: 100%;
  height: 350px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-3);
}

.map__note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.map__note a {
  text-decoration: underline;
}

/* ============ Footer ============ */

.footer {
  padding: 48px 0 26px;
  background: var(--dark);
  color: #cfc7bb;
}

.footer__grid {
  display: grid;
  gap: 28px;
}

.footer__logo {
  display: inline-block;
  padding: 7px 9px;
  border-radius: 8px;
  background: #fff;
}

.footer__logo img {
  width: 180px;
  height: auto;
}

.footer__brand p {
  margin-top: 14px;
  max-width: 330px;
  font-size: 12.5px;
  line-height: 1.7;
}

.footer__phones {
  display: grid;
  gap: 4px;
  margin-top: 16px;
}

.footer__phones a {
  display: inline-block;
  padding-block: 3px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.footer__phones a:hover {
  color: var(--gold);
}

.footer__social {
  margin-top: 14px;
}

.footer__wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.footer__wa:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
}

.footer__wa .icon {
  width: 16px;
  height: 16px;
}

.footer__title {
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.footer__links {
  display: grid;
  gap: 2px;
}

.footer__links a {
  font-size: 12.5px;
  line-height: 1.8;
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__links--contacts li {
  font-size: 12.5px;
  line-height: 1.8;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 10.5px;
  line-height: 1.6;
}

.footer__bottom a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__disclaimer {
  margin-top: 10px;
  color: #8e887e;
  font-size: 10px;
  line-height: 1.6;
}

/* ============ Mobile CTA ============ */

.mobile-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  display: none;
  gap: 6px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.mobile-cta__item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 5px 4px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.mobile-cta__item .icon {
  width: 20px;
  height: 20px;
}

.mobile-cta__item--primary {
  background: var(--accent);
  color: #fff;
}

body {
  padding-bottom: 0;
}

/* ============ Page hero / breadcrumbs ============ */

.page-hero {
  padding: 28px 0 34px;
  background:
    radial-gradient(circle at 88% 0%, rgba(201, 154, 91, 0.18), transparent 40%),
    linear-gradient(150deg, #fbf8f3, #f4ece0);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs span[aria-current] {
  color: var(--ink-2);
}

.breadcrumbs__sep {
  color: var(--line-2);
}

.page-hero__content {
  max-width: 760px;
  margin-top: 18px;
}

.page-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(1.95rem, 5vw, 3.5rem);
}

.page-hero__lead {
  max-width: 620px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}

.page-hero__meta li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-hero__meta .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

/* ============ Catalog ============ */

.catalog-toolbar {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chip span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.chip:hover {
  border-color: var(--accent);
}

.chip.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.chip.is-active span {
  color: #fff;
}

.catalog-tools {
  display: grid;
  gap: 8px;
}

.catalog-search {
  position: relative;
}

.catalog-search .icon {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.catalog-search input,
.catalog-sort select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
}

.catalog-search input {
  padding: 10px 14px 10px 39px;
}

.catalog-search input:focus,
.catalog-sort select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(180, 85, 45, 0.1);
}

.catalog-sort select {
  padding: 10px 34px 10px 14px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.catalog-count {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11.5px;
}

.catalog-section {
  padding-top: 24px;
}

.catalog-group {
  scroll-margin-top: 90px;
}

.catalog-group + .catalog-group {
  margin-top: 42px;
}

.catalog-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  margin-bottom: 14px;
}

.catalog-group__head h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.catalog-group__head p {
  color: var(--muted);
  font-size: 11.5px;
}

.empty-state {
  padding: 40px 20px;
  border: 1px dashed var(--line-2);
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.empty-state h2 {
  font-size: 22px;
}

.empty-state p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 13px;
}

.empty-state .btn {
  margin-top: 16px;
}

.catalog-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 38px;
  padding: 24px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 10%, rgba(201, 154, 91, 0.25), transparent 40%),
    var(--dark);
  color: #f3ece1;
}

.catalog-cta h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.catalog-cta p {
  max-width: 560px;
  margin-top: 6px;
  color: #b9b1a5;
  font-size: 13px;
  line-height: 1.6;
}

.catalog-cta .btn {
  align-self: flex-start;
}

/* ============ Product page ============ */

.product {
  padding: 28px 0 64px;
}

.product__grid {
  display: grid;
  gap: 26px;
}

.product__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 100%, rgba(201, 154, 91, 0.16), transparent 55%),
    #fff;
}

.product__media img {
  width: auto;
  max-width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.product__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product__info {
  min-width: 0;
}

.product__finish {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product__factory {
  margin-bottom: 10px;
  color: var(--gold-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product__info h1 {
  margin: 6px 0 10px;
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
}

.product__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  color: var(--accent);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.1;
}

.product__price small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.product__short {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}

.product__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.product__features li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
}

.product__features .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.product__actions .btn {
  flex: 1 1 190px;
}

.product__note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.specs {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.specs__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.specs__row dt {
  color: var(--muted);
  font-size: 12px;
}

.specs__row dd {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  text-align: right;
}

.product__desc {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.product__desc h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.product__desc p {
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.75;
}

.product__desc p + p {
  margin-top: 12px;
}

.product__desc ul {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.product__desc li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.6;
}

.product__desc li .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--accent);
}

.related {
  margin-top: 44px;
}

.related__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.related__head h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.related__head a {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.ph {
  color: #8a5a3b;
  border-bottom: 1px dashed currentColor;
}

/* ============ Delivery page ============ */

.info-grid {
  display: grid;
  gap: 12px;
}

.info-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 13px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
}

.info-card__icon .icon {
  width: 22px;
  height: 22px;
}

.info-card h2,
.info-card h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.info-card p {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.65;
}

.info-card p + p {
  margin-top: 8px;
}

.price-table {
  border-top: 1px solid var(--line-2);
}

.price-table__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
}

.price-table__row dt {
  font-size: 13px;
  font-weight: 700;
}

.price-table__row dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 12.5px;
  text-align: right;
}

.delivery-steps {
  display: grid;
  gap: 16px;
  counter-reset: dsteps;
}

.delivery-step {
  position: relative;
  padding: 18px 18px 18px 58px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.delivery-step::before {
  counter-increment: dsteps;
  content: counter(dsteps, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 20px;
}

.delivery-step h3 {
  font-size: 17px;
}

.delivery-step p {
  margin-top: 5px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.6;
}

.delivery-note {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: #fff;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.6;
}

.delivery-note .icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--accent);
}

/* ============ Contacts page ============ */

.contact-page {
  display: grid;
  gap: 24px;
}

.contact-cards {
  display: grid;
  gap: 10px;
}

.contact-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.contact-card__icon .icon {
  width: 21px;
  height: 21px;
}

.contact-card h2 {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card p,
.contact-card address {
  margin-top: 5px;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.55;
}

.contact-card a {
  display: inline-block;
  padding-block: 4px;
  line-height: 1.2;
}

.contact-card a:hover {
  color: var(--accent);
}

.contact-page .map iframe {
  height: 460px;
}

/* ============ Prose / legal ============ */

.prose {
  max-width: 820px;
  padding: 34px 0 70px;
}

.prose h2 {
  margin: 28px 0 10px;
  font-size: 23px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.75;
}

.prose p + p {
  margin-top: 10px;
}

.prose ul,
.prose ol {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  padding-left: 20px;
  list-style: disc;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose__note {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.6;
}

/* ============ 404 ============ */

.error-page {
  padding: 70px 0 90px;
  text-align: center;
}

.error-page__code {
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(5rem, 24vw, 12rem);
  line-height: 0.85;
}

.error-page h1 {
  margin: 10px 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.error-page p {
  max-width: 480px;
  margin-inline: auto;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 24px;
}

.error-links {
  display: grid;
  gap: 10px;
}

.error-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.error-link:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}

.error-link__title {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.3;
}

.error-link__text {
  color: var(--muted);
  font-size: 12.5px;
}

/* ============ Modal ============ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 14px;
}

.modal[hidden] {
  display: none;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 26, 0.62);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  max-width: 860px;
  max-height: 92vh;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.6);
  overflow: auto;
  animation: modal-in 0.22s ease both;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
}

.modal__close:hover {
  background: var(--bg-2);
}

.modal__close .icon {
  width: 19px;
  height: 19px;
}

.qv {
  display: grid;
}

.qv__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 100%, rgba(201, 154, 91, 0.16), transparent 58%),
    #f8f4ec;
}

.qv__media img {
  width: auto;
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
}

.qv__body {
  padding: 24px 20px;
}

.qv__cat {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.qv__factory {
  margin-top: 4px;
  color: var(--gold-ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qv__title {
  margin: 5px 0 8px;
  font-size: 27px;
}

.qv__price {
  color: var(--accent);
  font-size: 21px;
  font-weight: 800;
}

.qv__desc {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.65;
}

.qv__specs {
  display: grid;
  gap: 4px;
  margin: 16px 0 18px;
}

.qv__specs li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
}

.qv__specs li strong {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}

.qv__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qv__actions .btn {
  flex: 1 1 170px;
}

/* ============ Reveal animations ============ */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ============ Breakpoints ============ */

@media (min-width: 560px) {
  .container {
    padding-inline: 24px;
  }

  .hero__visual {
    min-height: 520px;
  }

  .hero-stage {
    min-height: 520px;
  }

  .hero-door--main {
    width: 47%;
    max-width: 270px;
  }

  .hero-door--second {
    width: 44%;
    max-width: 250px;
  }

  .hero-float--1 {
    right: 4%;
  }

  .hero-float--2 {
    left: 4%;
  }

  .trustbar {
    grid-template-columns: repeat(4, 1fr);
  }

  .trustbar__item {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .trustbar__item:last-child {
    border-right: 0;
  }

  .trustbar__item:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .mini-cats {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .footer__brand {
    grid-column: 1 / -1;
  }

  .catalog-tools {
    grid-template-columns: 1fr 190px;
  }

  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }

  .error-links {
    grid-template-columns: 1fr 1fr;
  }

  .modal__dialog {
    max-width: 860px;
  }

  .qv {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .qv__body {
    padding: 30px 28px;
  }

  .qv__media {
    min-height: 100%;
    padding: 24px;
  }
}

@media (min-width: 768px) {
  :root {
    --header-h: 78px;
  }

  .container {
    padding-inline: 32px;
  }

  .topbar__meta {
    display: flex;
  }

  .header__inner {
    min-height: 78px;
  }

  .logo img {
    width: 196px;
  }

  .header__phone span {
    display: block;
  }

  .hero {
    padding-top: 46px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__points {
    gap: 10px 24px;
  }

  .hero__points li {
    font-size: 13.5px;
  }

  .section {
    padding: 82px 0;
  }

  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
  }

  .section-head--center {
    display: block;
    text-align: center;
  }

  .section-lead {
    font-size: 14.5px;
    text-align: right;
  }

  .section-head--center .section-lead {
    text-align: center;
  }

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

  .cat-card:last-child {
    grid-column: 1 / -1;
  }

  .cat-card:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cat-card:last-child .cat-card__media {
    height: 100%;
    min-height: 260px;
  }

  .cat-card:last-child .cat-card__body {
    justify-content: center;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

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

  .lead__form-wrap {
    padding: 28px;
  }

  .map iframe {
    height: 400px;
  }

  .footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
  }

  .catalog-tools {
    display: flex;
    align-items: center;
  }

  .catalog-search input {
    width: 220px;
  }

  .catalog-sort select {
    width: 190px;
  }

  .catalog-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 28px 30px;
  }

  .catalog-cta .btn {
    flex: none;
  }

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

  .delivery-steps {
    grid-template-columns: 1fr 1fr;
  }

  .trust-extra {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }

  .letter-card img {
    height: 260px;
  }
}

@media (min-width: 900px) {
  .cats {
    grid-template-columns: repeat(3, 1fr);
  }

  .cat-card:last-child {
    display: flex;
    grid-column: auto;
  }

  .cat-card:last-child .cat-card__media {
    height: 230px;
    min-height: 0;
  }

  .cat-card:last-child .cat-card__body {
    justify-content: flex-start;
  }

  .features {
    grid-template-columns: repeat(3, 1fr);
  }

  .objections {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
  }

  .objections__list {
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
  }

  .objection:nth-child(-n + 2) {
    border-top: 0;
    padding-top: 0;
  }

  .clients {
    grid-template-columns: repeat(4, 1fr);
  }

  .reviews {
    grid-template-columns: repeat(3, 1fr);
  }

  .reviews .review:last-child {
    grid-column: auto;
  }

  .error-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .guarantee {
    grid-template-columns: 230px 1fr;
    align-items: center;
    gap: 40px;
  }

  .lead {
    grid-template-columns: 1fr 430px;
    gap: 48px;
  }

  .contacts {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: start;
  }

  .map iframe {
    height: 440px;
  }

  .product__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }

  .product__media {
    position: sticky;
    top: 100px;
    min-height: 520px;
  }

  .contact-page {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 34px;
    align-items: start;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-page .map iframe {
    height: 540px;
  }
}

@media (min-width: 1100px) {
  .nav {
    position: static;
    display: block;
    padding: 0;
    background: none;
    transform: none;
    overflow: visible;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .nav__link {
    padding: 6px 0;
    border-bottom: 0;
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.3;
  }

  .nav__link[aria-current="page"],
  .nav__link:hover {
    color: var(--accent);
  }

  .nav__mobile-actions {
    display: none;
  }

  .header__cta {
    display: inline-flex;
  }

  .burger {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1.03fr 0.97fr;
    align-items: center;
    gap: 30px;
  }

  .hero__content {
    padding-bottom: 34px;
  }

  .hero__actions .btn {
    flex: 0 0 auto;
  }

  .hero__visual {
    min-height: 590px;
  }

  .hero-stage {
    min-height: 590px;
  }

  .hero-door--main {
    width: 48%;
    max-width: 290px;
  }

  .hero-door--second {
    width: 45%;
    max-width: 266px;
  }

  .hero-float--1 {
    top: 8%;
    right: 0;
  }

  .hero-float--2 {
    bottom: 9%;
    left: 0;
  }

  .trustbar {
    margin-top: 40px;
  }

  .trustbar__item {
    padding: 19px 24px;
  }

  .trustbar__num {
    font-size: 28px;
  }

  .trustbar__label {
    font-size: 11px;
  }

  .mini-cats {
    grid-template-columns: repeat(4, 1fr);
  }

  .products {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .catalog-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }

  .related .products {
    grid-template-columns: repeat(3, 1fr);
  }

  .info-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1.5fr 0.8fr 0.9fr 1fr;
    gap: 36px;
  }
}

@media (min-width: 1280px) {
  .container {
    padding-inline: 40px;
  }

  .section {
    padding: 94px 0;
  }

  .hero__grid {
    gap: 40px;
  }

  .hero__title {
    max-width: 660px;
  }

  .catalog-grid {
    gap: 18px;
  }

  .cat-card__media {
    height: 250px;
  }
}

@media (max-width: 1099px) {
  .header__cta {
    display: none;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 72px;
  }

  .mobile-cta {
    display: flex;
  }
}

@media (max-width: 559px) {
  .topbar__meta {
    display: none;
  }

  .topbar__promo {
    font-size: 10.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo img {
    width: 150px;
  }

  .header__phone .icon {
    width: 21px;
    height: 21px;
  }

  .header__phone {
    font-size: 0;
    gap: 0;
  }

  .hero__actions .btn {
    flex-basis: 100%;
  }

  .hero-float--1 {
    top: 3%;
    right: -2px;
    padding: 9px 11px;
  }

  .hero-float--2 {
    bottom: 2%;
    left: -2px;
    padding: 9px 11px;
  }

  .hero-float__num {
    font-size: 21px;
  }

  .hero-float--2 .icon {
    width: 21px;
    height: 21px;
  }

  .hero-float--2 strong {
    font-size: 11px;
  }

  .hero-door {
    padding: 9px 9px 0;
  }

  .product-card__actions .btn {
    flex-basis: 100%;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .contacts__actions .btn {
    flex-basis: 100%;
  }

  .modal {
    padding: 0;
    align-items: end;
  }

  .modal__dialog {
    max-height: 94vh;
    border-radius: 20px 20px 0 0;
  }

  .qv__media {
    min-height: 240px;
  }

  .qv__media img {
    max-height: 280px;
  }

  .qv__body {
    padding: 22px 18px calc(24px + env(safe-area-inset-bottom));
  }

  .product__media {
    min-height: 300px;
    padding: 16px;
  }
}

@media (max-width: 379px) {
  .container {
    padding-inline: 14px;
  }

  .hero-door--main {
    width: 49%;
  }

  .hero-door--second {
    width: 46%;
    margin-left: -18px;
  }

  .trustbar__item {
    padding: 14px 10px;
  }

  .trustbar__num {
    font-size: 20px;
  }

  .trustbar__label {
    font-size: 9.5px;
  }

  .hero-float--1 {
    display: none;
  }
}

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

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

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

@media print {
  .header,
  .topbar,
  .mobile-cta,
  .modal,
  .lead__form-wrap,
  .footer {
    display: none !important;
  }

  body {
    background: #fff;
    padding-bottom: 0;
  }
}
