/* ============================================================
   CHUNTAI — corporate site
   Bright tech design: white base, deep-navy type,
   electric-blue gradients, Airbus-grade scale
   ============================================================ */

:root {
  --bg: #f6f9fd;
  --surface: #ffffff;
  --ink: #0b1f3a;
  --ink-dim: #4d5e78;
  --ink-faint: #8a97ab;
  --brand: #0a2a6b;
  --accent: #0466ff;
  --accent-2: #00c2ff;
  --grad: linear-gradient(115deg, #0466ff, #00c2ff);
  --line: #e2eaf5;
  --glass: rgba(255, 255, 255, 0.82);
  --shadow-sm: 0 2px 10px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 14px 40px rgba(11, 31, 58, 0.1);
  --shadow-lg: 0 30px 70px rgba(11, 31, 58, 0.16);
  --glow: 0 10px 40px rgba(4, 102, 255, 0.32);
  --radius: 16px;
  --container: 1280px;
  --font: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei",
          -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ---------- typography ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker::before {
  content: "";
  width: 36px; height: 3px;
  border-radius: 2px;
  background: var(--grad);
}
.kicker.on-dark { color: #7fd4ff; }

.h-display {
  font-size: clamp(2.5rem, 5.6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.h-section {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 18px 0 16px;
  color: var(--brand);
}
.h-section .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  color: var(--ink-dim);
  max-width: 740px;
}

:root[data-lang="zh"] body, :root[data-lang="tw"] body { letter-spacing: 0.01em; }
:root[data-lang="zh"] .h-display, :root[data-lang="tw"] .h-display,
:root[data-lang="zh"] .h-section, :root[data-lang="tw"] .h-section { letter-spacing: 0.02em; line-height: 1.18; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s, border-color 0.25s, color 0.25s;
  cursor: pointer;
  border: 0;
}
.btn .arr { transition: transform 0.25s ease; }
.btn:hover .arr { transform: translateX(5px); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px rgba(4, 102, 255, 0.45); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

.btn-outline {
  background: var(--surface);
  color: var(--accent);
  border: 1.5px solid #c9dcff;
}
.btn-outline:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

/* header sits on photo hero → starts light-on-dark, flips when scrolled */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 30px; width: auto; }
.brand .logo-dark { display: none; }
.site-header.scrolled .logo-white { display: none; }
.site-header.scrolled .logo-dark { display: block; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .nav-drop > .nav-drop-btn {
  position: relative;
  padding: 10px 16px;
  font-size: 0.96rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  transition: color 0.2s;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.site-header.scrolled .main-nav > a,
.site-header.scrolled .nav-drop > .nav-drop-btn { color: var(--ink-dim); }
.main-nav > a:hover, .main-nav > a.active,
.nav-drop:hover > .nav-drop-btn { color: #fff; }
.site-header.scrolled .main-nav > a:hover,
.site-header.scrolled .main-nav > a.active,
.site-header.scrolled .nav-drop:hover > .nav-drop-btn { color: var(--accent); }
.main-nav > a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav > a:hover::after, .main-nav > a.active::after { transform: scaleX(1); }

.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 2px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-drop-menu a {
  padding: 11px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-dim);
  border-radius: 9px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-drop-menu a:hover { background: #eef5ff; color: var(--accent); }
.drop-group {
  grid-column: 1 / -1;
  padding: 10px 16px 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.drop-group:not(:first-child) { border-top: 1px solid var(--line); margin-top: 6px; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #fff;
  transition: background 0.2s, color 0.2s;
}
.search-btn svg { width: 18px; height: 18px; }
.search-btn:hover { background: rgba(255, 255, 255, 0.14); }
.site-header.scrolled .search-btn { color: var(--ink-dim); }
.site-header.scrolled .search-btn:hover { background: #eef5ff; color: var(--accent); }

.lang-drop { position: relative; }
.lang-menu {
  left: auto;
  right: 0;
  transform: translateY(8px);
  grid-template-columns: 1fr;
  min-width: 150px;
}
.nav-drop:hover .lang-menu, .nav-drop:focus-within .lang-menu {
  transform: translateY(8px);
}
.lang-drop.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-dim);
  border-radius: 9px;
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lang-menu button:hover { background: #eef5ff; color: var(--accent); }
.lang-menu button.active { color: var(--accent); font-weight: 800; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.lang-btn svg:last-child { width: 9px; height: 9px; opacity: 0.8; }
.lang-btn:hover { background: rgba(255, 255, 255, 0.14); }
.site-header.scrolled .lang-btn { border-color: #c9dcff; color: var(--accent); }
.site-header.scrolled .lang-btn:hover { background: #eef5ff; }
.lang-btn svg { width: 15px; height: 15px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2.5px;
  border-radius: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero (photo slider) ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--brand);
}
.hero-media { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 9s ease-out;
}
.hero-slide.active img { transform: scale(1); }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 14, 34, 0.82) 0%, rgba(5, 14, 34, 0.32) 42%, rgba(5, 14, 34, 0.12) 70%, rgba(5, 14, 34, 0.38) 100%),
    linear-gradient(100deg, rgba(5, 14, 34, 0.6) 0%, transparent 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(100px, 16vh, 170px);
  color: #fff;
}
.hero-content .h-display { max-width: 16ch; margin: 22px 0 24px; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35); }
.hero-content .lead { max-width: 580px; margin-bottom: 40px; color: rgba(255, 255, 255, 0.88); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-dots {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 4vw, 48px);
  bottom: 44px;
  display: flex;
  gap: 10px;
}

/* per-slide sector caption card (bottom-right, Airbus-style) */
.hero-caption {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 4vw, 48px);
  bottom: 84px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  min-width: 250px;
  max-width: 330px;
  border-radius: 14px;
  background: rgba(7, 22, 52, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  text-decoration: none;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}
.hero-caption:hover { background: rgba(7, 22, 52, 0.75); transform: translateY(-3px); border-color: rgba(0, 194, 255, 0.6); }
.hero-caption .cap-num {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--accent-2);
}
.hero-caption .cap-name { font-size: 1.3rem; font-weight: 800; }
.hero-caption .cap-tag { font-size: 0.85rem; color: rgba(255, 255, 255, 0.78); line-height: 1.5; }
.hero-caption .cap-more {
  margin-top: 6px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* capability ticker (marquee) */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 18px 0;
  margin-top: clamp(40px, 6vw, 64px);
}
.ticker-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: tickerScroll 40s linear infinite;
  white-space: nowrap;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.ticker-item b {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ticker-item::after { content: "◆"; font-size: 0.6rem; color: #c9dcff; }
@keyframes tickerScroll { to { transform: translateX(-50%); } }
.hero-dots button {
  width: 34px; height: 4px;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.3s, width 0.3s;
}
.hero-dots button.active { background: var(--accent-2); width: 52px; }

.hero-scroll {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  bottom: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll::after {
  content: "";
  width: 2px; height: 56px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--accent-2), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.35; } 50% { opacity: 1; } }

/* page hero (sub-pages) */
.page-hero {
  position: relative;
  min-height: 58svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--brand);
}
.page-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 14, 34, 0.8) 0%, rgba(5, 14, 34, 0.25) 55%, rgba(5, 14, 34, 0.3) 100%),
    linear-gradient(100deg, rgba(5, 14, 34, 0.55) 0%, transparent 60%);
}
.page-hero .hero-content { padding-bottom: 64px; }
.page-hero .h-display { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }

/* ---------- stats band (floating glass over hero seam) ---------- */

.stats-band {
  position: relative;
  z-index: 5;
  margin-top: -76px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat {
  padding: 38px 28px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat b {
  display: block;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { color: var(--ink-dim); font-size: 0.94rem; font-weight: 600; }

/* ---------- sections ---------- */

.section { padding: clamp(84px, 11vw, 148px) 0; position: relative; }
.section.tint { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.section-head { margin-bottom: clamp(42px, 6vw, 68px); }
.section-head.center { text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .kicker::before { display: none; }
.section-head.center .lead { margin: 0 auto; }

/* ---------- business grid ---------- */

.biz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.biz-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.biz-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.biz-grid.cols-3 .biz-card { aspect-ratio: 16 / 10; }
.group-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: clamp(34px, 5vw, 52px) 0 22px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.group-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.group-label .gnum {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.biz-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--brand);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.biz-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.biz-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.biz-card:hover img { transform: scale(1.07); }
.biz-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 14, 34, 0.9) 6%, rgba(5, 14, 34, 0.28) 46%, rgba(5, 14, 34, 0.05) 72%);
  transition: background 0.35s;
}
.biz-card-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 26px 24px;
  color: #fff;
  transform: translateY(36px);
  transition: transform 0.35s ease;
}
.biz-card:hover .biz-card-body { transform: translateY(0); }
.biz-card-body .num {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--accent-2);
}
.biz-card-body h3 {
  font-size: 1.42rem;
  font-weight: 800;
  margin: 6px 0 4px;
}
.biz-card-body .tag {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.82);
  display: block;
  min-height: 2.7em;
  line-height: 1.5;
}
.biz-card-body .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--accent-2);
  opacity: 0;
  transition: opacity 0.3s ease 0.05s;
}
.biz-card:hover .biz-card-body .more { opacity: 1; }

/* ---------- innovation (kept dark for contrast drama) ---------- */

.innovation {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1100px 480px at 82% -12%, rgba(0, 194, 255, 0.22), transparent 60%),
    radial-gradient(900px 420px at 6% 110%, rgba(4, 102, 255, 0.28), transparent 62%),
    linear-gradient(160deg, #071b45 0%, #04102b 100%);
}
.innovation .h-section { color: #fff; }
.innovation .lead { color: rgba(255, 255, 255, 0.75); }
.innovation .grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 170, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(900px 560px at 50% 30%, #000, transparent);
  -webkit-mask-image: radial-gradient(900px 560px at 50% 30%, #000, transparent);
}
.innov-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.innov-card {
  padding: 36px 32px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(140, 190, 255, 0.22);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s;
}
.innov-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 194, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
}
.innov-card .icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad);
  box-shadow: var(--glow);
  margin-bottom: 22px;
}
.innov-card .icon svg { width: 26px; height: 26px; stroke: #fff; }
.innov-card h3 { font-size: 1.22rem; font-weight: 800; margin-bottom: 8px; }
.innov-card p { color: rgba(255, 255, 255, 0.72); font-size: 0.96rem; }

/* ---------- news ---------- */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.32s ease, box-shadow 0.32s;
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.news-card .thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8eef7;
}
.news-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.news-card:hover .thumb img { transform: scale(1.06); }
.news-card .body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--ink-faint);
  font-weight: 600;
}
.pill {
  padding: 4px 14px;
  border-radius: 999px;
  background: #e8f1ff;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.news-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.5;
  color: var(--brand);
}
.news-card p { color: var(--ink-dim); font-size: 0.93rem; flex: 1; }
.news-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.9rem;
}
.news-card .more .arr { transition: transform 0.25s; }
.news-card:hover .more .arr { transform: translateX(5px); }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 420px at 15% 130%, rgba(0, 194, 255, 0.35), transparent 62%),
    linear-gradient(115deg, #0a2a6b 0%, #0466ff 100%);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: clamp(64px, 8vw, 100px) 0;
}
.cta-inner h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 800; max-width: 22ch; }
.cta-inner p { color: rgba(255, 255, 255, 0.82); margin-top: 10px; font-size: 1.05rem; }
.cta-band .btn-primary { background: #fff; color: var(--accent); box-shadow: 0 14px 44px rgba(0, 0, 0, 0.25); }
.cta-band .btn-primary:hover { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); }

