:root {
  --blue: #5361f6;
  --navy: #14213a;
  --muted: #617088;
  --footer: #f5f8fc;
  --line: #e3e9f3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: #fff;
  color: var(--navy);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: absolute;
  z-index: 4;
  inset: 0 0 auto;
  height: 82px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 32px;
}

.brand {
  display: inline-flex;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 38px;
  color: #101b31;
  font-size: 14px;
/*  font-weight: 700;*/
}

.nav-links a:first-child {
  color: #293ed2;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #101b31;
  font-size: 14px;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 20px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  padding: 0 26px;
  box-shadow: 0 14px 28px rgba(83, 97, 246, 0.18);
}

.contact-hero {
  position: relative;
  overflow: hidden;
  min-height: 555px;
  padding: 230px 0 0;
  background:
    radial-gradient(circle at 16% 25%, rgba(197, 235, 255, 0.92), transparent 25%),
    radial-gradient(circle at 73% 32%, rgba(204, 241, 252, 0.84), transparent 23%),
    radial-gradient(circle at 46% 19%, rgba(255, 209, 216, 0.45), transparent 20%),
    linear-gradient(115deg, #eaf8ff 0%, #fff3f5 43%, #f7fbff 100%);
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-ring-left {
  left: -138px;
  bottom: 28px;
  width: 240px;
  height: 240px;
  border: 42px solid rgba(83, 97, 246, 0.22);
  box-shadow: 0 0 70px rgba(83, 97, 246, 0.18);
}

.hero-ring-right {
  right: -140px;
  bottom: 14px;
  width: 300px;
  height: 300px;
  border: 78px solid rgba(255, 255, 255, 0.56);
  box-shadow: 0 0 80px rgba(83, 97, 246, 0.12);
}

.contact-intro {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

.contact-intro h1 {
  margin: 0 0 26px;
  color: #151922;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 900;
}

.contact-lines {
  display: grid;
  gap: 8px;
  margin-bottom: 36px;
}

.contact-lines p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  color: #2d3b52;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.contact-icon {
  display: inline-flex;
  width: 21px;
  height: 21px;
  fill: #1f242d;
  flex: 0 0 auto;
}

.mail-svg {
  width: 22px;
  height: 22px;
}

.qr-code {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 1px #fff;
}

.location-section {
  background: var(--blue);
  padding: 132px 0 52px;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
}

.location-card h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #fff;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 500;
}

.pin-icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: #fff;
  transform: rotate(-45deg);
}

.pin-icon::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.location-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
  border-radius: 8px;
}

.footer {
  background: var(--footer);
  padding: 88px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) 170px 170px 170px;
  gap: 86px;
}

.footer-about p {
  max-width: 500px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.footer h3 {
  margin: 22px 0 26px;
  color: #202938;
  font-size: 14px;
  font-weight: 800;
}

.footer-grid > div:not(.footer-about) a {
  display: block;
  margin-bottom: 20px;
  color: #68758b;
  font-size: 14px;
}

.footer-bottom {
  margin-top: 86px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: #708098;
  font-size: 13px;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .location-grid {
    gap: 36px;
  }

  .location-card h2 {
    font-size: 18px;
  }

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

@media (max-width: 720px) {
  .shell {
    width: min(100% - 24px, 1190px);
  }

  .site-header,
  .nav {
    height: 72px;
  }

  .nav-actions > a:not(.pill-link) {
    display: none;
  }

  .pill-link {
    padding: 0 18px;
  }

  .contact-hero {
    min-height: 500px;
    padding-top: 150px;
  }

  .contact-intro h1 {
    font-size: 38px;
  }

  .contact-lines p {
    font-size: 16px;
  }

  .qr-code {
    width: 132px;
    height: 132px;
  }

  .location-section {
    padding: 82px 0 44px;
  }

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

  .footer {
    padding-top: 62px;
  }

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