:root {
  --ink: #111414;
  --coal: #171b1d;
  --steel: #5f6c72;
  --concrete: #eef0ec;
  --paper: #fbfaf6;
  --line: #d8d6cd;
  --signal: #e4b32f;
  --signal-dark: #ba7d14;
  --oxide: #a64f2b;
  --green: #4f6b57;
  --white: #ffffff;
  --shadow: 0 20px 70px rgba(17, 20, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(rgba(17, 20, 20, 0.82), rgba(17, 20, 20, 0.34));
  backdrop-filter: blur(14px);
}

.brand img {
  width: min(168px, 42vw);
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.6vw, 34px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav a {
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

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

.header-action,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.header-action {
  padding: 11px 16px;
  color: var(--ink);
  background: var(--signal);
  font-size: 14px;
}

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

.header-action svg,
.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  background: var(--coal);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    image-set(url("assets/hero-construction.jpg") 1x) center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 14, 15, 0.9) 0%, rgba(12, 14, 15, 0.68) 48%, rgba(12, 14, 15, 0.24) 100%),
    linear-gradient(180deg, rgba(12, 14, 15, 0.34) 0%, rgba(12, 14, 15, 0.14) 64%, rgba(12, 14, 15, 0.96) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 92vh;
  max-width: 1240px;
  flex-direction: column;
  justify-content: center;
  padding: 136px clamp(18px, 5vw, 64px) 76px;
}

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

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(56px, 11vw, 148px);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2.3vw, 25px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  padding: 14px 18px;
}

.button-primary {
  color: var(--ink);
  background: var(--signal);
  border-color: var(--signal);
}

.button-primary:hover {
  background: #f0c642;
}

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

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-stats {
  display: grid;
  width: min(760px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 62px 0 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.18);
}

.hero-stats div {
  min-height: 112px;
  padding: 20px;
  background: rgba(17, 20, 20, 0.54);
  backdrop-filter: blur(12px);
}

.hero-stats strong {
  display: block;
  color: var(--signal);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.intro-band,
.catalog-section,
.object-section,
.process-section,
.request-section {
  padding: clamp(70px, 9vw, 116px) clamp(18px, 5vw, 64px);
}

.intro-band {
  background: var(--coal);
  color: var(--white);
}

.section-grid,
.object-section,
.request-section {
  display: grid;
  max-width: 1240px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.section-grid h2,
.section-head h2,
.object-copy h2,
.request-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.section-grid p:last-child,
.object-copy p,
.request-copy p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(17px, 1.7vw, 21px);
}

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

.section-head {
  max-width: 1240px;
  margin: 0 auto 34px;
}

.section-head h2 {
  max-width: 820px;
}

.catalog-section .section-kicker,
.process-section .section-kicker,
.object-section .section-kicker,
.request-section .section-kicker {
  color: var(--oxide);
}

.category-grid {
  display: grid;
  max-width: 1240px;
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.category-card {
  min-height: 310px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  transition:
    background-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.category-card:hover {
  z-index: 1;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--ink);
  background: var(--signal);
  border-radius: 6px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.category-card h3 {
  margin: 70px 0 0;
  font-size: 24px;
  line-height: 1.06;
}

.category-card p {
  margin: 16px 0 0;
  color: var(--steel);
}

.object-section {
  background: var(--concrete);
}

.object-copy p,
.request-copy p {
  color: var(--steel);
}

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

.object-list div {
  display: grid;
  min-height: 82px;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid rgba(17, 20, 20, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(17, 20, 20, 0.06);
  font-size: 18px;
  font-weight: 800;
}

.object-list span {
  color: var(--oxide);
  font-size: 14px;
  font-weight: 900;
}

.process-section {
  background: var(--ink);
  color: var(--white);
}

.process-section .section-head h2 {
  color: var(--white);
}

.timeline {
  display: grid;
  max-width: 1240px;
  margin: 0 auto;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.timeline article {
  min-height: 280px;
  padding: 26px;
  background: #1f2426;
}

.timeline span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--ink);
  background: var(--signal);
  border-radius: 50%;
  font-weight: 900;
}

.timeline h3 {
  margin: 74px 0 0;
  font-size: 21px;
  line-height: 1.1;
}

.timeline p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

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

.request-copy img {
  width: min(240px, 58vw);
  margin: 0 0 34px;
}

.request-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.request-tags button {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--concrete);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.request-tags button:hover {
  background: #e8dfc8;
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid rgba(17, 20, 20, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.request-form span {
  color: #3e464a;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid #ccd1cf;
  border-radius: 6px;
  color: var(--ink);
  background: #fdfdfb;
  outline: none;
}

.request-form input,
.request-form select {
  min-height: 48px;
  padding: 0 13px;
}

.request-form textarea {
  min-height: 136px;
  resize: vertical;
  padding: 13px;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: var(--signal-dark);
  box-shadow: 0 0 0 3px rgba(228, 179, 47, 0.22);
}

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

.request-form .button-primary {
  width: 100%;
  min-height: 52px;
}

.request-form .button-primary:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.7);
  background: var(--coal);
}

.site-footer img {
  width: 168px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--signal);
  font-weight: 900;
}

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

  .site-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-action {
    justify-self: end;
  }

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

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

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    grid-template-columns: 1fr;
    gap: 14px;
    background: linear-gradient(rgba(17, 20, 20, 0.9), rgba(17, 20, 20, 0.18));
  }

  .brand img {
    width: 148px;
  }

  .site-nav {
    gap: 18px;
    font-size: 12px;
  }

  .header-action {
    width: 100%;
  }

  .hero,
  .hero-inner {
    min-height: 760px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(12, 14, 15, 0.78) 0%, rgba(12, 14, 15, 0.72) 54%, rgba(12, 14, 15, 0.96) 100%),
      rgba(12, 14, 15, 0.22);
  }

  .hero-inner {
    padding-top: 214px;
  }

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

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

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

  .section-grid,
  .object-section,
  .request-section {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .timeline,
  .request-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 250px;
  }

  .category-card h3,
  .timeline h3 {
    margin-top: 42px;
  }

  .site-footer {
    align-items: start;
  }
}

@media (max-width: 460px) {
  .site-header {
    padding-inline: 14px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .site-nav a {
    padding: 8px 0;
  }

  .header-action span {
    overflow-wrap: anywhere;
  }

  .intro-band,
  .catalog-section,
  .object-section,
  .process-section,
  .request-section {
    padding-inline: 14px;
  }

  .object-list div {
    grid-template-columns: 42px 1fr;
    font-size: 16px;
  }
}