/* ---------- footer ---------- */

.site-footer {
  background: #071634;
  color: #b9c6da;
  padding: clamp(60px, 7vw, 88px) 0 36px;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.3fr;
  gap: 44px;
  margin-bottom: 52px;
}
.footer-brand img { height: 28px; margin-bottom: 18px; }
.footer-brand p { color: #8fa1bd; max-width: 330px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.footer-social a {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(150, 180, 220, 0.28);
  color: #b9c6da;
  font-size: 0.82rem;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-social a:hover { border-color: #4db8ff; color: #4db8ff; background: rgba(77, 184, 255, 0.08); }
.site-footer h4 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #647a9c;
  margin-bottom: 18px;
}
.site-footer li { margin-bottom: 10px; }
.site-footer li a { color: #b9c6da; transition: color 0.2s; }
.site-footer li a:hover { color: #4db8ff; }
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.footer-contact b { color: #fff; font-weight: 700; white-space: nowrap; }
.footer-bottom {
  border-top: 1px solid rgba(150, 180, 220, 0.16);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: #647a9c;
  font-size: 0.85rem;
}
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom a { color: #647a9c; transition: color 0.2s; }
.footer-bottom a:hover { color: #4db8ff; }

/* ---------- about page ---------- */

.about-cols {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.about-cols .lead { font-size: 1.08rem; margin-bottom: 22px; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.value-card {
  padding: 34px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid transparent;
  border-image: none;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.value-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 24px; right: 24px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--grad);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card .picon {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--grad);
  box-shadow: var(--glow);
  color: #fff;
  margin-bottom: 18px;
}
.value-card .picon svg { width: 22px; height: 22px; }
.value-card h3 { color: var(--accent); font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 10px; font-weight: 800; }
.value-card p { color: var(--ink-dim); font-size: 0.98rem; }
.about-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- business detail page ---------- */

.intro-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: clamp(48px, 7vw, 80px);
}
.intro-cols p {
  color: var(--ink-dim);
  font-size: 1.06rem;
}
.intro-cols p:first-child {
  color: var(--ink);
  font-weight: 600;
  font-size: 1.14rem;
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.domain-card {
  display: block;
  padding: 32px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.domain-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.25s;
}
.domain-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #c9dcff; }
.domain-card:hover::before { opacity: 1; }
.domain-card .picon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad);
  box-shadow: var(--glow);
  color: #fff;
  margin-bottom: 14px;
}
.domain-card .picon svg { width: 21px; height: 21px; }
.domain-card .dnum {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.domain-card h3 { font-size: 1.28rem; font-weight: 800; color: var(--brand); margin: 8px 0 8px; }
.domain-card p { color: var(--ink-dim); font-size: 0.97rem; }

/* direction cards on business.html: same photo-overlay language as .biz-card, 2-up grid */
.dir-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.dir-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--brand);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.dir-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.dir-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.dir-card:hover img { transform: scale(1.07); }
.dir-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5, 14, 34, 0.92) 10%, rgba(5, 14, 34, 0.32) 52%, rgba(5, 14, 34, 0.06) 78%);
}
.dir-card-body {
  position: absolute; inset: auto 0 0 0;
  z-index: 2;
  padding: 22px 24px;
  color: #fff;
}
.dir-card-body .num { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.2em; color: var(--accent-2); }
.dir-card-body h3 { font-size: 1.28rem; font-weight: 800; margin: 6px 0 6px; }
.dir-card-body .tag { font-size: 0.86rem; color: rgba(255, 255, 255, 0.82); line-height: 1.5; }
.dir-card-body .more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px;
  font-size: 0.85rem; font-weight: 800;
  color: var(--accent-2);
}
.dir-card-body .more .arr { transition: transform 0.25s; }
.dir-card:hover .more .arr { transform: translateX(5px); }

/* product-series cards: photo + spec, used for Rim Drive style catalogues */
.series-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.series-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.series-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.series-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: #eef2f8; padding: 14px; }
.series-thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease; }
.series-card:hover .series-thumb img { transform: scale(1.06); }
.series-body { padding: 22px 24px; }
.series-body .dnum {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.series-body h3 { font-size: 1.2rem; font-weight: 800; color: var(--brand); margin: 6px 0 8px; }
.series-body p { color: var(--ink-dim); font-size: 0.95rem; }
.series-card.is-link { display: block; text-decoration: none; cursor: pointer; }
.series-card.is-link .series-more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px;
  font-size: 0.85rem; font-weight: 800;
  color: var(--accent);
}
.series-card.is-link .series-more .arr { transition: transform 0.2s; }
.series-card.is-link:hover .series-more .arr { transform: translateX(4px); }

