:root {
  --ink: #101722;
  --ink-2: #182435;
  --steel: #526070;
  --muted: #738091;
  --line: #d9e0e8;
  --soft: #f3f6f9;
  --white: #ffffff;
  --accent: #d76f21;
  --accent-blue: #1e7fa8;
  --shadow: 0 24px 70px rgba(16, 23, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
  flex: 0 0 44px;
}

.brand-title,
.brand-subtitle {
  display: block;
}

.brand-title {
  font-size: 14px;
  font-weight: 800;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--steel);
  font-size: 14px;
}

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

.header-phone {
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.section,
.section-band {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 4vw, 56px);
}

.section-band {
  background: var(--soft);
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(105deg, rgba(16, 23, 34, 0.94), rgba(24, 36, 53, 0.88)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 86px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 86px),
    var(--ink-2);
}

.hero-grid,
.request-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.hero-content {
  color: var(--white);
}

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

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.hero-lead {
  max-width: 760px;
  color: #dfe7ef;
  font-size: clamp(18px, 2vw, 23px);
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

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

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

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

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

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-panel {
  overflow: hidden;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
}

.hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.scheme-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  color: #dfe7ef;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #42b6d8;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(66, 182, 216, 0.12);
}

.scheme-grid {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.scheme-grid > div {
  padding: 22px;
  background: rgba(24, 36, 53, 0.9);
}

.service-number,
.timeline span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.scheme-title {
  display: block;
  color: var(--white);
  font-size: 16px;
  line-height: 1.35;
}

.scheme-title span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.scheme-grid p {
  margin: 8px 0 0;
  color: #c8d3df;
}

.section-heading {
  width: min(880px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--steel);
  font-size: 18px;
}

.service-stack {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.service-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(16, 23, 34, 0.06);
}

.service-card:nth-child(even) {
  margin-left: clamp(0px, 7vw, 72px);
}

.service-card p,
.advantage-item p,
.timeline p,
.request p,
.form-note {
  color: var(--steel);
}

.timeline {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  list-style: none;
  background: var(--white);
}

.timeline li {
  min-height: 260px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.timeline strong {
  display: block;
  margin-bottom: 8px;
  line-height: 1.28;
}

.timeline li:last-child {
  border-right: 0;
}

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

.advantage-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.advantage-item {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(30, 127, 168, 0.06), transparent 42%),
    var(--white);
}

.advantage-item strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
}

.request {
  background:
    linear-gradient(110deg, rgba(16, 23, 34, 0.96), rgba(24, 36, 53, 0.92)),
    var(--ink-2);
  color: var(--white);
}

.request-grid {
  align-items: start;
}

.contacts {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  color: #dfe7ef;
}

.request-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.request-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.request-form input,
.request-form textarea {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 4px;
  padding: 14px 13px;
  color: var(--ink);
  background: #fbfcfe;
  font: inherit;
}

.request-form input:focus,
.request-form textarea:focus {
  outline: 2px solid rgba(30, 127, 168, 0.26);
  border-color: var(--accent-blue);
}

.request-form textarea {
  resize: vertical;
}

.request-form .button {
  width: 100%;
  margin-top: 6px;
  font: inherit;
}

.form-note {
  margin: 0;
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: #dfe7ef;
  background: var(--ink);
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

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

  .hero {
    min-height: auto;
  }

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

  .timeline li {
    min-height: 210px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .brand {
    min-width: 0;
  }

  .brand-title {
    font-size: 13px;
  }

  .header-phone {
    width: 100%;
  }

  .main-nav {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-card,
  .timeline,
  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(even) {
    margin-left: 0;
  }

  .timeline li {
    min-height: auto;
    border-right: 0;
  }

  .section-heading {
    text-align: left;
  }
}
