:root {
  --ink: #162231;
  --muted: #5d6875;
  --line: #dfe5eb;
  --soft: #f4f7fa;
  --white: #ffffff;
  --blue: #174f86;
  --blue-2: #0b6fae;
  --green: #188061;
  --accent: #f0b429;
  --shadow: 0 18px 50px rgba(18, 34, 52, .14);
  --radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.62;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: #101820;
  color: #dce7f1;
  font-size: 14px;
}
.topbar .container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.topbar a { color: #fff; font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { width: 260px; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 700;
}
.nav-links a { color: #233140; white-space: nowrap; }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(23,79,134,.22);
}
.btn-primary:hover { background: #0f416f; }
.btn-secondary {
  color: var(--blue);
  background: #fff;
  border-color: #b9c9d8;
}
.btn-contact {
  color: #0f2538 !important;
  background: var(--accent);
  border-color: #d99e18;
}

.hero {
  position: relative;
  min-height: 690px;
  color: #fff;
  background: linear-gradient(90deg, rgba(12,27,43,.94) 0%, rgba(12,27,43,.78) 44%, rgba(12,27,43,.18) 100%), url("hero-it-consulting.png") center/cover no-repeat;
}
.hero .container {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 680px) 330px;
  align-items: center;
  gap: 56px;
  padding: 72px 0;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #8fe1c4; }
h1, h2, h3 {
  margin: 0 0 16px;
  line-height: 1.12;
}
h1 { font-size: clamp(40px, 6vw, 70px); max-width: 760px; }
h2 { font-size: clamp(28px, 4vw, 46px); }
h3 { font-size: 21px; }
.lead {
  margin: 0;
  max-width: 680px;
  color: #e5eef5;
  font-size: 20px;
}
.hero-actions, .offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-proof {
  align-self: end;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.hero-proof strong { display: block; font-size: 34px; line-height: 1; }
.hero-proof p { margin: 10px 0 0; color: var(--muted); }

.section { padding: 82px 0; }
.section-alt { background: var(--soft); }
.section-head { max-width: 790px; margin-bottom: 34px; }
.section-head p:last-child { color: var(--muted); font-size: 18px; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img, .media-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.check-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  margin: 11px 0;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: .76em;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-width: 0;
}
.card p { color: var(--muted); margin-bottom: 0; }
.service-card { padding: 0; overflow: hidden; }
.service-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.service-card .icon {
  margin: 22px 22px 8px;
}
.service-card h3, .service-card p { padding-left: 22px; padding-right: 22px; }
.service-card h3 { margin-top: 18px; }
.service-card p { padding-bottom: 22px; }
.icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #e9f3fb;
  color: var(--blue);
  font-weight: 900;
}
.band {
  background: #142233;
  color: #fff;
}
.band .eyebrow { color: #8fe1c4; }
.band .section-head p, .band .card p { color: #d7e2ec; }
.band .card {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
}

.offer-box {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center;
  padding: 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.offer-visual { margin: 0; position: relative; }
.offer-visual img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.offer-badge {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
}
.offer-badge strong { display: block; color: var(--blue); font-size: 31px; line-height: 1; }
.offer-badge span { display: block; margin-top: 7px; color: var(--muted); font-size: 14px; }

.package-card {
  border-top: 5px solid var(--accent);
}
.package-card .price {
  display: block;
  margin: 12px 0 6px;
  color: var(--blue);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}
.package-card .price-note {
  color: var(--muted);
  font-size: 14px;
}

.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.region-list a {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
}

.contact-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
}
.contact-person-card {
  max-width: 280px;
  margin: 22px 0 24px;
}
.contact-person-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.contact-person-card figcaption {
  margin-top: 10px;
  color: var(--ink);
  font-weight: 900;
}
.contact-person-card figcaption em {
  display: block;
  color: var(--muted);
  font-weight: 400;
}
form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
label { display: grid; gap: 6px; font-weight: 800; }
input, select, textarea {
  width: 100%;
  border: 1px solid #c9d4df;
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
textarea { min-height: 150px; resize: vertical; }
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 14px;
}
.privacy-check input { width: auto; margin-top: 5px; }
.hp-field { display: none; }
.fineprint { color: var(--muted); font-size: 13px; margin: 0; }

.page-hero {
  padding: 76px 0;
  background: #142233;
  color: #fff;
}
.page-hero .eyebrow { color: #8fe1c4; }
.page-hero p { max-width: 760px; color: #dce7f1; font-size: 19px; }
.legal { max-width: 920px; }
.legal h1 { color: var(--ink); font-size: 46px; }
.legal h2 { margin-top: 34px; font-size: 28px; }
.legal h3 { margin-top: 24px; font-size: 21px; }

.site-footer {
  color: #dbe7f0;
  background: #101820;
  padding: 52px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
}
.footer-links {
  display: grid;
  gap: 8px;
}
.footer-links strong { color: #fff; margin-bottom: 6px; }
.footer-links a, .site-footer a { color: #dbe7f0; }

.cookie-banner {
  position: fixed;
  z-index: 90;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px;
  color: #fff;
  background: #101820;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,.26);
}
.cookie-banner p { margin: 0; color: #dce7f1; }
.cookie-banner.is-visible { display: flex; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav { min-height: 76px; }
  .logo img { width: 220px; }
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 1px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 0 8px 8px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px; }
  .hero .container, .split, .offer-box, .contact-wrap, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero, .hero .container { min-height: auto; }
  .hero .container { padding: 82px 0; }
  .hero-proof { align-self: auto; max-width: 420px; }
  .services-grid, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .topbar .container { align-items: flex-start; flex-direction: column; padding: 8px 0; gap: 4px; }
  .logo img { width: 190px; }
  .hero { background-position: 62% center; }
  .hero .container { padding: 56px 0; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .lead { font-size: 18px; }
  .section { padding: 58px 0; }
  .services-grid, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .offer-box, form { padding: 22px; }
  .offer-badge { position: static; margin-top: 12px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .nav-links .btn { width: auto; }
}
