/* ==========================================================================
   ЛесСтройМаркет — основной файл стилей
   Палитра: лесной зелёный, бумага, тёплое дерево.
   ========================================================================== */

:root {
  --forest: #18362a;
  --forest-deep: #0f271d;
  --forest-2: #234b39;
  --paper: #f7f2e7;
  --paper-2: #efe7d8;
  --paper-3: #e7dcc8;
  --cream: #f3eee3;
  --sand: #ddcfb6;
  --accent: #d96736;
  --accent-deep: #b84f25;
  --accent-soft: #f1c9b4;
  --amber: #c98a4b;
  --amber-soft: #e4bc8c;
  --ink: #17211b;
  --muted: #687267;
  --line: rgba(23, 54, 42, 0.15);
  --line-soft: rgba(23, 54, 42, 0.09);
  --line-light: rgba(243, 238, 227, 0.18);
  --sans: "Segoe UI", Tahoma, Arial, sans-serif;
  --serif: "Segoe UI", Tahoma, Arial, sans-serif;
  --display: "Segoe UI", Tahoma, Arial, sans-serif;
  --mono: "Consolas", "Courier New", monospace;
  --max: 1440px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 450;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

h1,
h2,
h3,
h4,
p,
figure,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

em {
  font-family: inherit;
  font-style: normal;
  font-weight: 300;
  color: inherit;
}

.hero h1 em,
.promo-hero h1 em,
.section--promos h2 em,
.promo-list-head h2 em,
.cta-band h2 em,
.promo-cta h2 em {
  color: var(--accent);
}

::selection {
  background: var(--amber);
  color: var(--forest-deep);
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

section[id],
article[id],
main[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--forest);
  color: var(--cream);
  padding: 12px 18px;
  font-size: 13px;
}

.skip-link:focus {
  top: 16px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Типографика
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.17em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.eyebrow--light {
  color: rgba(243, 238, 227, 0.66);
}

.micro {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(38px, 4.1vw, 64px);
}

h2 {
  font-size: clamp(29px, 3.1vw, 47px);
}

h3 {
  font-family: var(--sans);
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.lead {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Кнопки и ссылки
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}

.btn--primary:hover {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
}

.btn--outline {
  border-color: var(--line);
  color: var(--forest);
}

.btn--outline:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}

.btn--light {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--forest);
}

.btn--light:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--forest-deep);
}

.btn--cream {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--forest);
}

.btn--cream:hover {
  background: var(--amber-soft);
  border-color: var(--amber-soft);
}

.btn--ghost-light {
  border-color: rgba(243, 238, 227, 0.35);
  color: var(--cream);
}

.btn--ghost-light:hover {
  background: var(--cream);
  color: var(--forest);
  border-color: var(--cream);
}

.btn--text {
  height: auto;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--forest);
  justify-content: flex-start;
}

.btn--text:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn--sm {
  height: 44px;
  padding: 0 18px;
  font-size: 9px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  color: var(--forest);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s;
}

.link-arrow .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

.link-button {
  display: inline;
  padding: 0;
  border-bottom: 1px solid var(--line);
  color: var(--forest);
  font-weight: 600;
}

.link-button:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.round-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--forest);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.round-btn:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}

.round-btn .icon {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   Логотип
   -------------------------------------------------------------------------- */

.logo-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  color: var(--forest);
  --logo-bg: var(--paper);
}

.logo-mark--light {
  color: var(--cream);
  --logo-bg: var(--forest);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.brand__text strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.brand__text span {
  color: var(--amber);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.46em;
}

.brand--light .brand__text strong {
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   Верхняя строка и шапка
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--forest-deep);
  color: rgba(243, 238, 227, 0.72);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 36px;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s;
}

.topbar__item:hover {
  color: var(--cream);
}

.topbar__item .icon {
  width: 13px;
  height: 13px;
  color: var(--amber);
}

.topbar__sep {
  width: 1px;
  height: 14px;
  background: rgba(243, 238, 227, 0.18);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 242, 231, 0.94);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.35s, background 0.35s;
}

.site-header.is-scrolled {
  background: rgba(247, 242, 231, 0.985);
  box-shadow: 0 12px 40px rgba(16, 39, 29, 0.08);
}

.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: var(--header-h);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 30px);
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  padding: 8px 0;
  color: var(--forest);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--amber);
}

.nav-link .chev {
  width: 11px;
  height: 11px;
  transition: transform 0.3s;
}

.nav-item {
  position: relative;
}

.nav-drop:hover .chev,
.nav-drop:focus-within .chev {
  transform: rotate(180deg);
}

.nav-drop__panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  width: 280px;
  padding: 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(16, 39, 29, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.nav-drop__panel::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-drop:hover .nav-drop__panel,
.nav-drop:focus-within .nav-drop__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-drop__label {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-drop__panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: 19px;
  transition: color 0.25s, padding-left 0.3s;
}

.nav-drop__panel a span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 10px;
}

.nav-drop__panel a .icon {
  width: 14px;
  height: 14px;
  margin-left: auto;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
}

.nav-drop__panel a:hover {
  padding-left: 6px;
  color: var(--amber);
}

.nav-drop__panel a:hover .icon {
  opacity: 1;
  transform: translateX(3px);
}

.nav-drop__panel .nav-drop__all {
  margin-top: 8px;
  border-top: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-drop__panel .nav-drop__all .icon {
  width: 14px;
  height: 14px;
  opacity: 1;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__phone {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
  white-space: nowrap;
}

.header__phone span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header__phone strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  position: relative;
}

.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--forest);
  transition: transform 0.3s;
}

.burger span:first-child {
  top: 18px;
}

.burger span:last-child {
  bottom: 18px;
}

