:root {
  --ink: #0c1420;
  --ink-soft: #314055;
  --muted: #66758a;
  --line: #d9e0e8;
  --paper: #f5f9fc;
  --white: #ffffff;
  --cedar: #1f9bd1;
  --cedar-dark: #073d63;
  --gold: #54bfe8;
  --mist: #e6f4fb;
  --shadow: 0 24px 70px rgba(12, 20, 32, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(20px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    padding 180ms ease;
  z-index: 20;
}

.site-header[data-elevated="true"] {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(12, 20, 32, 0.1);
  padding-block: 12px;
}

.brand {
  align-items: center;
  color: var(--white);
  display: flex;
  gap: 12px;
  min-width: 230px;
}

.site-header[data-elevated="true"] .brand,
.site-header[data-elevated="true"] .nav,
.site-header[data-elevated="true"] .lang-btn {
  color: var(--ink);
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--cedar), #0a4d78);
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: var(--white);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  letter-spacing: 0;
  width: 42px;
}

.brand strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0;
}

.brand small {
  display: block;
  font-size: 11px;
  opacity: 0.82;
}

.nav {
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  gap: 26px;
  font-size: 14px;
  font-weight: 650;
}

.nav a {
  position: relative;
}

.nav a::after {
  background: var(--gold);
  bottom: -7px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  display: flex;
  padding: 3px;
}

.site-header[data-elevated="true"] .header-actions {
  border-color: var(--line);
}

.lang-btn {
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  min-width: 46px;
  padding: 7px 10px;
}

.lang-btn.is-active {
  background: var(--white);
  color: var(--cedar-dark);
}

.site-header[data-elevated="true"] .lang-btn.is-active {
  background: var(--cedar);
  color: var(--white);
}

.hero {
  min-height: 92vh;
  overflow: hidden;
  position: relative;
}

.hero picture,
.hero img,
.hero-overlay {
  height: 100%;
  inset: 0;
  position: absolute;
}

.hero img {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 29, 52, 0.9) 0%, rgba(5, 45, 76, 0.72) 38%, rgba(18, 123, 171, 0.24) 100%),
    linear-gradient(0deg, rgba(4, 29, 52, 0.42), rgba(32, 159, 211, 0.08));
}

.hero-content {
  color: var(--white);
  margin: 0 auto;
  max-width: var(--max);
  padding: 28vh clamp(22px, 4vw, 56px) 120px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: #aee5fb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--gold);
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 10vw, 132px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.9;
  margin: 0;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(22px, 3.2vw, 42px);
  font-weight: 650;
  line-height: 1.12;
  margin: 24px 0 0;
  max-width: 840px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  margin: 24px 0 0;
  max-width: 710px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
}

.button.primary {
  background: var(--white);
  color: var(--cedar-dark);
}

.button.secondary {
  color: var(--white);
}

.intro-band {
  background: var(--cedar-dark);
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: -54px auto 0;
  max-width: var(--max);
  position: relative;
  z-index: 2;
}

.intro-band div {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  padding: 28px 32px;
}

.intro-band div:last-child {
  border-right: 0;
}

.intro-band span,
.contact-card span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.intro-band span {
  color: rgba(255, 255, 255, 0.58);
}

.intro-band strong {
  display: block;
  font-size: 21px;
  line-height: 1.2;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: 104px clamp(22px, 4vw, 56px);
}

.two-column {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
}

.section h2,
.insight-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0 0 24px;
}

.section p,
.insight-card p,
.insight-card li {
  color: var(--ink-soft);
  font-size: 17px;
}

.image-panel {
  box-shadow: var(--shadow);
  min-height: 520px;
  overflow: hidden;
}

.image-panel img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.services-section {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.section-heading {
  margin: 0 auto 42px;
  max-width: var(--max);
  padding: 0 clamp(22px, 4vw, 56px);
}

.section-heading h2 {
  max-width: 840px;
}

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

.service-card {
  background: var(--white);
  border-right: 1px solid var(--line);
  min-height: 360px;
  padding: 42px 34px;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.service-card:hover {
  background: var(--cedar-dark);
  color: var(--white);
  transform: translateY(-6px);
}

.service-card span {
  color: var(--gold);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 54px;
}

.service-card h3 {
  font-size: 23px;
  line-height: 1.15;
  margin: 0 0 18px;
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.74);
}

.insight {
  background: #052b48;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.76fr);
  min-height: 650px;
}

.insight > img {
  height: 100%;
  min-height: 650px;
  object-fit: cover;
}

.insight-card {
  align-self: center;
  color: var(--white);
  padding: clamp(42px, 7vw, 86px);
}

.insight-card p,
.insight-card li {
  color: rgba(255, 255, 255, 0.74);
}

.insight-card ul {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
  margin: 30px 0 0;
  padding: 18px 0 0;
}

.insight-card li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 14px 0;
}

.contact-section {
  align-items: start;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
}

.contact-section h2 {
  max-width: 620px;
}

.contact-card {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 34px;
}

.contact-card div {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.contact-card div:first-child {
  padding-top: 0;
}

.contact-card div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-card strong,
.contact-card a {
  color: var(--ink);
  display: inline-block;
  font-size: 20px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-card a:hover {
  color: var(--cedar);
}

.site-footer {
  align-items: center;
  background: var(--cedar-dark);
  color: rgba(255, 255, 255, 0.76);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 28px clamp(22px, 4vw, 56px);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.96);
    flex-wrap: wrap;
    gap: 14px;
    position: sticky;
  }

  .brand,
  .nav,
  .lang-btn {
    color: var(--ink);
  }

  .header-actions {
    border-color: var(--line);
  }

  .lang-btn.is-active {
    background: var(--cedar);
    color: var(--white);
  }

  .nav {
    flex-basis: 100%;
    justify-content: space-between;
    order: 3;
  }

  .hero-content {
    padding-top: 16vh;
  }

  .intro-band,
  .two-column,
  .service-grid,
  .insight,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-band {
    margin-top: 0;
  }

  .intro-band div,
  .service-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-right: 0;
  }

  .service-card {
    min-height: auto;
  }

  .insight > img,
  .image-panel,
  .image-panel img {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .nav {
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav a {
    flex: 0 0 auto;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding: 122px 22px 76px;
  }

  .hero-copy,
  .section p,
  .insight-card p,
  .insight-card li {
    font-size: 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 72px 22px;
  }

  .intro-band div,
  .service-card,
  .contact-card {
    padding: 26px 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
