:root {
  color-scheme: light;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: #15283f;
  background: #fff;
  --navy: #0a1930;
  --muted: #526176;
  --line: #e0e7ef;
  --blue: #194d98;
  --warm: #ffc47e;
  --warm-hover: #ffd49f;
  --width: 1200px;
}

* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { display: block; }
:focus-visible { outline: 3px solid #3478ce; outline-offset: 5px; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: var(--warm); }

.container { width: min(var(--width), calc(100% - 80px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 3;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header { background: #fff; }
.header-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 84px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; text-decoration: none; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: system-ui, sans-serif; font-size: 20px; line-height: 1.18; letter-spacing: -.035em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.35; letter-spacing: .06em; }
.main-nav { display: flex; gap: clamp(18px, 3.2vw, 48px); }
.main-nav a, .site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #405168;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: color .18s ease;
}
.main-nav a:hover { color: var(--blue); }
.header-action { justify-self: end; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 9px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.button span { font-size: 1.15em; line-height: 1; }
.button-outline { color: #1b4173; border-color: #ccdaec; }
.button-outline:hover { background: #edf4ff; border-color: #a8c3e7; }
.button-primary { color: #201607; background: var(--warm); }
.button-primary:hover { background: var(--warm-hover); }
.button-light { color: #fff; border-color: #a5b4c8; background: rgb(10 25 48 / 30%); }
.button-light:hover { background: rgb(255 255 255 / 16%); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 488px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.hero-photo, .hero::after { position: absolute; z-index: -1; inset: 0; }
.hero-photo { left: 26%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 23%; }
.hero::after {
  background: linear-gradient(90deg, #0a1930 26%, rgb(10 25 48 / 88%) 36%, rgb(10 25 48 / 48%) 53%, transparent 80%),
    linear-gradient(0deg, rgb(10 25 48 / 54%), transparent 60%);
  content: "";
}
.hero-content { padding-block: 54px 58px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  color: #ffcf94;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
}
.eyebrow::before { width: 22px; height: 2px; background: currentColor; content: ""; }
.hero h1 { font-size: clamp(45px, 5.1vw, 74px); font-weight: 800; line-height: 1.12; letter-spacing: -.045em; }
.hero-description { margin-block: 22px 27px; color: #e0e8f5; font-size: 17px; line-height: 1.8; }
.hero .button { min-height: 50px; }

.section { padding-block: 62px; }
.section-heading h2 { font-size: clamp(29px, 3vw, 41px); font-weight: 750; letter-spacing: -.035em; line-height: 1.2; }
.section-heading p { margin-top: 12px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.service-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 25px 26px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(150deg, #f7faff, #fff 70%);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  margin-bottom: 17px;
  border-radius: 11px;
  background: #e9f1fe;
}
.service-card h3, .process-steps h3 { font-size: 20px; line-height: 1.4; }
.service-card p, .process-steps p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  padding-top: 5px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.service-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.guide-section, .faq-section { background: #f2f6fc; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(24px, 7vw, 108px); }
.guide-card { padding: 25px; border: 1px solid #dce6f3; border-radius: 13px; background: #fff; }
.guide-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 17px; }
.guide-fields label { font-size: 15px; font-weight: 700; }
.guide-fields select {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
  padding: 6px 9px;
  border: 1px solid #aebed0;
  border-radius: 7px;
  color: inherit;
  background: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
}
.guide-result { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); }
.guide-result ul { margin: 6px 0 0; padding-inline-start: 22px; color: var(--muted); }
.guide-result li + li { margin-top: 5px; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 42px;
  margin: 24px 0 0;
  padding-inline-start: 23px;
}
.process-steps li { padding-inline-start: 5px; }
.process-steps li::marker { color: var(--blue); font-weight: 800; font-variant-numeric: tabular-nums; }
.faq { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(24px, 7vw, 108px); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding-block: 12px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg) translateY(-2px);
  content: "";
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq summary:hover { color: var(--blue); }
.faq details p { padding: 0 28px 17px 0; color: var(--muted); }

.site-footer { background: var(--navy); color: #fff; padding-block: 24px; }
.footer-layout, .site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.footer-layout { justify-content: space-between; }
.site-footer .brand small, .site-footer nav a, .site-footer p { color: #c7d4e8; }
.site-footer p { font-size: 14px; }
.site-footer nav a:hover { color: #fff; }

@media (max-width: 960px) {
  .container { width: calc(100% - 48px); }
  .header-layout { gap: 12px; }
  .service-grid { gap: 12px; }
  .service-card { padding-inline: 18px; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 36px); }
  .header-layout { grid-template-columns: 1fr auto; min-height: auto; gap: 4px 12px; padding-top: 10px; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 8px; }
  .header-action { gap: 7px; padding-inline: 10px; font-size: 14px; }
  .hero { min-height: 476px; align-items: end; }
  .hero-photo { left: 0; }
  .hero-photo img { object-position: 57% 20%; }
  .hero::after {
    background: linear-gradient(0deg, #0a1930 5%, rgb(10 25 48 / 94%) 31%, rgb(10 25 48 / 52%) 71%, rgb(10 25 48 / 12%)),
      linear-gradient(90deg, rgb(10 25 48 / 58%), transparent 90%);
  }
  .hero-content { padding-block: 96px 36px; }
  .eyebrow { margin-bottom: 13px; }
  .hero h1 { font-size: clamp(36px, 10vw, 60px); }
  .hero-description { margin-block: 17px 22px; font-size: 16px; }
  .desktop-break { display: none; }
  .section { padding-block: 42px; }
  .service-grid, .guide-layout, .process-steps, .faq { grid-template-columns: 1fr; }
  .service-card { padding: 20px 20px 9px; }
  .service-icon { margin-bottom: 13px; }
  .guide-card { padding: 17px; }
}

@media (max-width: 390px) {
  .guide-fields { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
