:root {
  color-scheme: light;
  --color-ink: #12202b;
  --color-muted: #5b6975;
  --color-primary: #0d5c7a;
  --color-primary-dark: #07384c;
  --color-accent: #e8a817;
  --color-surface: #ffffff;
  --color-soft: #f3f7f6;
  --color-line: #d8e4e6;
  --shadow-soft: 0 18px 45px rgba(18, 32, 43, 0.08);
  font-family:
    "Noto Sans SC",
    "Microsoft YaHei",
    "PingFang SC",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-ink);
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

.nowrap {
  white-space: nowrap;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 228, 230, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 158px;
}

.brand img {
  width: 176px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.6vw, 32px);
  color: #344756;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav a {
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.site-nav a:hover {
  color: var(--color-primary);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 76svh;
  align-items: center;
  overflow: hidden;
  padding: 110px 0 68px;
  color: #ffffff;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("/assets/hero-taxi-training.png");
  background-position: center;
  background-size: cover;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 24, 34, 0.92) 0%, rgba(7, 24, 34, 0.7) 36%, rgba(7, 24, 34, 0.12) 72%),
    linear-gradient(180deg, rgba(7, 24, 34, 0.28) 0%, rgba(7, 24, 34, 0.12) 50%, rgba(7, 24, 34, 0.42) 100%);
}

.hero-content {
  max-width: 760px;
  margin-left: max(20px, calc((100vw - 1120px) / 2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy {
  width: min(640px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 800;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

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

.button-primary {
  background: var(--color-accent);
  color: #182230;
}

.button-primary:hover {
  background: #f0bb3e;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.button-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.hero-facts {
  display: grid;
  width: min(720px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 44px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-facts div {
  padding: 18px;
  background: rgba(7, 24, 34, 0.28);
}

.hero-facts dt {
  margin: 0;
  color: var(--color-accent);
  font-size: 15px;
  font-weight: 800;
}

.hero-facts dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.section-muted {
  background: var(--color-soft);
}

.section-intro {
  padding-top: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--color-line);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}

.section h2 {
  margin: 0;
  color: var(--color-primary-dark);
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0;
}

.section p {
  color: var(--color-muted);
  font-size: 17px;
}

.split-layout > p {
  margin: 7px 0 0;
  font-size: 19px;
}

.section-heading {
  width: min(720px, 100%);
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading p {
  margin: 14px 0 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 292px;
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.card-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eef6f9;
  color: var(--color-primary);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  fill: none;
}

.service-card h3,
.timeline h3 {
  margin: 20px 0 10px;
  color: var(--color-primary-dark);
  font-size: 21px;
  line-height: 1.3;
}

.service-card p,
.timeline p {
  margin: 0;
  color: var(--color-muted);
  font-size: 16px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}

.timeline article {
  position: relative;
  min-height: 236px;
  padding: 24px;
  border: 1px solid rgba(13, 92, 122, 0.16);
  border-radius: 8px;
  background: #ffffff;
}

.timeline span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.management-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 7vw, 88px);
  align-items: start;
}

.capability-list {
  display: grid;
  gap: 14px;
}

.capability-list div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-line);
}

.capability-list strong {
  color: var(--color-primary-dark);
  font-size: 18px;
}

.capability-list span {
  color: var(--color-muted);
  font-size: 16px;
}

.section-contact {
  padding-top: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 8px;
  background: var(--color-primary-dark);
  color: #ffffff;
}

.contact-panel h2 {
  color: #ffffff;
}

.contact-panel p {
  width: min(620px, 100%);
  color: rgba(255, 255, 255, 0.78);
}

address {
  display: grid;
  gap: 10px;
  font-style: normal;
  text-align: right;
}

address span,
address a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  font-weight: 700;
}

address a {
  color: var(--color-accent);
}

.site-footer {
  padding: 24px 0 32px;
  border-top: 1px solid var(--color-line);
  background: #ffffff;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 72svh;
    padding-top: 96px;
  }

  .hero-content {
    margin-left: auto;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 24, 34, 0.9) 0%, rgba(7, 24, 34, 0.62) 54%, rgba(7, 24, 34, 0.18) 100%),
      linear-gradient(180deg, rgba(7, 24, 34, 0.22) 0%, rgba(7, 24, 34, 0.44) 100%);
  }

  .split-layout,
  .management-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  address {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding: 14px;
  }

  .brand img {
    width: 148px;
  }

  .hero {
    min-height: 70svh;
    padding: 92px 0 44px;
  }

  .hero-copy {
    font-size: 19px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .hero-facts,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    margin-top: 30px;
  }

  .hero-facts div {
    padding: 14px 16px;
  }

  .section {
    padding: 64px 0;
  }

  .section-intro {
    padding: 42px 0;
  }

  .service-card,
  .timeline article {
    min-height: auto;
  }

  .capability-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-panel {
    padding: 26px 22px;
  }
}
