:root {
  --ink: #15171a;
  --muted: #626a73;
  --line: #d9dee5;
  --paper: #f4f7f8;
  --white: #ffffff;
  --accent: #130c8a;
  --accent-dark: #0b075c;
  --blue: #3a2dff;
  --warm: #f2b84b;
  --coral: #e96f55;
  --deep: #101a2e;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(244, 247, 248, 0.92);
  border-bottom: 1px solid rgba(217, 222, 229, 0.86);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 20px;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 38px;
  border-radius: 8px;
  color: var(--white);
  background: var(--accent-dark);
  font-size: 18px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav a:hover,
.topbar-action:hover,
.footer a:hover {
  color: var(--accent-dark);
}

.topbar-action {
  color: var(--accent-dark);
  font-weight: 800;
}

.menu-button {
  display: none;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(420px, 0.68fr) minmax(720px, 1.32fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(36px, 5.6vw, 73px) clamp(20px, 5vw, 72px) clamp(52px, 8vw, 104px);
  background:
    radial-gradient(circle at 82% 22%, rgba(19, 12, 138, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f4f7f8 100%);
}

.hero-content {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 10vw, 118px);
  line-height: 0.9;
  letter-spacing: 0;
}

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

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

.lead {
  max-width: 660px;
  color: #454d57;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.52;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  cursor: pointer;
}

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

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  transform: translateY(-34px);
}

.hero-visual img {
  display: block;
  width: min(100%, 1080px);
  height: auto;
  margin-left: auto;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(16, 26, 46, 0.16);
}

.section {
  padding: clamp(54px, 8vw, 92px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(320px, 1fr);
  gap: clamp(24px, 6vw, 88px);
  align-items: start;
  background: var(--white);
}

.intro p:last-child,
.contacts p {
  color: #47505b;
  font-size: 19px;
  line-height: 1.62;
}

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

.service-card {
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card p,
.step p,
.package p,
.industry-card p,
.future-block p {
  color: var(--muted);
  line-height: 1.58;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  border-radius: 8px;
  color: var(--accent-dark);
  background: #e7eefb;
  font-weight: 900;
}

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

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

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.industry-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.industry-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 24px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--accent-dark);
  background: #e7eefb;
  font-size: 13px;
  font-weight: 850;
}

.industry-card ul {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding-left: 18px;
  color: #47505b;
  line-height: 1.48;
}

.industry-card li::marker {
  color: var(--accent);
}

.future-block {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(280px, 1fr);
  gap: clamp(20px, 5vw, 64px);
  align-items: center;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(242, 184, 75, 0.16), transparent 44%),
    #ffffff;
}

.section-title {
  max-width: 790px;
}

.process .eyebrow {
  color: #8ddbcf;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.step {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 26px;
  border-radius: 50%;
  color: var(--deep);
  background: var(--warm);
  font-weight: 900;
}

.step p {
  color: rgba(255, 255, 255, 0.74);
}

.packages {
  background: #fbfcfd;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.package {
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contacts {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(54px, 8vw, 92px) clamp(20px, 5vw, 72px);
  background: var(--white);
}

.legal {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
}

.legal div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.legal dt {
  margin-bottom: 5px;
  font-weight: 850;
}

.legal dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(19, 12, 138, 0.18);
  border-color: var(--accent);
}

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

@media (max-width: 1060px) {
  .services,
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav,
  .topbar-action {
    display: none;
  }

  .menu-button {
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
  }

  .menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .topbar.open .nav,
  .topbar.open .topbar-action {
    display: flex;
    grid-column: 1 / -1;
  }

  .topbar.open .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: auto;
    transform: none;
  }

  .hero-visual img {
    margin: 0 auto;
  }

  .steps,
  .package-grid,
  .future-block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .services,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

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