:root {
  --navy: #0b1028;
  --navy-2: #071426;
  --blue: #1e88e5;
  --turquoise: #2de2c7;
  --text: #101828;
  --muted: #5b667a;
  --line: #e7ecf4;
  --surface: #ffffff;
  --soft: #f5f8fc;
  --radius: 8px;
  --shadow: 0 12px 30px rgba(15, 33, 64, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(18px, 6vw, 96px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(231, 236, 244, 0.9);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
  font-weight: 800;
  color: var(--navy);
}

.brand-logo {
  width: 56px;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 54px);
  flex: 1;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
  color: var(--navy);
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(30, 136, 229, 0.22);
}

.hero {
  min-height: clamp(420px, 52vw, 650px);
  display: grid;
  align-items: center;
  padding: clamp(56px, 9vw, 112px) clamp(22px, 8vw, 136px);
  color: #fff;
  background-color: var(--navy-2);
  background-image:
    linear-gradient(90deg, rgba(7, 20, 38, 0.96) 0%, rgba(7, 20, 38, 0.72) 42%, rgba(7, 20, 38, 0.18) 100%),
    image-set(
      url("assets/images/hero-banner.webp") type("image/webp"),
      url("assets/images/hero-banner.png") type("image/png")
    );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.84rem;
}

.hero .eyebrow {
  color: var(--turquoise);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 {
  color: #fff;
  max-width: 620px;
  font-size: 4.6rem;
}

.hero-lead {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
}

.btn.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 136, 229, 0.22);
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 7vw, 120px);
}

.services {
  text-align: center;
  background: #fff;
}

.services h2 {
  font-size: 2.5rem;
}

.section-intro {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 280px;
  padding: 26px 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.about {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background: var(--soft);
}

.about h2,
.cooperation h2,
.contact h2 {
  margin-bottom: 20px;
  font-size: 2.35rem;
}

.section-lead {
  margin-top: -8px;
  font-weight: 700;
  color: var(--navy);
}

.about p,
.cooperation p,
.contact p {
  color: var(--muted);
  max-width: 720px;
}

.about-media {
  display: block;
}

.about-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cooperation {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
  background: #fff;
}

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

.checks li {
  position: relative;
  padding: 14px 16px 14px 48px;
  border-radius: 12px;
  background: var(--soft);
  font-weight: 700;
}

.checks li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.8rem;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #062b4b);
}

.contact h2 {
  color: #fff;
}

.contact .section-kicker {
  color: var(--turquoise);
}

.contact p {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  padding: 42px clamp(20px, 7vw, 120px);
  color: rgba(255, 255, 255, 0.86);
  background: var(--navy-2);
}

.site-footer strong {
  color: #fff;
}

.site-footer a {
  color: #fff;
}

.site-footer small {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  text-align: center;
}

@media (max-width: 1180px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav {
    gap: 18px;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero {
    min-height: 560px;
    background-image:
      linear-gradient(90deg, rgba(7, 20, 38, 0.96) 0%, rgba(7, 20, 38, 0.82) 70%, rgba(7, 20, 38, 0.58) 100%),
      image-set(
        url("assets/images/hero-banner.webp") type("image/webp"),
        url("assets/images/hero-banner.png") type("image/png")
      );
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-lead {
    font-size: 1.1rem;
  }

  .services h2,
  .about h2,
  .cooperation h2,
  .contact h2 {
    font-size: 2rem;
  }

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

  .about,
  .cooperation {
    grid-template-columns: 1fr;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: 44px;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 520px;
    padding: 52px 20px;
    background-position: 62% center;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .service-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .service-icon {
    width: 64px;
    height: 64px;
  }
}
