.header {
  background: #fff;
  border-bottom: 1px solid #d7dee6;
  box-shadow: 0 8px 30px rgba(8, 27, 52, 0.08);
}
.nav {
  min-height: 118px;
}
.logo {
  width: 310px;
  height: 105px;
  flex: none;
}
.links {
  gap: 24px;
}
.links a {
  font-size: 0.95rem;
}
.hero {
  padding: 88px 0 98px;
}
.hero-grid {
  grid-template-columns: 1fr 0.82fr;
}
.hero-brand {
  border-radius: 22px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}
.hero-brand img {
  display: block;
  width: 100%;
  height: auto;
}
.corporate-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-top: -38px;
  position: relative;
  z-index: 3;
  background: #fff;
  box-shadow: 0 20px 50px rgba(8, 27, 52, 0.11);
}
.proof {
  padding: 24px;
  border-right: 1px solid var(--line);
}
.proof:last-child {
  border-right: 0;
}
.proof strong {
  display: block;
  font-size: 1.35rem;
  color: var(--navy);
}
.proof span {
  color: var(--muted);
  font-size: 0.9rem;
}
.country-mark {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  color: var(--navy);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: auto;
}
.country-mark img {
  width: 74px;
  height: 54px;
  object-fit: contain;
}
.country-mark b {
  display: block;
  font-size: 1.08rem;
  line-height: 1;
}
.country-mark small {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #667487;
}
.country-card h3 {
  margin: 26px 0 8px;
}
.country-seal {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  color: var(--navy);
  border-radius: 14px;
  padding: 13px 18px;
  margin-bottom: 24px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}
.country-seal img {
  width: 110px;
  height: 72px;
  object-fit: contain;
}
.country-seal strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
}
.country-seal span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7785;
}
.legacy-intro {
  max-width: 840px;
}
.legacy-intro h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}
.service-number {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin-bottom: 12px;
}
.project-tag {
  display: inline-block;
  color: var(--orange);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.market-nav {
  background: var(--navy);
  color: #fff;
}
.market-nav .wrap {
  display: flex;
  justify-content: center;
  gap: 36px;
  padding: 11px 20px;
}
.market-nav a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.market-nav a:hover {
  color: var(--orange);
}
@media (max-width: 1000px) {
  .nav {
    min-height: 96px;
  }
  .logo {
    width: 245px;
    height: 84px;
  }
  .links {
    gap: 14px;
  }
  .links a {
    font-size: 0.82rem;
  }
  .corporate-proof {
    grid-template-columns: 1fr;
  }
  .proof {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .proof:last-child {
    border-bottom: 0;
  }
}
@media (max-width: 860px) {
  .nav {
    min-height: 88px;
  }
  .logo {
    width: 240px;
    height: 82px;
  }
  .links {
    display: none;
  }
  .corporate-proof {
    margin-top: -20px;
  }
  .market-nav .wrap {
    gap: 18px;
    overflow: auto;
    justify-content: flex-start;
    white-space: nowrap;
  }
  .country-seal {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-brand {
    max-width: 580px;
  }
}
@media (max-width: 520px) {
  .logo {
    width: 220px;
    height: 76px;
  }
  .corporate-proof {
    grid-template-columns: 1fr;
  }
  .proof {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .proof:last-child {
    border-bottom: 0;
  }
  .country-mark img {
    width: 62px;
  }
}
.footer-wordmark {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: white;
}
.compact-header .nav {
  min-height: 76px;
  padding: 10px 0;
}
.compact-header .links {
  margin: auto;
}
