:root {
  --ink: #141719;
  --muted: #667075;
  --line: #d9e0df;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --teal: #0e8278;
  --teal-dark: #075c56;
  --amber: #e6aa3d;
  --coral: #d95e45;
  --shadow: 0 24px 70px rgba(19, 29, 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);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(180deg, rgba(8, 15, 17, 0.74), rgba(8, 15, 17, 0));
}

.brand,
.nav,
.header-call,
.button,
.contact-link,
.cookie-button {
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(10, 18, 20, 0.36);
  backdrop-filter: blur(14px);
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.header-call {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.header-call:hover,
.brand:hover,
.button:hover,
.contact-link:hover,
.cookie-button:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 128px clamp(20px, 5vw, 72px) 88px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 12, 14, 0.9) 0%, rgba(8, 12, 14, 0.68) 42%, rgba(8, 12, 14, 0.1) 100%),
    linear-gradient(0deg, rgba(8, 12, 14, 0.72) 0%, rgba(8, 12, 14, 0) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  color: #fff;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

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

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 800;
}

.button svg,
.contact-link svg {
  flex: 0 0 auto;
}

.button.primary {
  color: #08201e;
  background: #f7c75f;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.intro-item {
  min-height: 220px;
  padding: clamp(28px, 4vw, 52px);
  background: var(--panel);
}

.intro-number {
  display: block;
  color: var(--coral);
  font-weight: 900;
  margin-bottom: 24px;
}

.intro h2,
.service-card h3,
.steps h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.intro p,
.service-card p,
.steps p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 72px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

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

.service-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 36px rgba(24, 34, 34, 0.06);
}

.service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-size: 25px;
}

.service-note {
  max-width: 820px;
  margin: 22px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--amber);
  color: var(--muted);
  line-height: 1.65;
}

.advantages {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 24, 25, 0.95), rgba(16, 24, 25, 0.76)),
    url("assets/hero-workbench.png") center / cover;
}

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

.advantage-item {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.advantage-item span {
  display: block;
  margin-bottom: 28px;
  color: var(--amber);
  font-weight: 900;
}

.advantage-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 7vw, 88px);
  background: #fff;
}

.about-copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.about-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 7vw, 92px);
  background: #101819;
  color: #fff;
}

.steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.steps span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #10201f;
  background: var(--amber);
  font-weight: 900;
}

.steps p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 7vw, 86px);
  align-items: center;
  background: #fff;
}

.contact-copy p {
  max-width: 560px;
  margin-top: 18px;
  font-size: 18px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fbfa;
  color: var(--teal-dark);
  font-weight: 700;
}

.vk-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: #2f75d6;
  font-size: 10px;
  font-weight: 900;
}

.contact-link:hover {
  border-color: rgba(14, 130, 120, 0.45);
  background: #eef9f7;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #101819;
}

.footer span:first-child {
  color: #fff;
  font-weight: 800;
}

.cookie-banner {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 18px;
  display: flex;
  width: min(920px, calc(100% - 32px));
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(217, 224, 223, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.cookie-button {
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.cookie-button.accept {
  border-color: var(--teal);
  color: #fff;
  background: var(--teal);
}

.cookie-button.decline {
  color: var(--muted);
  background: #fff;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .intro,
  .service-grid,
  .advantage-grid,
  .about,
  .split,
  .contact-band {
    grid-template-columns: 1fr;
  }

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

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

  .hero {
    min-height: 86vh;
  }
}

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

  .brand span:last-child {
    display: none;
  }

  .header-call {
    font-size: 13px;
  }

  .hero {
    min-height: 88vh;
    padding: 112px 18px 58px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 12, 14, 0.92) 0%, rgba(8, 12, 14, 0.68) 100%),
      linear-gradient(0deg, rgba(8, 12, 14, 0.75) 0%, rgba(8, 12, 14, 0) 50%);
  }

  h1 {
    font-size: 42px;
  }

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

  .button {
    width: 100%;
  }

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

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

  .contact-links {
    display: grid;
  }

  .contact-link {
    width: 100%;
  }

  .footer {
    display: grid;
  }

  .cookie-banner {
    display: grid;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 13px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-button {
    flex: 1;
  }
}
