:root {
  --blue-900: #071d49;
  --blue-800: #0b3676;
  --blue-700: #0d58c8;
  --blue-600: #126be8;
  --blue-100: #eaf3ff;
  --orange-600: #ff6b00;
  --orange-500: #ff7a1a;
  --orange-100: #fff1e7;
  --text: #12213f;
  --muted: #66748c;
  --line: #dbe7f6;
  --bg: #f4f8ff;
  --white: #ffffff;
  --shadow: 0 10px 28px rgba(12, 52, 115, 0.10);
  --shadow-soft: 0 6px 18px rgba(12, 52, 115, 0.08);
  --radius: 8px;
  --font-cn: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", Arial, sans-serif;
  --font-number: "DIN Alternate", "DIN Condensed", "Inter", Arial, sans-serif;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 28px;
  --text-3xl: 36px;
  --text-hero: 52px;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-heavy: 800;
  --leading-tight: 1.18;
  --leading-title: 1.25;
  --leading-text: 1.7;
  --leading-card: 1.55;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-cn);
  font-size: var(--text-md);
  font-weight: var(--weight-regular);
  line-height: var(--leading-text);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

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

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

.top-notice {
  height: 32px;
  color: #fff;
  background: linear-gradient(90deg, #083d92 0%, #0e6df2 100%);
  font-size: var(--text-xs);
}

.top-notice,
.school-card dd,
.service-time {
  font-variant-numeric: tabular-nums;
}

.top-notice__inner {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  white-space: nowrap;
}

.top-notice__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-notice__links a {
  opacity: 0.92;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 231, 246, 0.9);
  box-shadow: 0 4px 18px rgba(10, 51, 115, 0.06);
  backdrop-filter: blur(10px);
}

.header-wrap {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0f72ed 0%, #0956c7 100%);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(18, 107, 232, 0.24);
}

.brand__mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand__mark--logo {
  overflow: hidden;
  padding: 4px;
  background: #fff;
  border: 1px solid rgba(18, 107, 232, 0.16);
}

.brand__mark--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.brand__text {
  display: grid;
  gap: 3px;
}

.brand__text strong {
  font-size: 20px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-title);
  color: var(--blue-900);
}

.brand__text small {
  color: var(--muted);
  font-size: var(--text-xs);
  line-height: 1.45;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-left: auto;
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  line-height: 1.45;
  color: #213653;
}

.main-nav a {
  position: relative;
  padding: 29px 0;
  letter-spacing: 0.01em;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 0;
  height: 2px;
  background: var(--blue-600);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--blue-600);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 24px;
}

.header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 44px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange-600) 0%, var(--orange-500) 100%);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  line-height: 1.2;
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.22);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue-800);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(241, 247, 255, 0.96) 0%, rgba(255, 255, 255, 0.78) 52%, rgba(238, 247, 255, 0.96) 100%),
    linear-gradient(180deg, #f8fbff 0%, #edf6ff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 107, 232, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 107, 232, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.55;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 26px;
  min-height: 520px;
  padding: 58px 0 74px;
}

.hero__content {
  max-width: 620px;
}

.hero__eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--blue-600);
  background: var(--blue-100);
  border-radius: var(--radius);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  line-height: 1.35;
}

.hero h1 {
  margin: 18px 0 18px;
  color: var(--blue-900);
  font-size: var(--text-hero);
  line-height: var(--leading-tight);
  font-weight: var(--weight-heavy);
}

.hero h1 span {
  color: var(--orange-600);
}

.hero__lead {
  margin: 0;
  color: #334566;
  font-size: var(--text-lg);
  line-height: var(--leading-text);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 28px 0 32px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #203554;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-card);
}

.check-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  border: 2px solid var(--blue-600);
  border-radius: 50%;
  position: relative;
  background: #fff;
}

.check-icon::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 6px;
  height: 9px;
  border: solid var(--blue-600);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(560px, 100%);
  margin: 12px auto 0;
}

.hero-contact-actions .btn {
  min-height: 42px;
  padding: 11px 12px;
  font-size: var(--text-sm);
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  line-height: 1.2;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange-600) 0%, var(--orange-500) 100%);
  box-shadow: 0 10px 22px rgba(255, 107, 0, 0.24);
}

.btn-secondary {
  color: var(--blue-600);
  background: #fff;
  border-color: rgba(18, 107, 232, 0.55);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero__note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: var(--text-xs);
  line-height: 1.6;
}

.hero__visual {
  position: relative;
  min-height: 380px;
}

.hero__visual > img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 35px rgba(11, 54, 118, 0.16));
}

.countdown-card {
  position: absolute;
  top: 38px;
  right: 0;
  width: 224px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(219, 231, 246, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.countdown-card__icon {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  color: var(--orange-600);
  background: var(--orange-100);
  border-radius: 50%;
  font-family: var(--font-number);
  font-size: var(--text-md);
  font-weight: var(--weight-heavy);
  font-style: normal;
}

.countdown-card strong {
  display: block;
  margin-top: 8px;
  color: var(--blue-900);
  font-size: var(--text-md);
  line-height: var(--leading-title);
}

.countdown-card__nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 14px 0;
  padding: 10px 8px;
  background: #fff4ed;
  border-radius: var(--radius);
}

.countdown-card__nums span {
  text-align: center;
}

.countdown-card__nums b {
  display: block;
  color: var(--orange-600);
  font-family: var(--font-number);
  font-size: var(--text-2xl);
  line-height: 1;
  font-weight: var(--weight-heavy);
}

.countdown-card__nums em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: var(--text-xs);
  font-style: normal;
}

.countdown-card ul {
  margin: 0 0 14px;
  padding-left: 18px;
  color: #435575;
  font-size: var(--text-xs);
  line-height: 1.65;
}

.countdown-card li::marker {
  color: var(--orange-600);
}

.countdown-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  color: #fff;
  background: var(--orange-600);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  line-height: 1.2;
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -42px;
}

.trust-grid,
.quick-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-grid {
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.trust-grid article {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
}

.trust-grid h2,
.quick-card h2 {
  margin: 0 0 5px;
  color: var(--blue-900);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  line-height: var(--leading-title);
}

.trust-grid p,
.quick-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-xs);
  line-height: var(--leading-card);
}

.line-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  position: relative;
  display: inline-grid;
  place-items: center;
  color: var(--blue-600);
  border: 2px solid currentColor;
  border-radius: 50%;
}

.line-icon.orange {
  color: var(--orange-600);
}

.line-icon::before,
.line-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.icon-smile::before {
  width: 16px;
  height: 8px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  bottom: 10px;
}

