:root {
  --blue: #334faa;
  --blue-deep: #2b4494;
  --blue-mid: #4d6ed4;
  --blue-soft: #7fa0ea;
  --blue-pale: #eef3fb;
  --ink: #2c3d72;
  --muted: #5c6b8a;
  --card: #f7fbff;
  --line: #d7deee;
  --max: 1120px;
  --page: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { font-family: inherit; }

.site-header {
  background: #fff;
  border-bottom: 1px solid #eef1f6;
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  color: var(--blue);
  text-decoration: none;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-pill,
.agent-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  text-decoration: none;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 14px;
  background: #fff;
  white-space: nowrap;
}
.contact-pill svg { width: 16px; height: 16px; }
.contact-pill:hover,
.agent-pill:hover { background: var(--blue-pale); }

.lang { position: relative; }
.lang-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e23d3d;
  display: inline-block;
}
.caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--muted);
}
.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 128px;
  box-shadow: 0 10px 28px rgba(30, 50, 90, 0.12);
  z-index: 30;
  overflow: hidden;
}
.lang.open .lang-menu { display: block; }
.lang-menu a {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
}
.lang-menu a:hover,
.lang-menu a.active { background: var(--blue-pale); color: var(--blue); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--blue);
}

.site-nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 20px 16px;
}
.site-nav a {
  text-decoration: none;
  color: #3e4e72;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.site-nav a:hover {
  color: var(--blue);
  background: #f3f6fd;
}
.site-nav a.active {
  color: var(--blue);
  background: #e7eefb;
  font-weight: 600;
}

@media (min-width: 1100px) {
  .site-header {
    display: flex;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 28px;
    gap: 20px;
  }
  .header-inner {
    display: contents;
  }
  .logo { order: 1; }
  .site-nav {
    order: 2;
    flex: 1;
    max-width: none;
    margin: 0;
    padding: 0;
    justify-content: center;
  }
  .header-actions { order: 3; }
}

.hero,
.split,
.vision,
.pillars,
.values,
.bar,
.prose-band,
.group-label,
.diagram {
  width: min(var(--page), calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}
.hero {
  height: auto;
  background: transparent;
}
.hero-frame {
  width: 100%;
  aspect-ratio: 1024 / 210;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.hero-card {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 40px));
  margin: -64px auto 48px;
  background: #fff;
  border: 1px solid #d7e1f2;
  box-shadow: 0 8px 24px rgba(36, 58, 120, 0.06);
  padding: 40px 48px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-card h1 {
  margin: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.35;
  letter-spacing: 0;
}
.hero-rule {
  width: 56px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  margin: 16px 0 14px;
}
.hero-card .sub {
  margin: 0;
  max-width: 28em;
  color: #5c6d90;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
}
.hero-card .btn { margin-top: 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  height: 36px;
  padding: 0 18px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--blue);
  border-radius: 6px;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn.ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}
