:root {
  --ink: #101820;
  --muted: #64707d;
  --line: #dbe2e8;
  --paper: #f7f9fb;
  --white: #ffffff;
  --accent: #f2b705;
  --accent-strong: #d48a00;
  --steel: #24455d;
  --green: #1f7a5a;
  --shadow: 0 18px 60px rgba(16, 24, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(16, 24, 32, 0.82), rgba(16, 24, 32, 0));
}

.brand,
.nav,
.header-phone {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.nav {
  gap: clamp(14px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  white-space: nowrap;
}

.nav a,
.header-phone {
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

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

.header-phone {
  justify-self: end;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 132px clamp(18px, 4vw, 56px) 44px;
  overflow: hidden;
  color: var(--white);
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 16, 22, 0.92) 0%, rgba(8, 16, 22, 0.68) 43%, rgba(8, 16, 22, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 16, 22, 0.72) 0%, rgba(8, 16, 22, 0) 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  min-width: 0;
  max-width: 760px;
  padding-bottom: 54px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(38px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
}

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

.button.primary:hover {
  background: #ffd24c;
}

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

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 980px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats div {
  padding: 22px 28px 0 0;
}

.hero-stats strong {
  display: block;
  color: var(--accent);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

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

.section,
.band-content {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro p:last-child,
.contact-copy p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.service-card,
.advantage-grid div,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(16, 24, 32, 0.03);
}

.service-card {
  min-height: 236px;
  padding: 26px;
}

.service-icon {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--accent-strong);
  font-weight: 900;
}

.service-card h3,
.advantage-grid h3,
.timeline h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.service-card p,
.advantage-grid p,
.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

.band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(36, 69, 93, 0.96), rgba(31, 122, 90, 0.92)),
    var(--steel);
}

.band-content {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(58px, 8vw, 92px) 0;
}

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

.object-list span {
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

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

.advantage-grid div {
  padding: 24px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding-top: 68px;
}

.timeline span {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--accent);
  font-weight: 900;
}

.timeline li::before {
  position: absolute;
  top: 23px;
  left: 58px;
  right: 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.timeline li:last-child::before {
  display: none;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.contact-lines {
  margin-top: 28px;
}

.contact-lines a {
  color: var(--steel);
  font-weight: 900;
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

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

textarea {
  resize: vertical;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.74);
  background: var(--ink);
}

.footer span:first-child {
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    background: rgba(16, 24, 32, 0.82);
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
  }

  .hero-content {
    padding-bottom: 34px;
  }

  .hero-stats,
  .intro,
  .band-content,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 12px;
  }

  .hero-stats div {
    padding-top: 18px;
  }

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

  .timeline li:nth-child(2)::before {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: absolute;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .header-phone {
    justify-self: start;
  }

  .brand {
    font-size: 15px;
  }

  .hero {
    padding-top: 132px;
    padding-bottom: 30px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 16, 22, 0.94), rgba(8, 16, 22, 0.58)),
      linear-gradient(0deg, rgba(8, 16, 22, 0.82), rgba(8, 16, 22, 0.08));
  }

  h1 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .button {
    width: 100%;
    max-width: 100%;
  }

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

  .hero-stats,
  .service-grid,
  .advantage-grid,
  .timeline,
  .object-list {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    border-top: 0;
  }

  .hero-stats div {
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .service-card {
    min-height: 0;
  }

  .timeline li::before {
    display: none;
  }

  .footer {
    flex-direction: column;
  }
}
