:root {
  color-scheme: light;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #15313b;
  background: #f7faf9;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7faf9;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #dce7e5;
  backdrop-filter: blur(14px);
}

.brand,
.brand span:last-child {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
}

.brand span:last-child {
  align-items: flex-start;
  flex-direction: column;
  line-height: 1.25;
}

.brand strong {
  color: #0b5663;
  font-size: 20px;
}

.brand small {
  color: #617a7d;
  font-size: 11px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: #0b5663;
  border-radius: 6px;
  font-size: 22px;
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  gap: 30px;
  color: #405d63;
  font-size: 14px;
}

.desktop-nav a:hover {
  color: #0b5663;
}

.header-action,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  color: #fff;
  background: #d66b35;
  border-radius: 5px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 72px));
  overflow: hidden;
  color: #fff;
}

.hero img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

.hero-overlay {
  background: linear-gradient(90deg, rgba(6, 43, 50, 0.92) 0%, rgba(6, 43, 50, 0.75) 40%, rgba(6, 43, 50, 0.1) 78%);
}

.hero-content {
  position: relative;
  display: flex;
  min-height: min(720px, calc(100vh - 72px));
  max-width: 1260px;
  padding: 10vh 6vw 7vh;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow {
  margin: 0 0 12px;
  color: #de824d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: #e6f3f2;
  font-size: 18px;
}

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

.secondary-action {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 5px;
  font-weight: 700;
}

.hero-facts {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  color: #d7e9e8;
  font-size: 13px;
}

.band {
  padding: 84px 7vw;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(360px, 1.15fr);
  gap: 8vw;
  background: #fff;
}

h2 {
  margin: 0;
  color: #15313b;
  font-size: 36px;
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin: 14px 0 8px;
  color: #15313b;
  font-size: 21px;
  letter-spacing: 0;
}

.intro-copy,
.section-heading > p:last-child {
  max-width: 760px;
  margin: 0;
  color: #5f7478;
}

.guide-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 28px;
  align-items: start;
  background: #fff;
}

.guide-article,
.lead-card {
  border: 1px solid #dce8e5;
  border-radius: 8px;
  background: #fff;
}

.guide-article {
  padding: 34px 38px;
}

.guide-article h2 {
  max-width: 800px;
}

.article-lead {
  margin: 18px 0 0;
  color: #516d72;
  font-size: 17px;
}

.article-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e4eeee;
}

.article-block p {
  margin: 0;
  color: #63797c;
}

.notice-strip {
  margin-top: 28px;
  padding: 14px 16px;
  color: #7a4a2f;
  background: #fff4ec;
  border: 1px solid #efd2bd;
  border-radius: 6px;
  font-size: 14px;
}

.lead-card {
  position: sticky;
  top: 92px;
  padding: 24px;
  box-shadow: 0 18px 42px rgba(8, 44, 51, 0.1);
}

.lead-card h2 {
  font-size: 25px;
}

.lead-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lead-form label {
  display: grid;
  gap: 6px;
  color: #4d686d;
  font-size: 13px;
  font-weight: 700;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  color: #17343b;
  background: #fff;
  border: 1px solid #cfe0dd;
  border-radius: 6px;
  font: inherit;
}

.lead-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.lead-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.lead-status {
  min-height: 20px;
  margin: 0;
  color: #b35228;
  font-size: 12px;
}

.services {
  background: #edf5f3;
}

.service-grid,
.school-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.service-grid article,
.school-list article {
  padding: 26px;
  background: #fff;
  border: 1px solid #dce8e5;
  border-radius: 6px;
}

