:root {
  --bg: #f6f7f9;
  --bg-elevated: #ffffff;
  --text: #14181c;
  --text-muted: #5a6470;
  --accent: #0c6474;
  --accent-hover: #094e5b;
  --accent-soft: rgba(12, 100, 116, 0.1);
  --line: rgba(20, 24, 28, 0.08);
  --font: "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --header-h: 64px;
  --page-gutter: 20px;
  --touch-min: 44px;
  --bp-sm: 480px;
  --bp-md: 768px;
  --bp-lg: 900px;
  --bp-nav: 860px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

@media (min-width: 768px) {
  :root {
    --page-gutter: 24px;
    --header-h: 72px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .carousel-slide,
  .carousel-dot,
  .carousel-btn {
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}

body.is-nav-open {
  overflow: hidden;
  touch-action: none;
}

@media (min-width: 861px) {
  body.is-nav-open {
    overflow: auto;
    touch-action: auto;
  }
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1120px, calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
}

/* Layout */
.page-main {
  padding-top: calc(var(--header-h) + var(--safe-top));
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: calc(var(--header-h) + var(--safe-top));
  padding-top: var(--safe-top);
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  background: rgba(246, 247, 249, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.logo__mark {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.logo__text {
  white-space: nowrap;
}

.logo:hover {
  color: var(--accent);
  text-decoration: none;
}

.logo:hover .logo__mark {
  opacity: 0.92;
}

.site-nav {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.site-nav a.is-active {
  color: var(--accent);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: var(--touch-min);
  height: var(--touch-min);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

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

  .logo {
    font-size: 0.98rem;
    max-width: calc(100% - var(--touch-min) - 0.75rem);
  }

  .logo__mark {
    height: 36px;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-h) + var(--safe-top));
    left: var(--safe-left);
    right: var(--safe-right);
    max-height: calc(100dvh - var(--header-h) - var(--safe-top));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--page-gutter) calc(1rem + var(--safe-bottom));
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.22s ease;
    box-shadow: 0 16px 40px rgba(20, 24, 28, 0.08);
  }

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

  .site-nav a {
    padding: 0.85rem 4px;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }

  .site-nav a:last-child {
    border-bottom: none;
  }
}

/* —— Carousel —— */
.carousel {
  position: relative;
  --carousel-h: clamp(420px, 72vh, 600px);
  margin-left: calc(-1 * var(--safe-left));
  margin-right: calc(-1 * var(--safe-right));
  width: calc(100% + var(--safe-left) + var(--safe-right));
}

@media (max-width: 640px) {
  .carousel {
    --carousel-h: clamp(380px, 62vh, 520px);
  }
}

@media (max-width: 380px) {
  .carousel {
    --carousel-h: clamp(360px, 58vh, 480px);
  }
}

.carousel-viewport {
  height: var(--carousel-h);
  overflow: hidden;
  background: #0a1a1d;
}

.carousel-track {
  position: relative;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s;
  z-index: 0;
}

.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.carousel-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.carousel-slide-bg--1 {
  background-image:
    linear-gradient(135deg, rgba(6, 22, 28, 0.55) 0%, rgba(8, 40, 48, 0.25) 45%, transparent 72%),
    url("images/carousel-bg-1.png");
}

.carousel-slide-bg--2 {
  background-image:
    linear-gradient(120deg, rgba(4, 14, 18, 0.5) 0%, rgba(10, 35, 42, 0.2) 55%, transparent 75%),
    url("images/carousel-bg-2.png");
}

.carousel-slide-bg--3 {
  background-image:
    linear-gradient(145deg, rgba(8, 24, 30, 0.5) 0%, rgba(12, 50, 58, 0.22) 50%, transparent 78%),
    url("images/carousel-bg-3.png");
}

.carousel-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 10, 12, 0.55) 0%, rgba(4, 10, 12, 0.15) 70%, transparent 100%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .carousel-slide-overlay {
    background: linear-gradient(
      180deg,
      rgba(4, 10, 12, 0.35) 0%,
      rgba(4, 10, 12, 0.55) 45%,
      rgba(4, 10, 12, 0.72) 100%
    );
  }
}

.carousel-slide-inner {
  position: relative;
  z-index: 2;
  padding-block: 2rem 3.5rem;
  max-width: 40rem;
}

@media (max-width: 640px) {
  .carousel-slide-inner {
    padding-block: 1.5rem 3.25rem;
  }

  .carousel-desc {
    font-size: 0.9375rem;
    margin-bottom: 1.35rem;
  }

  .carousel-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
  }

  .btn-on-dark {
    display: inline-block;
    min-height: var(--touch-min);
    line-height: calc(var(--touch-min) - 1.4rem);
    padding: 0.7rem 1.5rem;
  }
}

.carousel-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.75);
}

