:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3fb;
  --brand: #0f4aac;
  --brand-dark: #09295f;
  --accent: #ff5b3d;
  --ink: #132238;
  --muted: #607089;
  --line: rgba(19, 34, 56, 0.1);
  --shadow: 0 20px 55px rgba(9, 41, 95, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(68, 128, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

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

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

.hero-figure-link,
.feature-link,
.service-card,
.news-link,
.pillar-card,
.subnav-card,
.contact-card,
.footer-grid a {
  display: block;
}

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

.top-strip {
  background: #eaf0f8;
  font-size: 12px;
  color: var(--muted);
}

.top-strip-inner {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding: 10px 0;
}

.top-strip-inner a:hover,
.nav a:hover,
.text-link:hover,
.footer-grid a:hover {
  color: var(--brand);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 74, 172, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand) 0%, #1f78ff 100%);
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  box-shadow: 0 10px 24px rgba(15, 74, 172, 0.24);
}

.brand-name {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-dark);
}

.nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(8, 37, 91, 0.96) 0%, rgba(15, 74, 172, 0.92) 52%, rgba(23, 121, 241, 0.9) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -15% -35% auto;
  width: 56vw;
  height: 56vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 62%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 44%, rgba(255, 255, 255, 0.08) 44% 52%, transparent 52% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 40%);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 28px;
  min-height: 700px;
  padding: 58px 0 86px;
}

.hero-copy {
  color: #fff;
}

.hero-kicker,
.section-tag {
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.section-tag-dark {
  color: rgba(19, 34, 56, 0.5);
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.08;
}

.hero-text {
  margin: 22px 0 0;
  max-width: 600px;
  font-size: 18px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.feature-link:hover,
.service-card:hover,
.pillar-card:hover,
.news-link:hover,
.subnav-card:hover,
.contact-card:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: #fff;
  color: var(--brand);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.btn-danger {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff7c47);
  box-shadow: 0 14px 32px rgba(255, 91, 61, 0.24);
}

.btn-outline {
  border: 1px solid rgba(19, 34, 56, 0.12);
  background: #fff;
  color: var(--brand-dark);
}

.hero-figure {
  position: relative;
  justify-self: end;
  width: min(520px, 100%);
}

.hero-frame {
  position: absolute;
  inset: -18px 24px 24px -18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 32px;
  transform: rotate(5deg);
}

.hero-figure img {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  box-shadow: 0 32px 90px rgba(2, 11, 31, 0.4);
}

.feature-strip {
  margin-top: -68px;
  position: relative;
  z-index: 2;
}

.feature-grid,
.service-grid,
.news-grid,
.pillars-grid,
.subnav-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  min-height: 220px;
  padding: 30px 28px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.feature-card h2 {
  margin: 28px 0 12px;
  font-size: 24px;
  line-height: 1.35;
}

.feature-card p {
  margin: 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.84);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 24px;
}

.cyan {
  background: linear-gradient(135deg, #123d9b 0%, #10a4ea 100%);
}

.indigo {
  background: linear-gradient(135deg, #09295f 0%, #5f3fff 100%);
}

.scarlet {
  background: linear-gradient(135deg, #0a4c90 0%, #ff5b3d 100%);
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(15, 74, 172, 0.03), rgba(15, 74, 172, 0.01));
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 0;
  color: var(--brand);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 13px;
}

.section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(30px, 4vw, 44px);
}

.intro-layout,
.page-hero-layout,
.split-layout,
.cta-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.intro-copy,
.prose {
  font-size: 16px;
  line-height: 1.95;
  color: var(--muted);
}

.intro-media img,
.page-hero-media img,
.wide-media img {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 700;
  color: var(--brand);
}

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

.service-card,
.news-card,
.pillar-card,
.subnav-card,
.contact-card,
.info-box,
.case-box {
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service-card img,
.news-photo {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.service-card h3,
.pillar-card h3,
.subnav-card h3,
.contact-card h3,
.info-box h3,
.case-box h3 {
  margin: 20px 20px 10px;
  font-size: 22px;
}

.service-card p,
.pillar-card p,
.subnav-card p,
.contact-card p,
.info-box p,
.case-box p,
.news-body p {
  margin: 0 20px 22px;
  color: var(--muted);
  line-height: 1.8;
}

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

.pillar-card {
  padding-top: 8px;
}

.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.news-body {
  padding-bottom: 6px;
}

.news-body h3 {
  margin: 20px 20px 10px;
  font-size: 22px;
  line-height: 1.45;
}

.news-body time {
  display: block;
  margin: 0 20px 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.cta-panel {
  padding: 40px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(15, 74, 172, 0.08), rgba(255, 91, 61, 0.1));
}

.cta-panel h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 42px);
}

.cta-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.site-footer {
  color: #fff;
  background: linear-gradient(180deg, var(--brand-dark) 0%, #06162f 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 42px 0;
}

.footer-grid h3 {
  margin: 0;
  font-size: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.12);
}

.footer-bottom p {
  margin: 0;
  padding: 18px 0;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-link:hover {
  color: #8ec5ff;
}

.page-hero {
  padding: 70px 0 40px;
}

.page-hero-layout {
  align-items: center;
}

.page-hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.15;
  color: var(--brand-dark);
}

.page-hero-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
}

.page-hero-media img {
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.subnav-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 26px;
}

.subnav-card {
  padding: 24px;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.stack {
  display: grid;
  gap: 20px;
}

.info-box,
.case-box {
  padding: 4px 0 8px;
}

.list {
  margin: 0 20px 22px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.list li + li {
  margin-top: 8px;
}

.contact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact-card {
  padding-top: 8px;
}

.wide-media {
  margin-top: 28px;
}

@media (max-width: 980px) {
  .header-inner,
  .hero-content,
  .intro-layout,
  .page-hero-layout,
  .content-grid,
  .cta-panel,
  .feature-grid,
  .service-grid,
  .news-grid,
  .pillars-grid,
  .subnav-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    display: grid;
    gap: 14px;
    padding: 14px 0;
  }

  .nav,
  .top-strip-inner {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero-content {
    min-height: unset;
    padding-top: 48px;
  }

  .feature-strip {
    margin-top: -26px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  .brand-name {
    font-size: 24px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .section,
  .page-hero {
    padding: 64px 0;
  }
}