.icon-book::before {
  width: 22px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.icon-shield::before {
  width: 20px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 10px 10px 6px 6px;
}

.icon-check::before {
  width: 10px;
  height: 18px;
  border: solid currentColor;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.quick-entry {
  padding: 22px 0 8px;
}

.quick-card {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.quick-card img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.quick-card--hot {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-600) 0%, #0c54c2 100%);
  border-color: transparent;
}

.quick-card--hot h2,
.quick-card--hot p {
  color: #fff;
}

.quick-card--hot img {
  filter: brightness(0) invert(1);
}

.section {
  padding: 58px 0;
}

.section-schools {
  padding-top: 48px;
}

.section-majors,
.faq-consult {
  background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(239,247,255,0.92) 100%);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 10px 0 8px;
  color: var(--blue-900);
  font-size: var(--text-2xl);
  line-height: var(--leading-title);
  font-weight: var(--weight-bold);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: var(--leading-text);
}

.section-head--center {
  display: block;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

.school-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.school-tabs button {
  height: 36px;
  padding: 0 14px;
  color: var(--blue-700);
  background: #fff;
  border: 1px solid rgba(18, 107, 232, 0.22);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1.2;
}

.school-tabs button.is-active {
  color: #fff;
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.school-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.school-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 255px;
  padding: 18px 14px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.school-logo {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.school-logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.school-card h3 {
  margin: 0;
  color: var(--blue-900);
  font-size: var(--text-md);
  line-height: var(--leading-title);
  font-weight: var(--weight-bold);
}

.school-level {
  width: max-content;
  max-width: 100%;
  margin: 8px 0 12px;
  padding: 4px 8px;
  color: var(--blue-600);
  background: var(--blue-100);
  border-radius: var(--radius);
  font-family: var(--font-number);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  line-height: 1.2;
}

.school-card dl {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px 4px;
  margin: 0 0 14px;
  color: #31476c;
  font-size: var(--text-xs);
  line-height: var(--leading-card);
}

.school-card dt {
  color: var(--blue-900);
  font-weight: var(--weight-bold);
}

.school-card dd {
  min-width: 0;
  margin: 0;
  font-family: var(--font-cn);
  font-variant-numeric: tabular-nums;
}

.school-card dd:last-child {
  font-family: var(--font-number);
  color: #263d63;
  font-weight: var(--weight-medium);
}

.school-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.school-actions a {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  background: #f7fbff;
  border: 1px solid rgba(18, 107, 232, 0.25);
  border-radius: var(--radius);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  line-height: 1.2;
}

.school-actions a.is-hot {
  color: #fff;
  background: var(--orange-600);
  border-color: var(--orange-600);
}

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

.major-card {
  min-height: 112px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 18px;
  color: #18345f;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-align: center;
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.major-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.audience-section {
  background: #fff;
}

.audience-grid article {
  min-height: 168px;
  padding: 22px;
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.audience-grid b {
  font-family: var(--font-number);
  color: var(--orange-600);
  font-size: var(--text-2xl);
  line-height: 1;
  font-weight: var(--weight-heavy);
}

.audience-grid h3 {
  margin: 12px 0 8px;
  color: var(--blue-900);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  line-height: var(--leading-title);
}

.audience-grid p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: var(--leading-text);
}

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  min-height: 132px;
  padding: 28px 16px 18px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.process-list li::after {
  content: "";
  position: absolute;
  top: 56px;
  right: -18px;
  width: 18px;
  height: 1px;
  background: var(--line);
}

.process-list li:last-child::after {
  display: none;
}

.process-list b {
  position: absolute;
  left: 50%;
  top: -17px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-600), #0b4cbb);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 8px 16px rgba(18, 107, 232, 0.25);
  font-family: var(--font-number);
  font-size: var(--text-md);
  font-weight: var(--weight-heavy);
  line-height: 1;
}

.process-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-900);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  line-height: var(--leading-title);
}

.process-list span {
  color: var(--muted);
  font-size: var(--text-xs);
  line-height: var(--leading-card);
}

.faq-consult__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 22px;
  align-items: start;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.faq-panel,
.consult-panel {
  padding: 24px;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-head h2,
.consult-title h2 {
  margin: 8px 0 0;
  color: var(--blue-900);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-title);
}

.panel-head a {
  color: var(--blue-600);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  color: #18345f;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  line-height: 1.5;
  letter-spacing: 0.005em;
}

.faq-item i {
  width: 8px;
  height: 8px;
  border: solid var(--blue-600);
  border-width: 0 2px 2px 0;
  flex: 0 0 auto;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item.is-open i {
  transform: rotate(225deg);
}

.faq-answer {
  display: none;
  margin-top: -4px;
  padding: 0 18px 14px;
  color: var(--muted);
  line-height: 1.65;
  font-size: var(--text-sm);
}

.faq-answer.is-open {
  display: block;
}

.consult-title {
  margin-bottom: 18px;
}

.consult-title p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: var(--leading-text);
}

.consult-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

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

.consult-form label.wide,
.consult-form .submit-btn,
.consult-form .form-message {
  grid-column: 1 / -1;
}

.consult-form span {
  color: #203a5f;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1.35;
}

.consult-form input,
.consult-form select,
.consult-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: #233653;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  font-size: 15px;
  font-weight: var(--weight-medium);
  line-height: 1.45;
}

.consult-form input::placeholder,
.consult-form textarea::placeholder {
  color: #9aa8ba;
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
}

.consult-form select {
  font-weight: var(--weight-medium);
  color: #233653;
}

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

.consult-form input:focus,
.consult-form select:focus,
.consult-form textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(18, 107, 232, 0.12);
}

.submit-btn {
  min-height: 46px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange-600), var(--orange-500));
  border: 0;
  border-radius: var(--radius);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  line-height: 1.2;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--blue-600);
  font-size: var(--text-xs);
  line-height: 1.6;
}

.form-message.error {
  color: #c62828;
}

.form-message.success {
  color: #146c43;
}

.lead-success-contact {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
  background: #f4fbf7;
  border: 1px solid rgba(34, 168, 96, 0.18);
  border-radius: var(--radius);
}

.lead-success-contact div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.lead-success-contact strong {
  color: #146c43;
  font-size: var(--text-xs);
}

.lead-success-contact a,
.lead-success-contact button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  color: var(--blue-700);
  background: #fff;
  border: 1px solid rgba(18, 107, 232, 0.18);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  line-height: 1.25;
}

.privacy-note {
  margin: -2px 0 0;
  color: #7b8799;
  font-size: 12px;
  line-height: 1.45;
}

.privacy-note a {
  color: var(--blue-600);
  font-weight: var(--weight-semibold);
}

.submit-btn.is-loading,
.submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.78;
}

.stats-band {
  padding: 24px 0 56px;
  background: #fff;
}

.stats-grid {
  padding: 24px;
  background: linear-gradient(90deg, var(--blue-800) 0%, var(--blue-600) 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stats-grid article {
  text-align: center;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-grid article:last-child {
  border-right: 0;
}

.stats-grid strong {
  display: block;
  color: #fff;
  font-family: var(--font-number);
  font-size: var(--text-3xl);
  font-weight: var(--weight-heavy);
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.bottom-cta {
  padding: 0 0 62px;
  background: #fff;
}

.bottom-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
  color: #fff;
  background: linear-gradient(135deg, #0b3d8e 0%, var(--blue-600) 58%, #0d72ee 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.bottom-cta h2 {
  margin: 10px 0 8px;
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-title);
}

.bottom-cta p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-md);
  line-height: var(--leading-text);
}

.bottom-cta small {
  display: block;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-xs);
  line-height: 1.6;
}

.bottom-cta .section-kicker {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.bottom-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  min-width: 330px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(135deg, #08337b 0%, #0e6fe8 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.72fr 0.72fr 1fr 1.2fr;
  gap: 28px;
  padding: 42px 0 28px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  line-height: var(--leading-title);
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.82);
  line-height: var(--leading-text);
  font-size: var(--text-sm);
}

.site-footer .compliance .icp-link {
  display: inline;
  margin: 0;
  color: inherit;
  font: inherit;
}

.qr-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 18px;
}

.qr-wrap div {
  text-align: center;
}

