/*
 * Flyover website global design system
 * Reset, typography, utilities, shared navigation, components and responsive rules.
 */

:root {
  --font-family-base: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-size-h1: 2rem;
  --font-size-h2: 1.5rem;
  --font-size-h3: 1.25rem;
  --font-size-h4: 1.17rem;
  --font-size-body: 1rem;
  --font-size-small: 0.875rem;
  --font-size-caption: 0.75rem;
  --font-size-sequence-compact: 0.75rem;
  --font-size-sequence-card: 1.75rem;
  --font-size-sequence-section: 2.25rem;
  --font-size-sequence-display: 2.75rem;
  --font-size-sequence-hero: 4.375rem;
  --font-size-sequence-metric: 3.5625rem;
}

html { font-size: var(--font-size-small); }

body { font-family: var(--font-family-base); font-size: var(--font-size-body); }

h1, .text-h1 { font-size: var(--font-size-h1); }

h2, .text-h2 { font-size: var(--font-size-h2); }

h3, .text-h3 { font-size: var(--font-size-h3); }

h4, .text-h4 { font-size: var(--font-size-h4); }

p, li, input, textarea, select, .text-body { font-size: var(--font-size-body); }

small, time, label, .text-small { font-size: var(--font-size-small); }

.copyright, .text-caption { font-size: var(--font-size-caption); }

button, .button { font-size: var(--font-size-body); }


/* Decorative sequence and metric numbers are separate from content typography. */

.sequence-number { font-variant-numeric: tabular-nums; }

.sequence-number--compact { font-size: var(--font-size-sequence-compact); }

.sequence-number--card { font-size: var(--font-size-sequence-card); }

.sequence-number--section { font-size: var(--font-size-sequence-section); }

.sequence-number--display { font-size: var(--font-size-sequence-display); }

.sequence-number--hero { font-size: var(--font-size-sequence-hero); }

.sequence-number--metric { font-size: var(--font-size-sequence-metric); }

.sequence-number__unit { font-size: var(--font-size-h2); }

/* Shared internal-page hero typography and content layout. */

.page-hero__copy {
  position: relative;
  z-index: 1;
  width: min(620px, 52%);
  color: #fff;
  text-shadow: 0 3px 18px rgba(0, 12, 39, .24);
}

.page-hero__copy > .page-hero__eyebrow {
  display: block;
  color: #79bcff;
  font-size: var(--font-size-h2);
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.3;
}

.page-hero__copy .page-hero__title {
  margin: 12px 0 9px;
  font-size: var(--font-size-h1);
  line-height: 1.2;
  letter-spacing: .06em;
}

.page-hero__copy .page-hero__subtitle {
  margin: 0;
  font-size: var(--font-size-h2);
  font-weight: 500;
  line-height: 1.5;
}

.page-hero__copy .page-hero__description {
  max-width: 560px;
  margin: 20px 0 0;
  color: #c4d7ee;
  font-size: var(--font-size-h4);
  line-height: 1.9;
}

.hero-description { font-size: var(--font-size-h4); }

/* Shared utility classes */

.u-hidden { display: none !important; }

.u-text-center { text-align: center !important; }

.u-full-width { width: 100% !important; }

.u-no-margin { margin: 0 !important; }