.btn.ghost:hover { background: rgba(255, 255, 255, 0.14); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}
.split-media {
  min-height: 400px;
  position: relative;
  overflow: hidden;
  background: #d9e2f2;
}
.split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 56px 64px;
}
.split-copy.light { background: #f5f8fd; color: var(--blue); }
.split-copy.blue { background: var(--blue); color: #fff; }
.split-copy h2 {
  margin: 0 0 8px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}
.split-copy .rule {
  width: 120px;
  height: 2px;
  margin: 8px 0 16px;
  background: currentColor;
  opacity: 0.85;
}
.split-copy.center { text-align: center; align-items: center; }
.split-copy.center .rule { margin-left: auto; margin-right: auto; }
.split-copy p { margin: 0; font-size: 17px; line-height: 1.8; max-width: 34em; }
.split-copy.blue p + p { margin-top: 18px; }
.split-copy .btn { margin-top: 26px; align-self: flex-start; }
.split-copy.center .btn { align-self: center; }

.page-section { padding: 28px 0 8px; }
.page-section h2 {
  text-align: center;
  color: var(--blue);
  font-size: 34px;
  letter-spacing: 0;
  margin: 36px 0 10px;
}
.lead {
  text-align: center;
  color: var(--blue);
  margin: 0 auto 24px;
  max-width: 760px;
  padding: 0 20px;
}

.prose-band {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 28px 24px;
}
.prose-band p {
  max-width: 920px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
}
.prose-band.slim { padding: 16px 24px; }
.closing {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 28px 64px;
  color: #3c4d78;
  text-align: center;
  font-size: 16px;
  line-height: 1.9;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 42px;
  padding: 36px 24px 28px;
  max-width: 1000px;
  margin: 0 auto;
}
.logo-grid img {
  height: 78px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.group-label {
  background: var(--blue);
  color: #fff;
  text-align: center;
  margin: 36px auto 0;
  padding: 12px 16px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.vision {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--blue);
  color: #fff;
  margin-top: 12px;
}
.vision-copy { padding: 48px 56px; }
.vision-copy h2 { margin: 0 0 8px; font-size: 34px; letter-spacing: 0; }
.vision-copy .kicker { margin: 0 0 18px; font-size: 16px; }
.vision-copy ul { margin: 0; padding-left: 18px; }
.vision-copy li { margin: 6px 0; }
.vision img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 36px;
}
.tile {
  min-height: 230px;
  padding: 36px 28px;
  text-align: center;
}
.tile svg { width: 44px; height: 44px; margin-bottom: 10px; }
.tile h3 {
  margin: 0 0 8px;
  letter-spacing: 0.04em;
  font-size: 18px;
}
.tile p { margin: 0 auto; max-width: 280px; font-size: 14px; line-height: 1.65; }
.tile.light { background: #f4f7fb; color: var(--blue); }
.tile.mid { background: #5d7fe0; color: #fff; }
.tile.dark { background: var(--blue); color: #fff; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { padding: 40px 26px 48px; }
.pillar .icon { display: flex; justify-content: center; margin-bottom: 8px; }
.pillar .icon svg { width: 54px; height: 54px; }
.pillar h2 {
  text-align: center;
  letter-spacing: 0.06em;
  font-size: 22px;
  margin: 8px 0 16px;
}
.pillar ul { margin: 0; padding-left: 18px; }
.pillar li { margin: 8px 0; }
.pillar:nth-child(1) { background: #f3f6fc; color: var(--blue); }
.pillar:nth-child(2) { background: var(--blue-soft); color: #fff; }
.pillar:nth-child(3) { background: var(--blue-mid); color: #fff; }
.pillar:nth-child(4) { background: var(--blue); color: #fff; }

.diagram {
  max-width: none;
  padding: 36px 0 12px;
}
.diagram h2 {
  text-align: center;
  color: var(--blue);
  margin: 0 0 6px;
  font-size: 28px;
  letter-spacing: 0;
}
.diagram .lead { margin-bottom: 16px; }
.diagram img {
  width: 100%;
  height: auto;
  background: #fff;
}

.bar {
  background: var(--blue);
  color: #fff;
  text-align: center;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 18px 16px;
  margin-top: 0;
}
.portfolio-block {
  max-width: var(--page);
  margin: 0 auto;
  padding: 40px 28px 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.portfolio-block.single {
  grid-template-columns: 1fr 1fr;
  max-width: var(--page);
}
.portfolio-block ul {
  margin: 0;
  padding-left: 1.2em;
  color: #31457a;
  justify-self: start;
  max-width: none;
  font-size: 17px;
  line-height: 1.75;
}
.portfolio-block li { margin: 8px 0; }
.shots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
}
.shots img {
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
.shots img.native {
  width: auto;
  max-width: 100%;
}

.site-footer {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 56px 20px 40px;
  margin-top: 0;
}
.site-footer h2 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 600;
}
.site-footer a { color: #fff; }
.site-footer .places {
  margin-top: 28px;
  font-size: 14px;
  opacity: 0.95;
}
.site-footer .copy {
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.9;
}

@media (max-width: 980px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .split-copy { padding: 40px 32px; }
  .vision-copy { padding: 32px 24px; }
}
@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; max-width: none; padding: 4px 12px 14px; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .site-nav.open a { text-align: center; }
  .split, .vision, .values, .portfolio-block { grid-template-columns: 1fr; }
  .split { min-height: 0; }
  .split-media { min-height: 240px; height: 240px; }
  .hero-frame { aspect-ratio: 16 / 7; width: 100%; }
  .hero-card { margin-top: -64px; padding: 24px 20px; }
  .hero-card h1, .split-copy h2, .page-section h2 { font-size: 28px; }
  .logo { font-size: 22px; }
  .contact-pill span.label { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .header-inner { padding: 12px 16px; }
  .hero,
  .split,
  .vision,
  .pillars,
  .values,
  .bar,
  .prose-band,
  .group-label,
  .diagram {
    width: calc(100% - 24px);
  }
}