.qr-wrap img {
  width: 88px;
  height: 88px;
  padding: 7px;
  background: #fff;
  border-radius: var(--radius);
}

.qr-wrap span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--text-xs);
  line-height: 1.45;
}

.compliance {
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.compliance p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-xs);
  line-height: 1.6;
}

.float-bar {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 45;
  width: 78px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--blue-600), #0a53c5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(-50%);
}

.float-bar a,
.float-bar button {
  width: 100%;
  min-height: 70px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 8px 4px;
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  line-height: 1.25;
}

.float-bar button:last-child {
  border-bottom: 0;
}

.float-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

body.modal-open {
  overflow: hidden;
}

.contact-modal[hidden] {
  display: none !important;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 29, 73, 0.52);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(86vh, 720px);
  overflow-y: auto;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(219, 231, 246, 0.95);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(7, 29, 73, 0.24);
}

.modal-card--narrow {
  width: min(420px, 100%);
  max-height: 88vh;
}

.school-detail-modal-card {
  width: min(720px, 100%);
  padding: 30px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #f5f8fc;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: var(--text-xl);
  line-height: 1;
}

.modal-card h2 {
  margin: 14px 40px 10px 0;
  color: var(--blue-900);
  font-size: var(--text-2xl);
  line-height: var(--leading-title);
  font-weight: var(--weight-bold);
}

.modal-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: var(--leading-text);
}

.consult-topic-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 22px;
}

.consult-topic-list span {
  min-height: 40px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  background: var(--blue-100);
  border: 1px solid rgba(18, 107, 232, 0.18);
  border-radius: 12px;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  line-height: 1.25;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 0;
}

.modal-actions .btn {
  min-width: 150px;
}

.modal-compliance {
  margin-top: 18px !important;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #7b8799 !important;
  font-size: var(--text-xs) !important;
  line-height: 1.6 !important;
}

.school-detail-head {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 16px;
  align-items: center;
  padding-right: 42px;
}

.school-detail-logo {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: var(--text-xl);
  font-weight: var(--weight-heavy);
  line-height: 1;
}

.school-detail-logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.modal-card .school-detail-level {
  color: var(--blue-600);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  line-height: 1.45;
}

.school-detail-content {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.school-detail-section {
  padding: 16px;
  background: #fbfdff;
  border: 1px solid rgba(219, 231, 246, 0.9);
  border-radius: 14px;
}

.school-detail-section h3 {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  line-height: var(--leading-title);
}

.school-detail-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.school-detail-list li::marker {
  color: var(--blue-600);
}

.modal-card .school-detail-target {
  padding: 12px 14px;
  color: #203a5f;
  background: var(--blue-100);
  border: 1px solid rgba(18, 107, 232, 0.16);
  border-radius: 12px;
  font-weight: var(--weight-medium);
}

.school-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.school-detail-tags span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  color: var(--blue-700);
  background: #fff;
  border: 1px solid rgba(18, 107, 232, 0.22);
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  line-height: 1.25;
}

.school-detail-actions {
  justify-content: flex-end;
}

.wechat-qr-card,
.wechat-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin: 18px auto 14px;
  width: min(260px, 100%);
  height: auto;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.wechat-qr-card img {
  display: block;
  width: 220px;
  max-width: 72vw;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.wechat-qr-tip {
  position: static;
  margin: 0;
  color: #5f6f89;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.qr-fallback {
  display: none;
  width: 220px;
  max-width: 72vw;
  aspect-ratio: 1 / 1;
  height: auto;
  place-items: center;
  color: var(--blue-600);
  background:
    linear-gradient(90deg, #f7fbff 10px, transparent 10px) 0 0 / 20px 20px,
    linear-gradient(#edf5ff 10px, transparent 10px) 0 0 / 20px 20px;
  border-radius: 10px;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  line-height: var(--leading-card);
  text-align: center;
}

.contact-line,
.phone-number,
.service-time,
.modal-tip {
  text-align: center;
}

.contact-line strong,
.phone-number {
  font-family: var(--font-number);
  color: var(--blue-900);
  font-weight: var(--weight-heavy);
}

.modal-card .phone-number {
  margin: 18px 0 4px !important;
  font-size: var(--text-3xl) !important;
  line-height: 1.1 !important;
  letter-spacing: 0;
}

.service-time {
  color: var(--muted);
}

.copy-btn {
  width: 100%;
  min-height: 46px;
  margin: 16px 0 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange-600), var(--orange-500));
  border: 0;
  border-radius: var(--radius);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  line-height: 1.2;
}

.copy-btn--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.copy-message {
  min-height: 22px;
  color: var(--blue-600) !important;
  font-size: var(--text-xs);
  line-height: 1.6;
  text-align: center;
}

.copy-message.error {
  color: #c62828 !important;
}

.modal-tip {
  margin-top: 12px !important;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

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

.call-phone-btn {
  display: none;
}

.mobile-consult-bar {
  display: none;
}

@media (max-width: 1180px) {
  .header-wrap {
    gap: 18px;
  }

  .main-nav {
    gap: 18px;
    font-size: var(--text-sm);
  }

  .school-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  body {
    padding-bottom: 70px;
  }

  .top-notice__links,
  .header-cta {
    display: none;
  }

  .header-wrap {
    height: 68px;
  }

  .brand__text strong {
    font-size: var(--text-lg);
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
  }

  .main-nav a::after {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 44px 0 76px;
  }

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

  .hero__visual {
    min-height: 280px;
  }

  .hero__visual > img {
    max-width: 680px;
    margin: 0 auto;
  }

  .countdown-card {
    right: 24px;
  }

  .trust-grid,
  .quick-grid,
  .major-grid,
  .audience-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    display: block;
  }

  .school-tabs {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    text-align: left;
    padding-left: 70px;
  }

  .process-list b {
    left: 22px;
    top: 24px;
    transform: none;
  }

  .process-list li::after {
    left: 38px;
    top: auto;
    right: auto;
    bottom: -18px;
    width: 1px;
    height: 18px;
  }

  .faq-consult__grid {
    grid-template-columns: 1fr;
  }

  .bottom-cta__inner {
    display: block;
  }

  .bottom-cta__actions {
    justify-content: flex-start;
    min-width: 0;
    margin-top: 20px;
  }

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

  .qr-wrap {
    justify-content: flex-start;
  }

  .float-bar {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 0;
    transform: none;
  }

  .float-bar a,
  .float-bar button {
    min-height: 64px;
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
  }

  .float-bar button:last-child {
    border-right: 0;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 76px;
  }

  .float-bar {
    display: none;
  }

  .mobile-consult-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(7, 29, 73, 0.12);
    backdrop-filter: blur(10px);
  }

  .mobile-consult-bar a,
  .mobile-consult-bar button {
    min-height: 46px;
    display: grid;
    place-items: center;
    color: var(--blue-700);
    background: #f5f9ff;
    border: 1px solid rgba(18, 107, 232, 0.18);
    border-radius: 12px;
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    line-height: 1.2;
  }

  .mobile-consult-bar button:last-child {
    color: #fff;
    background: linear-gradient(135deg, var(--orange-600), var(--orange-500));
    border-color: transparent;
  }
}

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

  .top-notice {
    height: auto;
  }

  .top-notice__inner {
    height: auto;
    min-height: 32px;
    white-space: normal;
    line-height: 1.5;
    padding: 6px 0;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
  }

  .brand__text small {
    display: none;
  }

  .hero__inner {
    padding: 34px 0 64px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: var(--leading-tight);
  }

  .hero__lead {
    font-size: var(--text-sm);
    line-height: var(--leading-text);
  }

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

  .btn {
    width: 100%;
  }

  .hero__visual {
    min-height: 250px;
  }

  .countdown-card {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: -18px;
  }

  .trust-strip {
    margin-top: -34px;
  }

  .trust-grid,
  .quick-grid,
  .school-grid,
  .major-grid,
  .audience-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    padding: 12px;
  }

  .section {
    padding: 42px 0;
  }

    .section-head h2,
  .panel-head h2,
  .consult-title h2,
  .bottom-cta h2 {
    font-size: 24px;
  }

  .school-card {
    min-height: 0;
  }

  .major-card {
    min-height: 96px;
  }

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

  .stats-grid article {
    padding-bottom: 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .stats-grid article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .bottom-cta__inner {
    padding: 24px;
  }

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

  .float-bar a,
  .float-bar button {
    min-height: 58px;
    font-size: 11px;
  }

  .contact-modal {
    padding: 16px;
  }

  .modal-card,
  .modal-card--narrow {
    width: 92vw;
    padding: 22px;
    border-radius: 16px;
  }

  .modal-card--narrow {
    width: calc(100vw - 32px);
    max-width: 420px;
    max-height: 88vh;
    padding: 24px 22px;
    border-radius: 20px;
  }

  .modal-card h2 {
    font-size: 23px;
  }

  .school-detail-modal-card {
    width: 92vw;
    max-height: calc(100vh - 32px);
    padding: 22px;
  }

  .school-detail-head {
    grid-template-columns: 56px 1fr;
    gap: 12px;
    padding-right: 34px;
  }

  .school-detail-logo {
    width: 56px;
    height: 56px;
  }

  .school-detail-logo img {
    width: 44px;
    height: 44px;
  }

  .school-detail-content {
    gap: 12px;
    margin-top: 18px;
  }

  .school-detail-section {
    padding: 14px;
  }

  .school-detail-tags {
    gap: 8px;
  }

  .school-detail-tags span {
    min-height: 32px;
    font-size: var(--text-xs);
  }

  .consult-topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modal-actions,
  .modal-actions--phone {
    display: grid;
    grid-template-columns: 1fr;
  }

  .copy-phone-btn {
    display: none;
  }

  .call-phone-btn {
    display: inline-flex;
  }

  .wechat-qr-card,
  .wechat-qr-box {
    width: min(250px, 100%);
    padding: 14px 12px;
  }

  .wechat-qr-card img,
  .qr-fallback {
    width: 210px;
    max-width: 68vw;
  }

  .modal-card .phone-number {
    font-size: 28px !important;
  }
}

