:root {
  --primary: #0B4DFF;
  --primary-dark: #07265C;
  --navy: #07152F;
  --text: #101936;
  --muted: #5B6477;
  --line: #DDE6F3;
  --card: #FFFFFF;
  --bg: #F8FBFF;
  --footer-bg: #F3F7FC;
  --shadow: 0 18px 45px rgba(7, 21, 47, 0.08);
  --mobile-shadow: 0 8px 22px rgba(7, 21, 47, 0.045);
}

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

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

/* =========================
   HEADER
========================= */
#header {
  min-height: 83px;
}

.site-header {
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-inner {
  height: 82px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 40px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-logo img {
  width: 170px;
  height: 49px;      /* 170 × (2297/8001) ≈ 49 */
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 42px;
}

.main-nav a {
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
  transition: 0.25s ease;
  padding: 8px 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 22px;
}

.header-cta {
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 26px rgba(11, 77, 255, 0.22);
  transition: 0.25s ease;
  white-space: nowrap;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(11, 77, 255, 0.30);
}

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--mobile-shadow);
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
  position: relative;
  display: block;
}

.hamburger span::before,
.hamburger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
}

.hamburger span::before {
  top: -7px;
}

.hamburger span::after {
  top: 7px;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--line);
  padding: 70px 0 0;
  color: var(--text);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr 1.15fr;
  gap: 60px;
  padding-bottom: 58px;
}

.footer-logo {
  width: 170px;
  margin-bottom: 28px;
}

.footer-about p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  max-width: 360px;
  letter-spacing: 0.03em;
}

.footer-col h3 {
  color: var(--muted);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.footer-links {
  display: grid;
  gap: 18px;
}

.footer-links li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
}

.footer-links a {
  transition: 0.22s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-arrow {
  width: 18px;
  height: 18px;
  border: 1.4px solid var(--navy);
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--navy);
  flex: 0 0 auto;
}

.contact-list {
  display: grid;
  gap: 22px;
}

.contact-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
}

.contact-icon {
  color: var(--navy);
  font-size: 15px;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid var(--navy);
  padding: 18px 0;
}

.footer-bottom-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(7, 21, 47, 0.16);
  transition: 0.25s ease;
}

.social-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  display: block;
}

.social-link:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(11, 77, 255, 0.25);
}

.copyright {
  text-align: center;
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0.04em;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .main-nav {
    gap: 24px;
  }

 .site-logo img {
  width: 150px;
  height: auto;
}

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px;
  }

  .footer-bottom-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

@media (max-width: 768px) {
  #header {
    min-height: 73px;
  }
  .container {
    width: calc(100% - 24px);
  }

 .header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

  .site-logo img {
    width: 140px;
  }

  .hamburger {
    display: inline-flex;
  }

  

  .main-nav {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 78px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: 0.25s ease;

  justify-content: stretch;
  justify-items: stretch;
  text-align: center;
}

  .main-nav a {
  padding: 14px;
  border-radius: 14px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

  .main-nav a:hover,
  .main-nav a.active {
    background: #EEF5FF;
  }

  .main-nav a::after {
    display: none;
  }

  .menu-toggle:checked ~ .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-footer {
    padding-top: 46px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 40px;
  }

  .footer-logo {
    width: 150px;
    margin-bottom: 22px;
  }

  .footer-about p {
    font-size: 15px;
    max-width: 100%;
  }

  .footer-col h3 {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .footer-links {
    gap: 14px;
  }

  .footer-links li,
  .contact-item {
    font-size: 15px;
  }

  .footer-bottom {
    padding: 18px 0 22px;
  }

  .copyright {
    font-size: 13px;
    line-height: 1.6;
  }
}