:root {
  --edu-primary: #2b5ce6;
  --edu-deep: #0f2a4a;
  --edu-soft: #eaf0ff;
  --farm-green: #3e7c4f;
  --farm-earth: #c8964b;
  --farm-cream: #f6f1e6;
  --farm-deep: #274a2f;
  --ink: #1c2430;
  --muted: #6b7686;
  --line: #e7eaf0;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 30, 50, .08);
  --shadow-lg: 0 18px 50px rgba(20, 30, 50, .14);
  --maxw: 1160px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 84px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #2b5ce6; outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body { font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif; color: var(--ink); line-height: 1.65; background: var(--white); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section-more { margin-top: 34px; }
.section-note { margin-top: 26px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; background: var(--edu-soft); color: var(--edu-primary); }
.h2 { font-size: 34px; line-height: 1.25; font-weight: 800; letter-spacing: -.5px; }
h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.16; letter-spacing: -.8px; }
.lead { color: var(--muted); font-size: 17px; margin-top: 14px; max-width: 720px; }
.grad { background: linear-gradient(90deg, var(--edu-primary), var(--farm-green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: none; cursor: pointer; font-weight: 700; font-size: 15px; padding: 12px 22px; border-radius: 12px; transition: .2s; text-align: center; }
.btn-primary { background: var(--edu-primary); color: #fff; }
.btn-primary:hover { background: #1f49c4; transform: translateY(-1px); }
.btn-farm { background: var(--farm-green); color: #fff; }
.btn-farm:hover { background: #33663f; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--edu-primary); color: var(--edu-primary); }
.btn-danger { background: #fff; border: 1.5px solid #fecaca; color: #b91c1c; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; }
.brand .logo { width: 46px; height: 46px; border-radius: 10px; background: #fff; border: 1px solid var(--line); overflow: hidden; display: block; flex: none; }
.brand .logo img { width: 100%; height: 100%; object-fit: contain; }
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 1px; }
.brand-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.35; font-size: 15px; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a { font-size: 15px; font-weight: 600; color: #39424f; transition: .2s; }
.menu a:hover, .menu a.is-active { color: var(--edu-primary); }
.btn-nav { padding: 10px 18px; color: #fff !important; }
.burger { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--ink); }
.site-body { padding-top: 70px; }

.site-footer { background: #0c1a2e; color: #9fb0c9; padding: 50px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.footer-brand { color: #fff; margin-bottom: 14px; }
.footer-about { font-size: 14px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.site-footer a { display: block; font-size: 14px; padding: 5px 0; color: #9fb0c9; }
.site-footer a:hover { color: #fff; }
.footer-line { display: block; font-size: 14px; padding: 5px 0; }
.footer-bottom { border-top: 1px solid #1b2c45; margin-top: 34px; padding-top: 20px; font-size: 13px; text-align: center; color: #6f809a; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }

/* forms */
.field { margin-bottom: 16px; }
.field label, .lead-form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.field input, .field select, .field textarea, .lead-form input, .lead-form select, .lead-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; font-size: 15px; font-family: inherit; background: #fff; transition: .2s; }
.field input:focus, .field select:focus, .field textarea:focus, .lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--edu-primary); box-shadow: 0 0 0 3px var(--edu-soft); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.6; }
.ok { background: #e6f1e7; color: var(--farm-deep); border: 1px solid #bfe0c3; border-radius: 11px; padding: 12px 14px; font-size: 14px; font-weight: 600; margin-top: 14px; }
.ok.is-error { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.check-row { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.check-row input { width: auto; margin-top: 4px; }
.cert-row { display: flex; gap: 8px; }
.cert-row select { flex: 0 0 120px; }
.cert-row input { flex: 1; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.info-card { background: var(--farm-cream); border: 1px solid #ece0c6; border-radius: var(--radius); padding: 28px; }
.info-card h3 { color: var(--farm-deep); font-size: 20px; margin-bottom: 16px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed #e3d6b8; }
.info-item:last-child { border-bottom: none; }
.ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; flex: none; }
.ic.b { background: var(--edu-soft); } .ic.g { background: #e6f1e7; } .ic.y { background: #f7eeda; }
.qr { width: 120px; height: 120px; border-radius: 12px; overflow: hidden; background: #274a2f; flex: none; }
.qr img { width: 100%; height: 100%; object-fit: cover; }

/* floating customer service */
.cs-bar { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 80; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 9px 16px; border-radius: 22px 0 0 22px; background: linear-gradient(168deg, #0f3d2a, #1f5f3a 48%, #2f7d4a); box-shadow: -10px 14px 38px rgba(8, 30, 20, .38); border: 1px solid rgba(255, 255, 255, .16); border-right: none; }
.cs-status { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; letter-spacing: 2px; color: rgba(255, 255, 255, .85); }
.cs-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .18); }
.cs-ic { position: relative; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .26); color: #fff; display: grid; place-items: center; cursor: pointer; transition: .25s; }
.cs-ic:hover, .cs-ic:focus-visible { background: rgba(255, 255, 255, .34); transform: translateX(-4px) scale(1.06); }
.cs-ic svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cs-ic .tip { position: absolute; z-index: 5; right: calc(100% + 14px); top: 50%; transform: translateY(-50%) translateX(8px); background: rgba(255, 255, 255, .98); color: #1c2430; border-radius: 14px; padding: 11px 15px; font-size: 13px; line-height: 1.6; white-space: nowrap; box-shadow: 0 16px 42px rgba(10, 30, 20, .28); opacity: 0; visibility: hidden; transition: .24s; text-align: left; }
.cs-ic:hover .tip, .cs-ic:focus-visible .tip, .cs-ic.show .tip { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
.cs-ic .tip i { font-style: normal; font-size: 12px; color: #8a95a5; display: block; }
.cs-ic .tip b { font-size: 14px; color: #12324a; display: block; }
.cs-ic .tip.qr { width: 230px; max-width: calc(100vw - 110px); white-space: nowrap; display: flex; align-items: center; gap: 12px; }
.cs-ic .tip.qr > span { min-width: 0; }
.cs-ic .tip.qr b, .cs-ic .tip.qr i { white-space: normal; }
.cs-ic .tip .qimg { width: 82px; height: 82px; border-radius: 12px; border: 1px solid #e6ecef; object-fit: cover; flex: 0 0 82px; }

@media (max-width: 980px) {
  .menu { gap: 16px; }
  .menu a { font-size: 14px; }
}
@media (max-width: 900px) {
  .menu { position: fixed; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  .menu.open { display: flex; }
  .menu a { padding: 13px 22px; width: 100%; }
  .menu .btn { margin: 10px 22px; width: auto; }
  .burger { display: block; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .h2 { font-size: 28px; }
}
@media (max-width: 560px) {
  .section { padding: 58px 0; }
  .brand-text { font-size: 13px; }
  .brand .logo { width: 40px; height: 40px; }
  .cs-bar { display: none; }
}