/* --------------------------------------------------------------------------
   Мобильное меню
   -------------------------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 500;
  width: min(440px, 92vw);
  padding: 22px var(--gutter) 30px;
  background: var(--paper);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.55s var(--ease), visibility 0.55s;
}

.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
}

.mobile-menu__close .icon {
  width: 18px;
  height: 18px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 26px 0;
}

.mobile-nav > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.mobile-nav > a .icon {
  width: 18px;
  height: 18px;
  color: var(--amber);
}

.mobile-nav__sub {
  display: flex;
  gap: 18px;
  padding: 12px 0 16px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-nav__sub a {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-menu__foot {
  padding-top: 6px;
}

.mobile-phone {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 30px;
}

.mobile-menu__foot p {
  color: var(--muted);
  font-size: 12px;
}

.mobile-menu__foot .btn {
  width: 100%;
  margin: 20px 0;
}

.mobile-socials {
  display: flex;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.mobile-socials a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-socials .icon {
  width: 16px;
  height: 16px;
  color: var(--forest);
}

.menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(10, 25, 18, 0.48);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.menu-scrim.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-dock {
  display: none;
}

/* --------------------------------------------------------------------------
   Герой главной
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  min-height: clamp(660px, calc(100svh - 156px), 780px);
  background: var(--paper);
  overflow: hidden;
}

.hero__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 4.6vw, 64px) var(--gutter) clamp(34px, 4vw, 54px)
    max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  overflow: hidden;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(43px, 4.75vw, 68px);
  line-height: 1.02;
}

.hero h1 em {
  color: var(--amber);
}

.hero__lead {
  max-width: 530px;
  color: #445146;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.68;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 32px;
}

.hero__facts {
  display: flex;
  gap: clamp(24px, 3.4vw, 52px);
  margin-top: clamp(24px, 3vw, 38px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hero__facts > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__facts strong {
  font-family: var(--display);
  font-size: clamp(23px, 1.9vw, 29px);
  font-weight: 500;
  line-height: 1.1;
}

.hero__facts span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero__saw {
  position: absolute;
  left: -170px;
  bottom: -230px;
  width: 490px;
  height: 490px;
  color: var(--forest);
  opacity: 0.045;
  animation: saw-spin 52s linear infinite;
  pointer-events: none;
}

.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.8vw, 44px);
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: -20% -20% auto auto;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(201, 138, 75, 0.22), transparent 68%);
  pointer-events: none;
}

.hero__visual-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-light);
  color: rgba(243, 238, 227, 0.62);
  font-size: 9px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero__frame {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 280px;
  margin: clamp(18px, 2.4vw, 32px) 0;
  overflow: hidden;
  background: var(--sand);
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.hero__visual:hover .hero__frame img {
  transform: scale(1.025);
}

.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(10, 25, 18, 0.52));
  pointer-events: none;
}

.hero__caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  color: rgba(243, 238, 227, 0.72);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__spec {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 16px;
  background: var(--cream);
  color: var(--forest);
}

.hero__spec span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__spec strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero__stamp {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(16, 39, 29, 0.78);
  border: 1px solid var(--line-light);
  backdrop-filter: blur(6px);
  transform: rotate(3deg);
}

.hero__stamp .stamp-mark {
  width: 26px;
  height: 26px;
  color: var(--cream);
  --logo-bg: var(--forest);
}

.hero__stamp span {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.hero__visual-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 4px;
}

.hero__visual-bottom p {
  max-width: 235px;
  color: rgba(243, 238, 227, 0.65);
  font-size: 12px;
  line-height: 1.5;
}

.hero__visual-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(243, 238, 227, 0.3);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s;
}

.hero__visual-bottom a:hover {
  color: var(--amber-soft);
  border-color: var(--amber);
}

.hero__visual-bottom .icon {
  width: 14px;
  height: 14px;
}

@keyframes saw-spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   Бегущая строка
   -------------------------------------------------------------------------- */

.ticker {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  border-top: 1px solid rgba(243, 238, 227, 0.14);
  border-bottom: 1px solid rgba(243, 238, 227, 0.14);
  color: rgba(243, 238, 227, 0.78);
}

.ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 15px 0;
  animation: marquee 42s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker span {
  padding: 0 28px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker i {
  width: 4px;
  height: 4px;
  background: var(--amber);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Секции и заголовки
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding: clamp(54px, 6vw, 84px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(28px, 3.6vw, 46px);
}

.section-head h2 {
  max-width: 900px;
}

.section-head__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding-bottom: 4px;
}

.section-head__aside p {
  max-width: 380px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Каталог на главной
   -------------------------------------------------------------------------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease);
}

.category-card:hover {
  border-color: var(--forest);
  transform: translateY(-4px);
}

.category-card__media {
  position: relative;
  aspect-ratio: 1.32;
  overflow: hidden;
  background: var(--forest);
}

.category-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 39, 29, 0.1), rgba(16, 39, 29, 0.48));
}

.category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.category-card:hover .category-card__media img {
  transform: scale(1.045);
}

.category-card__num {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 16px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  opacity: 0.9;
}

