:root {
  --ink: #1f2528;
  --muted: #657075;
  --line: #d9dedb;
  --paper: #f7f5ef;
  --white: #ffffff;
  --steel: #39464d;
  --accent: #b44d2f;
  --accent-dark: #883820;
  --olive: #5b6c43;
  --sand: #e5dbc5;
  --shadow: 0 18px 45px rgba(31, 37, 40, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(31, 37, 40, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
  background: rgba(21, 25, 27, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--accent);
  border-radius: 6px;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 34px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.main-nav a,
.header-action,
.header-email,
.footer-email {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.main-nav a:hover {
  color: var(--white);
}

.header-contacts {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-email {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
}

.header-email:hover,
.footer-email:hover {
  color: #f0c8ad;
}

.header-action {
  justify-self: end;
  padding: 10px 16px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.header-action:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.74);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  min-height: min(820px, 92vh);
  padding: 132px clamp(18px, 6vw, 80px) 36px;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/images/hero-construction.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(20, 24, 25, 0.86) 0%, rgba(20, 24, 25, 0.62) 46%, rgba(20, 24, 25, 0.22) 100%);
}

.hero-content {
  width: min(760px, 100%);
}

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

.hero .eyebrow {
  color: #f0c8ad;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(40px, 6.8vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.button {
  display: inline-flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin-top: 58px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-stats div {
  min-height: 112px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  margin-bottom: 6px;
  font-size: 24px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 6vw, 80px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: var(--white);
}

.intro p:last-child,
.delivery-copy p,
.request-panel p,
.site-footer p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.section-heading.compact {
  width: min(640px, 100%);
}

.catalog {
  background: var(--paper);
}

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

.catalog-item {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.catalog-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.catalog-item div {
  padding: 22px;
}

.catalog-item p,
.advantage p,
.process-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.delivery {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  color: var(--white);
  background: var(--steel);
}

.delivery .section-kicker {
  color: #f0c8ad;
}

.delivery-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 92px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.process-step span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--ink);
  background: var(--sand);
  border-radius: 6px;
  font-weight: 800;
}

.process-step p {
  color: rgba(255, 255, 255, 0.82);
}

.advantages {
  background: var(--white);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.advantage {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--olive);
  border-radius: 6px;
  font-weight: 800;
}

.request {
  background: var(--paper);
}

.request-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
  padding: clamp(24px, 5vw, 54px);
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

.request-panel .section-kicker {
  color: #f0c8ad;
}

.request-panel p {
  color: rgba(255, 255, 255, 0.75);
}

.request-form {
  display: grid;
  gap: 14px;
}

.request-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
}

.request-form input,
.request-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.request-form input:focus,
.request-form textarea:focus {
  outline: 2px solid #f0c8ad;
  outline-offset: 2px;
}

.request-form textarea {
  resize: vertical;
}

.request-form .button {
  width: fit-content;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #f0c8ad;
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  padding: 42px clamp(18px, 6vw, 80px);
  color: var(--white);
  background: #15191b;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-email {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  color: #f0c8ad;
  font-size: 18px;
  font-weight: 800;
}

.requisites {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

.requisites strong {
  color: var(--white);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .header-contacts {
    gap: 10px;
  }

  .header-email {
    display: none;
  }

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

  .intro,
  .delivery,
  .request-panel,
  .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    padding: 12px 16px;
  }

  .brand span:last-child {
    max-width: 140px;
    overflow-wrap: anywhere;
    line-height: 1.1;
  }

  .header-action {
    padding: 9px 11px;
    font-size: 13px;
  }

  .hero {
    min-height: 88vh;
    padding: 104px 16px 24px;
  }

  h1 {
    font-size: clamp(34px, 13vw, 48px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions,
  .button,
  .request-form .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .hero-stats div {
    min-height: 86px;
  }

  .section {
    padding: 52px 16px;
  }

  .catalog-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: 52px 1fr;
    padding: 16px;
  }

  .process-step span {
    width: 46px;
    height: 46px;
  }

  .request-panel {
    padding: 24px 18px;
  }
}