:root { --navy: #061633;
  --navy-2: #031b46;
  --blue: #1677ff;
  --blue-2: #0b65e7;
  --cyan: #20c4f4;
  --lime: #91c900;
  --text: #13213d;
  --muted: #6f7c91;
  --line: #dce8f8;
  --soft: #f5f9ff;
  --white: #ffffff;
  --shadow: 0 12px 36px rgba(31, 74, 132, .10);
  --radius: 14px;
  --page: 1280px; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body { margin: 0; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }

body.modal-open { overflow: hidden; }

button, input, select { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

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

button { border: 0; cursor: pointer; }

.page-shell, .nav-shell { width: min(var(--page), calc(100% - 48px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 100; height: 72px; background: rgba(255,255,255,.98); border-bottom: 1px solid #e8eef7; box-shadow: 0 4px 20px rgba(13,49,99,.05); }

.nav-shell { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { width: 76px; flex: 0 0 76px; height: 62px; display: flex; align-items: center; justify-content: center; padding: 4px 7px; overflow: hidden; border-radius: 7px; }

.brand-logo { display: block; width: auto; height: 54px; object-fit: contain; }

.main-nav { margin-left: auto; height: 100%; display: flex; align-items: center; gap: 28px; }

.main-nav > a, .nav-dropdown > a { position: relative; height: 100%; display: flex; align-items: center; color: #2d3850; font-weight: bold; white-space: nowrap; transition: color .2s ease; }

.main-nav > a::after, .nav-dropdown > a::after { position: absolute; left: 50%; right: 50%; bottom: 0; height: 3px; background: var(--blue); content: ""; transition: left .22s ease, right .22s ease; }

.main-nav a:hover, .main-nav a.active { color: var(--blue); }

.main-nav > a:hover::after, .main-nav > a.active::after, .nav-dropdown > a.active::after, .nav-dropdown:hover > a::after { left: 0; right: 0; }

.nav-dropdown { position: relative; height: 100%; }

.dropdown-panel { position: absolute; top: 64px; left: 50%; width: 180px; padding: 10px; transform: translate(-50%, 10px); visibility: hidden; opacity: 0; border: 1px solid #e4ecf8; border-radius: 10px; background: #fff; box-shadow: var(--shadow); transition: .2s ease; }

.dropdown-panel a { display: block; padding: 9px 12px; border-radius: 7px; font-weight: 500; color: #45536a; }

.dropdown-panel a:hover { color: var(--blue); background: #f2f7ff; }

.training-dropdown-panel { width: 280px; }

.nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel { visibility: visible; opacity: 1; transform: translate(-50%,0); }

.nav-hotline { position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 9px; color: #2c5f9f; white-space: nowrap; transition: color .2s ease; }

.nav-hotline:hover { color: var(--blue); }

.nav-hotline__icon { display: block; width: 29px; height: 29px; object-fit: contain; }

.nav-hotline__copy { display: flex; flex-direction: column; gap: 1px; }

.nav-hotline small { color: #77869a; font-size: 11px; line-height: 1.15; font-weight: 400; }

.nav-hotline strong { color: #245b9e; font-size: 15px; line-height: 1.15; letter-spacing: .3px; font-variant-numeric: tabular-nums; }

.nav-hotline:hover strong { color: var(--blue); }

.nav-hotline__tooltip { position: absolute; z-index: 10; top: calc(100% + 10px); left: 50%; visibility: hidden; opacity: 0; padding: 7px 11px; color: #fff; border-radius: 5px; background: #1677ff; box-shadow: 0 7px 18px rgba(12,39,77,.2); font-size: 12px; line-height: 1.2; font-weight: 400; pointer-events: none; transform: translate(-50%,-4px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }

.nav-hotline__tooltip::before { position: absolute; left: 50%; bottom: 100%; width: 0; height: 0; content: ""; transform: translateX(-50%); border-right: 5px solid transparent; border-bottom: 6px solid #1677ff; border-left: 5px solid transparent; }

.nav-hotline:hover .nav-hotline__tooltip, .nav-hotline:focus-visible .nav-hotline__tooltip { visibility: visible; opacity: 1; transform: translate(-50%,0); }

.nav-mobile-actions, .nav-hotline-mobile { display: none; }

.contact-btn { flex: 0 0 auto; height: 36px; padding: 0 18px; color: var(--blue); background: #fff; border: 1px solid #6ba7ff; border-radius: 5px; transition: .2s ease; }

.contact-btn-mobile { display: none; }

.contact-btn:hover { color: #fff; background: var(--blue); box-shadow: 0 7px 18px rgba(22,119,255,.25); }

.menu-btn { display: none; width: 38px; height: 38px; padding: 8px; background: transparent; }

.menu-btn span { display: block; height: 2px; margin: 5px 0; background: var(--text); border-radius: 2px; }

.button { min-width: 132px; height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border-radius: 6px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }

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

.button.primary { color: #fff; background: linear-gradient(135deg, #1882ff, #0867ee); box-shadow: 0 9px 24px rgba(15,108,242,.28); }

.button.primary:hover { box-shadow: 0 13px 28px rgba(15,108,242,.4); }

.button.secondary { color: #fff; background: rgba(3,22,60,.3); border: 1px solid rgba(255,255,255,.65); backdrop-filter: blur(4px); }

.button.secondary:hover { background: rgba(255,255,255,.12); }

.section-head { text-align: center; margin-bottom: 52px; }

.section-title { display: flex; align-items: center; justify-content: center; gap: 20px; }

.section-title h2 { margin: 0; line-height: 1.25; letter-spacing: .3px; }

.section-title > span { width: 58px; height: 1px; background: linear-gradient(90deg, transparent, var(--blue)); }

.section-title > span:last-child { transform: rotate(180deg); }

.section-head > p { margin: 14px 0 0; color: #7b879a; letter-spacing: .5px; }

.section-head > p, .section-subtitle { font-size: var(--font-size-h4); }

.section-head.inverse { margin-bottom: 35px; }

.section-head.inverse .section-title h2 { color: #fff; }

.site-footer { color: #a8b8cc; background: #021633; }

.footer-grid { padding: 54px 0 45px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr; gap: 30px; }

.footer-about .brand { width: 104px; height: 90px; margin-bottom: 18px; padding: 0; background: transparent; }

.footer-about .brand-logo { height: 90px; }

.footer-about > p { max-width: 275px; margin: 0; line-height: 1.9; }

.footer-grid h3 { margin: 2px 0 20px; color: #fff; }

.footer-grid > div:not(.footer-about) a, .footer-grid > div:not(.footer-about) p { display: block; margin: 0 0 12px; color: #a8b8cc; line-height: 1.6; }

.footer-grid a:hover { color: #fff; }

.socials { display: flex; gap: 10px; margin-top: 20px; }

.socials span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #5f728c; border-radius: 50%; color: #fff; }

.copyright {
  padding: 18px 20px;
  border-top: 1px solid rgba(143,165,194,.16);
  color: #7f93ad;
  background: rgba(0, 9, 25, .2);
}

.copyright__inner {
  width: min(100%, var(--page));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  line-height: 1.6;
}

.copyright__owner {
  color: #899cb5;
}

.copyright__divider {
  width: 1px;
  height: 12px;
  flex: 0 0 auto;
  background: rgba(160, 183, 212, .3);
}

.copyright__record {
  color: #7f93ad;
  transition: color .2s ease;
}

.copyright__record:hover {
  color: #d8e8fa;
}

.copyright__record--public {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.copyright__record--public img {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  object-fit: contain;
  opacity: .86;
}

.modal-backdrop { position: fixed; z-index: 200; inset: 0; visibility: hidden; opacity: 0; display: flex; align-items: stretch; justify-content: flex-end; background: rgba(0,15,42,.62); backdrop-filter: blur(3px); transition: opacity .24s ease, visibility .24s ease; }

.modal-backdrop.is-open { visibility: visible; opacity: 1; }

.contact-modal { position: relative; width: min(500px,100%); height: 100%; overflow-y: auto; padding: 44px 40px; border-radius: 16px 0 0 16px; background: #fff; box-shadow: -24px 0 60px rgba(0,22,62,.28); transform: translateX(100%); transition: transform .3s cubic-bezier(.22,.61,.36,1); }

.modal-backdrop.is-open .contact-modal { transform: translateX(0); }

.modal-close { position: absolute; top: 12px; right: 14px; width: 44px; height: 44px; color: #66758a; border-radius: 50%; background: transparent; font-size: 28px; line-height: 1; transition: color .2s ease, background .2s ease; }

.modal-close:hover { color: #1677ff; background: #f0f6ff; }

.modal-close:focus-visible { outline: 3px solid rgba(22,119,255,.2); outline-offset: 1px; }

.contact-modal h2 { margin: 0 0 10px; }

.contact-modal > p { margin: 0 0 24px; color: #78859a; }

.contact-modal label { display: block; margin: 0 0 16px; color: #3d4b60; }

.contact-modal label > span { color: #e5484d; }

.contact-modal input, .contact-modal textarea { width: 100%; margin-top: 8px; padding: 0 12px; outline: 0; border: 1px solid #ccd8e8; border-radius: 6px; background: #fff; color: #25344a; }

.contact-modal input { height: 44px; }

.contact-modal textarea { min-height: 104px; padding-top: 11px; padding-bottom: 11px; resize: vertical; }

.contact-modal input:focus, .contact-modal textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,119,255,.10); }

.contact-modal .privacy-consent { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; color: #66758a; }

.contact-modal .privacy-consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; padding: 0; accent-color: #1677ff; cursor: pointer; }

.contact-modal .privacy-consent label { margin: 0; color: #66758a; line-height: 1.5; cursor: pointer; }

.contact-modal .privacy-consent a { color: #25344a; text-decoration: underline; text-underline-offset: 3px; }

.contact-form-status { margin: 0 0 14px; padding: 10px 12px; border-radius: 6px; line-height: 1.55; }

.contact-form-status.is-success { color: #147a42; background: #edf9f2; }

.contact-form-status.is-error { color: #c73535; background: #fff1f0; }

.contact-modal.has-result { overflow-y: hidden; }

.contact-modal.has-result > h2, .contact-modal.has-result > p, .contact-modal.has-result > form { display: none; }

.contact-submit-status[hidden] { display: none; }

.contact-submit-status { min-height: calc(100vh - 88px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 12px 64px; text-align: center; }

.contact-submit-status:focus { outline: none; }

.contact-submit-status__heading { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 22px; }

.contact-submit-status__icon { width: 54px; height: 54px; display: grid; place-items: center; flex: 0 0 54px; color: #fff; border-radius: 50%; font-size: 28px; font-weight: 700; }

.contact-submit-status.is-success .contact-submit-status__icon { background: #20a162; box-shadow: 0 9px 22px rgba(32,161,98,.24); }

.contact-submit-status.is-error .contact-submit-status__icon { background: #e5484d; box-shadow: 0 9px 22px rgba(229,72,77,.24); }

.contact-submit-status__heading p { margin: 0; color: #1f3857; font-size: 28px; line-height: 1.3; font-weight: 700; letter-spacing: .04em; }

.contact-submit-status h4 { max-width: 330px; margin: 0; color: #77869a; font-size: 16px; line-height: 1.8; font-weight: 500; }

.contact-submit-retry { min-width: 126px; height: 40px; margin-top: 24px; padding: 0 20px; color: #1677ff; border: 1px solid #8bbcff; border-radius: 6px; background: #fff; transition: color .2s ease, background .2s ease; }

.contact-submit-retry:hover { color: #fff; background: #1677ff; }

.contact-submit-countdown[hidden] { display: none; }

.contact-submit-countdown { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: #7b899b; }

.contact-submit-countdown strong { width: 50px; height: 50px; display: grid; place-items: center; color: #1677ff; border: 2px solid #cfe2ff; border-radius: 50%; background: #f3f8ff; font-size: 24px; font-variant-numeric: tabular-nums; }

.contact-submit-countdown span { font-size: 14px; }

.contact-modal .button { width: 100%; }

.contact-modal .button:disabled { cursor: not-allowed; opacity: .68; transform: none; box-shadow: none; }

.back-to-top { position: fixed; z-index: 90; right: max(24px,calc((100vw - var(--page))/2 - 72px)); bottom: 34px; width: 50px; height: 50px; visibility: hidden; opacity: 0; transform: translateY(14px); display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; background: linear-gradient(145deg,#2894ff,#0864df); box-shadow: 0 10px 25px rgba(12,92,200,.28); transition: opacity .22s ease,transform .22s ease,visibility .22s ease,box-shadow .22s ease; }

.back-to-top.is-visible { visibility: visible; opacity: 1; transform: translateY(0); }

.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(12,92,200,.36); }

.back-to-top:focus-visible { outline: 3px solid rgba(22,119,255,.25); outline-offset: 3px; }

.back-to-top > span { position: relative; width: 16px; height: 20px; }

.back-to-top > span::before { position: absolute; left: 50%; top: 6px; width: 3px; height: 14px; content: ""; transform: translateX(-50%); border-radius: 2px; background: currentColor; }

.back-to-top > span::after { position: absolute; left: 50%; top: 0; width: 0; height: 0; content: ""; transform: translateX(-50%); border-right: 7px solid transparent; border-bottom: 9px solid currentColor; border-left: 7px solid transparent; }

.deliverable-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }

.deliverable-grid article { min-height: 205px; padding: 25px 20px; text-align: center; border: 1px solid #d2e2f6; border-radius: 9px; background: #fff; }

.deliverable-grid img { width: 78px; height: 78px; object-fit: contain; }

.deliverable-grid h3 { margin: 12px 0 8px; color: #18386a; }

.deliverable-grid p { margin: 0; color: #7a899c; line-height: 1.7; }

.section-head-inverse h2 { color: #fff; }

.section-head-inverse p { color: #a8c3e3; }

.section-head-inverse .section-title > span { background: linear-gradient(90deg,transparent,#449fff); }

.section-head-inverse .section-title > span:last-child { background: linear-gradient(90deg,#449fff,transparent); }

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

.cta-actions .button { flex: 0 0 auto; white-space: nowrap; }

@media (max-width: 1180px) {
.main-nav { gap: 17px; }
.brand { width: 72px; flex-basis: 72px; }
.nav-shell { gap: 15px; }
.nav-hotline { gap: 7px; }
.nav-hotline__icon { width: 27px; height: 27px; }
.contact-btn { padding: 0 13px; }
.footer-grid { gap: 28px; }
}

@media (max-width: 960px) {
.page-hero__copy { width: min(680px, 62%); }
html { scroll-padding-top: 64px; }
.site-header { height: 64px; }
.menu-btn { display: block; margin-left: auto; }
.nav-hotline-desktop { display: none; }
.nav-mobile-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding-top: 12px; border-top: 1px solid #e7eef8; }
.nav-hotline-mobile { display: block; }
.nav-hotline-mobile .nav-hotline { width: max-content; padding: 5px 0; }
.nav-hotline-mobile .nav-hotline__icon { width: 31px; height: 31px; }
.nav-hotline-mobile .nav-hotline small { font-size: 12px; }
.nav-hotline-mobile .nav-hotline strong { font-size: 16px; }
.contact-btn { display: none; }
.contact-btn-mobile { min-width: 104px; display: flex; align-items: center; justify-content: center; padding: 0 14px; }
.main-nav { position: absolute; top: 64px; left: 0; right: 0; height: auto; max-height: 0; overflow: hidden; display: block; padding: 0 24px; background: #fff; box-shadow: 0 12px 28px rgba(15,50,100,.14); transition: max-height .3s ease, padding .3s ease; }
.main-nav.is-open { max-height: 560px; padding-top: 12px; padding-bottom: 18px; }
.main-nav > a, .nav-dropdown, .nav-dropdown > a { height: auto; }
.main-nav > a, .nav-dropdown > a { padding: 12px 0; }
.main-nav > a::after, .nav-dropdown > a::after { display: none; }
.dropdown-panel { display: none; }
.footer-grid { grid-template-columns: 1.5fr repeat(2,1fr); }
.footer-grid > div:nth-child(4), .footer-grid > div:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 700px) {
.sequence-number--card { font-size: var(--font-size-h2); }
.sequence-number--section { font-size: 1.8125rem; }
.sequence-number--hero { font-size: 3.875rem; }
.page-hero__copy { width: 100%; text-shadow: none; }
.page-hero__copy > .page-hero__eyebrow { font-size: var(--font-size-h3); }
.page-hero__copy .page-hero__description { max-width: 96%; margin-top: 13px; line-height: 1.7; }
.page-shell, .nav-shell { width: min(100% - 32px,var(--page)); }
.brand { flex-basis: 68px; width: 68px; height: 58px; }
.brand-logo { height: 50px; }
.section-title { gap: 10px; }
.section-title > span { width: 28px; }
.section-head { margin-bottom: 34px; }
.button { min-width: 118px; height: 43px; padding: 0 18px; }
.footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.footer-about { grid-column: 1/-1; }
.footer-about > p { max-width: none; }
.copyright { padding: 16px; }
.copyright__inner { gap: 6px 10px; }
.copyright__owner { flex-basis: 100%; text-align: center; }
.copyright__divider { display: none; }
.contact-modal { width: 100%; padding: 34px 24px; border-radius: 0; }
.contact-submit-status__heading { gap: 13px; }
.contact-submit-status__icon { width: 50px; height: 50px; flex-basis: 50px; font-size: 26px; }
.contact-submit-status__heading p { font-size: 25px; }
.contact-submit-status h4 { max-width: 290px; font-size: 15px; }
.back-to-top { right: 16px; bottom: 20px; width: 44px; height: 44px; }
.back-to-top > span { width: 14px; height: 18px; }
.back-to-top > span::before { top: 5px; height: 13px; }
.back-to-top > span::after { border-right-width: 6px; border-bottom-width: 8px; border-left-width: 6px; }
.deliverable-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
.deliverable-grid article { min-height: 195px; padding: 20px 12px; }
}

@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