.category-card__count {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 16px;
  padding: 5px 8px;
  border: 1px solid rgba(243, 238, 227, 0.32);
  color: var(--cream);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.category-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.category-card__top h3 {
  font-family: var(--display);
  font-size: clamp(24px, 1.9vw, 30px);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.category-card__top .icon {
  width: 20px;
  height: 20px;
  color: var(--amber);
  transition: transform 0.35s var(--ease);
}

.category-card:hover .category-card__top .icon {
  transform: translate(3px, -3px);
}

.category-card__body > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.chips span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  color: #4d5a4f;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.catalog-strip {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 22px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog-strip > div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}

.catalog-strip > div + div {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.catalog-strip strong {
  color: var(--forest);
  font-weight: 600;
}

.catalog-strip .icon {
  width: 19px;
  height: 19px;
  color: var(--amber);
}

.catalog-strip > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.catalog-strip > a .icon {
  width: 15px;
  height: 15px;
}

/* --------------------------------------------------------------------------
   Манифест
   -------------------------------------------------------------------------- */

.section--manifesto {
  background: var(--paper-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}

.manifesto__sticky {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.manifesto__intro h2 {
  margin-bottom: 24px;
}

.manifesto__intro p:not(.eyebrow) {
  max-width: 430px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.manifesto__photo {
  max-width: 430px;
  margin-top: 36px;
  border: 1px solid var(--line);
  background: var(--forest);
}

.manifesto__photo img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.manifesto__photo figcaption {
  padding: 11px 14px;
  color: rgba(243, 238, 227, 0.6);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.manifesto__list {
  border-top: 1px solid var(--line);
}

.manifesto-item {
  display: grid;
  grid-template-columns: 54px 1fr 36px;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease);
}

.manifesto-item:hover {
  padding-left: 8px;
}

.manifesto-item__num {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding-top: 4px;
}

.manifesto-item h3 {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: clamp(20px, 1.5vw, 24px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.manifesto-item p {
  max-width: 520px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.manifesto-item__icon {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
  color: var(--forest);
  opacity: 0.55;
}

.manifesto-item__icon .icon {
  width: 21px;
  height: 21px;
}

/* --------------------------------------------------------------------------
   Услуги на главной
   -------------------------------------------------------------------------- */

.section--services {
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
}

.section--services .eyebrow {
  color: rgba(243, 238, 227, 0.6);
}

.section--services .section-head__aside p {
  color: rgba(243, 238, 227, 0.62);
}

.section--services .link-arrow {
  color: var(--cream);
  border-color: rgba(243, 238, 227, 0.28);
}

.section--services .link-arrow:hover {
  color: var(--amber-soft);
}

.service-list {
  border-top: 1px solid var(--line-light);
}

.service-row {
  display: grid;
  grid-template-columns: 52px minmax(220px, 0.85fr) minmax(300px, 1.15fr) 42px;
  gap: 24px;
  align-items: center;
  padding: 27px 0;
  border-bottom: 1px solid var(--line-light);
  color: var(--cream);
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    padding 0.4s var(--ease);
}

.service-row:hover {
  padding-left: 16px;
  padding-right: 12px;
  background: var(--cream);
  color: var(--forest);
}

.service-row__num {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 10px;
}

.service-row__title h3 {
  margin-bottom: 3px;
  font-family: var(--display);
  font-size: clamp(23px, 1.8vw, 29px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.service-row__title p {
  color: rgba(243, 238, 227, 0.55);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.4s;
}

.service-row__desc {
  max-width: 520px;
  color: rgba(243, 238, 227, 0.62);
  font-size: 13px;
  line-height: 1.6;
  transition: color 0.4s;
}

.service-row:hover .service-row__title p,
.service-row:hover .service-row__desc {
  color: var(--muted);
}

.service-row__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(243, 238, 227, 0.25);
  border-radius: 50%;
  transition: background 0.4s, border-color 0.4s, transform 0.4s;
}

.service-row__arrow .icon {
  width: 16px;
  height: 16px;
}

.service-row:hover .service-row__arrow {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--cream);
  transform: rotate(45deg);
}

.services-service-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
}

.services-service-note p {
  max-width: 570px;
  color: rgba(243, 238, 227, 0.62);
  font-size: 13px;
  line-height: 1.6;
}

.services-service-note strong {
  color: var(--cream);
  font-weight: 600;
}

.services-saw {
  position: absolute;
  right: -110px;
  bottom: -170px;
  width: 420px;
  height: 420px;
  color: var(--cream);
  opacity: 0.035;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Калькулятор
   -------------------------------------------------------------------------- */

.section--calc {
  background: var(--paper);
}

.calc {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  border: 1px solid var(--line);
  background: var(--cream);
}

.calc__intro {
  position: relative;
  min-height: 590px;
  background: var(--forest);
  overflow: hidden;
  color: var(--cream);
}

.calc__intro > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.8);
}

.calc__intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 39, 29, 0.3), rgba(16, 39, 29, 0.92));
}

.calc__intro-in {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 590px;
  padding: clamp(28px, 4vw, 54px);
}

.calc__intro h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.1vw, 45px);
}

.calc__intro p:not(.eyebrow) {
  max-width: 430px;
  color: rgba(243, 238, 227, 0.68);
  font-size: 14px;
  line-height: 1.65;
}

.calc__formula {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
}

.calc__formula span {
  color: rgba(243, 238, 227, 0.45);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.calc__formula strong {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.calc__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 52px);
}

.calc__fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 0.62fr);
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field > span b {
  color: var(--amber);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2318362A' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #979b90;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--forest);
  background: rgba(255, 255, 255, 0.28);
}

.field__error {
  min-height: 12px;
  color: #9d3d2c;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.stepper {
  display: flex;
  align-items: stretch;
  min-height: 52px;
  border: 1px solid var(--line);
}

.stepper button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  color: var(--forest);
  transition: background 0.25s;
}

.stepper button:hover {
  background: var(--paper-2);
}

.stepper .icon {
  width: 14px;
  height: 14px;
}

