:root {
  --navy: #08264A;
  --navy-2: #123E68;
  --gold: #D8A12A;
  --gold-light: #E8BC59;
  --gold-pale: #FFF8E8;
  --white: #FFFFFF;
  --off-white: #F7FAFD;
  --gray-100: #EEF3F8;
  --gray-200: #DDE6F0;
  --gray-400: #7D8EA3;
  --gray-600: #4D6074;
  --gray-800: #142235;
  --teal: #1A8074;
  --coral: #C0533A;
  --rose: #9B3E6E;
  --blue: #2563EB;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;
  --shadow-sm: 0 1px 4px rgba(8,38,74,.06);
  --shadow-md: 0 8px 24px rgba(8,38,74,.10);
  --shadow-lg: 0 18px 48px rgba(8,38,74,.14);
  --max-w: 1160px;
  --nav-h: 66px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: linear-gradient(180deg, #fff 0%, #f8fbfe 100%);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.sec { padding: 88px 0; }
.sec--gray { background: var(--off-white); border-top: 1px solid rgba(8,38,74,.06); border-bottom: 1px solid rgba(8,38,74,.06); }

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow--light { color: #8b6419; }
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 14px;
}
.sec-sub {
  max-width: 650px;
  margin-bottom: 46px;
  color: var(--gray-600);
  font-size: 16.5px;
  line-height: 1.85;
}
.lead {
  color: var(--gray-600);
  font-size: 18px;
  line-height: 1.85;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: none;
  border-radius: var(--r-md);
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-gold {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 8px 20px rgba(216,161,42,.2);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(216,161,42,.28); }
.btn-outline {
  color: var(--navy);
  background: rgba(255,255,255,.72);
  border: 1.5px solid rgba(8,38,74,.18);
}
.btn-outline:hover { background: var(--white); border-color: var(--gold); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-lg { padding: 15px 34px; font-size: 15.5px; }
.btn-full { width: 100%; }

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(8,38,74,.09);
  box-shadow: 0 8px 28px rgba(8,38,74,.06);
}
.nav.scrolled { box-shadow: 0 10px 32px rgba(8,38,74,.1); }
.nav__inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav__logo-mark { width: 44px; height: 44px; }
.nav__logo-mark img { width: 44px; height: 44px; object-fit: contain; }
.nav__logo-text { line-height: 1.2; }
.nav__logo-name { display: block; color: var(--navy); font-size: 15px; font-weight: 800; }
.nav__logo-sub { display: block; color: var(--gray-600); font-size: 11px; }
.nav__menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__item { position: relative; }
.nav__item > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  color: #2d4258;
  font-size: 13.5px;
  font-weight: 700;
}
.nav__item > a:hover,
.nav__item > a.active { color: var(--navy); background: var(--gold-pale); }
.nav__arrow { font-size: 10px; opacity: .6; transition: transform .2s; }
.nav__item:hover .nav__arrow { transform: rotate(180deg); }
.nav__drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  min-width: 190px;
  padding: 8px;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(8,38,74,.1);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  transition: all .18s;
  white-space: nowrap;
}
.nav__item:hover .nav__drop { top: calc(100% + 2px); opacity: 1; visibility: visible; }
.nav__drop a { display: block; padding: 8px 12px; border-radius: var(--r-sm); color: #2d4258; font-size: 13px; }
.nav__drop a:hover { color: var(--navy); background: var(--gold-pale); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; border: none; background: none; padding: 8px; cursor: pointer; }
.nav__burger span { width: 22px; height: 2px; border-radius: 2px; background: var(--navy); }
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 99;
  padding: 12px 20px 20px;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid rgba(8,38,74,.09);
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 11px 4px; color: #2d4258; border-bottom: 1px solid rgba(8,38,74,.08); }

.hero {
  min-height: 92vh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, #f7fafd 52%, #eaf1f8 100%);
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -2%;
  bottom: 0;
  width: 52%;
  background: linear-gradient(135deg, rgba(216,161,42,.13), rgba(8,38,74,.06));
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}
.hero__dots {
  position: absolute;
  right: 4%;
  top: 15%;
  bottom: 10%;
  width: 42%;
  opacity: .65;
  background-image: radial-gradient(circle, rgba(216,161,42,.18) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--gold-pale);
  border: 1px solid rgba(216,161,42,.32);
  color: #8b6419;
  font-size: 12.5px;
  font-weight: 700;
}
.hero__tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.hero__title {
  margin-bottom: 10px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 400;
  line-height: 1.14;
}
.hero__title em { color: var(--gold); font-style: normal; }
.hero__title .en { display: block; margin-top: 6px; color: rgba(8,38,74,.3); font-size: .5em; }
.hero__desc { max-width: 500px; margin: 18px 0 34px; color: var(--gray-600); font-size: 17px; line-height: 1.9; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats {
  display: flex;
  gap: 34px;
  margin-top: 50px;
  padding-top: 28px;
  border-top: 1px solid rgba(8,38,74,.1);
}
.hero__stat-n { color: var(--gold); font-family: var(--font-display); font-size: 30px; line-height: 1; }
.hero__stat-l { margin-top: 5px; color: var(--gray-600); font-size: 12.5px; }
.hero__card {
  max-width: 460px;
  justify-self: end;
  padding: 32px;
  position: relative;
  background: var(--white);
  border: 1px solid rgba(8,38,74,.08);
  border-radius: var(--r-xl);
  box-shadow: 0 24px 72px rgba(8,38,74,.13);
}
.card-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 4px 14px;
  border-radius: 100px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  font-size: 12px;
  font-weight: 800;
}
.route-panel { display: grid; gap: 14px; }
.route-panel__head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 4px; }
.route-panel__head span { color: var(--gray-600); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.route-panel__head strong { color: var(--navy); font-size: 18px; }
.route-step {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid var(--gray-100);
  border-radius: var(--r-md);
  background: #fff;
}
.route-step.active { background: var(--gold-pale); border-color: rgba(216,161,42,.35); }
.route-step b { color: var(--gold); font-family: var(--font-display); font-size: 18px; }
.route-step span { color: var(--gray-600); font-size: 13.5px; }

.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.c-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  transition: transform .22s ease, box-shadow .22s ease;
}
.c-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.c-card__top { padding: 26px 22px 18px 26px; border-left: 4px solid var(--gold); }
.c-card__top--teal { border-left-color: var(--teal); }
.c-card__top--coral { border-left-color: var(--coral); }
.c-card__top--rose { border-left-color: var(--rose); }
.c-card__top--blue { border-left-color: var(--blue); }
.c-card__top--navy { border-left-color: var(--navy-2); }
.c-card__cat { display: block; margin-bottom: 7px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.c-card__title { margin-bottom: 8px; color: var(--navy); font-family: var(--font-display); font-size: 21px; font-weight: 400; line-height: 1.3; }
.c-card__desc { color: var(--gray-600); font-size: 13.8px; line-height: 1.72; }
.c-card__body { flex: 1; padding: 4px 22px 18px; }
.c-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 10px; }
.tag { padding: 3px 10px; border-radius: 100px; background: var(--gray-100); color: var(--gray-600); font-size: 12px; }
.c-card__footer { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border-top: 1px solid var(--gray-100); }
.c-card__arrow { color: var(--navy); font-size: 13.5px; font-weight: 800; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.study-entry {
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(8,38,74,.08);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.study-entry__logo { width: 78px; height: 78px; margin-bottom: 16px; }
.study-entry h3 { color: var(--navy); font-size: 22px; margin-bottom: 8px; }
.study-entry p { color: var(--gray-600); }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; }
.feat { display: flex; gap: 14px; }
.feat__ico {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: var(--gold-pale);
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}
.feat__t { color: var(--navy); font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.feat__d { color: var(--gray-600); font-size: 13.8px; line-height: 1.7; }

.news-preview { display: grid; grid-template-columns: .8fr 1.2fr; gap: 42px; align-items: start; }
.news-preview__panel {
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid rgba(8,38,74,.08);
  box-shadow: var(--shadow-sm);
}
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.news-grid--compact { grid-template-columns: 1fr; gap: 12px; margin-bottom: 18px; }
.n-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.n-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.n-card--featured { margin-bottom: 34px; }
.n-card--featured .n-card__title { font-size: 22px; }
.n-card__body { flex: 1; padding: 22px 22px 14px; }
.n-cat {
  display: inline-flex;
  margin-bottom: 11px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.n-cat--policy { background: rgba(26,128,116,.09); color: var(--teal); }
.n-cat--exam { background: rgba(201,168,76,.12); color: #8a6a1a; }
.n-cat--camp { background: rgba(192,83,58,.09); color: var(--coral); }
.n-cat--guide { background: rgba(155,62,110,.09); color: var(--rose); }
.n-card__title { color: var(--navy); font-size: 16.5px; font-weight: 800; line-height: 1.42; margin-bottom: 9px; }
.n-card__excerpt {
  color: var(--gray-600);
  font-size: 13.8px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.n-card__foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 22px; border-top: 1px solid var(--gray-100); color: var(--gray-400); font-size: 12.5px; }
.n-card__read { color: var(--navy); font-weight: 800; }
.wp-status { margin: -16px 0 24px; color: var(--gray-600); font-size: 13px; }

.page-hero {
  padding: calc(var(--nav-h) + 56px) 0 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, #f6f9fc 48%, #eaf1f8 100%);
  border-bottom: 1px solid rgba(8,38,74,.08);
}
.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(135deg, rgba(216,161,42,.12), rgba(8,38,74,.04));
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}
.page-hero__inner { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; color: var(--gray-600); font-size: 12.5px; }
.breadcrumb span { opacity: .7; }
.page-hero__title { color: var(--navy); font-family: var(--font-display); font-size: clamp(28px, 3.8vw, 46px); font-weight: 400; line-height: 1.2; margin-bottom: 12px; }
.page-hero__desc { max-width: 650px; color: var(--gray-600); font-size: 16.5px; line-height: 1.85; }

.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.service-box {
  padding: 26px;
  margin: 26px 0 44px;
  background: var(--off-white);
  border: 1px solid rgba(8,38,74,.08);
  border-radius: var(--r-lg);
}
.service-box h3 { color: var(--navy); margin-bottom: 12px; font-size: 18px; }
.service-box ul { padding-left: 20px; color: var(--gray-600); }
.service-box li { margin: 8px 0; }
.service-title-gap { margin-top: 18px; }
.steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 22px; }
.step { padding: 18px; background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.step__n { color: var(--gold); font-family: var(--font-display); font-size: 24px; line-height: 1; margin-bottom: 10px; }
.step__t { color: var(--navy); font-weight: 800; font-size: 14px; line-height: 1.6; }
.service-note {
  margin-top: 30px;
  padding: 18px 20px;
  background: var(--gold-pale);
  border: 1px solid rgba(216,161,42,.28);
  border-radius: var(--r-md);
  color: var(--gray-600);
  font-size: 14px;
}
.service-aside { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 16px; }
.aside-card { padding: 22px; background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.aside-card h3 { color: var(--navy); margin-bottom: 8px; }
.aside-card p { color: var(--gray-600); font-size: 13.8px; line-height: 1.7; margin-bottom: 16px; }
.aside-links { display: grid; gap: 8px; }
.aside-links a { padding: 9px 10px; border-radius: var(--r-sm); color: var(--gray-600); background: var(--off-white); font-size: 13.5px; }
.aside-links a:hover { color: var(--navy); background: var(--gold-pale); }
.about-grid { margin-top: 32px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.f-btn {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.f-btn:hover,
.f-btn.active { border-color: var(--gold); background: var(--gold-pale); color: var(--navy); }

.contact-bar {
  padding: 56px 0;
  background: linear-gradient(135deg, #f7fafd 0%, #edf4fa 100%);
  border-top: 1px solid rgba(8,38,74,.08);
  border-bottom: 1px solid rgba(8,38,74,.08);
}
.contact-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.contact-bar__copy h2 { color: var(--navy); font-family: var(--font-display); font-size: 28px; font-weight: 400; margin-bottom: 7px; }
.contact-bar__copy p { max-width: 620px; color: var(--gray-600); font-size: 15px; }
.contact-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.qr-block { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--white); border: 1px solid rgba(8,38,74,.1); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.qr-box { width: 72px; height: 72px; padding: 6px; background: var(--white); border-radius: var(--r-md); }
.qr-img { width: 100%; height: 100%; object-fit: contain; }
.qr-info strong { display: block; color: var(--navy); font-size: 14px; }
.qr-info span { color: var(--gray-600); font-size: 12.5px; }

.footer { padding: 60px 0 32px; background: #f4f7fb; border-top: 1px solid rgba(8,38,74,.08); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer__brand-name { color: var(--navy); font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.footer__brand-desc { color: var(--gray-600); font-size: 13.5px; line-height: 1.8; }
.footer__col h4 { color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 9px; }
.footer__col a { color: var(--gray-600); font-size: 13.5px; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(8,38,74,.08); color: var(--gray-600); font-size: 12.5px; }
.float-consult {
  position: fixed;
  right: 20px;
  bottom: 26px;
  z-index: 98;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 8px 24px rgba(216,161,42,.34);
  font-size: 13px;
  font-weight: 900;
}
.check-page { width: min(920px, calc(100% - 32px)); margin: 56px auto; padding: 32px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.check-status { margin: 20px 0; padding: 14px 16px; border-radius: var(--r-md); background: #eef4ff; color: #1c4f91; font-weight: 800; }
.check-status.ok { background: #ecfdf5; color: #166534; }
.check-status.fail { background: #fff1f2; color: #be123c; }
code { padding: 2px 5px; border-radius: 4px; background: #edf4ff; color: #0f3f7a; }

@media (max-width: 960px) {
  .nav__menu, .nav__right { display: none; }
  .nav__burger { display: flex; }
  .hero { min-height: auto; }
  .hero::before, .hero__dots, .page-hero::after { display: none; }
  .hero__inner, .split, .news-preview, .service-layout { grid-template-columns: 1fr; }
  .hero__card { justify-self: start; max-width: 520px; }
  .service-aside { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .sec { padding: 60px 0; }
  .hero__inner { padding: 60px 24px; }
  .hero__stats { gap: 20px; flex-wrap: wrap; }
  .hero__card { padding: 24px 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .contact-actions { width: 100%; }
  .contact-actions .btn { width: 100%; }
  .qr-block { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
