:root {
  --primary: #004aad;
  --primary-dark: #063d83;
  --primary-soft: #e8f1ff;
  --ink: #0b2545;
  --muted: #536b86;
  --surface: #ffffff;
  --background: #f5f9ff;
  --line: #dbe6f3;
  --success: #087f5b;
  --shadow: 0 18px 45px rgba(11, 37, 69, 0.09);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #f0a500; outline-offset: 3px; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(860px, calc(100% - 40px)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 10px 16px;
  color: #fff; background: var(--ink); border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 24px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; background: var(--primary); color: #fff;
}
.brand-mark svg { width: 25px; height: 25px; }
.brand-name { font-size: 21px; font-weight: 800; letter-spacing: .02em; }
.brand-name span { color: var(--primary); }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 20px; margin-left: auto; }
.nav-links a { color: #294664; font-size: 14px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-link {
  display: inline-flex; align-items: center; min-height: 42px; padding: 8px 11px;
  color: var(--primary); font-size: 13px; font-weight: 750; text-decoration: none;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.menu-toggle {
  display: none; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  padding: 8px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 20px; border: 1px solid transparent; border-radius: 11px;
  font-weight: 750; line-height: 1.35; text-align: center; text-decoration: none; cursor: pointer;
}
.btn-primary { color: #fff; background: var(--primary); box-shadow: 0 8px 20px rgba(0, 74, 173, .18); }
.btn-primary:hover { color: #fff; background: var(--primary-dark); }
.btn-secondary { color: var(--primary); background: #fff; border-color: #b9cee8; }
.btn-secondary:hover { color: var(--primary-dark); background: var(--primary-soft); }
.btn-small { min-height: 42px; padding: 9px 15px; font-size: 14px; }
.text-link { font-weight: 750; }

.hero { padding: 64px 0 48px; background: linear-gradient(145deg, #f8fbff 15%, #eaf3ff 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); gap: 52px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 12px;
  color: var(--primary); background: var(--primary-soft); border: 1px solid #ccdef6;
  border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .04em;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.02em; }
h1 { max-width: 800px; font-size: clamp(36px, 5vw, 58px); font-weight: 850; }
h2 { font-size: clamp(27px, 3.4vw, 36px); }
h3 { font-size: 21px; }
p { margin: 0 0 16px; }
.hero-lead { max-width: 700px; margin: 22px 0 26px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.page-hero { padding: 42px 0 48px; }
.page-hero h1 { font-size: clamp(34px, 4.5vw, 50px); }
.page-hero .hero-lead { max-width: 820px; }

.quote-panel { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.quote-panel h2, .quote-panel h3 { font-size: 23px; }
.panel-label { margin-bottom: 4px; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.price-list { margin: 20px 0; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-row span:first-child { color: #334f6d; }
.price { color: var(--primary); font-size: 21px; font-weight: 850; white-space: nowrap; }
.panel-note { color: var(--muted); font-size: 13px; }
.panel-actions { display: grid; gap: 10px; margin-top: 20px; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 30px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.stat { padding: 20px; background: #fff; }
.stat strong { display: block; color: var(--primary); font-size: 23px; }
.stat span { color: var(--muted); font-size: 13px; }

.section { padding: 68px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-white { background: #fff; }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading p { margin: 12px 0 0; color: var(--muted); }
.section-kicker { display: block; margin-bottom: 8px; color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); }
.card-footer { margin-top: 18px; }
.service-code { display: inline-block; margin-bottom: 18px; color: var(--primary); font-size: 13px; font-weight: 850; letter-spacing: .12em; }
.meta-list { display: grid; gap: 9px; margin: 18px 0; padding: 0; list-style: none; color: #334f6d; font-size: 14px; }
.meta-list li { padding-left: 18px; position: relative; }
.meta-list li::before { content: ""; position: absolute; left: 0; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.route-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.route-point { padding: 10px 14px; color: var(--ink); background: var(--primary-soft); border-radius: 10px; font-weight: 700; }
.route-arrow { color: var(--muted); }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: 17px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--ink); background: #edf4fd; font-size: 14px; }
td { color: #334f6d; }
tr:last-child td { border-bottom: 0; }
.notice { margin-top: 20px; padding: 17px 20px; color: #36536f; background: #edf5ff; border-left: 4px solid var(--primary); border-radius: 0 10px 10px 0; }
.notice p:last-child { margin-bottom: 0; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: steps; }
.step { position: relative; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); counter-increment: steps; }
.step::before { content: counter(steps, decimal-leading-zero); display: block; margin-bottom: 18px; color: var(--primary); font-size: 28px; font-weight: 850; }
.step h3 { margin-bottom: 10px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.faq-list { display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 13px; }
summary { position: relative; padding: 19px 52px 19px 20px; font-weight: 750; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 15px; color: var(--primary); font-size: 24px; }
details[open] summary::after { content: "−"; }
.details-content { padding: 0 20px 20px; color: var(--muted); }
.details-content p:last-child { margin-bottom: 0; }

.breadcrumbs { margin-bottom: 26px; font-size: 13px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; color: #8ca0b6; }
.breadcrumbs a { color: var(--muted); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.content-stack { display: grid; gap: 24px; }
.content-card { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.content-card h2 { margin-bottom: 18px; font-size: 27px; }
.content-card h3 { margin: 24px 0 10px; font-size: 19px; }
.content-card p, .content-card li { color: #36536f; }
.content-card ul, .content-card ol { padding-left: 22px; }
.content-card li + li { margin-top: 8px; }
.content-card > *:last-child { margin-bottom: 0; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 18px; }
.sidebar .card { padding: 22px; }
.sidebar h2 { margin-bottom: 12px; font-size: 20px; }
.sidebar-links { display: grid; gap: 10px; }
.sidebar-links a { font-weight: 650; }
.cta-band { padding: 34px; color: #fff; background: var(--primary-dark); border-radius: 20px; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { max-width: 760px; color: #dbe9fa; }
.cta-band .btn { margin-top: 10px; color: var(--primary-dark); background: #fff; }
.cta-band .btn:hover { background: #eaf2ff; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 28px; align-items: start; }
.contact-methods { display: grid; gap: 12px; }
.contact-method { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 13px; overflow-wrap: anywhere; }
.contact-method strong { display: block; margin-bottom: 4px; }
.contact-method p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.copy-btn { margin-top: 8px; color: var(--primary); background: transparent; border: 0; padding: 5px 0; font-weight: 700; cursor: pointer; }
.copy-status { min-height: 24px; color: var(--success); font-size: 13px; }
.quote-form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field-label { color: var(--ink); font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; color: var(--ink); background: #fff;
  border: 1px solid #b9c9dc; border-radius: 9px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); }
.field-hint { color: var(--muted); font-size: 13px; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; color: #36536f; font-size: 14px; }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; }
.honeypot { position: absolute; left: -9999px; }
.success-box { padding: 36px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.success-icon { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 20px; color: #fff; background: var(--success); border-radius: 50%; font-size: 32px; }
.success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.site-footer { padding: 52px 0 24px; color: #d6e3f2; background: #081f3b; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr .7fr 1fr; gap: 36px; }
.site-footer h2, .site-footer h3 { margin-bottom: 15px; color: #fff; font-size: 17px; }
.site-footer p, .site-footer address { color: #b9cade; font-size: 14px; font-style: normal; }
.site-footer a { display: block; margin: 8px 0; color: #d6e3f2; font-size: 14px; text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand .brand { margin-bottom: 16px; color: #fff; }
.footer-brand .brand-name span { color: #9fc2f7; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 22px; border-top: 1px solid #29415f; color: #9fb3ca; font-size: 13px; }

@media (max-width: 1050px) {
  .nav-links { gap: 13px; }
  .nav-links a { font-size: 13px; }
  .header-inner { gap: 14px; }
  .hero-grid { gap: 30px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; padding-block: 14px; }
  .header-actions { margin-left: auto; }
  .js .menu-toggle { display: inline-flex; }
  .nav-links { flex-basis: 100%; flex-wrap: wrap; justify-content: flex-start; margin: 0; padding: 8px 0 4px; }
  .js .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 70px; padding: 16px;
    background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow);
  }
  .js .nav-links.is-open { display: grid; gap: 4px; }
  .js .nav-links a { display: block; padding: 10px; }
  .header-cta { display: none; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .quote-panel { max-width: 620px; }
  .card-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .container, .narrow { width: min(100% - 28px, 1160px); }
  .brand-name { font-size: 18px; }
  .brand-mark { width: 38px; height: 38px; }
  .header-inner { gap: 9px; }
  .header-actions { gap: 7px; }
  .lang-link { padding-inline: 8px; font-size: 12px; }
  .hero { padding: 40px 0 34px; }
  h1 { font-size: 36px; }
  .hero-lead { font-size: 16px; }
  .hero-actions, .hero-actions .btn { width: 100%; }
  .stats-grid, .card-grid, .card-grid.two, .steps, .form-grid, .sidebar { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .quote-panel, .content-card, .cta-band { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .success-box { padding: 26px 20px; }
}

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