:root {
  color-scheme: light;
  --bg: #f8fbff;
  --bg-soft: #eef6fd;
  --text: #0b162b;
  --muted: #5e7188;
  --line: #dbe7f2;
  --white: #ffffff;
  --blue: #0b6dff;
  --blue-dark: #073f9d;
  --cyan: #05b9d7;
  --gold: #b98328;
  --green: #16796f;
  --shadow: 0 24px 70px rgba(20, 51, 84, 0.14);
  --radius: 8px;
  --container: min(1160px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 18px 50%;
  z-index: 20;
  width: min(1160px, calc(100vw - 40px));
  height: 68px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 12px 0 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(207, 222, 236, 0.82);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(19, 55, 91, 0.08);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(4, 185, 215, 0.85), rgba(11, 109, 255, 0.98)),
    #0b6dff;
  font-size: 15px;
  font-weight: 850;
  box-shadow: 0 12px 26px rgba(11, 109, 255, 0.24);
}

.brand strong {
  display: block;
  font-size: 18px;
  font-weight: 820;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  color: #20344d;
  font-size: 14px;
  font-weight: 660;
}

.site-nav a:hover {
  color: var(--blue-dark);
  background: rgba(11, 109, 255, 0.07);
}

.site-nav .nav-cta {
  color: #fff;
  background: var(--text);
}

.site-nav .nav-cta:hover {
  color: #fff;
  background: var(--blue-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 0;
  border-radius: var(--radius);
  background: #eef5fc;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
}

.section-band {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: 760px;
  padding: 170px 0 96px;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 230px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0), var(--bg));
}

.hero-media {
  position: absolute;
  inset: 0 0 auto auto;
  z-index: -2;
  width: min(72vw, 1240px);
  height: 100%;
  opacity: 0.98;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(248, 251, 255, 0.88) 30%, rgba(248, 251, 255, 0) 62%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 610px) 1fr;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  max-width: 600px;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.98;
  font-weight: 880;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-copy p {
  max-width: 580px;
  margin: 28px 0 0;
  color: #41546b;
  font-size: 18px;
  line-height: 1.82;
  overflow-wrap: anywhere;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 760;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

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

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #064ebc);
  box-shadow: 0 16px 36px rgba(11, 109, 255, 0.25);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
  border-color: #c9d8e8;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-left: 3px solid var(--cyan);
  background: rgba(255, 255, 255, 0.7);
  color: #283b54;
  font-size: 14px;
  font-weight: 700;
}

.intro-strip {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 92px;
}

.intro-grid p {
  margin: 0;
  color: #28405b;
  font-size: 17px;
  line-height: 1.7;
}

.intro-grid a {
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 780;
}

.section {
  padding: 112px 0;
  scroll-margin-top: 104px;
}

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

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

.section-heading h2,
.training h2,
.booking-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: 0;
}

.section-heading p,
.training p,
.booking-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.service-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 244px;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card:nth-child(4n) {
  border-right: 0;
}

.service-card:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 36px;
  border-radius: var(--radius);
  color: var(--blue);
  background: #eff6ff;
  font-size: 14px;
  font-weight: 850;
}

.service-card h3 {
  margin: 22px 0 12px;
  font-size: 21px;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.section-tint {
  background:
    linear-gradient(90deg, rgba(11, 109, 255, 0.06), rgba(5, 185, 215, 0.08)),
    var(--bg-soft);
}

.solution-grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 72px;
  align-items: start;
}

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

.solution-item {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 96px;
  padding: 24px 28px;
  border: 1px solid rgba(198, 217, 232, 0.84);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 42px rgba(36, 83, 126, 0.08);
}

.solution-item strong {
  color: var(--blue-dark);
  font-size: 22px;
}

.solution-item span {
  color: #40556d;
  font-size: 16px;
  line-height: 1.7;
}

.process-section {
  background: var(--white);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 2px solid #dce9f4;
}

.process-line article {
  position: relative;
  padding: 36px 24px 0 0;
}

.process-line article::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 16px;
  height: 16px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.process-line span {
  color: var(--gold);
  font-size: 18px;
  font-weight: 850;
}

.process-line h3 {
  margin: 14px 0 10px;
  font-size: 22px;
}

.process-line p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.training {
  color: #fff;
  background:
    linear-gradient(125deg, rgba(7, 20, 39, 0.94), rgba(11, 61, 113, 0.92)),
    #0b162b;
}