/* Phase-Edu-Mobile-Leads-Page-Redesign-V1 */
.lead-page {
  background: #f6f9ff;
}

.lead-page .hero--lead {
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.96) 0%, rgba(236, 246, 255, 0.95) 100%);
}

.lead-page .hero--lead .hero__inner {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
  min-height: 390px;
  padding: 56px 0 62px;
  text-align: center;
}

.lead-page .hero--lead .hero__content {
  max-width: 720px;
  margin: 0 auto;
}

.lead-page .hero--lead h1 {
  margin: 16px 0 14px;
}

.lead-page .hero--lead .hero__lead {
  max-width: 560px;
  margin: 0 auto;
}

.lead-page .hero--lead .hero-actions {
  justify-content: center;
  margin-top: 24px;
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 0;
  color: #203554;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  line-height: 1.4;
}

.lead-section {
  padding: 36px 0;
}

.lead-section .section-head {
  margin-bottom: 18px;
}

.lead-section .section-head h2 {
  margin-bottom: 0;
  font-size: 26px;
}

.compact-card-grid {
  display: grid;
  gap: 14px;
}

.compact-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-card-grid article {
  min-height: 132px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 18px 14px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.compact-card-grid h3 {
  margin: 0;
  color: var(--blue-900);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  line-height: var(--leading-title);
}

.compact-card-grid p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-xs);
  line-height: var(--leading-card);
}

.icon-clock::before {
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-clock::after {
  width: 9px;
  height: 9px;
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  transform: translate(3px, -2px);
}

.icon-question::before {
  content: "?";
  color: currentColor;
  font-size: 24px;
  font-weight: var(--weight-heavy);
  line-height: 1;
}

.icon-school::before {
  width: 24px;
  height: 18px;
  border: 2px solid currentColor;
  border-top-width: 6px;
  border-radius: 3px;
}

.icon-service::before {
  width: 22px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 12px 12px 8px 8px;
}

.icon-service::after {
  width: 12px;
  height: 8px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  transform: translateY(10px);
}

.lead-form-section {
  padding-top: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(239,247,255,0.95) 100%);
}

.consult-panel--lead {
  max-width: 620px;
  margin: 0 auto;
  padding: 24px;
}

.consult-panel--lead .consult-title {
  text-align: center;
}

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

.consult-form--lead .submit-btn,
.consult-form--lead .form-message {
  grid-column: auto;
}

.school-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(238px, 1fr);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  padding: 2px 2px 12px;
}

.school-carousel .school-card {
  min-height: 226px;
  scroll-snap-align: start;
}

.school-carousel .school-card dl {
  grid-template-columns: 58px 1fr;
}

.benefits-section,
.faq-consult {
  background: #fff;
}

