:root {
  --bg: #f7f5f1;
  --paper: #ffffff;
  --ink: #161616;
  --muted: #68645f;
  --line: #ddd7cf;
  --soft: #ede8df;
  --dark: #171717;
  --accent: #9b7a55;
  --ok: #2f7d55;
  --error: #a64037;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 0 46px;
  background: rgba(247, 245, 241, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 190px;
}

.brand__name {
  font-size: 30px;
  font-weight: 500;
}

.brand__tag {
  max-width: 86px;
  font-size: 12px;
  line-height: 1.2;
  color: #3b3936;
}

.nav,
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
}

.nav a,
.footer-nav a {
  color: #2e2c29;
}

.nav a:hover,
.footer-nav a:hover {
  color: var(--accent);
}

.header-phone {
  white-space: nowrap;
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--dark {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.btn--outline {
  border-color: #6d6861;
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 6px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.4fr);
  min-height: calc(100vh - 78px);
  background: var(--paper);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 64px 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1,
.section-copy h2,
.catalog h2,
.steps h2,
.request h2,
.contacts h2,
.privacy h2 {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(36px, 3.7vw, 58px);
  overflow-wrap: anywhere;
}

.hero__copy p:not(.eyebrow),
.section-copy p,
.request__copy p,
.privacy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__directions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.direction-card {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1d1d1d;
  color: #fff;
}

.direction-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.direction-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72));
}

.direction-card__content {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 42px;
}

.direction-card h2 {
  margin: 0 0 14px;
  font-size: clamp(20px, 1.6vw, 30px);
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: normal;
}

.direction-card p {
  max-width: 330px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.direction-card .btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.78);
}

.advantages {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.advantage {
  min-height: 190px;
  padding: 28px;
  background: var(--paper);
}

.advantage__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  color: var(--ink);
}

.advantage h3 {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.35;
  text-transform: uppercase;
}

.advantage p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1.25fr);
  min-height: 470px;
}

.split-section--materials {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.section-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 74px 64px;
}

.section-copy h2,
.catalog h2,
.steps h2,
.request h2,
.contacts h2,
.privacy h2 {
  font-size: clamp(34px, 3.3vw, 52px);
}

.section-copy .btn {
  align-self: flex-start;
  margin-top: 28px;
}

.split-image {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: center / cover no-repeat var(--soft);
}

.split-image__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  right: 42px;
  bottom: 38px;
  width: min(440px, calc(100% - 58px));
  padding: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(12px);
}

.image-caption strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.image-caption span {
  color: var(--muted);
  line-height: 1.55;
}

.catalog {
  padding: 74px 64px 82px;
  background: var(--paper);
}

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

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

.filter {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.filter.active {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  min-height: 248px;
  border: 1px solid var(--line);
  background: #fbfaf8;
}

.product__image {
  min-height: 248px;
  background: var(--soft);
}

.product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
}

.product__category {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
}

.product h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.product p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.product ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.product li {
  padding: 5px 8px;
  background: var(--soft);
  color: #403c37;
  font-size: 12px;
}

.product__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.product__price {
  font-weight: 700;
  white-space: nowrap;
}

.product .btn {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
}

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

.steps {
  padding: 74px 64px 82px;
  background: #151515;
  color: #fff;
}

.steps h2 {
  margin-bottom: 34px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.step {
  min-height: 178px;
  padding: 24px;
  background: #151515;
}

.step__number {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.5);
}

.step b {
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.55;
}

.request {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  padding: 76px 64px;
  background: var(--paper);
}

.request-contacts {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  color: #2e2c29;
}

.request-contacts a {
  width: fit-content;
  border-bottom: 1px solid var(--line);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form textarea,
.form .consent,
.form button,
.form-note {
  grid-column: 1 / -1;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fbfaf8;
  color: var(--ink);
  font: inherit;
  padding: 15px;
}

.form textarea {
  min-height: 112px;
  resize: vertical;
}

.consent {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  margin: 4px 0 10px;
  max-width: 100%;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.consent input {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 2px 0 0;
  padding: 0;
  flex: 0 0 18px;
  cursor: pointer;
}

.consent span {
  display: block;
  max-width: 760px;
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-note.is-ok {
  color: var(--ok);
}

.form-note.is-error {
  color: var(--error);
}

.contacts {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) 1fr;
  gap: 42px;
  padding: 72px 64px;
  background: var(--soft);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-card {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.contact-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.contact-card a,
.contact-card strong {
  font-size: 18px;
  font-weight: 500;
}

.privacy {
  padding: 56px 64px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.privacy h2 {
  font-size: clamp(26px, 2.6vw, 38px);
}

.privacy p {
  max-width: 980px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: start;
  padding: 42px 64px;
  background: #151515;
  color: #fff;
}

.footer p {
  max-width: 350px;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.5;
}

.footer-nav a,
.footer-contacts a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-contacts {
  display: grid;
  justify-content: end;
  gap: 8px;
}

@media (max-width: 1120px) {
  .site-header {
    gap: 18px;
    padding: 0 28px;
  }

  .nav {
    gap: 18px;
  }

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

  .hero__copy {
    min-height: 430px;
  }

  .direction-card {
    min-height: 520px;
  }

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

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

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 70px;
    padding: 0 20px;
  }

  .menu-toggle {
    display: block;
    position: fixed;
    right: auto;
    left: min(calc(100vw - 64px), 326px);
    top: 13px;
    z-index: 40;
  }

  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 20px 26px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .menu-open .nav {
    display: flex;
  }

  .nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .header-phone,
  .header-cta {
    display: none;
  }

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

  .direction-card {
    min-height: 430px;
  }

  .split-section,
  .split-section--materials,
  .request,
  .contacts {
    grid-template-columns: 1fr;
  }

  .split-section--materials .split-image {
    order: 2;
  }

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

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

  .product__image {
    min-height: 300px;
  }

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

  .footer-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-contacts {
    justify-content: start;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .brand__name {
    font-size: 25px;
  }

  .brand__tag {
    font-size: 11px;
  }

  .hero__copy,
  .section-copy,
  .catalog,
  .steps,
  .request,
  .contacts,
  .privacy,
  .footer {
    padding: 44px 22px;
  }

  .hero__copy {
    min-height: 420px;
  }

  .hero__copy h1,
  .hero__copy p:not(.eyebrow),
  .hero__actions {
    max-width: 22rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .direction-card__content {
    padding: 30px 22px;
  }

  .advantages,
  .product-grid,
  .steps-grid,
  .contacts-grid,
  .form {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .filters {
    margin-top: 18px;
  }

  .split-image {
    min-height: 330px;
  }

  .image-caption {
    left: 18px;
    right: 18px;
    bottom: 18px;
    width: auto;
    padding: 20px;
  }
}
.privacy-bar {
  padding: 10px 64px;
  background: #f3f1ec;
  border-top: 1px solid #ddd7cf;
}

.privacy-bar p {
  margin: 0;
  color: #7a746d;
  font-size: 10px;
  line-height: 1.4;
}