.training-grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 70px;
  align-items: center;
}

.training p {
  color: rgba(255, 255, 255, 0.72);
}

.training ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.training li {
  min-height: 94px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  font-weight: 720;
  line-height: 1.45;
}

.booking-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(239, 247, 255, 0.95)),
    var(--bg);
}

.booking-grid {
  display: grid;
  grid-template-columns: 0.78fr 1fr 280px;
  gap: 28px;
  align-items: stretch;
}

.booking-copy,
.booking-form,
.qr-panel {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.booking-copy {
  padding: 34px;
}

.booking-note {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.booking-note strong,
.booking-note span {
  display: block;
}

.booking-note strong {
  color: var(--blue-dark);
  font-size: 16px;
}

.booking-note span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 28px;
}

.booking-form label {
  display: grid;
  gap: 9px;
}

.booking-form span {
  color: #30455f;
  font-size: 14px;
  font-weight: 720;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 1px solid #cfddea;
  border-radius: var(--radius);
  background: #f9fcff;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  outline: none;
  scroll-margin-top: 112px;
}

.booking-form input,
.booking-form select {
  height: 48px;
  padding: 0 14px;
}

.booking-form textarea {
  min-height: 118px;
  resize: vertical;
  padding: 13px 14px;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 109, 255, 0.12);
}

.span-2 {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-size: 14px;
  line-height: 1.5;
}

.qr-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 28px;
  text-align: center;
}

.qr-panel img {
  width: 188px;
  height: 188px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
}

.qr-panel h3 {
  margin: 22px 0 8px;
  font-size: 23px;
}

.qr-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.75);
  background: #081426;
}

.footer-grid {
  display: grid;
  grid-template-columns: 230px 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-brand .brand-mark {
  box-shadow: none;
}

.footer-brand small,
.site-footer p {
  color: rgba(255, 255, 255, 0.64);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.site-footer a:last-child {
  color: #fff;
  font-size: 14px;
  font-weight: 760;
}

@media (max-width: 1040px) {
  .site-header {
    inset-top: 12px;
  }

  .hero {
    min-height: 720px;
    padding-top: 150px;
  }

  .hero-media {
    width: 96vw;
    opacity: 0.48;
  }

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

  .service-card:nth-child(2n) {
    border-right: 0;
  }

  .service-card:nth-child(4n) {
    border-right: 0;
  }

  .service-card:nth-last-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }

  .service-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .solution-grid,
  .training-grid,
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .process-line {
    grid-template-columns: 1fr;
    gap: 28px;
    border-top: 0;
    border-left: 2px solid #dce9f4;
    padding-left: 28px;
  }

  .process-line article {
    padding: 0 0 0 20px;
  }

  .process-line article::before {
    top: 4px;
    left: -37px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(1160px, calc(100vw - 28px));
  }

  .site-header {
    height: 62px;
    width: calc(100vw - 24px);
    padding-inline: 12px;
  }

  .brand {
    min-width: auto;
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    left: 12px;
    right: 12px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    justify-content: flex-start;
    height: 48px;
  }

  .hero {
    min-height: 710px;
    padding: 126px 0 74px;
    display: flex;
    flex-direction: column;
  }

  .hero-media {
    position: relative;
    inset: auto;
    order: 2;
    width: var(--container);
    height: 252px;
    margin: 30px auto 0;
    overflow: hidden;
    border: 1px solid rgba(194, 215, 234, 0.78);
    border-radius: var(--radius);
    background: #edf6ff;
    opacity: 1;
    box-shadow: 0 18px 46px rgba(28, 69, 110, 0.14);
  }

  .hero-media::before {
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.06), rgba(248, 251, 255, 0));
  }

  .hero-media img {
    object-fit: cover;
    object-position: center;
  }

  .hero .container {
    order: 1;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 13vw, 52px);
    line-height: 1.03;
    max-width: 100%;
  }

  .hero-copy p {
    max-width: 100%;
    padding-right: 10px;
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .trust-row {
    gap: 8px;
  }

  .trust-row span {
    min-height: 38px;
    font-size: 13px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    padding: 22px 0;
  }

  .section {
    padding: 78px 0;
  }

  .service-matrix,
  .training ul,
  .booking-form {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(2n),
  .service-card:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .solution-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .span-2 {
    grid-column: auto;
  }
}
