:root {
  color-scheme: light;
  --navy: #0d223b;
  --ink: #142d47;
  --muted: #485d72;
  --accent: #105da5;
  --accent-dark: #0b487f;
  --sky: #a1d9ff;
  --wash: #f2f6fa;
  --line: #dbe5ee;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.65;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #117bc0; outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(2.45rem, 5.1vw, 4.75rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.72rem, 3vw, 2.55rem); letter-spacing: -.025em; }
h3 { font-size: 1.25rem; }
ul { margin: 0; padding: 0; }
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip-link {
  position: absolute; inset: 8px auto auto 8px; z-index: 3; padding: 10px 16px;
  color: #fff; background: var(--accent-dark); transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: #fff; }
.header-row { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.15rem; font-weight: 750; white-space: nowrap; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 5px;
  color: #fff; background: #153a60; font-size: 1.4rem; line-height: 1;
}
.main-nav { display: flex; align-items: stretch; min-height: 75px; gap: clamp(12px, 2.75vw, 37px); }
.main-nav a {
  display: flex; align-items: center; position: relative; white-space: nowrap; text-decoration: none;
  font-size: .95rem; color: var(--muted); font-weight: 600;
}
.main-nav a:hover, .main-nav [aria-current="page"] { color: var(--accent-dark); }
.main-nav [aria-current="page"]::after {
  content: ""; height: 3px; background: var(--accent); position: absolute; inset: auto 0 0;
}
.header-phone {
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 5px; white-space: nowrap;
  font-size: .91rem; font-weight: 700; text-decoration: none; color: var(--accent-dark);
}
.header-phone:hover { background: var(--wash); border-color: #a8becf; }
.menu-toggle { display: none; }

.hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center;
  min-height: clamp(520px, 42vw, 680px); background: #09162b; color: #fff;
}
.hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 51%; }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg, #081427 0%, rgba(8,20,39,.96) 23%, rgba(8,20,39,.65) 49%, rgba(8,20,39,.05) 76%);
}
.hero-content { padding-block: 70px 86px; }
.company-name { color: var(--sky); font-size: .97rem; font-weight: 700; margin-bottom: 20px; }
.hero-deck { max-width: 27em; margin-top: 25px; color: #dbe9f7; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.hero-caption {
  position: absolute; right: 24px; bottom: 14px; padding: 2px 7px; border-radius: 3px;
  color: #e8f4ff; background: #0c1b30dc; font-size: .8rem;
}
.actions { margin-top: 33px; display: flex; flex-wrap: wrap; gap: 13px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 21px;
  border: 1px solid transparent; border-radius: 5px; font-size: .96rem; font-weight: 700; text-decoration: none;
}
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { background: var(--accent-dark); }
.button-outline { color: #fff; background: #0d223b66; border-color: #97a9bf; }
.button-outline:hover { background: #1e4570; }
.button-light { color: #153a60; background: #fff; }
.button-light:hover { background: #e0eefb; }

.section { padding-block: clamp(48px, 6vw, 82px); }
.section-muted { background: var(--wash); }
.section-heading { max-width: 44rem; margin-bottom: 26px; }
.section-heading p { color: var(--muted); margin-top: 12px; }
.section-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 24px; }
.section-row > .text-link { margin-top: 9px; }
.text-link {
  color: var(--accent-dark); text-decoration: underline; text-underline-offset: 5px;
  font-weight: 700; white-space: nowrap;
}
.text-link:hover { color: var(--accent); }
.product-grid, .service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card, .service-card, .contact-card {
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff;
}
.product-photo {
  display: block; aspect-ratio: 1.48; overflow: hidden; background: var(--wash);
  border-bottom: 1px solid var(--line);
}
.product-photo:focus-visible { outline-offset: -5px; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.product-photo:hover img { transform: scale(1.035); }
.product-copy, .service-card { padding: 21px; }
.product-copy p, .service-card p { color: var(--muted); margin-top: 9px; }
.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center;
  gap: clamp(26px, 6vw, 85px);
}
.split .section-heading { margin-bottom: 17px; }
.split .text-link { display: inline-block; margin-top: 19px; }
.split p + p { margin-top: 10px; }
.about-photo { overflow: hidden; border-radius: 8px; background: #edf0f3; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; object-position: center; }
.about-figure { position: relative; }
.about-figure figcaption {
  position: absolute; bottom: 9px; right: 10px; padding: 2px 7px; border-radius: 3px;
  color: #e8f4ff; background: #0c1b30dc; font-size: .8rem;
}
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.tags li { padding: 4px 10px; border: 1px solid #cbdbe9; border-radius: 3px; font-size: .88rem; }
.cta-section { padding-block: 48px; }
.cta {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px;
  padding: clamp(26px, 5vw, 58px); border-radius: 8px; color: #fff;
  background: linear-gradient(110deg, #122b47, #1b4b74);
}
.cta h2 { font-size: clamp(1.5rem, 2.7vw, 2.12rem); }
.cta p { margin-top: 10px; color: #daebfa; }
.subhero {
  padding-block: clamp(37px, 6vw, 75px); color: #fff;
  background: radial-gradient(ellipse at 90% 5%, #245981, transparent 65%), var(--navy);
}
.subhero h1 { font-size: clamp(2rem, 4.8vw, 3.65rem); margin-top: 14px; }
.subhero p { color: #dceafb; margin-top: 11px; }
.crumb { display: flex; gap: 9px; font-size: .875rem; color: #d2e6fb; }
.crumb a { text-underline-offset: 3px; }
.scope-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 12px; }
.scope-list li { border: 1px solid var(--line); border-left: 3px solid var(--accent); background: #fff; padding: 14px; font-weight: 650; }
.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card { border-top: 3px solid var(--accent); padding: 25px; }
.brief-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.brief-list li { border-top: 1px solid #a4bed4; padding-block: 12px; }
.brief-list span { display: block; margin-top: 6px; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 25px; }
.contact-card, .contact-note { padding: clamp(22px, 4vw, 43px); }
.contact-note { background: var(--wash); border-radius: 8px; }
.contact-grid h2 { font-size: 1.55rem; }
.contact-grid p { margin-top: 12px; color: var(--muted); }
.contact-grid dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 17px; }
.contact-grid dt { color: var(--muted); }
.contact-grid dd { margin: 0; font-weight: 700; }
.contact-grid dd a { color: var(--accent-dark); }
.contact-note ul { padding-left: 1.25em; margin-top: 13px; }
.contact-note li + li { margin-top: 7px; }

.site-footer { background: #0d223b; color: #d0deec; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 24px 50px; padding-block: 37px; }
.footer-grid .brand { color: #fff; }
.footer-grid p { margin-top: 10px; font-size: .91rem; }
.footer-nav { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px 16px; font-size: .89rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover { text-decoration: underline; }
.footer-contact { display: grid; gap: 4px; font-size: .91rem; }
.footer-contact strong, .footer-contact a { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 20px;
  padding-block: 15px; border-top: 1px solid #42617c; font-size: .82rem;
}
.footer-bottom small { font-size: inherit; }

@media (max-width: 930px) {
  .wrap { width: calc(100% - 48px); }
  .header-phone { display: none; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header-row { min-height: 65px; flex-wrap: wrap; gap: 0 10px; }
  .main-nav { flex-wrap: wrap; min-height: 0; padding-block: 8px; gap: 10px 18px; }
  .main-nav [aria-current="page"]::after { bottom: -4px; }
  .has-menu .main-nav {
    display: none; position: absolute; inset: 100% 0 auto; padding: 6px 20px 14px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 10px 18px #122b471d;
  }
  .has-menu .main-nav.is-open { display: grid; gap: 0; }
  .has-menu .main-nav a { min-height: 44px; border-bottom: 1px solid var(--line); padding-left: 8px; }
  .has-menu .main-nav [aria-current="page"]::after { inset: 10px auto 10px 0; width: 3px; height: auto; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 5px 9px;
    color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 5px;
    font: inherit; font-size: .9rem; cursor: pointer;
  }
  .menu-icon { width: 14px; height: 10px; border-block: 1px solid; position: relative; }
  .menu-icon::after { content: ""; position: absolute; inset: 3.5px 0 auto; border-bottom: 1px solid; }
  .hero-image { object-position: 67% center; }
  .hero::before { background: linear-gradient(90deg, #081427f0, #08142788 76%, #08142744); }
  .hero { min-height: 440px; }
  .hero-content { padding-block: 50px 67px; }
  .hero-caption { right: 13px; bottom: 9px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .contact-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 15px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .wrap { width: calc(100% - 32px); }
  .main-nav { padding-inline: 16px; }
  .hero-image { inset: auto 0 0; width: 100%; height: 66%; object-position: 69% 54%; }
  .hero::before { background: linear-gradient(180deg, #09162b 27%, #09162bdf 54%, #09162b15 100%); }
  .hero { min-height: 485px; align-items: start; }
  .hero-content { padding-top: 38px; }
  .company-name { margin-bottom: 13px; }
  .hero-deck { margin-top: 16px; max-width: 20em; }
  .actions { margin-top: 24px; gap: 8px; }
  .actions .button { padding-inline: 13px; }
  .section-row { display: block; }
  .section-row > .text-link { display: inline-block; margin: 0 0 17px; }
  .section-row .section-heading { margin-bottom: 10px; }
  .product-grid, .service-grid, .brief-list { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