/* series detail page — key/value spec rows */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.spec-k { color: var(--ink-faint); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.spec-v { color: var(--brand); font-size: 0.98rem; font-weight: 800; text-align: right; }

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.solution-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.solution-list li, .solution-list .sol-item, .sol-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 17px 19px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-dim);
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.solution-list li:hover, .solution-list .sol-item:hover, a.sol-item:hover {
  border-color: #c9dcff; color: var(--ink); transform: translateX(4px); box-shadow: var(--shadow-md);
}
a.sol-item:hover { color: var(--accent); }
.solution-list li::before, .sol-item::before {
  content: "";
  flex: 0 0 auto;
  width: 8px; height: 8px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--grad);
  transform: rotate(45deg);
}
a.sol-item { cursor: pointer; }
a.sol-item .arr { margin-left: auto; color: var(--accent); transition: transform 0.2s; }
a.sol-item:hover .arr { transform: translateX(4px); }
.dom-figure {
  margin: 0 0 clamp(36px, 5vw, 56px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.dom-figure img { width: 100%; max-height: 420px; object-fit: cover; }
.dom-figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 26px 16px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  background: linear-gradient(to top, rgba(5, 14, 34, 0.75), transparent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.gallery-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-card:hover img { transform: scale(1.05); }
.gallery-card figcaption {
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-dim);
}

.side-nav {
  position: sticky;
  top: 104px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.side-nav h4 {
  padding: 20px 24px 12px;
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 800;
}
.side-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 24px;
  color: var(--ink-dim);
  font-size: 0.95rem;
  font-weight: 700;
  border-top: 1px solid var(--line);
  transition: background 0.18s, color 0.18s, padding-left 0.18s;
}
.side-nav a:hover { background: #f2f7ff; color: var(--accent); padding-left: 30px; }
.side-nav a.active {
  color: var(--accent);
  background: #eaf3ff;
  box-shadow: inset 3px 0 0 var(--accent);
}

/* ---------- news page / article ---------- */

.article-body { max-width: 800px; }
.article-body .news-meta { margin-bottom: 22px; }
.article-body h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 32px;
  color: var(--brand);
}
.article-body .thumb {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow-md);
}
.article-body p { color: var(--ink-dim); font-size: 1.07rem; margin-bottom: 22px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.94rem;
  margin-bottom: 34px;
}
.back-link:hover { text-decoration: underline; }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-card-map { grid-column: 1 / -1; }
.contact-card {
  padding: 36px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad);
  box-shadow: var(--glow);
  margin-bottom: 20px;
}
.contact-card .icon svg { width: 24px; height: 24px; stroke: #fff; }
.contact-card h3 { font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 10px; font-weight: 800; }
.contact-card p { color: var(--ink); font-size: 1.05rem; line-height: 1.75; word-break: break-word; font-weight: 600; }
.contact-card a { color: var(--accent); }
.map-embed {
  margin-top: 22px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--accent);
}
.map-link:hover { text-decoration: underline; }