.stepper input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
  text-align: center;
  font-family: var(--serif);
  font-size: 20px;
  -moz-appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc__result {
  margin-top: 26px;
  padding: 22px 0 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calc__big {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.calc__big span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.calc__big strong {
  font-family: var(--serif);
  font-size: clamp(38px, 3.4vw, 54px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.calc__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.calc__stats > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.calc__stats span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calc__stats strong {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
}

.calc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.calc__actions .btn {
  flex: 1 1 auto;
}

.calc__note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Порядок работы
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.step {
  padding-top: 22px;
  border-top: 1px solid var(--forest);
}

.step__num {
  display: block;
  margin-bottom: 26px;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 10px;
}

.step h3 {
  margin-bottom: 9px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.step p {
  max-width: 260px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.process-note {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.process-note p {
  color: var(--muted);
  font-size: 12px;
}

.process-note a,
.process-note .link-button {
  color: var(--forest);
}

/* --------------------------------------------------------------------------
   Решения
   -------------------------------------------------------------------------- */

.section--solutions {
  background: var(--paper-2);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.solution-card {
  display: flex;
  flex-direction: column;
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
  transition: background 0.35s;
}

.solution-card__media {
  position: relative;
  aspect-ratio: 1.55;
  background: #122c21;
  overflow: hidden;
}

.solution-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transform: scale(1.06);
  transition: transform 0.8s var(--ease);
}

.solution-card:hover .solution-card__media img {
  transform: scale(1.11);
}

.solution-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-height: 230px;
  padding: clamp(20px, 2.2vw, 32px);
}

.tag {
  display: inline-flex;
  padding: 5px 8px;
  border: 1px solid rgba(201, 138, 75, 0.55);
  color: var(--amber-soft);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.solution-card h3 {
  margin: 18px 0 10px;
  font-family: var(--display);
  font-size: clamp(21px, 1.6vw, 25px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.solution-card p {
  color: rgba(243, 238, 227, 0.62);
  font-size: 12px;
  line-height: 1.6;
}

.solution-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--amber-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.solution-card__link .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
}

.solution-card:hover .solution-card__link .icon {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Склад / карта
   -------------------------------------------------------------------------- */

.visit {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.visit__copy h2 {
  margin-bottom: 22px;
}

.visit__copy > p:not(.eyebrow) {
  max-width: 450px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.visit__list {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.visit__list > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.visit__list dt {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visit__list dd {
  font-size: 13px;
  line-height: 1.5;
}

.visit__list a:hover {
  color: var(--amber);
}

.visit__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 26px;
}

.map {
  border: 1px solid var(--line);
  background: var(--cream);
}

.map__scheme {
  position: relative;
  overflow: hidden;
  background: #dce5d7;
}

.map__scheme > svg {
  display: block;
  width: 100%;
  height: auto;
}

.map__pin-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-width: 220px;
  padding: 10px 12px;
  background: rgba(247, 242, 231, 0.94);
  border: 1px solid rgba(23, 54, 42, 0.16);
}

.map__pin-label strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.map__pin-label span {
  color: var(--muted);
  font-size: 10px;
}

.map__load {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 15px;
  background: var(--forest);
  color: var(--cream);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: background 0.3s;
}

.map__load:hover {
  background: var(--forest-deep);
}

.map__load .icon {
  width: 14px;
  height: 14px;
}

.map__frame {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--paper-2);
}

.map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.map__foot > span {
  color: var(--muted);
}

.map__foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.map__foot .icon {
  width: 13px;
  height: 13px;
}

/* --------------------------------------------------------------------------
   CTA-полоса
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--cream);
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  background: url("../img/wood-texture.jpg") center / cover no-repeat;
  opacity: 0.3;
  filter: saturate(0.75) contrast(1.05);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 39, 29, 0.96) 0%, rgba(15, 39, 29, 0.76) 58%, rgba(15, 39, 29, 0.9) 100%);
}

.cta-band__in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
  padding-top: clamp(64px, 8vw, 110px);
  padding-bottom: clamp(64px, 8vw, 110px);
}

.cta-band h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.3vw, 46px);
}

.cta-band__copy p:not(.eyebrow) {
  max-width: 530px;
  color: rgba(243, 238, 227, 0.65);
  font-size: 14px;
  line-height: 1.65;
}

.cta-band__contact {
  padding-left: clamp(0px, 3vw, 40px);
  border-left: 1px solid var(--line-light);
}

.cta-band__phone {
  display: block;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.03em;
  transition: color 0.3s;
}

.cta-band__phone:hover {
  color: var(--amber-soft);
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.cta-band__actions .btn {
  width: 100%;
}

.cta-band__note {
  margin-top: 18px;
  color: rgba(243, 238, 227, 0.48);
  font-size: 10px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.faq__intro h2 {
  margin-bottom: 22px;
}

.faq__intro > p:not(.eyebrow) {
  max-width: 340px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(19px, 1.65vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--amber);
  transition: transform 0.35s var(--ease);
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-width: 650px;
  padding-bottom: 24px;
}

.faq-item__answer p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Внутренние страницы: герой
   -------------------------------------------------------------------------- */

.inner-hero {
  padding: clamp(28px, 3.5vw, 48px) 0 clamp(50px, 6vw, 84px);
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(24px, 3vw, 36px);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.crumbs a:hover {
  color: var(--amber);
}

.crumbs span {
  opacity: 0.5;
}

.inner-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
}

.inner-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(38px, 4.4vw, 64px);
}

.inner-hero__lead {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
}

.inner-hero__aside {
  min-width: 0;
}

.hero-card {
  border: 1px solid var(--line);
  background: var(--forest);
  color: var(--cream);
}

.hero-card > img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.hero-card--dark > img {
  object-fit: contain;
  padding: 8px;
  background: #122c21;
  transform: scale(1.08);
}

.hero-card__body {
  display: flex;
  gap: 22px;
  padding: 16px 18px;
  border-top: 1px solid var(--line-light);
}

.hero-card__body > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-card__body span {
  color: rgba(243, 238, 227, 0.5);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-card__body strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
}

.category-aside {
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.category-aside__media {
  aspect-ratio: 1.45;
  overflow: hidden;
  background: var(--forest);
}

.category-aside__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-aside__body {
  padding: 18px;
}

.category-aside__body > span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-aside__body > p {
  margin: 9px 0 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.service-hero-card {
  background: var(--forest);
  border: 1px solid var(--line);
  color: var(--cream);
  overflow: hidden;
}

.service-hero-card > img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: contain;
  padding: 10px;
  background: #122c21;
  transform: scale(1.08);
}

.service-hero-card__body {
  padding: 18px;
  border-top: 1px solid var(--line-light);
}

.service-hero-card__body span {
  color: rgba(243, 238, 227, 0.45);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-hero-card__body strong {
  display: block;
  margin: 4px 0 5px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.service-hero-card__body p {
  color: rgba(243, 238, 227, 0.55);
  font-size: 11px;
  line-height: 1.5;
}

.contact-hero-card {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.contact-hero-card__phone {
  display: block;
  margin: 8px 0 2px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 33px);
  letter-spacing: -0.03em;
}

.contact-hero-card > a:not(.btn):not(.contact-hero-card__phone) {
  color: var(--muted);
  font-size: 12px;
}

.contact-hero-card__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.about-photo {
  position: relative;
  border: 1px solid var(--line);
  background: var(--forest);
}

.about-photo > img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.about-photo__badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  background: var(--cream);
  color: var(--forest);
  transform: rotate(-2deg);
}

.about-photo__badge .stamp-mark {
  width: 28px;
  height: 28px;
  color: var(--forest);
  --logo-bg: var(--cream);
}

.about-photo__badge span {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Внутренние страницы: каталог
   -------------------------------------------------------------------------- */

.category-grid--compact {
  margin-bottom: 26px;
}

.category-grid--compact .category-card__media {
  aspect-ratio: 1.5;
}

.category-grid--compact .category-card__body > p {
  display: none;
}

.catalog-note-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog-note-row p {
  max-width: 750px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.catalog-note-row strong {
  color: var(--forest);
}

.section--catalog-list {
  padding-top: clamp(40px, 5vw, 70px);
}

.catalog-list-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}

.catalog-list-head h2 {
  font-size: clamp(38px, 4vw, 54px);
}

.catalog-list-head > p {
  max-width: 410px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.catalog-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 calc(var(--gutter) * -1) 26px;
  padding: 12px var(--gutter);
  background: rgba(247, 242, 231, 0.96);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(12px);
}

.catalog-toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.filter-chip span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 8px;
}

.filter-chip:hover,
.filter-chip.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}

.filter-chip.is-active span {
  color: var(--amber-soft);
}

.catalog-toolbar__tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 11px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.search .icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}

.search input {
  width: 200px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 11px;
}

.search input::placeholder {
  color: #9b9e92;
}

.select-mini {
  position: relative;
}

.select-mini select {
  height: 36px;
  padding: 0 30px 0 11px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--cream);
  appearance: none;
  font-size: 10px;
  outline: none;
}

.select-mini::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 11px;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--forest);
  border-bottom: 1px solid var(--forest);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fbf7ed;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease);
}

.product-card:hover {
  border-color: var(--line);
  box-shadow: 0 20px 40px rgba(16, 39, 29, 0.08);
  transform: translateY(-3px);
}

.product-card.is-hidden {
  display: none;
}

.product-card__media {
  position: relative;
  background: linear-gradient(145deg, #f0e7d6, #e7dac5);
  overflow: hidden;
}

.product-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 360 / 220;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-art {
  transform: scale(1.025);
}

.product-badge {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  background: var(--amber);
  color: var(--forest-deep);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-card__open {
  position: absolute;
  z-index: 4;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  background: var(--forest);
  color: var(--cream);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}

.product-card__open .icon {
  width: 12px;
  height: 12px;
}

.product-card:hover .product-card__open,
.product-card:focus-within .product-card__open {
  opacity: 1;
  transform: translateY(0);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 15px 15px 14px;
}

.product-card__body h3 {
  margin: 5px 0 4px;
  font-family: var(--display);
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.product-card__body h3 span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.product-card__use {
  min-height: 30px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  color: #5d665b;
  font-family: var(--mono);
  font-size: 9px;
}

.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.product-card__foot small {
  display: block;
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card__foot strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.product-card__foot .round-btn {
  width: 36px;
  height: 36px;
}

.product-card__foot .round-btn .icon {
  width: 13px;
  height: 13px;
}

.catalog-cta-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 300px;
  padding: 22px;
  background: var(--forest);
  color: var(--cream);
}

.catalog-cta-card .micro {
  color: rgba(243, 238, 227, 0.48);
}

.catalog-cta-card h3 {
  margin: 8px 0 9px;
  font-family: var(--serif);
  font-size: clamp(25px, 2vw, 32px);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.catalog-cta-card p {
  max-width: 260px;
  margin-bottom: 20px;
  color: rgba(243, 238, 227, 0.6);
  font-size: 11px;
  line-height: 1.55;
}

.catalog-cta-card .btn {
  margin-top: auto;
}

.catalog-empty {
  padding: 60px 0;
  text-align: center;
}

.catalog-empty p {
  margin-bottom: 18px;
  color: var(--muted);
}

.section--category-note {
  background: var(--paper-2);
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  padding: 22px;
  border-top: 1px solid var(--forest);
  background: rgba(247, 242, 231, 0.45);
}

.info-card h3 {
  margin-bottom: 9px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
}

.info-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.section--other-cats {
  padding-top: 0;
}

.other-cats-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 26px;
}

.other-cats-head h2 {
  font-size: clamp(36px, 4vw, 54px);
}

.other-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.other-cat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  transition: background 0.3s, color 0.3s;
}

.other-cat > span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 10px;
}

.other-cat strong {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.other-cat .icon {
  width: 18px;
  height: 18px;
  margin-left: auto;
  transition: transform 0.3s;
}

.other-cat:hover {
  background: var(--forest);
  color: var(--cream);
}

.other-cat:hover .icon {
  transform: translateX(4px);
}

.help-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.help-grid__text {
  max-width: 570px;
}

.help-grid__text > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 24px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #465347;
  font-size: 13px;
  line-height: 1.5;
}

.check-list .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--amber);
}

/* --------------------------------------------------------------------------
   Внутренние страницы: услуги
   -------------------------------------------------------------------------- */

.service-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 10px;
}

.service-intro > p {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
}

.service-intro__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  max-width: 340px;
}

.service-intro__tags span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-details {
  border-top: 1px solid var(--line);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
  padding: clamp(46px, 6vw, 78px) 0;
  border-bottom: 1px solid var(--line);
}

.service-detail--reverse .service-detail__media {
  order: 2;
}

.service-detail__media {
  position: relative;
  background: var(--forest);
  overflow: hidden;
}

.service-detail__media img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: contain;
  padding: 12px;
  transform: scale(1.08);
}

.service-detail__body {
  max-width: 560px;
}

.service-detail__num {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.service-detail h2 {
  margin: 12px 0 16px;
  font-size: clamp(38px, 3.9vw, 56px);
}

.service-detail__body > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.service-detail .btn {
  margin-top: 6px;
}

.scope {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.scope__copy {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.scope__copy h2 {
  margin-bottom: 20px;
}

.scope__copy > p:not(.eyebrow) {
  max-width: 390px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.scope__list {
  border-top: 1px solid var(--line);
}

.scope__list > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.scope__list > div > span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 10px;
  padding-top: 4px;
}

.scope__list h3 {
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.scope__list p {
  grid-column: 2;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Внутренние страницы: решения
   -------------------------------------------------------------------------- */

.solutions-note {
  max-width: 760px;
  margin-bottom: 34px;
}

.solutions-note p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.solutions-grid--all {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.solution-detail-card {
  display: flex;
  flex-direction: column;
  background: var(--forest);
  color: var(--cream);
  border: 1px solid var(--line);
}

.solution-detail-card__media {
  background: #122c21;
}

.solution-detail-card__media img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: contain;
  padding: 8px;
  transform: scale(1.06);
}

.solution-detail-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 22px;
  border-top: 1px solid var(--line-light);
}

.solution-detail-card h2 {
  margin: 14px 0 8px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: -0.035em;
}

.solution-detail-card p {
  color: rgba(243, 238, 227, 0.6);
  font-size: 12px;
  line-height: 1.6;
}

.solution-detail-card .btn {
  margin-top: 22px;
  border-color: rgba(243, 238, 227, 0.25);
  color: var(--cream);
}

.solution-detail-card .btn:hover {
  background: var(--cream);
  color: var(--forest);
  border-color: var(--cream);
}

.factor-grid,
.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.factor-grid > div,
.principle-grid > div {
  padding-top: 20px;
  border-top: 1px solid var(--forest);
}

.factor-grid span,
.principle-grid span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 10px;
}

.factor-grid h3,
.principle-grid h3 {
  margin: 20px 0 8px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
}

.factor-grid p,
.principle-grid p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   О компании
   -------------------------------------------------------------------------- */

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 110px);
}

.about-story__lead h2 {
  font-size: clamp(38px, 4.6vw, 64px);
}

.about-story__text {
  max-width: 620px;
  padding-top: 8px;
}

.about-story__text > p {
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
}

.about-story__text > p + p {
  margin-top: 16px;
}

.about-sign {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.about-sign span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-sign strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}

.section--principles {
  background: var(--paper-2);
}

.about-details {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.about-details__col h2 {
  margin-bottom: 20px;
}

.about-details__col > p:not(.eyebrow) {
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.requisites {
  border-top: 1px solid var(--line);
}

.requisites > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.requisites dt {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.requisites dd {
  font-size: 14px;
  line-height: 1.5;
}

.requisites a:hover {
  color: var(--amber);
}

.requisites--compact {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Доставка
   -------------------------------------------------------------------------- */

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.method-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 300px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.method-card__num {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 10px;
}

.method-card__icon {
  width: 34px;
  height: 34px;
  margin: 34px 0 18px;
  color: var(--forest);
  opacity: 0.8;
}

.method-card h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.method-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.method-card__meta {
  margin-top: auto;
  padding-top: 20px;
  color: var(--forest);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.delivery-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.delivery-note > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.delivery-note .icon {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--amber);
}

.delivery-note p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.delivery-note strong {
  color: var(--forest);
}

.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.data-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}

.data-table td:first-child {
  font-family: var(--serif);
  font-size: 18px;
}

.table-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
}

.prep {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.prep__copy h2 {
  margin-bottom: 18px;
}

.prep__copy > p:not(.eyebrow) {
  max-width: 350px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.prep__list {
  border-top: 1px solid var(--line);
}

.prep__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
}

.prep__list .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--amber);
}

.prep__list strong {
  font-weight: 600;
}

.payment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.65fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.payment h2 {
  margin-bottom: 18px;
}

.payment p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.payment__card {
  padding: 30px;
  background: var(--forest);
  color: var(--cream);
}

.payment__card > span .icon {
  width: 30px;
  height: 30px;
  color: var(--amber);
}

.payment__card strong {
  display: block;
  margin: 24px 0 8px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.payment__card p {
  color: rgba(243, 238, 227, 0.6);
  font-size: 12px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Контакты
   -------------------------------------------------------------------------- */

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.contacts__info {
  display: flex;
  flex-direction: column;
}

.contact-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-block:first-child {
  border-top: 1px solid var(--line);
}

.contact-block > span:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  color: var(--amber);
}

.contact-block > span .icon {
  width: 16px;
  height: 16px;
}

.contact-block small {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-block p {
  font-size: 14px;
  line-height: 1.5;
}

.contact-block p a {
  font-family: var(--serif);
  font-size: clamp(21px, 1.8vw, 27px);
  letter-spacing: -0.02em;
}

.contact-block > div > a:not(p a) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-block a:hover {
  color: var(--amber);
}

.contact-block__muted {
  color: var(--muted);
  font-size: 10px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.contact-form-copy {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.contact-form-copy h2 {
  margin-bottom: 20px;
}

.contact-form-copy > p:not(.eyebrow) {
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-form-copy__phone {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-form-copy__phone span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form-copy__phone a {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: -0.03em;
}

.contact-form-copy__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.contact-form-copy__note .icon {
  width: 17px;
  height: 17px;
  color: var(--amber);
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Модальные окна
   -------------------------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 24, 17, 0.62);
  backdrop-filter: blur(5px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: min(90vh, 840px);
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid rgba(243, 238, 227, 0.2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
  transform: translateY(18px) scale(0.99);
  transition: transform 0.4s var(--ease);
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__dialog--quote {
  width: min(980px, 100%);
}

.modal__dialog--product {
  width: min(900px, 100%);
}

.modal__close {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--forest);
  transition: background 0.25s, color 0.25s;
}

.modal__close:hover {
  background: var(--forest);
  color: var(--cream);
}

.modal__close .icon {
  width: 17px;
  height: 17px;
}

.quote-modal {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  min-height: 520px;
}

.quote-modal__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 34px;
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
}

.quote-modal__aside::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -100px;
  bottom: -100px;
  border-radius: 50%;
  border: 1px solid rgba(243, 238, 227, 0.14);
  box-shadow: 0 0 0 40px rgba(243, 238, 227, 0.03),
    0 0 0 80px rgba(243, 238, 227, 0.02);
  pointer-events: none;
}

.quote-modal__aside h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 3.2vw, 46px);
}

.quote-modal__aside > p:not(.eyebrow) {
  color: rgba(243, 238, 227, 0.6);
  font-size: 12px;
  line-height: 1.65;
}

.quote-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 26px;
}

.quote-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(243, 238, 227, 0.72);
  font-size: 11px;
}

.quote-list .icon {
  width: 14px;
  height: 14px;
  color: var(--amber);
}

.quote-modal__contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
}

.quote-modal__contact span {
  color: rgba(243, 238, 227, 0.42);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-modal__contact a {
  font-family: var(--serif);
  font-size: 24px;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 38px 34px;
  background: var(--paper);
}

.quote-form__lead {
  max-width: 470px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
  cursor: pointer;
}

.consent input {
  width: 14px;
  height: 14px;
  margin: 2px 0 0;
  accent-color: var(--forest);
  flex: 0 0 auto;
}

.consent a {
  border-bottom: 1px solid var(--line);
}

.quote-form__actions {
  display: flex;
  gap: 8px;
}

.quote-form__actions .btn {
  flex: 1 1 auto;
  padding: 0 14px;
  font-size: 9px;
}

.quote-form__hint {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.form-status {
  display: none;
  padding: 10px 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--forest);
  font-size: 10px;
  line-height: 1.5;
}

.form-status.is-visible {
  display: block;
}

.form-status a {
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.quote-form--inline {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.quote-form__head {
  margin-bottom: 8px;
}

.quote-form__head h2 {
  margin-bottom: 10px;
  font-size: clamp(32px, 3vw, 42px);
}

.quote-form__head > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
}

.product-modal {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  min-height: 520px;
}

.product-modal__art {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: linear-gradient(145deg, #f0e7d6, #e5d7c0);
}

.product-modal__art .product-art {
  width: 100%;
  max-width: 480px;
}

.product-modal__info {
  display: flex;
  flex-direction: column;
  padding: 40px 34px;
}

.product-modal__info h2 {
  margin: 8px 0 6px;
  font-size: clamp(32px, 3.3vw, 44px);
}

.product-modal__use {
  color: var(--muted);
  font-size: 12px;
}

.product-modal__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-modal__stats > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.product-modal__stats span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-modal__stats strong {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
}

.product-modal__calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.8fr);
  gap: 16px;
  align-items: end;
}

.product-modal__total {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 8px;
}

.product-modal__total span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-modal__total strong {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.product-modal__actions {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.product-modal__actions .btn {
  flex: 1 1 auto;
  padding: 0 14px;
  font-size: 9px;
}

.product-modal__note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Юридическая страница и 404
   -------------------------------------------------------------------------- */

.legal {
  max-width: 900px;
}

.legal h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 5.4vw, 78px);
}

.legal__lead {
  max-width: 680px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.legal__body {
  max-width: 760px;
  padding-top: 10px;
}

.legal__body h2 {
  margin: 30px 0 10px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.4;
}

.legal__body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.legal__body p + p {
  margin-top: 10px;
}

.legal__body a {
  border-bottom: 1px solid var(--line);
  color: var(--forest);
}

.legal__date {
  margin-top: 34px;
  font-size: 11px !important;
}

.not-found {
  max-width: 780px;
  padding: clamp(30px, 7vw, 90px) 0;
}

.not-found h1 {
  margin-bottom: 22px;
}

.not-found > p:not(.eyebrow) {
  max-width: 480px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* --------------------------------------------------------------------------
   Подвал
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--cream);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(130px, 0.6fr)) minmax(200px, 0.9fr);
  gap: clamp(28px, 4vw, 60px);
  padding: clamp(54px, 7vw, 86px) 0 clamp(36px, 4vw, 50px);
}

.footer__brand > p {
  max-width: 300px;
  margin: 20px 0;
  color: rgba(243, 238, 227, 0.55);
  font-size: 11px;
  line-height: 1.65;
}

.footer__phone {
  display: inline-block;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.footer__phone:hover {
  color: var(--amber-soft);
}

.footer__socials {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-light);
  color: rgba(243, 238, 227, 0.7);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.footer__socials a:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--forest);
}

.footer__socials .icon {
  width: 15px;
  height: 15px;
}

.footer__label {
  margin-bottom: 16px;
  color: var(--amber-soft);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__col a,
.footer__col p {
  color: rgba(243, 238, 227, 0.6);
  font-size: 11px;
  line-height: 1.5;
}

.footer__col a:hover {
  color: var(--cream);
}

.footer__contacts > p {
  margin-bottom: 10px;
}

.footer__contacts > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--cream);
}

.footer__contacts .icon {
  width: 13px;
  height: 13px;
}

.footer__note {
  margin-top: 14px;
  color: rgba(243, 238, 227, 0.38) !important;
  font-size: 10px !important;
}

.footer__mail {
  display: inline-block;
  margin-top: 12px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-light);
  color: var(--cream) !important;
}

.footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 0;
  border-top: 1px solid var(--line-light);
  color: rgba(243, 238, 227, 0.38);
  font-size: 9px;
  line-height: 1.5;
}

.footer__bottom p:last-child {
  max-width: 480px;
  text-align: right;
}

.footer__word {
  margin: 0 0 -0.18em;
  color: rgba(243, 238, 227, 0.045);
  font-family: var(--serif);
  font-size: clamp(48px, 8.6vw, 142px);
  line-height: 0.8;
  letter-spacing: -0.06em;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Анимации появления
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Адаптивность
   -------------------------------------------------------------------------- */

@media (max-width: 1240px) {
  .main-nav {
    gap: 15px;
  }

  .nav-link {
    font-size: 9px;
    letter-spacing: 0.09em;
  }

  .header__phone {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  }

  .hero h1 {
    font-size: clamp(50px, 6.4vw, 88px);
  }

  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer__top {
    grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(120px, 0.5fr)) minmax(180px, 0.8fr);
  }
}

@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .header__actions {
    gap: 10px;
  }

  .category-grid {
    gap: 12px;
  }

  .catalog-strip {
    flex-wrap: wrap;
    gap: 14px 24px;
  }

  .catalog-strip > a {
    margin-left: 0;
  }

  .manifesto {
    gap: 48px;
  }

  .service-row {
    grid-template-columns: 42px minmax(180px, 0.8fr) minmax(240px, 1.2fr) 36px;
    gap: 18px;
  }

  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 72px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero__copy {
    padding: 52px var(--gutter) 44px;
  }

  .hero h1 {
    font-size: clamp(54px, 9vw, 86px);
  }

  .hero__visual {
    min-height: 520px;
    padding: 26px var(--gutter) 30px;
  }

  .hero__frame {
    min-height: 320px;
    max-height: 480px;
  }

  .hero__saw {
    left: auto;
    right: -170px;
    bottom: -200px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .section-head__aside {
    max-width: 580px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .category-card__media {
    aspect-ratio: auto;
    min-height: 240px;
  }

  .manifesto {
    grid-template-columns: 1fr;
  }

  .manifesto__sticky {
    position: static;
  }

  .manifesto__photo {
    max-width: 560px;
  }

  .service-row {
    grid-template-columns: 36px 1fr 36px;
    gap: 14px;
  }

  .service-row__desc {
    grid-column: 2;
    max-width: none;
  }

  .service-row__arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .calc {
    grid-template-columns: 1fr;
  }

  .calc__intro,
  .calc__intro-in {
    min-height: 380px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .visit {
    grid-template-columns: 1fr;
  }

  .visit__copy {
    max-width: 620px;
  }

  .cta-band__in {
    grid-template-columns: 1fr;
  }

  .cta-band__contact {
    padding-left: 0;
    border-left: 0;
    padding-top: 26px;
    border-top: 1px solid var(--line-light);
  }

  .cta-band__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cta-band__actions .btn {
    width: auto;
    flex: 1 1 auto;
  }

  .faq {
    grid-template-columns: 1fr;
  }

  .faq__intro {
    position: static;
  }

  .inner-hero__grid {
    grid-template-columns: 1fr;
  }

  .inner-hero__aside {
    max-width: 560px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .catalog-toolbar__tools {
    justify-content: space-between;
  }

  .search {
    flex: 1;
  }

  .search input {
    width: 100%;
  }

  .help-grid,
  .service-intro,
  .scope,
  .about-story,
  .about-details,
  .prep,
  .payment,
  .contacts,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .service-intro {
    display: grid;
  }

  .service-intro__tags {
    justify-content: flex-start;
    max-width: none;
  }

  .service-detail,
  .service-detail--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-detail--reverse .service-detail__media {
    order: 0;
  }

  .service-detail__media img {
    aspect-ratio: 1.6;
    max-height: 430px;
  }

  .scope__copy,
  .contact-form-copy {
    position: static;
  }

  .solutions-grid--all {
    grid-template-columns: 1fr;
  }

  .factor-grid,
  .principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .method-card {
    min-height: 0;
  }

  .method-card__icon {
    margin: 24px 0 12px;
  }

  .method-card__meta {
    margin-top: 20px;
  }

  .quote-modal {
    grid-template-columns: 1fr;
  }

  .quote-modal__aside {
    min-height: 260px;
    padding: 28px;
  }

  .quote-list {
    display: none;
  }

  .quote-modal__contact {
    margin-top: 24px;
  }

  .quote-form {
    padding: 26px;
  }

  .product-modal {
    grid-template-columns: 1fr;
  }

  .product-modal__art {
    padding: 16px;
  }

  .product-modal__info {
    padding: 26px;
  }

  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .topbar__item span {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topbar__mail,
  .topbar__sep {
    display: none;
  }

  .header__actions .btn {
    display: none;
  }

  .brand__text strong {
    font-size: 16px;
  }

  .brand__text span {
    font-size: 7px;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
  }

  h1 {
    font-size: clamp(42px, 11vw, 64px);
  }

  h2 {
    font-size: clamp(34px, 8vw, 48px);
  }

  .hero__copy {
    padding-top: 38px;
  }

  .hero h1 {
    font-size: clamp(45px, 12.2vw, 68px);
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    justify-content: stretch;
  }

  .hero__facts strong {
    font-size: 24px;
  }

  .hero__facts span {
    font-size: 8px;
  }

  .hero__visual {
    min-height: 440px;
    padding: 18px var(--gutter) 22px;
  }

  .hero__frame {
    min-height: 250px;
  }

  .hero__stamp {
    display: none;
  }

  .hero__spec {
    padding: 9px 11px;
  }

  .hero__spec strong {
    font-size: 15px;
  }

  .hero__caption {
    display: none;
  }

  .mobile-dock {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 300;
    display: flex;
    transform: translateY(calc(100% + 2px));
    transition: transform 0.4s var(--ease);
    gap: 8px;
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
    background: rgba(247, 242, 231, 0.97);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .mobile-dock .btn {
    flex: 1 1 50%;
    height: 46px;
    padding: 0 10px;
    font-size: 9px;
  }

  .mobile-dock.is-visible {
    transform: translateY(0);
  }

  body {
    padding-bottom: 64px;
  }

  .hero__visual-bottom p {
    display: none;
  }

  .category-card {
    display: flex;
  }

  .category-card__media {
    aspect-ratio: 1.35;
    min-height: 0;
  }

  .section {
    padding: 54px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .catalog-strip > div {
    width: 100%;
  }

  .catalog-strip > div + div {
    padding-left: 0;
    border-left: 0;
  }

  .catalog-strip > a {
    margin-top: 2px;
  }

  .manifesto-item {
    grid-template-columns: 36px 1fr;
    gap: 10px;
    padding: 22px 0;
  }

  .manifesto-item__icon {
    display: none;
  }

  .service-row {
    grid-template-columns: 28px 1fr 30px;
    padding: 20px 0;
  }

  .service-row__title h3 {
    font-size: 26px;
  }

  .service-row__arrow {
    width: 30px;
    height: 30px;
  }

  .service-row__arrow .icon {
    width: 13px;
    height: 13px;
  }

  .services-service-note {
    flex-direction: column;
    align-items: flex-start;
  }

  .calc__intro,
  .calc__intro-in {
    min-height: 340px;
  }

  .calc__intro-in {
    padding: 24px;
  }

  .calc__panel {
    padding: 24px;
  }

  .calc__fields {
    grid-template-columns: 1fr;
  }

  .calc__stats {
    grid-template-columns: 1fr 1fr;
  }

  .calc__stats > div:last-child {
    grid-column: 1 / -1;
  }

  .calc__actions {
    flex-direction: column;
  }

  .calc__actions .btn {
    width: 100%;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .step__num {
    margin-bottom: 10px;
  }

  .solution-card__body {
    min-height: 0;
  }

  .process-note {
    flex-direction: column;
    gap: 8px;
  }

  .map__load {
    right: 10px;
    bottom: 10px;
    height: 38px;
    padding: 0 11px;
    font-size: 8px;
  }

  .map__pin-label {
    display: none;
  }

  .map__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cta-band h2 {
    font-size: clamp(31px, 8.3vw, 38px);
  }

  .cta-band__phone {
    font-size: 30px;
  }

  .cta-band__actions {
    flex-direction: column;
  }

  .cta-band__actions .btn {
    width: 100%;
  }

  .inner-hero {
    padding-top: 22px;
  }

  .inner-hero h1 {
    font-size: clamp(42px, 11.4vw, 62px);
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .product-card__open {
    opacity: 1;
    transform: none;
  }

  .catalog-toolbar {
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
  }

  .catalog-list-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .catalog-toolbar__filters {
    gap: 4px;
  }

  .filter-chip {
    height: 30px;
    padding: 0 9px;
    font-size: 8px;
  }

  .search input {
    font-size: 10px;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }

  .other-cats-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .other-cats {
    grid-template-columns: 1fr;
  }

  .factor-grid,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .about-sign {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .requisites > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .requisites > div dt {
    padding-top: 4px;
  }

  .contact-block p a {
    font-size: 23px;
  }

  .quote-form--inline {
    padding: 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .quote-form__actions {
    flex-direction: column;
  }

  .quote-form__actions .btn {
    width: 100%;
  }

  .quote-modal__aside {
    min-height: 220px;
    padding: 24px;
  }

  .quote-form {
    padding: 22px;
  }

  .product-modal__info {
    padding: 22px;
  }

  .product-modal__stats {
    gap: 8px;
  }

  .product-modal__calc {
    grid-template-columns: 1fr;
  }

  .product-modal__actions {
    flex-direction: column;
  }

  .product-modal__actions .btn {
    width: 100%;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
  }

  .footer__bottom p:last-child {
    text-align: left;
  }

  .footer__word {
    font-size: 9vw;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 43px;
  }

  .hero__facts > div {
    width: auto;
  }

  .calc__stats {
    grid-template-columns: 1fr;
  }

  .calc__stats > div:last-child {
    grid-column: auto;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
