:root {
  --ink: #0a1424;
  --navy: #10213f;
  --navy-mid: #173455;
  --brand: #1b6fd0;
  --brand-deep: #0e4f9c;
  --sky: #d9e8f8;
  --mist: #eef3f9;
  --paper: #f6f8fb;
  --line: #d5deea;
  --text: #1a2332;
  --muted: #5c6b80;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(16, 33, 63, 0.1);
  --radius: 4px;
  --header-h: 72px;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-display: "Sora", "Noto Sans SC", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  min-height: 100vh;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 20, 36, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  padding: 8px 14px;
  transition: color 0.25s ease;
}

.nav a:hover,
.nav a.active {
  color: #8ec5ff;
}

.nav-cta {
  margin-left: 8px;
  background: var(--brand);
  color: var(--white) !important;
  padding: 10px 18px !important;
  border-radius: var(--radius);
  transition: background 0.25s ease, transform 0.25s ease !important;
}

.nav-cta:hover {
  background: var(--brand-deep);
  color: var(--white) !important;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: min(860px, calc(100vh - var(--header-h)));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(8, 18, 34, 0.88) 0%, rgba(12, 32, 58, 0.55) 48%, rgba(8, 18, 34, 0.72) 100%),
    url("../images/hero-office.jpg") center/cover no-repeat;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 0 0 9vh;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.05;
  margin-bottom: 18px;
  opacity: 0;
  animation: riseIn 0.9s ease 0.15s forwards;
}

.hero-title {
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 500;
  max-width: 28em;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.95);
  opacity: 0;
  animation: riseIn 0.9s ease 0.35s forwards;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 36em;
  margin-bottom: 32px;
  opacity: 0;
  animation: riseIn 0.9s ease 0.5s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: riseIn 0.9s ease 0.65s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-size: 0.98rem;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  background: #257de3;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
  border: 1px solid var(--brand);
  color: var(--brand);
  background: transparent;
}

.btn-outline:hover {
  background: var(--brand);
  color: var(--white);
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--white);
}

.section-dark {
  background:
    linear-gradient(145deg, #0d1b30 0%, #152a4f 55%, #0f2744 100%);
  color: var(--white);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-dark .eyebrow {
  color: #8ec5ff;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--ink);
}

.section-dark .section-title {
  color: var(--white);
}

.section-desc {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.72);
}

/* Stats */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  overflow: hidden;
}

.stat-item {
  background: var(--white);
  padding: 36px 24px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--brand);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-visual {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: var(--navy);
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
  transition: transform 0.8s ease;
}

.split-visual:hover img {
  transform: scale(1.04);
}

.split-copy p + p {
  margin-top: 14px;
}

.split-copy .lead {
  font-size: 1.08rem;
  color: var(--text);
}

.split-list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.split-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.split-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  flex-shrink: 0;
  background: var(--brand);
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  display: block;
  min-height: 280px;
  padding: 28px 24px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 20, 36, 0.25) 0%, rgba(10, 20, 36, 0.88) 100%),
    var(--card-image) center/cover no-repeat;
  z-index: -1;
  transition: transform 0.6s ease;
}

.service-card:hover::before {
  transform: scale(1.06);
}

.service-card .icon {
  width: 44px;
  height: 44px;
  margin-bottom: 70px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.service-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-item {
  padding: 28px 22px;
  border-top: 2px solid var(--brand);
  background: rgba(255, 255, 255, 0.04);
}

.process-step {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: #8ec5ff;
  margin-bottom: 14px;
}

.process-item h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.process-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
}

/* Industries */
.industry-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.industry-item {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 16px;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.industry-item:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
}

.industry-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.industry-item span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* CTA band */
.cta-band {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  background:
    linear-gradient(120deg, rgba(14, 79, 156, 0.92), rgba(16, 33, 63, 0.9)),
    url("../images/tech-meeting.jpg") center/cover;
  color: var(--white);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

/* Page banner */
.page-banner {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.page-banner-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(10, 20, 36, 0.88), rgba(16, 40, 72, 0.55)),
    var(--banner-image) center/cover no-repeat;
}

.page-banner .container {
  position: relative;
  z-index: 1;
  padding: 56px 0 40px;
}

.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 10px;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 36em;
}

/* Content blocks */
.content-block {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 32px;
}

.content-block p + p {
  margin-top: 16px;
}

.content-block .muted {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.feature-item {
  padding: 22px;
  background: var(--mist);
  border-left: 3px solid var(--brand);
}

.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-item p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* Business cards */
.biz-list {
  display: grid;
  gap: 20px;
}

.biz-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.biz-item:hover {
  border-color: #b7c9e0;
  box-shadow: var(--shadow);
}

.biz-thumb {
  min-height: 140px;
  background: var(--navy) center/cover no-repeat;
}

.biz-body {
  padding: 24px 24px 24px 0;
}

.biz-body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.biz-body p {
  color: var(--muted);
}

.biz-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--brand-deep);
  letter-spacing: 0.04em;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px;
}

.contact-card h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.contact-lines {
  display: grid;
  gap: 18px;
}

.contact-lines dt {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-lines dd {
  color: var(--text);
  font-size: 1.02rem;
}

.contact-visual {
  min-height: 420px;
  background:
    linear-gradient(160deg, rgba(16, 33, 63, 0.55), rgba(27, 111, 208, 0.35)),
    url("../images/city-building.jpg") center/cover;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  color: var(--white);
}

.contact-visual p {
  font-size: 1.15rem;
  line-height: 1.5;
  max-width: 16em;
}

.map-note {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--mist);
  color: var(--muted);
  font-size: 0.92rem;
}

/* Team strip */
.team-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.team-cell {
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

.team-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  transition: transform 0.5s ease;
}

.team-cell:hover img {
  transform: scale(1.05);
}

.team-cell span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(8, 16, 28, 0.85));
  color: var(--white);
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text {
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 28em;
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 10px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
}

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

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 980px) {
  .stats-bar,
  .service-grid,
  .process-grid,
  .team-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .split,
  .split.reverse,
  .cta-band,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .biz-item {
    grid-template-columns: 1fr;
  }

  .biz-thumb {
    min-height: 180px;
  }

  .biz-body {
    padding: 22px;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #0d1728;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 4%;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 10px;
    margin: 0;
  }

  .nav-cta {
    margin: 8px 0 12px !important;
    text-align: center;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding-bottom: 56px;
  }

  .section {
    padding: 64px 0;
  }

  .stats-bar,
  .service-grid,
  .process-grid,
  .industry-row,
  .team-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 32px 24px;
  }

  .content-block,
  .contact-card {
    padding: 24px 20px;
  }
}