.consult-jump-target {
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.consult-jump-target:hover,
.consult-jump-target:focus-visible {
  border-color: #d66b35;
  box-shadow: 0 14px 34px rgba(8, 44, 51, 0.1);
  outline: none;
  transform: translateY(-2px);
}

.service-number,
.school-list span {
  color: #d66b35;
  font-size: 13px;
  font-weight: 700;
}

.service-grid p,
.school-list p {
  margin: 0;
  color: #63797c;
  font-size: 15px;
}

.schools {
  background: #fff;
}

.faq {
  background: #edf5f3;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.faq-grid article {
  padding: 24px;
  background: #fff;
  border: 1px solid #dce8e5;
  border-radius: 6px;
}

.faq-grid p {
  margin: 0;
  color: #63797c;
}

.process {
  background: #0b5663;
}

.process h2 {
  color: #fff;
}

.process ol {
  display: grid;
  margin: 38px 0 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  counter-reset: process;
}

.process li {
  position: relative;
  min-height: 124px;
  padding: 18px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  counter-increment: process;
}

.process li::before {
  content: "0" counter(process);
  display: block;
  margin-bottom: 13px;
  color: #df824b;
  font-weight: 700;
}

.process strong,
.process span {
  display: block;
}

.process strong {
  color: #fff;
  font-size: 19px;
}

.process span {
  margin-top: 5px;
  color: #c4dcdc;
  font-size: 14px;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #f5f9f8;
}

.contact p:last-child {
  max-width: 660px;
  margin: 14px 0 0;
  color: #62787c;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 28px 7vw;
  color: #c3d5d4;
  background: #0a3038;
  font-size: 13px;
}

footer strong {
  color: #fff;
}

.consult-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  width: min(372px, calc(100vw - 32px));
  color: #17343b;
  font-size: 14px;
}

.consult-toggle {
  position: absolute;
  right: 0;
  bottom: 0;
  display: none;
  min-height: 46px;
  padding: 0 18px;
  color: #fff;
  background: #d66b35;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(8, 44, 51, 0.24);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.consult-panel {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d8e7e4;
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(8, 44, 51, 0.23);
}

.consult-widget.is-closed .consult-panel {
  display: none;
}

.consult-widget.is-closed .consult-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.consult-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  color: #fff;
  background: #0b5663;
}

.consult-head strong,
.consult-head span {
  display: block;
}

.consult-head span {
  color: #d8e9e7;
  font-size: 12px;
}

.consult-close {
  width: 32px;
  height: 32px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 6px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.consult-body {
  max-height: min(560px, calc(100vh - 160px));
  overflow-y: auto;
  padding: 16px;
}

.consult-message {
  margin: 0 0 14px;
  padding: 12px 14px;
  background: #f0f6f4;
  border-radius: 8px;
  color: #355b62;
}

.consult-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 15px;
}

.consult-option {
  min-height: 40px;
  padding: 0 12px;
  color: #0b5663;
  background: #fff;
  border: 1px solid #cfe0dd;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.consult-option.is-selected {
  color: #fff;
  background: #0b5663;
  border-color: #0b5663;
}

.consult-form {
  display: grid;
  gap: 10px;
}

.consult-form label {
  display: grid;
  gap: 5px;
  color: #4d686d;
  font-size: 12px;
  font-weight: 700;
}

.consult-form input,
.consult-form select,
.consult-form textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  color: #17343b;
  background: #fff;
  border: 1px solid #cfe0dd;
  border-radius: 6px;
  font: inherit;
}

.consult-form textarea {
  min-height: 72px;
  resize: vertical;
}

.consult-submit {
  min-height: 42px;
  margin-top: 2px;
  color: #fff;
  background: #d66b35;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.consult-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.consult-status {
  min-height: 20px;
  margin: 0;
  color: #b35228;
  font-size: 12px;
}

.consult-success {
  display: none;
  padding: 16px;
}

.consult-success.is-active {
  display: block;
}

.consult-success strong {
  display: block;
  color: #0b5663;
  font-size: 18px;
}

.consult-success p {
  margin: 8px 0 0;
  color: #5f7478;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
    padding: 0 18px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small,
  .desktop-nav {
    display: none;
  }

  .header-action {
    min-height: 38px;
    padding: 0 13px;
    font-size: 13px;
  }

  .hero,
  .hero-content {
    min-height: 630px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(6, 43, 50, 0.92) 0%, rgba(6, 43, 50, 0.76) 100%);
  }

  .hero-content {
    padding: 70px 22px 48px;
  }

  .hero h1 {
    font-size: 43px;
  }

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

  .hero-facts,
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

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

  .band {
    padding: 58px 22px;
  }

  .intro,
  .guide-shell,
  .service-grid,
  .school-list,
  .faq-grid,
  .process ol {
    display: block;
  }

  .intro-copy,
  .lead-card,
  .faq-grid article {
    margin-top: 20px;
  }

  .guide-article,
  .lead-card {
    padding: 22px;
  }

  .lead-card {
    position: static;
  }

  .field-pair {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 30px;
  }

  .service-grid article,
  .school-list article {
    margin-top: 14px;
  }

  .process li {
    min-height: auto;
    padding: 16px 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .consult-widget {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .consult-body {
    max-height: min(540px, calc(100vh - 140px));
  }

  .consult-options {
    grid-template-columns: 1fr;
  }
}
