:root {
  --ink: #222126;
  --muted: #6d6672;
  --line: #e6e0e4;
  --paper: #fff;
  --soft: #f7f3f0;
  --rose: #9c3f5c;
  --rose-dark: #752b42;
  --sage: #526b5b;
  --gold: #b68a4f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.topline {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 178px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav a {
  text-decoration: none;
  padding: 12px 15px;
  border-radius: 4px;
}

.nav a:hover {
  background: var(--soft);
  color: var(--rose-dark);
}

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

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1c1a1b;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .84;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 18, 19, .78), rgba(20, 18, 19, .28) 55%, rgba(20, 18, 19, .06));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 72px;
  color: #fff;
  max-width: 680px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 86px);
  line-height: .98;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid currentColor;
  border-radius: 4px;
  color: inherit;
  background: transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  border-color: var(--rose);
  background: var(--rose);
  color: #fff;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 440px) 1fr;
  gap: 56px;
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro p:last-child,
.text-block p,
.columns p,
.section-head p {
  color: var(--muted);
  font-size: 17px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: start;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.facts div {
  min-height: 156px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.facts strong {
  display: block;
  margin-bottom: 12px;
  color: var(--rose-dark);
  font-size: 30px;
  line-height: 1;
}

.facts span {
  color: var(--muted);
}

.catalog {
  border-top: 1px solid var(--line);
}

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

.section-head p {
  max-width: 380px;
  margin: 0;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tab {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.tab.active,
.tab:hover {
  border-color: var(--sage);
  background: var(--sage);
  color: #fff;
}

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

.product {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.product.is-hidden {
  display: none;
}

.product img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: var(--soft);
}

.product div {
  padding: 16px;
}

.product span {
  color: var(--muted);
  font-size: 13px;
}

.product h3 {
  margin: 4px 0 0;
  font-size: 20px;
}

.cooperation {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.contacts {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 36px;
  align-items: start;
}

.contact-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
}

dl {
  margin: 24px 0 0;
}

dt {
  margin-top: 18px;
  font-weight: 700;
}

dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  background: var(--soft);
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.footer {
  padding: 32px 16px;
  background: #252226;
  color: #fff;
  text-align: center;
}

.footer p {
  margin: 4px 0;
}

@media (max-width: 920px) {
  .topline {
    min-height: 74px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .nav.open {
    display: flex;
  }

  .hero {
    min-height: 560px;
  }

  .intro,
  .about-grid,
  .contacts,
  .columns {
    grid-template-columns: 1fr;
  }

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

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

  .section-head {
    display: block;
  }
}

@media (max-width: 540px) {
  .brand img {
    width: 142px;
  }

  .hero-copy {
    margin-bottom: 44px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 17px;
  }

  .section {
    padding: 52px 0;
  }

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

  .contact-card,
  .contact-form {
    padding: 22px;
  }
}