/* China office-network schematic map */
.china-map-card {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(700px 380px at 75% 0%, rgba(4, 102, 255, 0.08), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.china-map-card .grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 31, 58, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 58, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(600px 420px at 50% 40%, #000, transparent);
  -webkit-mask-image: radial-gradient(600px 420px at 50% 40%, #000, transparent);
}
.china-map {
  position: relative;
  width: 100%;
  max-width: 520px;
  display: block;
  margin: 0 auto;
  height: auto;
}
.china-shape {
  fill: #eaf3ff;
  stroke: #b8d9ff;
  stroke-width: 1.1;
  stroke-linejoin: round;
}
.link-line {
  fill: none;
  stroke: url(#linkGrad);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 1 7;
  opacity: 0.85;
  animation: linkFlow 1.1s linear infinite;
}
@keyframes linkFlow { to { stroke-dashoffset: -16; } }
.marker-dot { fill: var(--accent); }
.marker-pulse {
  fill: var(--accent-2);
  opacity: 0.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: mapPulse 2.4s ease-out infinite;
}
.city-marker text {
  fill: var(--brand);
  font-size: 17px;
  font-weight: 800;
  font-family: var(--font);
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 4px;
  stroke-linejoin: round;
}
@keyframes mapPulse {
  0% { r: 5; opacity: 0.55; }
  100% { r: 20; opacity: 0; }
}
.china-map-list {
  position: relative;
  text-align: center;
  margin-top: 22px;
  color: var(--ink-dim);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---------- reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide img { transition: none; transform: none; }
  .marker-pulse { animation: none; opacity: 0; }
  .link-line { animation: none; stroke-dasharray: none; }
  html { scroll-behavior: auto; }
}

/* ---------- breadcrumb ---------- */

.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.breadcrumb-nav a { color: var(--ink-faint); transition: color 0.2s; }
.breadcrumb-nav a:hover { color: var(--accent); }
.breadcrumb-nav span.sep { opacity: 0.6; }
.breadcrumb-nav span.current { color: var(--ink-dim); font-weight: 600; }

/* ---------- placeholder tiles (used for trust wall / certs / awards / leadership / timeline / careers) ---------- */

.placeholder-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 12px;
  border-radius: 12px;
  border: 1.5px dashed #c9d6ea;
  background: #f7faff;
  color: var(--ink-faint);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  min-height: 92px;
  text-align: center;
}
.placeholder-tile svg { width: 22px; height: 22px; opacity: 0.55; }

/* ---------- trust wall (partners / certifications / awards) ---------- */

.trust-block { margin-bottom: clamp(36px, 5vw, 56px); }
.trust-block:last-child { margin-bottom: 0; }
.trust-block h3 {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 18px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.trust-grid.certs, .trust-grid.awards { grid-template-columns: repeat(4, 1fr); }

/* ---------- leadership ---------- */

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.leader-card {
  padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.leader-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.leader-card .avatar {
  width: 68px; height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(160deg, #eef4ff, #dce9ff);
  display: grid;
  place-items: center;
  color: #9db4d6;
}
.leader-card .avatar svg { width: 32px; height: 32px; }
.leader-card .name { color: var(--ink-faint); font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
.leader-card .role { color: var(--accent); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; }

/* ---------- timeline ---------- */

.timeline {
  position: relative;
  padding-left: 32px;
  margin-top: 8px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  padding-bottom: clamp(24px, 3vw, 36px);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: var(--glow);
}
.timeline-item .year { color: var(--accent); font-weight: 800; font-size: 0.95rem; margin-bottom: 4px; }
.timeline-item .desc { color: var(--ink-faint); font-size: 0.92rem; font-style: italic; }

/* ---------- video placeholder ---------- */

.video-block {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 8;
}
.video-block img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55) saturate(0.9); }
.video-block .play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  cursor: not-allowed;
}
.video-block .play-btn .circle {
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
}
.video-block .play-btn .circle svg { width: 26px; height: 26px; margin-left: 4px; }
.video-block .play-btn .cap {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(11, 31, 58, 0.45);
  padding: 8px 18px;
  border-radius: 999px;
}

/* ---------- careers page ---------- */

.careers-culture {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: clamp(32px, 5vw, 52px) 0;
}
.careers-culture li {
  list-style: none;
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 0.96rem;
}
.careers-apply {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.careers-apply h3 { font-size: 1.3rem; color: var(--brand); margin-bottom: 10px; }
.careers-apply p { color: var(--ink-dim); margin-bottom: 22px; }
.careers-openings-note {
  padding: 18px 22px;
  border-radius: 12px;
  border: 1.5px dashed #c9d6ea;
  background: #f7faff;
  color: var(--ink-faint);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 52px);
}

/* ---------- search page ---------- */

.search-box {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}
.search-box input {
  flex: 1;
  padding: 15px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(4, 102, 255, 0.12); }
.search-box button {
  padding: 15px 28px;
  border-radius: 999px;
  border: 0;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--glow);
  white-space: nowrap;
}
.search-meta { color: var(--ink-faint); font-size: 0.92rem; margin-bottom: 22px; }
.search-results-list { display: flex; flex-direction: column; gap: 12px; }
.search-result-item {
  display: block;
  padding: 20px 24px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.search-result-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: #c9dcff; }
.search-result-item .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.search-result-item h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 4px; }
.search-result-item p { color: var(--ink-dim); font-size: 0.9rem; }

/* ---------- enquiry form ---------- */

.enquiry-form {
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.enquiry-form h3 { font-size: 1.2rem; color: var(--brand); margin-bottom: 6px; }
.enquiry-form > p { color: var(--ink-faint); font-size: 0.9rem; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 700; color: var(--ink-dim); }
.form-field label .req { color: #ff5470; margin-left: 2px; }
.form-field input, .form-field textarea {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(4, 102, 255, 0.12); }
.enquiry-form .btn-primary { margin-top: 22px; border: 0; cursor: pointer; font-family: inherit; font-size: 1rem; }

/* ---------- legal pages ---------- */

.legal-content { max-width: 760px; }
.legal-updated { color: var(--ink-faint); font-size: 0.88rem; margin-bottom: 8px; }
.legal-notice {
  padding: 16px 20px;
  border-radius: 12px;
  border: 1.5px dashed #ffcf8c;
  background: #fff9ef;
  color: #8a5a00;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: clamp(32px, 5vw, 48px);
}
.legal-content h2 { font-size: 1.2rem; color: var(--brand); margin: 34px 0 12px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-dim); font-size: 0.97rem; line-height: 1.8; }
.legal-content ul { padding-left: 20px; margin: 10px 0; }

/* ---------- 404 page ---------- */

.page-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(60px, 10vw, 120px) 20px;
}
.page-404 .code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.page-404 h1 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--ink); margin: 18px 0 10px; }
.page-404 p { color: var(--ink-dim); margin-bottom: 30px; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .biz-grid, .biz-grid.cols-5, .biz-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; }
  .intro-cols { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 80px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 26px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    max-height: calc(100svh - 80px);
    overflow-y: auto;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > a, .nav-drop > .nav-drop-btn { padding: 14px 8px; width: 100%; text-align: left; color: var(--ink) !important; }
  .main-nav > a::after { display: none; }
  .nav-drop-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    grid-template-columns: repeat(2, 1fr);
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 6px 14px;
  }
  .nav-toggle { display: block; }
  .stats-band { margin-top: -56px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: 28px 20px; }
  .stat:nth-child(-n+2) { border-top: 0; }
  .innov-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .about-cols { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .solution-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .domain-grid { grid-template-columns: 1fr; }
  .series-grid { grid-template-columns: 1fr; }
  .dir-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-scroll { display: none; }
  .hero-caption { display: none; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid.certs, .trust-grid.awards { grid-template-columns: repeat(2, 1fr); }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); }
  .careers-culture { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .search-box { flex-direction: column; }
}

@media (max-width: 560px) {
  .biz-grid, .biz-grid.cols-5, .biz-grid.cols-3 { grid-template-columns: 1fr; }
  .biz-card { aspect-ratio: 16 / 10; }
  .biz-card-body { transform: none; }
  .biz-card-body .more { opacity: 1; }
}
