:root {
  color-scheme: dark;
  --bg: #090909;
  --panel: #141414;
  --panel-strong: #1d1d1a;
  --text: #f7f2e9;
  --muted: #b8b0a4;
  --line: rgba(247, 242, 233, 0.14);
  --orange: #ff6b1a;
  --orange-strong: #ff8a3d;
  --cream: #fff4df;
  --mint: #6ee7c8;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 107, 26, 0.22), transparent 28rem),
    linear-gradient(145deg, #090909 0%, #10100f 46%, #18130f 100%);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(9, 9, 9, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 350px;
}

.brand img {
  display: block;
  width: min(382px, 72vw);
  height: auto;
}

.nav {
  gap: 26px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
}

.nav a,
.top-contact {
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.top-contact {
  display: grid;
  gap: 2px;
  min-width: 168px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 107, 26, 0.42);
  border-radius: 8px;
  color: var(--cream);
  font-weight: 650;
  line-height: 1.12;
  text-align: center;
}

.top-contact:hover {
  background: rgba(255, 107, 26, 0.12);
}

.phone-number {
  font-size: 16px;
  font-weight: 800;
}

.phone-note {
  color: var(--orange-strong);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  max-width: 1240px;
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 104px) clamp(20px, 5vw, 40px) 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.18;
}

.lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 750;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  color: #111;
  background: linear-gradient(135deg, var(--orange), var(--orange-strong));
  box-shadow: 0 16px 42px rgba(255, 107, 26, 0.25);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  padding: 20px;
  border: 1px solid rgba(255, 244, 223, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(20, 20, 20, 0.72);
  box-shadow: var(--shadow);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: contain;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px) 72px;
  gap: 1px;
}

.metrics div {
  min-height: 132px;
  padding: 24px;
  background: rgba(255, 244, 223, 0.07);
  border: 1px solid var(--line);
}

.metrics strong {
  display: block;
  margin-bottom: 10px;
  color: var(--cream);
  font-size: 24px;
}

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

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 88px clamp(20px, 5vw, 40px);
}

.intro,
.advantages,
.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.intro p:last-child,
.advantages li,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 24px;
}

.service-card,
.steps div,
.case-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.78);
}

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

.service-card p,
.steps p,
.case-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.icon {
  display: inline-grid;
  min-width: 44px;
  height: 34px;
  margin-bottom: 30px;
  place-items: center;
  border: 1px solid rgba(255, 107, 26, 0.5);
  border-radius: 8px;
  color: var(--orange-strong);
  font-size: 13px;
  font-weight: 850;
}

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

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

.steps div {
  min-height: 260px;
  padding: 24px;
}

.steps span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 50%;
  color: #111;
  background: var(--orange);
  font-weight: 850;
}

.cases {
  padding-top: 40px;
}

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

.case-list article {
  min-height: 240px;
  padding: 28px;
  background:
    linear-gradient(160deg, rgba(255, 107, 26, 0.13), transparent 42%),
    rgba(20, 20, 20, 0.78);
}

.case-list span {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--mint);
  font-weight: 800;
}

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

.advantages ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.advantages li {
  padding-left: 22px;
  border-left: 3px solid var(--orange);
}

.contact {
  max-width: 1160px;
  margin: 72px auto;
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid rgba(255, 107, 26, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 107, 26, 0.24), transparent 48%),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.contact h2 {
  max-width: 560px;
}

.contact-actions {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.contact-link {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 9, 9, 0.42);
}

.contact-link span {
  color: var(--orange-strong);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-link strong {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 1040px) {
  .topbar {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-visual img {
    min-height: 380px;
  }

  .metrics,
  .services,
  .steps,
  .case-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar {
    position: static;
    flex-wrap: wrap;
    padding: 16px 20px;
  }

  .brand {
    min-width: 0;
    width: 100%;
  }

  .brand img {
    width: min(360px, 100%);
  }

  .top-contact {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero {
    padding-top: 46px;
  }

  h1 {
    font-size: 46px;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 300px;
    padding: 8px;
  }

  .hero-visual img {
    min-height: 280px;
  }

  .metrics,
  .services,
  .steps,
  .case-list,
  .intro,
  .advantages,
  .contact {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .contact {
    margin: 34px 20px;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .brand {
    font-size: 15px;
  }
}