.carousel-company {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.88);
}

.carousel-title {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 4.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #fff;
}

.carousel-title-sub {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.55em;
  font-weight: 400;
  opacity: 0.88;
}

.carousel-desc {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34em;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.carousel-btn--prev {
  left: max(12px, calc((100% - 1120px) / 2 + 8px));
}

.carousel-btn--next {
  right: max(12px, calc((100% - 1120px) / 2 + 8px));
}

@media (max-width: 640px) {
  .carousel-btn {
    display: none;
  }
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.carousel-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  min-height: var(--touch-min);
  line-height: 1.25;
  padding: 0.7rem 1.6rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-on-dark {
  background: #fff;
  color: var(--accent);
}

.btn-on-dark:hover {
  background: #eef8fa;
  color: var(--accent-hover);
}

.btn-secondary {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid rgba(12, 100, 116, 0.35);
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  background: var(--accent-soft);
  text-decoration: none;
}

.btn-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.btn-text:hover {
  text-decoration: underline;
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* Sections */
.section {
  padding: clamp(3.25rem, 8vw, 5rem) 0;
}

.section--tight {
  padding-top: clamp(2rem, 5vw, 3rem);
}

.alt-band {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.section-lead {
  margin: 0;
  max-width: 48em;
  font-size: 0.975rem;
  font-weight: 300;
  color: var(--text-muted);
}

.section-lead--mb {
  margin-bottom: 1.75rem;
}

.section-intro {
  margin: 0 0 1rem;
  max-width: 42em;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-muted);
}

.narrow-text {
  max-width: 44rem;
}

.narrow-text p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
}

.narrow-text p:last-child {
  margin-bottom: 0;
}

/* About — company intro background panel */
.about-intro-section {
  padding: 0;
}

.about-intro-panel {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background-color: #071a20;
  background-image: url("images/about/intro-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.about-intro-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(4, 22, 28, 0.94) 0%, rgba(8, 55, 65, 0.82) 42%, rgba(6, 32, 40, 0.9) 100%),
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(12, 100, 116, 0.35), transparent 55%);
  pointer-events: none;
}

.about-intro-panel__inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.about-intro-panel__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.about-intro-panel__body p {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.about-intro-panel__body p:last-child {
  margin-bottom: 0;
}

.about-intro-panel__body strong {
  color: #fff;
  font-weight: 600;
}

.about-intro-panel__credit {
  margin: 1.5rem 0 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

.about-intro-panel__credit a {
  color: rgba(180, 230, 240, 0.85);
}

.about-intro-panel__credit a:hover {
  color: #fff;
}

/* Services — background panels */
.service-bg-section {
  padding: 0;
}

.service-bg-panel {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background-color: #071a20;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.service-bg-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(4, 22, 28, 0.94) 0%, rgba(8, 55, 65, 0.82) 42%, rgba(6, 32, 40, 0.9) 100%),
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(12, 100, 116, 0.35), transparent 55%);
  pointer-events: none;
}

.service-bg-panel--digital {
  background-image: url("images/services/bg-digital.jpg");
}

.service-bg-panel--ops {
  background-image: url("images/services/bg-ops.jpg");
}

.service-bg-panel--consult {
  background-image: url("images/services/bg-consult.jpg");
}

.service-bg-panel--consult::before {
  background:
    linear-gradient(115deg, rgba(4, 16, 22, 0.97) 0%, rgba(6, 48, 56, 0.92) 48%, rgba(4, 20, 26, 0.96) 100%),
    radial-gradient(ellipse 75% 55% at 85% 5%, rgba(12, 100, 116, 0.38), transparent 58%);
}

.service-bg-panel__inner {
  position: relative;
  z-index: 1;
}

.service-bg-panel__title {
  color: #fff;
}

.service-bg-panel__lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 48em;
}

.service-bg-panel--consult .service-bg-panel__title {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.service-bg-panel--consult .service-bg-panel__lead {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.service-bg-panel--consult .service-bg-panel__check-list {
  padding: 1.35rem 1.5rem;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
}

.service-bg-panel--consult .service-bg-panel__check-list li {
  color: var(--text-muted);
}

.service-bg-panel--consult .service-bg-panel__check-list li::before {
  background: var(--accent);
  opacity: 1;
}

.service-bg-panel .detail-card,
.service-bg-panel .industry-list li {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(1.75rem, 5vw, 2.5rem) 0 clamp(1.75rem, 5vw, 2.5rem);
  background:
    radial-gradient(ellipse 70% 80% at 90% 0%, rgba(12, 100, 116, 0.12), transparent 55%),
    linear-gradient(180deg, #eef3f5 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero__inner {
  max-width: 40rem;
}

.page-hero__eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.page-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-hero__lead {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Stats */
.stat-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 480px) {
  .stat-row {
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .stat-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 380px) {
  .stat-row li {
    padding: 1.1rem 0.85rem;
  }

  .stat-row strong {
    font-size: 1.5rem;
  }
}

.stat-row li {
  padding: 1.35rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.stat-row strong {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.stat-row span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Cards */
.card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.card-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 600px) and (max-width: 899px) {
  .card-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid--3 li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.575rem);
    justify-self: center;
  }
}

@media (min-width: 900px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid--3 li:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }
}

.card {
  padding: 1.65rem 1.4rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.alt-band .card {
  background: var(--bg-elevated);
}

.card:hover {
  border-color: rgba(12, 100, 116, 0.28);
  box-shadow: 0 14px 44px rgba(12, 100, 116, 0.07);
}

.card-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.card p {
  margin: 0 0 1rem;
  font-size: 0.925rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
}

.card-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

/* Split block */
.split-block {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split-block {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.check-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

.check-list--columns {
  display: grid;
  gap: 0.5rem 2rem;
}

@media (min-width: 640px) {
  .check-list--columns {
    grid-template-columns: 1fr 1fr;
  }
}

.panel-visual {
  border-radius: var(--radius);
  min-height: clamp(220px, 40vw, 280px);
  padding: clamp(1.35rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(160deg, rgba(12, 100, 116, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, #0a3038 0%, #061a1f 100%);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(6, 20, 24, 0.12);
}

.panel-visual__quote {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 300;
  color: #fff;
  line-height: 1.6;
}

.panel-visual__cite {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Logo strip */
.logo-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

/* 四个品牌：小屏 2×2，大屏一行四列，等宽对称 */
.logo-strip--quad {
  max-width: 960px;
  margin-inline: auto;
}

@media (min-width: 720px) {
  .logo-strip--quad {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.logo-strip li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.logo-strip img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 3.25rem;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 720px) {
  .logo-strip--quad li {
    min-height: 6rem;
  }

  .logo-strip--quad img {
    max-height: 3.5rem;
  }
}

@media (min-width: 960px) {
  .logo-strip--quad img {
    max-height: 4.25rem;
  }
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, #0a3d47 0%, #0c6474 55%, #0a5060 100%);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .cta-band__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1.25rem;
  }

  .cta-band__inner .btn-primary {
    width: 100%;
    text-align: center;
  }
}

.cta-band__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

.cta-band__text {
  margin: 0;
  max-width: 36em;
  font-size: 0.95rem;
  font-weight: 300;
  opacity: 0.9;
}

/* About: pillars */
.pillar-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .pillar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pillar {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 1.5rem 1.35rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.pillar h3 {
  margin: 0 0 0.85rem;
  padding-bottom: 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.pillar__lead {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--text);
  text-align: center;
}

.pillar__body {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  text-align: justify;
}

.pillar__detail {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.pillar__detail li {
  margin: 0;
  padding: 0.75rem 0.85rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--line);
  text-align: justify;
}

.pillar__detail strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
  margin-left: 0.5rem;
}

.timeline li {
  position: relative;
  padding: 0 0 1.75rem 1.75rem;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}

.timeline time {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.timeline h3 {
  margin: 0.25rem 0 0.35rem;
  font-size: 1.05rem;
}

.timeline p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Team */
.team-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  padding: 1.5rem 1.35rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.team-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.team-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
}

.team-card__role {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
}

.team-card p:last-child {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.badge-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.badge-list li {
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Qualifications gallery (about page) */
.cert-gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .cert-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.cert-gallery__item figure {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cert-gallery__link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  aspect-ratio: 4 / 3;
  padding: 0.65rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cert-gallery__link:hover {
  border-color: rgba(12, 100, 116, 0.35);
  box-shadow: 0 6px 20px rgba(12, 100, 116, 0.1);
  text-decoration: none;
}

.cert-gallery__link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.cert-gallery__item figcaption {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
  color: var(--text-muted);
}

/* Services */
.detail-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .detail-grid--triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.detail-card {
  padding: 1.35rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.detail-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.detail-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.industry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .industry-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.industry-list li {
  padding: 1.25rem 1.15rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.industry-list h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}

.industry-list p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 600px) and (max-width: 799px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
}

.steps li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.steps p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Contact page */
.contact-section-head {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.contact-section-head .section-lead {
  margin: 0.75rem 0 0;
}

.contact-layout {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}

.contact-details,
.contact-map-card {
  padding: clamp(1.35rem, 3vw, 1.75rem);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-details {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-info-grid--symmetric {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex: 1;
}

@media (max-width: 479px) {
  .contact-info-grid--symmetric {
    grid-template-columns: 1fr;
  }
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 7.5rem;
  padding: 1.25rem 1.15rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.contact-info-item--span2 {
  grid-column: 1 / -1;
  min-height: auto;
}

.contact-info-item h3 {
  margin: 0 0 0.55rem;
  padding-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
}

.contact-info-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

.contact-info-item a {
  color: var(--text);
  font-weight: 500;
}

.contact-info-item a:hover {
  color: var(--accent);
}

.contact-details__note {
  margin: 1.25rem 0 0;
  text-align: center;
}

.contact-map-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  height: 100%;
}

.contact-map-card img {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 260px;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--line);
  object-fit: contain;
  background: var(--bg);
}

.contact-map-card figcaption {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

.fine-print {
  margin: 1.25rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  padding: 1.5rem 0 calc(2rem + var(--safe-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }
}

.footer-meta {
  opacity: 0.9;
}

/* —— Responsive utilities —— */
.section-head--row .btn-text {
  align-self: flex-start;
}

@media (max-width: 640px) {
  .section-head--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .narrow-text p,
  .section-intro,
  .section-lead {
    font-size: 0.975rem;
  }

  .card-grid--2 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 600px) {
  .card-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 380px) {
  .logo__text {
    font-size: 0.92rem;
    letter-spacing: 0.04em;
  }

  .page-hero__title br {
    display: none;
  }

  .carousel-title br {
    display: none;
  }
}

@media (min-width: 901px) {
  .site-nav a {
    font-size: 0.9rem;
    padding: 0.35rem 0;
  }
}
