:root {
  --blue: #064ee4;
  --blue-dark: #0039be;
  --ink: #090b11;
  --muted: #5a6170;
  --line: #d9dee8;
  --soft: #f7f9fc;
  --white: #ffffff;
  --footer: #24292e;
  --max: 1120px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background: var(--white);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #eef1f5;
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.logo {
  width: 78px;
  height: 78px;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-weight: 800;
  font-size: 15px;
}

.nav-link {
  position: relative;
  padding: 32px 0 28px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--blue);
  color: white;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn.ghost {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 255, 255, 0.75);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn.light {
  background: white;
  color: var(--blue);
  min-width: 170px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  min-height: 510px;
  display: grid;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.56) 38%, rgba(0, 0, 0, 0.05)), var(--hero);
  background-size: cover;
  background-position: center;
  color: white;
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 60px 0;
}

.hero .logo {
  margin-bottom: 30px;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.15;
  letter-spacing: 0;
}

.hero p {
  max-width: 540px;
  margin: 18px 0 0;
  font-size: 20px;
  font-weight: 650;
}

.hero .subcopy {
  margin-top: 18px;
  max-width: 560px;
  font-size: 18px;
  font-weight: 550;
}

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

.section {
  padding: 38px 0;
}

.section.tight {
  padding-top: 18px;
}

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

.section-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(27px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-head p {
  margin: 0;
  color: #10131a;
  font-weight: 600;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  min-height: 238px;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  text-align: center;
  box-shadow: 0 10px 28px rgba(12, 24, 44, 0.03);
}

.card.compact {
  min-height: 182px;
  padding: 26px 22px;
}

.card h3 {
  margin: 18px 0 10px;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: 0;
}

.card p {
  margin: 0;
  font-weight: 600;
}

.icon {
  width: 62px;
  height: 62px;
  margin: 0 auto;
  color: var(--blue);
}

.mini-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.mini {
  padding: 0 34px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.mini:last-child {
  border-right: 0;
}

.mini h3 {
  margin: 14px 0 8px;
  font-size: 18px;
  line-height: 1.2;
}

.mini p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.sector-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  box-shadow: 0 10px 28px rgba(12, 24, 44, 0.03);
}

.sector-card img {
  width: 100%;
  height: 132px;
  object-fit: cover;
}

.sector-body {
  padding: 18px 20px 24px;
}

.sector-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.15;
}

.sector-title .icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  margin: 0;
}

.sector-body p {
  margin: 0;
  font-weight: 600;
}

.contact-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 24px;
}

.info-card {
  padding: 22px;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 7px;
  text-align: center;
}

.info-card .icon {
  width: 50px;
  height: 50px;
}

.info-card h3 {
  margin: 10px 0 2px;
  font-size: 20px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 24px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 28px;
  background: white;
}

.panel h2 {
  margin: 0 0 18px;
  font-size: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 22px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd6e2;
  border-radius: 5px;
  padding: 12px 13px;
  font: inherit;
  font-size: 15px;
  background: white;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

.form-message {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--blue);
  font-weight: 800;
}

.help-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  margin: 0 0 22px;
}

.help-item .icon {
  width: 52px;
  height: 52px;
}

.help-item h3 {
  margin: 0 0 5px;
  font-size: 18px;
}

.help-item p {
  margin: 0;
  font-weight: 600;
}

.cta-zone {
  margin-top: 28px;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)), url("assets/footer-strip.png");
  background-size: cover;
  background-position: center;
}

.cta-card {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  transform: translateY(28px);
  padding: 24px 30px 28px;
  border-radius: 7px;
  color: white;
  text-align: center;
  background: linear-gradient(135deg, #0759f4, #013bd0);
  box-shadow: 0 18px 38px rgba(0, 28, 100, 0.25);
}

.cta-card h2 {
  margin: 0 0 4px;
  font-size: 31px;
  line-height: 1.15;
}

.cta-card p {
  max-width: 620px;
  margin: 0 auto 18px;
  font-size: 20px;
}

.footer {
  padding: 54px 20px 18px;
  color: white;
  text-align: center;
  background: linear-gradient(180deg, #30363c, #202428);
}

.footer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

.footer-line span {
  opacity: 0.55;
}

.footer small {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 920px) {
  .nav-wrap {
    min-height: 72px;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 24px;
    background: white;
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 14px 0;
  }

  .nav-link::after {
    bottom: 7px;
    right: auto;
    width: 46px;
  }

  .nav-wrap > .btn {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .grid.four,
  .sector-grid,
  .contact-band,
  .mini-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid.three,
  .grid.two,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .mini {
    padding: 24px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mini:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .container,
  .hero-inner,
  .nav-wrap {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    min-height: 610px;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.62)), var(--hero);
  }

  .hero p,
  .hero .subcopy,
  .cta-card p {
    font-size: 17px;
  }

  .hero-actions {
    gap: 12px;
  }

  .btn {
    width: 100%;
  }

  .grid.four,
  .sector-grid,
  .contact-band,
  .mini-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }

  .mini,
  .mini:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .mini:last-child {
    border-bottom: 0;
  }

  .panel {
    padding: 22px;
  }

  .footer-line {
    flex-direction: column;
    gap: 6px;
  }

  .footer-line span {
    display: none;
  }
}
