/* Brand-preserving refinements shared by every Astro page. */
:root {
  color-scheme: light;
  --surface: #fff;
  --surface-soft: #f7f9fc;
  --foreground: #1d2939;
  --muted: #596579;
  --focus: #5587ff;
}

body { background: var(--surface); color: var(--foreground); font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
html { scroll-padding-top: 132px; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
a, button, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
::selection { color: #fff; background: #163dd8; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 10000; padding: 12px 20px; background: #163dd8; color: #fff; border-radius: 8px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
#main-content:focus { outline: none; }
.header .brand-mark { width: auto; height: 49px; object-fit: contain; }
.header .header-tools { gap: 14px; }
.header .header-search { color: #e5edf8; flex-shrink: 0; text-decoration: none; }
.submenu-toggle { display: none; }
/* The CTA keeps the original earth artwork and original typographic hooks. */
.site-cta { background: #05122b url('/assets/cta-earth-bg.webp') center / cover no-repeat; }
.site-cta .site-cta-in { position: relative; z-index: 2; }
main.hv7 .hv7-hero { min-height: 740px; max-height: 1120px; }
main.hv7 .hv7-hero-in { padding-top: clamp(240px, 27vh, 340px); }
main.hv7 .hv7-hero-title { font-size: clamp(42px, 4.17vw, 80px); text-wrap: balance; }
main.hv7 .hv7-hero-sub { margin-top: 32px; }
main.hv7 .hv7-btn { border-radius: 8px; }
main.hv7 .hv7-case, main.hv7 .hv7-biz-card, main.hv7 .vv-card { border-radius: 12px; }
main.hv7 .hv7-case img, main.hv7 .hv7-biz-card img { transition: transform .5s ease; }
@media (hover: hover) { main.hv7 .hv7-case:hover img { transform: scale(1.025); } }
/* Keep light logos/QR artwork on their original readable surfaces. */
.f-qr { padding: 8px; background: #fff; border-radius: 8px; }
@media (max-width: 1200px) { .header .header-tools { gap: 10px; } }
@media (max-width: 992px) {
  html { scroll-padding-top: 88px; }
  .header .header-in { padding-inline: 20px; }
  .header .brand-mark { height: 37px; max-width: 190px; }
  .header .header-phone { display: none; }
  .header .header-tools { gap: 8px; }
  .header .nav {
    max-height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior: contain;
    gap: 4px; padding: 12px 14px max(20px, env(safe-area-inset-bottom));
  }
  .header.nav-open .nav { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .header .nav-mega-wrap { display: block; width: 100%; position: static; }
  .header .submenu-toggle,
  .header .nav .nav-mega,
  .header .nav .nav-mega-wrap.submenu-open .nav-mega { display: none !important; }
  .header .nav > a,
  .header .nav > .nav-mega-wrap > a {
    min-height: 48px; padding: 12px 14px; border: 0; border-radius: 10px;
    font-size: 16px; font-weight: 500; color: #dce7f8;
  }
  .header .nav > .nav-mega-wrap > a { padding-right: 14px; }
  .header .nav > a:hover,
  .header .nav > a:focus-visible,
  .header .nav > .nav-mega-wrap > a:hover,
  .header .nav > .nav-mega-wrap > a:focus-visible {
    background: #ffffff0f; color: #fff;
  }
  .header .nav > a.active,
  .header .nav > a[aria-current="page"],
  .header .nav > .nav-mega-wrap > a.active,
  .header .nav > .nav-mega-wrap > a[aria-current="page"] {
    background: #163dd8; color: #fff; font-weight: 600;
  }
  .footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer .f-brand, .footer .f-contact { grid-column: 1 / -1; }
  .footer .footer-bottom { flex-wrap: wrap; line-height: 1.8; }
}
@media (max-width: 640px) {
  .header .header-in { padding-inline: 16px; }
  .header .brand-mark { height: 32px; max-width: 153px; }
  .header .header-tools { gap: 4px; }
  .header .header-search { display: none; }
  .header .nav-toggle { width: 36px; height: 36px; margin: 0; }
  .wrap, main.hv7 .container { padding-inline: 20px; }
  main.hv7 .hv7-hero { min-height: 620px; height: 88svh; max-height: 820px; }
  main.hv7 .hv7-hero-in { padding: 170px 20px 64px; }
  main.hv7 .hv7-hero-title { font-size: clamp(28px, 7.7vw, 42px); line-height: 1.45; }
  main.hv7 .hv7-hero-sub { margin-top: 24px; font-size: 15px; }
  main.hv7 .hv7-hero-actions { gap: 12px; flex-wrap: wrap; }
  main.hv7 .hv7-btn { padding-inline: 20px; font-size: 14px; }
  main.hv7 .vv-card { width: min(820px, calc(100vw - 40px)); }
  main.hv7 .hv7-reel-copy { padding: 24px; }
  .site-cta-title { text-wrap: balance; }
  .footer { padding-top: 48px; }
  .footer .f-policy { flex-wrap: wrap; gap: 12px; }
  .footer .f-contact { align-items: flex-start; }
  .footer .f-line { overflow-wrap: anywhere; }
  input, textarea, select { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .rise, .title-reveal, .img-reveal { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 992px) {
  .cd-layout { min-width: 0; grid-template-columns: minmax(0, 1fr); }
  .cd-main, .cd-layout > * { min-width: 0; max-width: 100%; }
  .cd-nav { box-sizing: border-box; min-width: 0; max-width: 100%; overflow-x: auto; }
  .cd-nav ol { width: max-content; min-width: 100%; }
  .cd-sec, .cd-overview-grid, .cd-mods, .cd-rel-grid { min-width: 0; }
  .cd-mod, .cap-ph { min-width: 0; overflow-wrap: anywhere; }
}
/* The retained blue logo needs a little more luminance on the glass header. */

[hidden] { display: none !important; }
/* Production presentation: calm spacing for remaining home modules. */
main.hv7 .hv7-case-cols { grid-template-columns:repeat(2,minmax(0,1fr)); }
main.hv7 .hv7-case-title a:hover, main.hv7 .hv7-case--small h3 a:hover { color:#163dd8; }
.cd-hero .wrap { grid-template-columns:minmax(0,1fr); }
.cd-hero { background:radial-gradient(ellipse at 85% 10%,#164c884d,transparent 55%),#0b1528; }
@media (max-width: 640px) {
  main.hv7 .hv7-case-cols { grid-template-columns:minmax(0,1fr); }
}
/* Contrast and wrapping corrections found during device review. */
.header .brand .brand-mark { filter:brightness(0) invert(1); }
.vc-hero::before { background:linear-gradient(180deg,rgba(4,20,46,.42),rgba(4,20,46,.48) 55%,rgba(4,20,46,.56)); }
.vc-hero h1 { text-shadow:0 2px 20px #06162f80; }
.intro-name { text-wrap:balance; }
@media (max-width: 640px) {
  .intro .intro-name { font-size:clamp(17px,4.7vw,24px); line-height:1.65; }
  .vc-hero .subnav-list { justify-content:flex-start; overflow-x:auto; scrollbar-width:none; }
  .vc-hero .subnav-list a { flex-shrink:0; }
}

.capability-visual { position:relative; isolation:isolate; display:flex; align-items:center; justify-content:center; gap:48px; min-height:270px; padding:36px; overflow:hidden; border:1px solid #dfe8f8; border-radius:16px; background:radial-gradient(ellipse at 20% 50%,#d8e8ff 0,transparent 55%),linear-gradient(125deg,#f2f7ff,#fff); }
.capability-symbol { position:relative; z-index:1; width:116px; height:116px; display:grid; place-items:center; flex-shrink:0; border-radius:30px; background:#fff9; border:1px solid #fff; box-shadow:0 20px 50px #1641a81a; transform:rotate(-8deg); color:#2457d8; }
.capability-symbol svg { width:80px; height:80px; }
.capability-orbit { position:absolute; z-index:-1; width:500px; height:500px; border:1px solid #163dd810; border-radius:50%; left:-90px; top:50%; transform:translateY(-50%); }
.capability-orbit span { position:absolute; inset:44px; border:1px solid #163dd810; border-radius:50%; }
.capability-orbit span+span { inset:88px; }
.capability-visual-copy { max-width:65%; }
.capability-visual-kicker { display:block; font-size:10px; letter-spacing:.16em; color:#526e9b; }
.capability-visual-copy p { margin:12px 0 20px; font-size:28px; font-weight:600; color:#193357; }
.capability-visual-copy ul { display:flex; flex-wrap:wrap; gap:8px; margin:0; padding:0; list-style:none; }
.capability-visual-copy li { padding:6px 12px; background:#fff; border:1px solid #dce7f8; border-radius:6px; font-size:13px; color:#4d6381; }
@media(max-width:640px) {
  .capability-visual { min-height:210px; gap:20px; padding:24px 20px; }
  .capability-symbol { width:66px; height:66px; border-radius:16px; }
  .capability-symbol svg { width:48px; height:48px; }
  .capability-visual-copy { max-width:calc(100% - 86px); }
  .capability-visual-kicker { font-size:8px; letter-spacing:.04em; }
  .capability-visual-copy p { font-size:20px; margin:8px 0 12px; }
  .capability-visual-copy li { font-size:11px; padding:4px 7px; }
}
/* The legacy column pages had no horizontal content gutter. */
.tpc-page .tpc-module { max-width:1440px; padding-inline:clamp(20px,3vw,48px); box-sizing:border-box; }
@media (max-width:992px) {
  .tpc-page .tpc-banner { height:auto; min-height:440px; }
  .tpc-page .tpc-banner-in { padding:140px 32px 64px; }
  .tpc-page .tpc-banner-title { font-size:36px; line-height:1.5; text-wrap:balance; }
  .tpc-page .tpc-banner-sub { margin-top:28px; font-size:20px; line-height:1.8; }
}
@media (max-width:640px) {
  .tpc-page .tpc-banner { min-height:380px; }
  .tpc-page .tpc-banner-in { padding:120px 24px 48px; }
  .tpc-page .tpc-banner-title { font-size:clamp(26px,7vw,34px); line-height:1.5; letter-spacing:.02em; }
  .tpc-page .tpc-banner-sub { margin-top:20px; font-size:16px; padding:0; line-height:1.8; font-weight:400; }
}
/* Compact header identity and contact tools. */
.header .brand .brand-mark { height:34px; width:auto; max-width:168px; filter:none; }
.header .header-tools { gap:12px; }
.header .header-phone { font-size:15px; font-weight:500; letter-spacing:.02em; }
.header .header-search { width:34px; height:34px; border-radius:50%; }
.header .header-search svg { width:16px; height:16px; }
@media(max-width:992px) { .header .brand .brand-mark { height:30px; max-width:148px; } }
@media(max-width:640px) { .header .brand .brand-mark { height:27px; max-width:134px; } }

/* Shared Lucide icons and the complete footer industry directory. */
.site-icon { display:inline-block; flex-shrink:0; vertical-align:middle; }
body .header .header-phone { display:inline-flex; align-items:center; gap:7px; }
body .header .nav-mega .mega-link { display:flex; align-items:center; gap:12px; }
body .header .mega-link > .site-icon { color:#a7c2ff; transition:color 180ms ease; }
body .header .mega-link:hover > .site-icon { color:#fff; }
body .header .submenu-toggle .site-icon { transition:transform 180ms ease; }
body .header .submenu-toggle[aria-expanded="true"] .site-icon { transform:rotate(180deg); }
body .site-cta-btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; }
body .site-cta-btn > .site-icon { transition:transform 180ms ease; }
body .site-cta-btn:hover > .site-icon { transform:translate(2px,-2px); }
@media(min-width:1280px) and (max-width:1399px) {
  body .header .header-in { gap:18px; padding-inline:24px; }
  body .header .nav > a, body .header .nav > .nav-mega-wrap > a { padding-inline:8px; font-size:13px; }
}
@media(max-width:992px) { body .header .header-phone { display:none; } }
@media(prefers-reduced-motion:reduce) {
  body .site-cta-btn:hover > .site-icon { transform:none; }
}