.process-list--lead {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faq-panel--lead {
  max-width: 760px;
  margin: 0 auto;
}

.bottom-cta--lead {
  padding-top: 10px;
}

.bottom-cta--lead .bottom-cta__inner {
  padding: 26px 30px;
}

.bottom-cta--lead h2 {
  margin-top: 0;
}

@media (max-width: 960px) {
  .top-notice {
    display: none;
  }

  .float-bar {
    display: none;
  }

  .mobile-consult-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(7, 29, 73, 0.12);
    backdrop-filter: blur(10px);
  }

  .mobile-consult-bar a,
  .mobile-consult-bar button {
    min-height: 46px;
    display: grid;
    place-items: center;
    color: var(--blue-700);
    background: #f5f9ff;
    border: 1px solid rgba(18, 107, 232, 0.18);
    border-radius: 12px;
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    line-height: 1.2;
  }

  .mobile-consult-bar a:last-child {
    color: #fff;
    background: linear-gradient(135deg, var(--orange-600), var(--orange-500));
    border-color: transparent;
  }

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

  .lead-page .hero--lead .hero__inner {
    padding: 42px 0 50px;
  }

  .compact-card-grid--four,
  .compact-card-grid--three,
  .process-list--lead {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .school-carousel {
    grid-template-columns: none;
    grid-auto-columns: 42%;
  }

  .site-footer .footer-grid {
    display: none;
  }

  .site-footer .compliance {
    padding: 14px 0 18px;
  }
}

@media (max-width: 767px) {
  .mobile-consult-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mobile-consult-bar a:last-child,
  .mobile-consult-bar button:last-child {
    color: #fff;
    background: linear-gradient(135deg, var(--orange-600), var(--orange-500));
    border-color: transparent;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .header-wrap {
    height: 58px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .brand__mark svg {
    width: 22px;
    height: 22px;
  }

  .brand__text strong {
    font-size: 15px;
  }

  .main-nav {
    top: 58px;
  }

  .lead-page .hero--lead .hero__inner {
    min-height: 312px;
    padding: 28px 0 36px;
  }

  .lead-page .hero--lead h1 {
    margin: 12px 0 10px;
    font-size: 32px;
  }

  .lead-page .hero--lead .hero__lead {
    font-size: 14px;
    line-height: 1.65;
  }

  .lead-page .hero--lead .hero-actions {
    margin-top: 18px;
  }

  .hero-trust {
    margin-top: 12px;
    font-size: 13px;
  }

  .lead-section {
    padding: 26px 0;
  }

  .lead-section .section-head,
  .section-head--center {
    margin-bottom: 14px;
  }

  .lead-section .section-head h2,
  .panel-head h2,
  .consult-title h2,
  .bottom-cta h2 {
    margin-top: 6px;
    font-size: 22px;
  }

  .compact-card-grid--four {
    grid-template-columns: repeat(4, minmax(78px, 1fr));
    gap: 8px;
  }

  .compact-card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .compact-card-grid article {
    min-height: 102px;
    gap: 8px;
    padding: 12px 8px;
  }

  .compact-card-grid .line-icon {
    width: 38px;
    height: 38px;
  }

  .compact-card-grid h3 {
    font-size: 13px;
  }

  .compact-card-grid p {
    font-size: 11px;
    line-height: 1.35;
  }

  .consult-panel--lead,
  .faq-panel--lead {
    padding: 16px;
  }

  .consult-panel--lead .consult-title {
    margin-bottom: 14px;
  }

  .consult-panel--lead .consult-title p {
    margin-top: 6px;
    line-height: 1.55;
  }

  .consult-form {
    gap: 9px;
  }

  .consult-form span {
    display: none;
  }

  .consult-form input,
  .consult-form select,
  .submit-btn {
    min-height: 44px;
  }

  .section-schools .section-head {
    margin-bottom: 12px;
  }

  .section-schools .section-head p {
    font-size: 12px;
  }

  .school-carousel {
    grid-auto-columns: 78%;
    gap: 12px;
    margin-right: -14px;
    padding-right: 14px;
    scroll-snap-type: x mandatory;
  }

  .school-carousel .school-card {
    min-height: 208px;
    padding: 14px 12px 12px;
  }

  .school-carousel .school-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
  }

  .school-carousel .school-logo img {
    width: 38px;
    height: 38px;
  }

  .school-carousel .school-card dl {
    margin-bottom: 12px;
  }

  .process-list--lead {
    grid-auto-flow: column;
    grid-auto-columns: 74%;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-top: 16px;
  }

  .process-list--lead li {
    min-height: 112px;
    padding: 24px 14px 14px;
    text-align: left;
    scroll-snap-align: start;
  }

  .process-list--lead b {
    left: 14px;
    top: -15px;
    transform: none;
  }

  .process-list--lead li::after {
    display: none;
  }

  .faq-list {
    gap: 8px;
  }

  .faq-item {
    min-height: 46px;
    padding: 0 14px;
    font-size: 15px;
  }

  .faq-answer.is-open {
    padding: 0 14px 12px;
    font-size: 13px;
  }

  .bottom-cta--lead {
    padding-bottom: 34px;
  }

  .bottom-cta--lead .bottom-cta__inner {
    padding: 18px;
  }

  .bottom-cta--lead p {
    margin-bottom: 0;
    font-size: 14px;
  }

  .bottom-cta--lead .bottom-cta__actions {
    margin-top: 14px;
  }

  .site-footer .footer-grid {
    display: none;
  }

  .site-footer .compliance {
    padding: 12px 0 18px;
  }

  .site-footer .compliance p {
    font-size: 11px;
    line-height: 1.5;
  }
}

/* Phase-Edu-Mobile-Leads-Page-Conversion-Boost-V2 */
.lead-page--v2 .hero--assessment .hero__inner {
  min-height: 0;
  padding: 34px 0 30px;
}

.lead-page--v2 .hero--assessment h1 {
  max-width: 680px;
  margin: 12px auto 18px;
  font-size: 38px;
}

.assessment-form {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.assessment-form .submit-btn {
  min-height: 48px;
}

.lead-page--v2 .lead-section {
  padding: 24px 0;
}

.lead-page--v2 .lead-section .section-head h2 {
  font-size: 24px;
}

.lead-page--v2 .compact-card-grid article {
  min-height: 106px;
  padding: 14px 10px;
}

.lead-form-section--v2 {
  padding-top: 14px;
}

.lead-form-section--v2 .consult-panel--lead {
  max-width: 560px;
  padding: 18px;
}

.lead-form-section--v2 .consult-title {
  margin-bottom: 12px;
}

.lead-form-section--v2 .consult-title h2 {
  margin-top: 0;
}

.school-value-section {
  background: #fff;
}

.school-value-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.school-value-card h2 {
  margin: 8px 0 6px;
  color: var(--blue-900);
  font-size: 24px;
  line-height: var(--leading-title);
}

.school-value-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.school-value-card .btn {
  flex: 0 0 auto;
}

.school-recommend-section {
  background: #fff;
}

.school-recommend-section .section-head {
  margin-bottom: 12px;
}

.school-recommend-section .section-head p,
.major-direction-section .section-head p {
  max-width: 640px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.scroll-hint {
  position: relative;
}

.scroll-hint::before,
.scroll-hint::after {
  position: absolute;
  pointer-events: none;
  z-index: 5;
}

.scroll-hint::before {
  content: "";
  top: 0;
  right: 0;
  bottom: 8px;
  width: 54px;
  background: linear-gradient(90deg, rgba(244, 248, 255, 0), rgba(244, 248, 255, 0.96) 72%);
}

.scroll-hint::after {
  content: "›";
  right: 8px;
  top: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue-700);
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(18, 107, 232, 0.24);
  font-size: 24px;
  font-weight: var(--weight-bold);
  line-height: 1;
  transform: translateY(-50%);
  animation: scrollHintNudge 1.6s ease-in-out infinite;
}

.scroll-hint--tabs::before {
  bottom: 10px;
  width: 46px;
  background: linear-gradient(90deg, rgba(244, 248, 255, 0), rgba(244, 248, 255, 0.94) 68%);
}

.scroll-hint--tabs::after {
  top: 21px;
  right: 2px;
  width: 26px;
  height: 26px;
  font-size: 21px;
}

.scroll-hint--cards::before {
  border-radius: 0 14px 14px 0;
}

@keyframes scrollHintNudge {
  0%,
  100% {
    transform: translate(-2px, -50%);
  }

  50% {
    transform: translate(4px, -50%);
  }
}

.school-recommend-section .school-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(238px, 31%);
  grid-template-columns: none;
  gap: 14px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding: 2px 2px 12px;
  scrollbar-width: thin;
}

.school-recommend-section .school-card {
  min-width: 0;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 14px;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(18, 107, 232, 0.14);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(7, 29, 73, 0.08);
  scroll-snap-align: start;
}

.school-card__logo {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #eef6ff, #fff8ec);
  border: 1px solid rgba(18, 107, 232, 0.12);
  border-radius: 12px;
}

.school-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.school-recommend-section .school-card h3 {
  margin: 0;
  color: var(--blue-900);
  font-size: 17px;
  line-height: 1.3;
}

.school-card__level,
.school-recommend-section .school-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.school-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.school-card__tags span {
  padding: 4px 7px;
  color: var(--blue-700);
  background: #f0f6ff;
  border: 1px solid rgba(18, 107, 232, 0.12);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}

.school-recommend-section .school-card button {
  width: 100%;
  min-height: 38px;
  margin-top: 2px;
  color: #fff;
  background: var(--blue-700);
  border: 0;
  border-radius: 10px;
  font-weight: var(--weight-bold);
  cursor: pointer;
}

.major-direction-section {
  background: linear-gradient(180deg, #fff 0%, #f4f8ff 100%);
}

.major-tabs {
  display: flex;
  gap: 10px;
  max-width: 100%;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.major-tabs::-webkit-scrollbar {
  display: none;
}

.major-tabs button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  color: var(--blue-700);
  background: #fff;
  border: 1px solid rgba(18, 107, 232, 0.28);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(27, 104, 221, 0.08);
  font-weight: var(--weight-bold);
  white-space: nowrap;
  cursor: pointer;
}

.major-tabs button.is-active {
  color: #fff;
  background: var(--blue-700);
  border-color: var(--blue-700);
  box-shadow: 0 8px 18px rgba(18, 107, 232, 0.18);
}

.major-panels {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.major-panel {
  display: none;
  color: var(--text);
}

.major-panel.is-active {
  display: block;
}

.major-panel-card {
  padding: 18px;
}

.major-panel-head {
  margin-bottom: 14px;
}

.major-panel-head h3 {
  margin: 0;
  color: var(--blue-900);
  font-size: 18px;
  line-height: 1.35;
  font-weight: var(--weight-bold);
}

.major-panel-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

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

.major-tag {
  min-height: 42px;
  padding: 8px 10px;
  color: var(--blue-800);
  background: #f8fbff;
  border: 1px solid rgba(18, 107, 232, 0.18);
  border-radius: 10px;
  font-size: 13px;
  font-weight: var(--weight-bold);
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
}

.major-tag:hover,
.major-tag:focus-visible {
  background: #edf5ff;
  border-color: rgba(18, 107, 232, 0.42);
}

.major-tag.is-hidden {
  display: none;
}

.major-more {
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
  color: var(--blue-700);
  background: #fff;
  border: 1px solid rgba(18, 107, 232, 0.24);
  border-radius: 12px;
  font-weight: var(--weight-bold);
  cursor: pointer;
}

.major-detail-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.major-detail-list div {
  padding: 12px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.major-detail-list dt {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.major-detail-list dd {
  margin: 0;
  color: var(--blue-900);
  font-size: 15px;
  font-weight: var(--weight-bold);
  line-height: 1.55;
}

.lead-page--v2 .faq-consult {
  padding-top: 24px;
}

.lead-page--v2 .faq-panel--lead {
  padding: 18px;
}

.bottom-cta--v2 {
  padding: 0 0 28px;
}

.bottom-cta--v2 .bottom-cta__inner {
  padding: 20px 24px;
}

.bottom-cta--v2 h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.bottom-cta--v2 p {
  margin: 0;
}

@media (max-width: 960px) {
  .lead-page--v2 .hero--assessment .hero__inner {
    padding: 26px 0 24px;
  }

  .lead-page--v2 .hero--assessment h1 {
    font-size: 30px;
  }

  .school-value-card {
    display: grid;
  }

  .school-recommend-section .school-carousel {
    grid-auto-columns: minmax(230px, 42%);
  }
}

@media (max-width: 640px) {
  .lead-page--v2 .hero--assessment .hero__inner {
    min-height: 0;
    padding: 18px 0 18px;
  }

  .lead-page--v2 .hero--assessment h1 {
    margin: 10px auto 12px;
    font-size: 24px;
    line-height: 1.25;
  }

  .assessment-form {
    padding: 12px;
    box-shadow: var(--shadow-soft);
  }

  .lead-page--v2 .lead-section {
    padding: 18px 0;
  }

  .lead-page--v2 .lead-section .section-head h2,
  .lead-form-section--v2 .consult-title h2,
  .lead-page--v2 .faq-panel--lead h2,
  .school-value-card h2,
  .bottom-cta--v2 h2 {
    font-size: 20px;
  }

  .lead-page--v2 .compact-card-grid article {
    min-height: 88px;
    padding: 10px 6px;
  }

  .lead-page--v2 .compact-card-grid .line-icon {
    width: 34px;
    height: 34px;
  }

  .lead-form-section--v2 .consult-panel--lead,
  .lead-page--v2 .faq-panel--lead {
    padding: 14px;
  }

  .school-value-card {
    gap: 12px;
    padding: 16px;
  }

  .school-value-card p {
    font-size: 13px;
    line-height: 1.55;
  }

  .school-recommend-section .section-head {
    margin-bottom: 10px;
  }

  .school-recommend-section .school-carousel {
    grid-auto-columns: minmax(220px, 78vw);
    gap: 12px;
    padding-bottom: 10px;
  }

  .school-recommend-section .school-card {
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
  }

  .school-card__logo {
    width: 48px;
    height: 48px;
  }

  .school-recommend-section .school-card h3 {
    font-size: 16px;
  }

  .major-tabs {
    gap: 8px;
    padding-bottom: 10px;
  }

  .major-tabs button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .major-panels {
    border-radius: 12px;
  }

  .major-panel-card {
    padding: 14px 12px 16px;
  }

  .major-panel-head h3 {
    font-size: 16px;
  }

  .major-tag-grid {
    gap: 8px;
  }

  .major-tag {
    min-height: 40px;
    padding: 7px 8px;
    font-size: 12px;
  }

  .bottom-cta--v2 {
    padding-bottom: 22px;
  }

  .bottom-cta--v2 .bottom-cta__inner {
    padding: 16px;
  }
}

/* Phase-Edu-Mobile-Content-Order-Restore-V4.2 */
.lead-page--v2 {
  background: linear-gradient(180deg, #eef6ff 0%, #f7fbff 34%, #fff 100%);
}

.lead-page--v2 .school-recommend-section--top {
  padding-top: 22px;
  background: linear-gradient(180deg, #eef6ff 0%, #fff 100%);
}

.assessment-section,
.why-section,
.feedback-section,
.promise-section {
  background: #fff;
}

.assessment-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 22px;
  background: linear-gradient(180deg, #f2f8ff 0%, #fff 58%);
  border: 1px solid rgba(18, 107, 232, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.assessment-card .section-head {
  margin-bottom: 14px;
}

.assessment-card h1 {
  margin: 8px 0;
  color: var(--blue-900);
  font-size: 34px;
  line-height: var(--leading-title);
}

.assessment-card .section-head p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.trust-card-grid,
.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-card-grid article,
.promise-grid article {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 16px 12px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(18, 107, 232, 0.12);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(7, 29, 73, 0.07);
}

.trust-card-grid h3,
.promise-grid h3 {
  margin: 0;
  color: var(--blue-900);
  font-size: 15px;
  line-height: 1.25;
}

.trust-card-grid p,
.promise-grid p,
.pain-card-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.pain-card-grid article {
  align-content: start;
  place-items: center;
  text-align: center;
}

.result-list {
  max-width: 760px;
  display: grid;
  gap: 10px;
  margin: 0 auto;
}

.result-list article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.result-list h3 {
  margin: 0 0 4px;
  color: var(--blue-900);
  font-size: 16px;
  line-height: 1.3;
}

.result-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.feedback-list {
  max-width: 780px;
  display: grid;
  gap: 12px;
  margin: 0 auto;
}

.feedback-list article {
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(18, 107, 232, 0.1);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.feedback-list h3 {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-size: 15px;
  line-height: 1.35;
}

.feedback-list p {
  margin: 0;
  color: #38506f;
  font-size: 14px;
  line-height: 1.65;
}

.bottom-cta--v2 .btn-primary {
  background: linear-gradient(135deg, var(--orange-600), var(--orange-500));
}

.desktop-hero,
.process-section,
.assessment-points,
.assessment-note {
  display: none;
}

/* Phase-Edu-Website-WebDesktop-UI-Polish-V1 desktop only */
@media (min-width: 961px) {
  .lead-page--v2 {
    background: linear-gradient(180deg, #eef6ff 0%, #f7fbff 24%, #fff 100%);
  }

  .lead-page--v2 .container {
    width: min(1180px, calc(100% - 64px));
  }

  .desktop-hero {
    display: block;
    padding: 68px 0 58px;
    background:
      linear-gradient(90deg, rgba(241, 247, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 54%, rgba(238, 247, 255, 0.98) 100%),
      linear-gradient(180deg, #f8fbff 0%, #edf6ff 100%);
    border-bottom: 1px solid rgba(18, 107, 232, 0.08);
  }

  .desktop-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
    gap: 54px;
    align-items: center;
  }

  .desktop-hero__content h1 {
    max-width: 620px;
    margin: 16px 0 18px;
    color: var(--blue-900);
    font-size: 44px;
    line-height: 1.16;
    font-weight: var(--weight-heavy);
  }

  .desktop-hero__content p {
    max-width: 620px;
    margin: 0;
    color: #38506f;
    font-size: 17px;
    line-height: 1.8;
  }

  .desktop-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
  }

  .desktop-hero__tags span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    color: var(--blue-700);
    background: #fff;
    border: 1px solid rgba(18, 107, 232, 0.18);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    font-size: 14px;
    font-weight: var(--weight-bold);
  }

  .desktop-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
  }

  .desktop-hero__card {
    padding: 30px;
    background: #fff;
    border: 1px solid rgba(18, 107, 232, 0.14);
    border-radius: var(--radius);
    box-shadow: 0 18px 38px rgba(7, 29, 73, 0.12);
  }

  .desktop-hero__card h2 {
    margin: 14px 0 16px;
    color: var(--blue-900);
    font-size: 26px;
    line-height: var(--leading-title);
  }

  .desktop-hero__card ul {
    display: grid;
    gap: 12px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
  }

  .desktop-hero__card li {
    position: relative;
    padding-left: 24px;
    color: #38506f;
    font-size: 15px;
    line-height: 1.65;
  }

  .desktop-hero__card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    background: var(--orange-600);
    border-radius: 50%;
  }

  .desktop-hero__card p {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
  }

  .lead-page--v2 .school-recommend-section--top {
    padding-top: 56px;
    background: #fff;
  }

  .lead-page--v2 {
    display: flex;
    flex-direction: column;
  }

  .lead-page--v2 > .desktop-hero {
    order: -3;
  }

  .lead-page--v2 > .school-recommend-section--top {
    order: -2;
  }

  .lead-page--v2 > .major-direction-section {
    order: -1;
  }

  .lead-page--v2 .lead-section {
    padding: 64px 0;
  }

  .lead-page--v2 .lead-section .section-head {
    margin-bottom: 26px;
  }

  .lead-page--v2 .lead-section .section-head h2,
  .lead-page--v2 .faq-panel--lead h2,
  .bottom-cta--v2 h2 {
    font-size: 30px;
  }

  .school-recommend-section .school-carousel {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
    padding: 0;
    scrollbar-width: auto;
  }

  .scroll-hint--cards::before,
  .scroll-hint--cards::after,
  .scroll-hint--tabs::before,
  .scroll-hint--tabs::after {
    display: none;
  }

  .school-recommend-section .school-card {
    min-height: 252px;
    padding: 18px;
    border-radius: var(--radius);
  }

  .school-recommend-section .school-card h3 {
    font-size: 18px;
  }

  .school-recommend-section .school-card button {
    margin-top: auto;
    border-radius: var(--radius);
  }

  .trust-card-grid,
  .promise-grid,
  .compact-card-grid--four {
    gap: 18px;
  }

  .trust-card-grid article,
  .promise-grid article,
  .compact-card-grid article {
    min-height: 156px;
    padding: 22px 18px;
    border-radius: var(--radius);
  }

  .trust-card-grid h3,
  .promise-grid h3,
  .compact-card-grid h3 {
    font-size: 18px;
  }

  .trust-card-grid p,
  .promise-grid p,
  .compact-card-grid p {
    font-size: 14px;
  }

  .assessment-card {
    max-width: 1180px;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr);
    gap: 34px;
    align-items: center;
    padding: 36px;
  }

  .assessment-card .section-head {
    max-width: none;
    margin: 0;
    text-align: left;
  }

  .assessment-card h1 {
    margin: 14px 0 12px;
    font-size: 34px;
  }

  .assessment-card .section-head p {
    font-size: 16px;
  }

  .assessment-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
  }

  .assessment-points span {
    min-height: 42px;
    display: grid;
    place-items: center;
    padding: 0 10px;
    color: var(--blue-700);
    background: #fff;
    border: 1px solid rgba(18, 107, 232, 0.16);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: var(--weight-bold);
  }

  .assessment-note {
    display: block;
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
  }

  .assessment-form {
    width: 100%;
    margin: 0;
    padding: 22px;
  }

  .result-list {
    max-width: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .result-list article {
    min-height: 152px;
    grid-template-columns: 1fr;
    align-content: start;
    justify-items: start;
    padding: 20px;
  }

  .process-section {
    display: block;
    background: #fff;
  }

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

  .desktop-process-list li {
    position: relative;
    min-height: 176px;
    padding: 22px 20px;
    background: #fff;
    border: 1px solid rgba(18, 107, 232, 0.14);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
  }

  .desktop-process-list b {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    background: var(--blue-700);
    border-radius: 50%;
    font-family: var(--font-number);
    font-size: 16px;
  }

  .desktop-process-list strong {
    display: block;
    margin-top: 16px;
    color: var(--blue-900);
    font-size: 18px;
    line-height: 1.3;
  }

  .desktop-process-list span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
  }

  .major-tabs {
    flex-wrap: wrap;
    overflow: visible;
    padding: 0;
  }

  .major-panels {
    border-radius: var(--radius);
  }

  .major-panel-card {
    padding: 24px;
  }

  .major-tag-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .major-tag {
    min-height: 46px;
    font-size: 14px;
  }

  .feedback-list {
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .feedback-list article {
    min-height: 150px;
    padding: 22px;
    border-radius: var(--radius);
  }

  .faq-panel--lead {
    max-width: 1180px;
    padding: 30px;
    border-radius: var(--radius);
  }

  .faq-panel--lead .faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    align-items: start;
  }

  .faq-panel--lead .faq-answer {
    margin-bottom: 8px;
  }

  .bottom-cta--v2 .bottom-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    padding: 28px 34px;
  }

  .site-footer .container {
    width: min(1180px, calc(100% - 64px));
  }
}

@media (max-width: 960px) {
  .trust-card-grid,
  .promise-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .assessment-card h1 {
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  .lead-page--v2 .school-recommend-section--top {
    padding-top: 16px;
  }

  .lead-page--v2 .section-head--center {
    margin-bottom: 14px;
  }

  .school-recommend-section .section-head p,
  .major-direction-section .section-head p {
    font-size: 13px;
  }

  .school-recommend-section .school-carousel {
    grid-auto-columns: minmax(154px, 44vw);
    gap: 10px;
    padding: 1px 2px 10px;
  }

  .school-recommend-section .school-card {
    gap: 7px;
    padding: 10px;
  }

  .school-card__logo {
    width: 42px;
    height: 42px;
  }

  .school-recommend-section .school-card h3 {
    font-size: 15px;
  }

  .school-card__level,
  .school-recommend-section .school-card p {
    font-size: 12px;
    line-height: 1.45;
  }

  .school-card__tags {
    gap: 4px;
  }

  .school-card__tags span {
    padding: 4px 6px;
    font-size: 11px;
  }

  .school-recommend-section .school-card button {
    min-height: 34px;
    border-radius: 9px;
    font-size: 13px;
  }

  .assessment-card {
    padding: 14px;
    border-radius: 14px;
  }

  .assessment-card h1 {
    font-size: 23px;
  }

  .assessment-card .section-head p {
    font-size: 13px;
  }

  .trust-card-grid,
  .promise-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .trust-card-grid article,
  .promise-grid article {
    gap: 6px;
    padding: 10px 6px;
    border-radius: 12px;
  }

  .trust-card-grid .line-icon,
  .promise-grid .line-icon {
    width: 34px;
    height: 34px;
  }

  .trust-card-grid h3,
  .promise-grid h3 {
    font-size: 13px;
  }

  .trust-card-grid p,
  .promise-grid p,
  .pain-card-grid p {
    font-size: 11px;
    line-height: 1.35;
  }

  .result-list {
    gap: 8px;
  }

  .result-list article {
    grid-template-columns: 38px 1fr;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
  }

  .result-list .line-icon {
    width: 34px;
    height: 34px;
  }

  .result-list h3 {
    font-size: 14px;
  }

  .result-list p {
    font-size: 12px;
  }

  .feedback-list {
    gap: 9px;
  }

  .feedback-list article {
    padding: 12px;
    border-radius: 12px;
  }

  .feedback-list h3 {
    font-size: 14px;
  }

  .feedback-list p {
    font-size: 13px;
    line-height: 1.55;
  }
}

/* Phase-Edu-AI-Chat-Consultant-UI-V4.3 */
.ai-chat-launcher {
  position: fixed;
  right: 18px;
  top: 62%;
  bottom: auto;
  z-index: 72;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a00 0%, #ff6500 100%);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(255, 106, 0, 0.28), 0 2px 8px rgba(128, 51, 0, 0.18);
  font-size: 14px;
  font-weight: var(--weight-bold);
  line-height: 1;
  cursor: pointer;
  opacity: 1;
  transform: translateY(-50%);
}

.ai-chat-launcher__icon {
  width: 18px;
  height: 16px;
  position: relative;
  display: inline-block;
  border: 2px solid currentColor;
  border-radius: 7px;
}

.ai-chat-launcher__icon::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: -5px;
  width: 7px;
  height: 7px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.ai-chat-panel[hidden] {
  display: none;
}

.ai-chat-panel {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.ai-chat-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 28, 58, 0.38);
  backdrop-filter: blur(3px);
}

.ai-chat-card {
  position: fixed;
  right: 22px;
  bottom: 24px;
  width: min(430px, calc(100% - 28px));
  max-height: min(75vh, 680px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, #f2f8ff 0%, #fff 44%);
  border: 1px solid rgba(18, 107, 232, 0.16);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(7, 29, 73, 0.24);
}

.ai-chat-header {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(18, 107, 232, 0.1);
}

.ai-chat-header h2 {
  margin: 6px 0 4px;
  color: var(--blue-900);
  font-size: 20px;
  line-height: 1.25;
}

.ai-chat-header p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.ai-chat-close {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: var(--blue-800);
  background: #fff;
  border: 1px solid rgba(18, 107, 232, 0.16);
  border-radius: 12px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.ai-chat-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 12px 14px;
}

.ai-chat-welcome {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  padding: 12px;
  color: #30486a;
  background: #fff;
  border: 1px solid rgba(18, 107, 232, 0.1);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.ai-chat-welcome p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.ai-quick-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.ai-quick-list button {
  min-height: 32px;
  padding: 0 10px;
  color: var(--blue-700);
  background: #eef6ff;
  border: 1px solid rgba(18, 107, 232, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: var(--weight-bold);
  cursor: pointer;
}

.ai-chat-messages {
  display: grid;
  gap: 10px;
}

.ai-chat-message {
  max-width: 86%;
  display: grid;
  gap: 4px;
}

.ai-chat-message__bubble {
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.6;
  box-shadow: 0 8px 20px rgba(7, 29, 73, 0.06);
}

.ai-chat-message--assistant {
  justify-self: start;
}

.ai-chat-message--assistant .ai-chat-message__bubble {
  color: #273c5c;
  background: #fff;
  border: 1px solid rgba(18, 107, 232, 0.1);
}

.ai-chat-message--user {
  justify-self: end;
}

.ai-chat-message--user .ai-chat-message__bubble {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
}

.ai-chat-message--loading .ai-chat-message__bubble {
  color: var(--muted);
}

.ai-chat-actions {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border-top: 1px solid rgba(18, 107, 232, 0.1);
}

.ai-chat-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: var(--blue-700);
  background: #f5f9ff;
  border: 1px solid rgba(18, 107, 232, 0.16);
  border-radius: 11px;
  font-size: 13px;
  font-weight: var(--weight-bold);
  line-height: 1.2;
  cursor: pointer;
}

.ai-chat-action--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange-600), var(--orange-500));
  border-color: transparent;
}

.ai-chat-input {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 68px;
  gap: 8px;
  padding: 10px 14px 12px;
  background: #fff;
}

.ai-chat-input input {
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  color: #233653;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  font-size: 14px;
}

.ai-chat-input input:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(18, 107, 232, 0.12);
}

.ai-chat-input button {
  min-height: 42px;
  color: #fff;
  background: var(--blue-700);
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: var(--weight-bold);
  cursor: pointer;
}

.ai-chat-error {
  min-height: 18px;
  margin: -6px 14px 10px;
  color: #c62828;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 960px) {
  .ai-chat-launcher {
    right: -4px;
    top: 62%;
    bottom: auto;
    width: 38px;
    min-height: 36px;
    justify-content: center;
    gap: 0;
    padding: 0;
    border-radius: 999px 0 0 999px;
    font-size: 12px;
    box-shadow: 0 6px 14px rgba(255, 106, 0, 0.24), 0 2px 6px rgba(128, 51, 0, 0.16);
    transform: translateY(-50%);
  }

  .ai-chat-launcher > span:not(.ai-chat-launcher__icon) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .ai-chat-launcher__icon {
    width: 15px;
    height: 14px;
    border-radius: 6px;
  }

  .ai-chat-card {
    left: 12px;
    right: 12px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    width: auto;
    max-height: 75vh;
  }
}

@media (max-width: 640px) {
  .ai-chat-header {
    padding: 14px 14px 10px;
  }

  .ai-chat-header h2 {
    font-size: 18px;
  }

  .ai-chat-body {
    padding: 10px 12px;
  }

  .ai-chat-actions,
  .ai-chat-input {
    padding-left: 12px;
    padding-right: 12px;
  }
}
