:root {
  --blue: #1a73e8;
  --blue-dark: #185abc;
  --green: #188038;
  --yellow: #fbbc04;
  --red: #d93025;
  --ink: #202124;
  --muted: #5f6368;
  --line: #dfe5f2;
  --surface: #f7faff;
  --soft-blue: #edf4ff;
  --card: #ffffff;
  --shadow: 0 16px 42px rgba(32, 33, 36, 0.08);
  --radius: 18px;
  --radius-sm: 14px;
}

/* 2026-08-23 — information reduction: one message per first screen. */
.homepage .hero-copy > .lead { max-width: 610px; }
.homepage .path-panel { padding: 28px; }
.homepage .path-panel .path-row { min-height: 86px; padding: 18px 16px; }
.homepage .path-panel .path-row p { margin-top: 3px; line-height: 1.45; }

.pricing-hero { padding-block: 76px 68px; }
.pricing-hero-grid { align-items: end; }
.pricing-hero h1,
.bde-hero h1,
.atio-hero h1 { max-width: 720px; }
.pricing-hero .lead,
.bde-hero .lead,
.atio-hero .lead { max-width: 610px; }
.pricing-hero-actions { align-items: center; justify-content: flex-end; }

.bde-summary-note {
  margin: 14px 4px 0;
  padding-top: 16px;
  border-top: 1px solid #e1e8f2;
  color: #67717f;
  font-size: 13px;
  line-height: 1.55;
}
.atio-panel .atio-contact-lines { margin-top: 22px; }

@media (max-width: 720px) {
  .mobile-menu-panel { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .mobile-menu-primary { padding: 12px 0 4px; }
  .mobile-menu-primary a { min-height: 52px; }
  .mobile-menu-utilities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 0 2px;
    border-top: 1px solid #edf0f4;
  }
  .mobile-menu-utilities a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #dfe6f1;
    border-radius: 999px;
    color: #566171;
    background: #fff;
    font-size: 12px;
    font-weight: 620;
  }
  .mobile-menu-booking { margin-top: 16px; }
  .mobile-menu-contact {
    grid-template-columns: 1fr 1fr;
    margin-top: 10px;
    padding: 12px;
    border-radius: 13px;
    box-shadow: none;
  }
  .mobile-menu-contact strong { font-size: 14px; }
  .mobile-menu-contact small { margin-bottom: 2px; font-size: 11px; }
  .mobile-menu-contact a,
  .mobile-menu-contact span { min-height: 38px; padding-inline: 8px; font-size: 11px; }

  .mobile-pricing-intro { min-height: auto; padding: 54px 22px 34px; }
  .mobile-pricing-copy { max-width: 420px; }
  .mobile-pricing-copy h1 { margin: 10px 0 14px; font-size: clamp(40px, 12vw, 54px); line-height: 1.02; }
  .mobile-pricing-copy > span { max-width: 330px; font-size: 15px; line-height: 1.6; }
  .mobile-pricing-options { display: none; }
  .mobile-pricing-more {
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 28px;
    border-radius: 10px;
    color: #fff;
    background: #246fdf;
    font-size: 15px;
    font-weight: 650;
  }

  .bde-hero,
  .atio-hero { padding-top: 42px; }
  .bde-hero-grid,
  .atio-hero-grid { gap: 28px; }
  .bde-summary,
  .atio-panel { padding: 22px; }
  .bde-summary-row { min-height: 70px; padding-block: 12px; }
  .bde-summary-note { font-size: 12px; }
  .atio-panel .atio-contact-lines { margin-top: 18px; }
}

/* Ontario driver licence process guide */
.path-full-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #bfd4f6;
  border-radius: 14px;
  background: #eef5ff;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.process-page { background: #fff; }
.process-hero { padding: 76px 0 68px; background: linear-gradient(135deg, #f4f8ff 0%, #fff 58%, #f4fbf6 100%); border-bottom: 1px solid var(--line); }
.process-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.process-hero h1 { max-width: 650px; margin: 18px 0; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.08; letter-spacing: -.05em; }
.process-hero .lead { max-width: 650px; }
.process-mini-map { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; padding: 28px; border: 1px solid #dce5f3; border-radius: 26px; background: rgba(255,255,255,.88); box-shadow: 0 22px 60px rgba(32,33,36,.08); }
.process-mini-map div { min-width: 0; text-align: center; }
.process-mini-map span { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 12px; border-radius: 13px; background: #e9f2ff; color: #1769d2; font-weight: 900; }
.process-mini-map strong, .process-mini-map small { display: block; }
.process-mini-map strong { margin-bottom: 6px; font-size: 20px; }
.process-mini-map small { color: var(--muted); line-height: 1.45; }
.process-mini-map i { color: #9ba8b7; font-style: normal; font-size: 24px; }
.process-heading { max-width: 720px; margin-bottom: 30px; }
.process-heading h2, .route-label h2, .process-checklist h2 { margin: 8px 0 10px; font-size: clamp(30px, 3vw, 46px); letter-spacing: -.035em; }
.process-heading > p, .route-label p, .process-checklist p { margin: 0; color: var(--muted); font-size: 18px; }
.process-choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.process-choice-grid a { display: flex; min-height: 230px; flex-direction: column; padding: 26px; border: 1px solid #dce5f3; border-radius: 22px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 14px 38px rgba(32,33,36,.05); transition: transform .2s ease, border-color .2s ease; }
.process-choice-grid a:hover { transform: translateY(-3px); border-color: #83aef0; }
.process-choice-grid span { color: #2878e3; font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.process-choice-grid strong { margin: 28px 0 10px; font-size: 23px; }
.process-choice-grid small { color: var(--muted); font-size: 16px; }
.process-choice-grid b { margin-top: auto; color: #1769d2; }
.china-route-shortcut { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin: 18px auto 0; padding: 18px 22px; border: 1px solid #b9dfc3; border-radius: 18px; background: #effaf2; color: var(--ink); text-decoration: none; }
.china-route-shortcut span { padding: 7px 11px; border-radius: 999px; background: #dff3e4; color: #18753c; font-size: 13px; font-weight: 900; }
.china-route-shortcut strong { font-size: 18px; letter-spacing: .01em; }
.china-route-shortcut b { color: #18753c; font-size: 14px; }
.process-route { scroll-margin-top: 110px; }
.process-route.tinted { background: #f7faff; border-block: 1px solid #e2eaf5; }
.route-label { display: grid; grid-template-columns: 100px 1fr; align-items: start; gap: 24px; margin-bottom: 36px; }
.route-label > span { display: inline-flex; justify-content: center; padding: 9px 12px; border-radius: 999px; background: #e8f2ff; color: #1769d2; font-weight: 900; }
.process-timeline { position: relative; display: grid; gap: 0; max-width: 900px; margin: 0 auto; padding: 0; list-style: none; counter-reset: none; }
.process-timeline::before { position: absolute; top: 28px; bottom: 28px; left: 25px; width: 2px; background: #dce6f3; content: ""; }
.process-timeline li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 24px; padding-bottom: 28px; }
.process-timeline li > span { z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border: 5px solid #fff; border-radius: 50%; background: #2377df; color: #fff; font-weight: 900; box-shadow: 0 0 0 1px #cddcf0; }
.tinted .process-timeline li > span { border-color: #f7faff; }
.process-timeline li > div { padding: 3px 0 25px; border-bottom: 1px solid #e1e8f1; }
.process-timeline h3 { margin: 0 0 8px; font-size: 23px; }
.process-timeline p { margin: 0; color: #526071; font-size: 17px; line-height: 1.75; }
.process-timeline a { display: inline-block; margin-top: 11px; color: #1769d2; font-weight: 800; }
.translation-callout { display: grid; grid-template-columns: 210px 1fr auto; align-items: center; gap: 24px; max-width: 1040px; margin: 0 auto 38px; padding: 24px; border: 1px solid #b9dfc3; border-radius: 20px; background: #effaf2; }
.translation-callout strong { font-size: 20px; color: #18753c; }
.translation-callout p { margin: 0; color: #3e5948; line-height: 1.7; }
.translation-callout .btn { white-space: nowrap; background: #fff; }
.rule-update { display: flex; align-items: flex-start; gap: 18px; max-width: 900px; margin: 8px auto 0; padding: 20px 22px; border: 1px solid #f0d494; border-radius: 18px; background: #fff8e8; }
.rule-update span { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; background: #ffdc81; color: #6d4b00; font-size: 13px; font-weight: 900; }
.rule-update p { margin: 1px 0 0; color: #654f1f; line-height: 1.65; }
.exchange-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.exchange-summary div { padding: 24px; border: 1px solid #dde5ef; border-radius: 19px; background: #fff; }
.exchange-summary strong { display: block; margin-bottom: 10px; font-size: 21px; }
.exchange-summary p { margin: 0; color: var(--muted); line-height: 1.7; }
.official-note { margin: 20px 0 0; color: var(--muted); text-align: center; }
.process-checklist { background: #f7f9fc; border-block: 1px solid #e4eaf2; }
.process-checklist-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: center; }
.process-checklist ul { display: grid; gap: 2px; margin: 0; padding: 0; overflow: hidden; border: 1px solid #dce4ee; border-radius: 22px; background: #dce4ee; list-style: none; }
.process-checklist li { display: grid; grid-template-columns: 230px 1fr; gap: 24px; padding: 18px 22px; background: #fff; }
.process-checklist li b::before { margin-right: 9px; color: #2d9a52; content: "✓"; }
.process-checklist li span { color: var(--muted); }
.process-next .container { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 42px; border-radius: 26px; background: #17283f; color: #fff; }
.process-next span { color: #8fbdf9; font-weight: 800; }
.process-next h2 { margin: 8px 0 0; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.2; }
.process-next .actions { flex: 0 0 auto; margin: 0; }
.process-next .btn:not(.primary) { border-color: #62748b; background: transparent; color: #fff; }
.process-disclaimer { padding-bottom: 54px; color: #687587; font-size: 14px; text-align: center; }
.process-disclaimer a { color: #1769d2; }

@media (max-width: 900px) {
  .process-hero { padding: 46px 0 40px; }
  .process-hero-grid, .process-checklist-grid { grid-template-columns: 1fr; gap: 34px; }
  .process-choice-grid, .exchange-summary { grid-template-columns: 1fr; }
  .process-choice-grid a { min-height: 190px; }
  .china-route-shortcut { grid-template-columns: 1fr; gap: 9px; }
  .china-route-shortcut span { justify-self: start; }
  .translation-callout { grid-template-columns: 1fr; }
  .process-next .container { align-items: flex-start; flex-direction: column; padding: 30px; }
}

@media (max-width: 620px) {
  .process-hero h1 { font-size: 40px; }
  .process-mini-map { grid-template-columns: repeat(4, 1fr); gap: 5px; padding: 18px 10px; }
  .process-mini-map i { display: none; }
  .process-mini-map strong { font-size: 17px; }
  .process-mini-map small { font-size: 11px; }
  .process-mini-map span { width: 36px; height: 36px; }
  .route-label { grid-template-columns: 1fr; gap: 10px; }
  .route-label > span { width: max-content; }
  .process-timeline li { grid-template-columns: 44px 1fr; gap: 15px; }
  .process-timeline::before { left: 21px; }
  .process-timeline li > span { width: 44px; height: 44px; border-width: 4px; }
  .process-timeline h3 { font-size: 20px; }
  .process-timeline p { font-size: 16px; }
  .process-checklist li { grid-template-columns: 1fr; gap: 4px; padding: 16px; }
  .process-next .actions { display: grid; width: 100%; }
}

.nav-links .language-nav-link {
  border: 1px solid #c9d8ec;
  color: #155dbd;
  min-width: 42px;
  text-align: center;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(26, 115, 232, 0.06), transparent 28%),
    linear-gradient(180deg, #ffffff 0, #f8fbff 48%, #ffffff 100%);
  line-height: 1.6;
}

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

a,
button,
[role="button"] {
  touch-action: manipulation;
}

button {
  font: inherit;
}

.top-strip {
  height: 5px;
  background: linear-gradient(90deg, var(--blue) 0 25%, #34a853 25% 48%, var(--yellow) 48% 72%, #ea4335 72% 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #eef1f6;
  backdrop-filter: blur(10px);
}

.nav {
  width: min(1160px, calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 1px;
  align-items: center;
  color: var(--ink);
}

.logo::before {
  content: "KM Driving School";
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  white-space: nowrap;
  font-family: "Avenir Next", Avenir, Inter, "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #1a73e8 0 54%, #18864b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo::after {
  content: "WATERLOO REGION · 中文驾校";
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  white-space: nowrap;
  color: #5f6368;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0.11em;
}

.logo img {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 236px;
  max-width: 42vw;
  height: auto;
  display: block;
  margin-left: -61px;
  margin-right: -36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.mobile-menu-button,
.mobile-menu-backdrop,
.mobile-menu-panel {
  display: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 40px;
  padding: 9px 11px;
  border-radius: 999px;
  color: #2b2f36;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--soft-blue);
  color: var(--blue-dark);
}

.nav-links .booking-nav-link {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(26, 115, 232, 0.18);
}

.nav-links .booking-nav-link:hover,
.nav-links .booking-nav-link.active {
  background: var(--blue-dark);
  color: #fff;
}

.nav-links .g1-nav-link {
  background: #e6f4ea;
  color: #137333;
}

.nav-links .g1-nav-link:hover,
.nav-links .g1-nav-link.active {
  background: #ceead6;
  color: #0d652d;
}

.phone-link {
  color: var(--blue-dark);
}

.compact-heading { max-width: 780px; margin-bottom: 28px; }
.compact-heading h2 { margin: 6px 0 8px; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; letter-spacing: -.035em; }
.compact-heading p { margin: 0; color: var(--muted); font-size: 17px; }
.g1-resource-section { padding-top: 70px; padding-bottom: 22px; }
.g1-resource-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.g1-resource-card { min-height: 150px; padding: 24px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; border: 1px solid var(--line); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.g1-resource-card:hover { transform: translateY(-3px); border-color: #b6cbef; box-shadow: var(--shadow); }
.g1-resource-card.featured { background: linear-gradient(145deg,#edf4ff,#fff); border-color: #b7cff6; }
.g1-resource-card > span:last-child { color: var(--blue); font-size: 24px; line-height: 1; }
.g1-resource-number { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--soft-blue); color: var(--blue-dark); font-size: 12px; font-weight: 900; }
.g1-resource-card strong { display: block; margin: 0 0 5px; font-size: 20px; }
.g1-resource-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.g1-source-note { margin: 20px 0 0; padding: 14px 17px; border-radius: 13px; background: #f5f7fb; color: var(--muted); font-size: 13px; }
.g1-source-note a { color: var(--blue-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.g1-faq-section { padding-top: 34px; }
.g1-faq-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.g1-faq-card { padding: 22px; }
.g1-faq-card h3 { margin: 0 0 9px; font-size: 20px; line-height: 1.25; }
.g1-faq-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.g1-guide-hero { padding: 72px 0 42px; }
.g1-guide-hero .container { max-width: 940px; text-align: center; }
.g1-guide-hero h1 { margin: 10px auto 16px; max-width: 850px; font-size: clamp(40px,6vw,68px); line-height: 1.05; letter-spacing: -.05em; }
.g1-guide-hero .lead { max-width: 760px; margin-inline: auto; }
.g1-guide-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 28px; align-items: start; }
.g1-article { padding: 34px; }
.g1-article h2 { margin: 34px 0 12px; font-size: 28px; line-height: 1.25; }
.g1-article h2:first-child { margin-top: 0; }
.g1-article p, .g1-article li { color: #4f5662; }
.g1-article ul, .g1-article ol { padding-left: 24px; }
.g1-article li + li { margin-top: 8px; }
.g1-fact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 20px 0; }
.g1-fact { padding: 18px; border: 1px solid #dbe5f4; border-radius: 15px; background: #f8fbff; }
.g1-fact strong { display: block; color: var(--blue-dark); font-size: 25px; }
.g1-fact span { color: var(--muted); font-size: 13px; }
.g1-guide-nav { position: sticky; top: 112px; padding: 24px; }
.g1-guide-nav h2 { margin: 0 0 13px; font-size: 18px; }
.g1-guide-nav a { display: block; padding: 10px 0; border-top: 1px solid #edf0f5; color: #43536b; font-size: 14px; font-weight: 750; }
.g1-guide-nav a:first-of-type { border-top: 0; }
.g1-guide-nav .btn { margin-top: 14px; text-align: center; color: #fff; }
.g1-topic-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 20px 0; }
.g1-topic-item { padding: 18px; border-radius: 15px; background: #f5f8fd; }
.g1-topic-item strong { display: block; margin-bottom: 4px; color: var(--ink); }
.g1-topic-item p { margin: 0; font-size: 14px; }

@media (max-width: 820px) {
  .g1-resource-grid { grid-template-columns: 1fr; }
  .g1-resource-card { min-height: 0; }
  .g1-guide-layout { grid-template-columns: 1fr; }
  .g1-guide-nav { position: static; order: -1; }
  .g1-fact-grid { grid-template-columns: 1fr; }
  .g1-faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .g1-resource-section { padding-top: 48px; }
  .g1-resource-card { padding: 19px; grid-template-columns: auto 1fr; }
  .g1-resource-card > span:last-child { display: none; }
  .g1-faq-section { padding-top: 24px; }
  .g1-faq-card { padding: 19px; }
  .g1-guide-hero { padding: 52px 0 30px; }
  .g1-article { padding: 22px; }
  .g1-topic-list { grid-template-columns: 1fr; }
}

.nav-links .student-nav-link { border: 1px solid #cbd8ee; color: var(--blue-dark); background: #fff; }
.nav-links .student-nav-link:hover, .nav-links .student-nav-link.active { border-color: #9eb9e8; background: var(--soft-blue); color: var(--blue-dark); }

.student-portal-page { min-height: 100vh; background: #f6f9fe; }
.student-login-main { padding: 68px 20px 80px; }
.student-login-shell { width: min(1080px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.75fr); gap: 48px; align-items: center; }
.student-login-intro h1 { margin: 12px 0 18px; font-size: clamp(40px,5vw,66px); line-height: 1.08; letter-spacing: -.045em; }
.student-login-intro > p { max-width: 580px; color: var(--muted); font-size: 19px; }
.student-feature-list { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; font-weight: 750; }
.student-feature-list li { display: flex; align-items: center; gap: 11px; }
.student-feature-list span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #e6f4ea; color: var(--green); }
.student-login-card, .student-dashboard-card, .student-summary-card { border: 1px solid #e0e7f3; background: #fff; box-shadow: 0 20px 55px rgba(33,72,135,.09); }
.student-login-card { padding: 36px; border-radius: 26px; }
.student-demo-badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #fff7dc; color: #8a6100; font-size: 12px; font-weight: 850; }
.student-login-card h2 { margin: 16px 0 4px; font-size: 28px; }
.student-login-card > p { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.student-login-card form { display: grid; gap: 17px; }
.student-code-panel { display: grid; gap: 13px; padding-top: 3px; }
.student-code-panel[hidden] { display: none; }
.student-code-panel > label { display: grid; gap: 7px; font-weight: 750; }
.student-code-panel input { letter-spacing: .28em; font-size: 20px; font-weight: 800; }
.student-login-submit:disabled { opacity: .6; cursor: wait; }
.student-login-card form > label { display: grid; gap: 7px; font-weight: 750; }
.student-login-card input[type="email"], .student-login-card input[type="password"], .student-login-card input[type="text"] { width: 100%; min-height: 50px; padding: 11px 14px; border: 1px solid #cdd7e8; border-radius: 12px; background: #fbfcff; font: inherit; outline: none; }
.student-login-card input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,115,232,.13); }
.student-login-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.student-remember { display: flex; align-items: center; gap: 7px; color: var(--muted); }
.student-remember input { width: 18px; height: 18px; accent-color: var(--blue); }
.student-text-button { padding: 4px; border: 0; background: transparent; color: var(--blue-dark); cursor: pointer; }
.student-login-submit { width: 100%; min-height: 52px; border: 0; cursor: pointer; }
.student-login-status { min-height: 21px; margin: -5px 0 0; color: var(--blue-dark); font-size: 13px; font-weight: 700; }
.student-login-help { margin-top: 20px; padding-top: 20px; border-top: 1px solid #edf0f5; display: grid; gap: 3px; font-size: 13px; }
.student-login-help span { color: var(--muted); }
.student-mini-footer { width: min(1080px,calc(100% - 40px)); margin: 0 auto; padding: 22px 0 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; border-top: 1px solid #e2e8f2; color: var(--muted); font-size: 13px; }
.student-mini-footer a:hover { color: var(--blue-dark); }

.student-dashboard-header { min-height: 78px; padding: 12px max(24px,calc((100% - 1180px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; background: rgba(255,255,255,.96); border-bottom: 1px solid #e9edf4; }
.student-dashboard-brand img { display: block; width: 225px; max-width: 55vw; }
.student-profile-chip { display: flex; align-items: center; gap: 10px; }
.student-profile-chip > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--soft-blue); color: var(--blue-dark); font-weight: 900; }
.student-profile-chip div { display: grid; line-height: 1.25; }
.student-profile-chip small { color: var(--muted); }
.student-dashboard-main { width: min(1180px,calc(100% - 40px)); margin: 0 auto; padding: 32px 0 70px; }
.student-demo-notice { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 16px; border: 1px solid #f4d878; border-radius: 12px; background: #fff9e7; color: #775500; font-size: 13px; }
.student-welcome { padding: 36px 0 28px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.student-welcome h1 { margin: 7px 0 2px; font-size: clamp(32px,4vw,48px); letter-spacing: -.035em; }
.student-welcome p { margin: 0; color: var(--muted); }
.student-sync-status { display: flex; align-items: center; gap: 11px; margin: -6px 0 20px; padding: 13px 16px; border: 1px solid #b9dfc4; border-radius: 15px; background: #f0faf3; color: #245b34; }
.student-sync-status > span { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: #34a853; color: #fff; font-weight: 900; }
.student-sync-status div { display: grid; gap: 2px; }
.student-sync-status small { color: #4e7259; }
.student-sync-status[data-state="loading"] { border-color: #c9d9ef; background: #f3f7fd; color: #31557f; }
.student-sync-status[data-state="error"] { border-color: #efc0bc; background: #fff3f2; color: #9b2f27; }
.student-sync-status[data-state="error"] > span { background: #d93025; }
.student-sync-status[data-state="error"] small { color: #8a4a45; }
.student-summary-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 20px; }
.student-summary-card { position: relative; overflow: hidden; padding: 23px; border-radius: 20px; }
.student-summary-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--blue); }
.student-summary-card.green::before { background: #34a853; } .student-summary-card.yellow::before { background: #fbbc04; }
.student-summary-card > span { color: var(--muted); font-size: 13px; font-weight: 750; }
.student-summary-card > strong { display: block; margin: 7px 0 2px; font-size: 35px; line-height: 1.15; }
.student-summary-card > strong small { font-size: 14px; color: var(--muted); } .student-summary-card .student-summary-date { font-size: 27px; }
.student-summary-card p { margin: 0; color: var(--muted); font-size: 13px; }
.student-dashboard-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.student-dashboard-card { padding: 25px; border-radius: 22px; box-shadow: 0 12px 34px rgba(33,72,135,.07); }
.student-card-heading { display: flex; justify-content: space-between; gap: 15px; align-items: start; margin-bottom: 22px; }
.student-card-heading span { color: var(--blue-dark); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.student-card-heading h2 { margin: 2px 0 0; font-size: 22px; }
.student-card-heading b { padding: 5px 9px; border-radius: 999px; background: #e6f4ea; color: var(--green); font-size: 12px; }
.student-card-heading a { color: var(--blue-dark); font-size: 13px; font-weight: 750; }
.student-lesson-detail { display: flex; align-items: center; gap: 17px; }
.student-date-box { flex: 0 0 auto; display: grid; place-items: center; width: 66px; height: 70px; border-radius: 14px; background: var(--blue); color: #fff; line-height: 1; }
.student-date-box strong { font-size: 26px; } .student-date-box span { font-size: 11px; letter-spacing: .12em; }
.student-lesson-detail h3 { margin: 0 0 5px; } .student-lesson-detail p { margin: 1px 0; color: var(--muted); font-size: 13px; }
.student-lesson-tip { margin-top: 19px; padding: 12px 14px; border-radius: 12px; background: var(--soft-blue); color: #355071; font-size: 13px; }
.student-schedule-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.student-schedule-list li { display: grid; grid-template-columns: minmax(155px,.8fr) minmax(0,1fr); gap: 18px; padding: 14px 0; border-top: 1px solid #edf0f5; }
.student-schedule-list li:first-child { border-top: 0; padding-top: 0; }
.student-schedule-list time, .student-schedule-list li > div { display: grid; gap: 3px; }
.student-schedule-list time span, .student-schedule-list li > div small, .student-schedule-note { color: var(--muted); font-size: 12px; }
.student-schedule-list li > div small { width: fit-content; padding: 3px 7px; border-radius: 999px; background: #e6f4ea; color: var(--green); font-weight: 800; }
.student-schedule-list .current { position: relative; }
.student-schedule-list .current::before { content: ""; position: absolute; top: 17px; left: -13px; width: 5px; height: 30px; border-radius: 999px; background: var(--blue); }
.student-schedule-note { margin: 14px 0 0; padding-top: 13px; border-top: 1px solid #edf0f5; }
.student-profile-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.student-profile-list li { display: flex; gap: 11px; align-items: center; }
.student-profile-list li > span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; font-weight: 900; }
.student-profile-list .complete { background: #e6f4ea; color: var(--green); } .student-profile-list .pending { background: #fff4d1; color: #8a6100; }
.student-profile-list div { display: grid; line-height: 1.3; } .student-profile-list small { color: var(--muted); }
.student-progress-track { height: 10px; overflow: hidden; border-radius: 999px; background: #e8eef8; }
.student-progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue),#34a853); }
.student-progress-card ul { display: grid; gap: 11px; margin: 20px 0 0; padding: 0; list-style: none; }
.student-progress-card li { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; }
.student-progress-card li span { color: var(--muted); }
.student-payment-line { display: flex; justify-content: space-between; gap: 15px; padding: 11px 0; border-bottom: 1px solid #edf0f5; }
.student-payment-line strong { color: var(--blue-dark); } .student-payment-line .paid { color: var(--green); }
.student-payment-card p { color: var(--muted); font-size: 13px; } .student-payment-card > a { color: var(--blue-dark); font-weight: 750; font-size: 13px; }

@media (max-width: 900px) {
  .nav-links a[href="/pricing"] { display: none; }
  .student-login-shell, .student-summary-grid, .student-dashboard-grid { grid-template-columns: 1fr; }
  .student-login-main { padding: 40px 14px 56px; } .student-login-shell { gap: 30px; }
  .student-login-card { padding: 25px 20px; border-radius: 22px; } .student-login-intro h1 { font-size: clamp(36px,11vw,52px); }
  .student-dashboard-main { width: min(100% - 28px,720px); padding-top: 20px; }
  .student-demo-notice { align-items: flex-start; text-align: left; }
  .student-welcome { align-items: flex-start; flex-direction: column; padding: 28px 0 22px; }
  .student-welcome .btn { width: 100%; text-align: center; }
  .student-summary-grid { gap: 12px; } .student-dashboard-grid { gap: 14px; } .student-dashboard-card { padding: 20px; }
}

@media (max-width: 520px) {
  .student-dashboard-header { padding: 10px 14px; } .student-dashboard-brand img { width: 175px; }
  .student-profile-chip div { display: none; } .student-login-row { align-items: flex-start; }
  .student-mini-footer { width: calc(100% - 28px); }
  .student-progress-card li, .student-payment-line { align-items: flex-start; flex-direction: column; gap: 2px; }
  .student-sync-status { align-items: flex-start; }
  .student-schedule-list li { grid-template-columns: 1fr; gap: 7px; padding-left: 10px; }
  .student-schedule-list .current::before { left: -2px; }
}

.page {
  background: linear-gradient(180deg, #fff 0, var(--surface) 48%, #fff 100%);
}

.local-city-section {
  background: #f7faff;
}

.local-city-grid,
.local-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.local-city-card,
.local-topic-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.local-city-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 850;
}

.local-city-card h3,
.local-topic-card h2,
.local-topic-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
}

.local-city-card p,
.local-topic-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.75;
}

.local-city-card a,
.local-source a {
  color: var(--blue-dark);
  font-weight: 800;
}

.local-hero {
  overflow: hidden;
  background: linear-gradient(135deg, #f4f8ff 0%, #fff 55%, #f0faf4 100%);
}

.local-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 38px;
  align-items: center;
}

.local-road-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid #dbe6f6;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(34, 79, 134, 0.1);
}

.local-road-card::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 110px;
  left: -42px;
  top: 94px;
  border: 30px solid #dce9fb;
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-18deg);
}

.local-road-card::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 46px;
  right: 44px;
  bottom: 54px;
  border-radius: 18px 24px 13px 13px;
  background: var(--blue);
  box-shadow: inset -12px -8px 0 rgba(0, 0, 0, 0.08);
}

.local-road-label {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 28px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.local-intro {
  max-width: 820px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.local-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.local-checklist li {
  padding: 16px 18px;
  border-radius: 14px;
  background: #f5f8fd;
  color: #34445d;
  font-weight: 750;
}

.local-source {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  border-radius: 0 14px 14px 0;
  background: #f1faf5;
  color: #40556a;
  line-height: 1.7;
}

.local-city-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.local-video-section {
  padding-top: 34px;
  padding-bottom: 34px;
  background: #fff;
}

.local-video-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 26px;
  align-items: center;
  padding: 26px;
  border: 1px solid #dbe6f6;
  border-radius: 24px;
  background: linear-gradient(135deg, #f7fbff, #fff);
  box-shadow: 0 16px 42px rgba(32, 33, 36, 0.07);
}

.pricing-video-section {
  padding-top: 26px;
  padding-bottom: 10px;
}

.pricing-video-card {
  background: linear-gradient(135deg, #fff, #f7fbff);
}

.local-video-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.16;
}

.local-video-copy p {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.local-video-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.local-video-points span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid #d7e5fb;
  border-radius: 999px;
  background: #fff;
  color: #315270;
  font-size: 12px;
  font-weight: 800;
}

.local-video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #cfdef2;
  border-radius: 18px;
  background: #eef4fb;
  aspect-ratio: 16 / 9;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.local-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

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

.section {
  padding: 56px 0;
}

.hero {
  padding: 62px 0 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
}

.eyebrow.small {
  margin-bottom: 8px;
  font-size: 13px;
}

.eyebrow.small::before {
  width: 34px;
  height: 5px;
}

.eyebrow::before {
  content: "";
  width: 46px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #34a853, var(--yellow), #ea4335);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 16px;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

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

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--blue-dark);
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(32, 33, 36, 0.08);
}

.btn.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

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

.hero-copy {
  padding: 10px 0;
}

.mobile-route-visual {
  display: none;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #d7e5fb;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #3c4a60;
  font-size: 13px;
  font-weight: 800;
}

.g1-priority-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "badge title arrow"
    "badge detail arrow";
  align-items: center;
  gap: 2px 14px;
  width: min(100%, 590px);
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #b7dfc2;
  border-radius: 17px;
  background: linear-gradient(135deg, #f1faf4, #fff);
  box-shadow: 0 10px 26px rgba(52, 168, 83, 0.09);
  color: var(--ink);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.g1-priority-link:hover {
  transform: translateY(-2px);
  border-color: #7ec590;
  box-shadow: 0 14px 30px rgba(52, 168, 83, 0.14);
}

.g1-priority-link span {
  grid-area: badge;
  padding: 6px 9px;
  border-radius: 999px;
  background: #34a853;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.g1-priority-link strong { grid-area: title; font-size: 16px; }
.g1-priority-link small { grid-area: detail; color: var(--muted); font-weight: 650; }
.g1-priority-link b { grid-area: arrow; color: #188038; font-size: 24px; }

.about-g1-rescue {
  padding: 16px 0 0;
  background: #f7faff;
}

.about-g1-rescue a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "label title action"
    "label detail action";
  align-items: center;
  gap: 2px 16px;
  padding: 16px 19px;
  border: 1px solid #a9dab7;
  border-radius: 18px;
  background: linear-gradient(135deg, #eaf7ee, #fff);
  box-shadow: 0 10px 26px rgba(52, 168, 83, .1);
  color: var(--ink);
}

.about-g1-rescue span {
  grid-area: label;
  padding: 6px 10px;
  border-radius: 999px;
  background: #34a853;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.about-g1-rescue strong { grid-area: title; font-size: 18px; }
.about-g1-rescue small { grid-area: detail; color: var(--muted); font-weight: 650; }
.about-g1-rescue b { grid-area: action; color: #137333; white-space: nowrap; }

@media (max-width: 640px) {
  .about-g1-rescue a {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "label action"
      "title title"
      "detail detail";
    gap: 7px 10px;
  }
  .about-g1-rescue span { width: fit-content; }
  .about-g1-rescue b { font-size: 13px; }
}

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

.path-panel {
  position: relative;
  padding: 22px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  overflow: hidden;
}

.path-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), #34a853, var(--yellow), #ea4335);
}

.panel-title {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 900;
}

.path-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  padding: 15px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e7edf8;
}

.path-row + .path-row {
  margin-top: 12px;
}

.path-row > span,
.number {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--soft-blue);
  color: var(--blue);
  font-weight: 900;
}

.path-row strong {
  display: block;
  margin-bottom: 2px;
  font-size: 16px;
}

.path-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.terms-updated {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.terms-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.terms-policy-grid .info-card {
  position: relative;
  padding: 24px;
}

.terms-policy-grid .info-card h2 {
  margin-bottom: 10px;
  padding-right: 48px;
  font-size: 21px;
}

.terms-policy-grid .info-card p {
  margin-bottom: 0;
  line-height: 1.78;
}

.terms-number {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #b8c8df;
  font-size: 18px;
  font-weight: 900;
}

.terms-legal-note {
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid #dbe7f6;
  border-radius: 16px;
  background: #f8fbff;
}

.terms-legal-note h2 {
  margin-bottom: 8px;
  font-size: 20px;
}

.terms-legal-note p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.terms-legal-note .actions {
  margin-top: 16px;
}

.service-grid,
.price-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: end;
}

.section-heading.simple {
  margin-bottom: 22px;
}

.service-card,
.price-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(32, 33, 36, 0.06);
  overflow: hidden;
}

.service-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-card:hover {
  border-color: #c7d7f3;
  box-shadow: 0 14px 32px rgba(32, 33, 36, 0.08);
  transform: translateY(-2px);
}

.section-intro {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.tag,
.service-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 900;
}

.tag.blue,
.service-label.blue {
  color: var(--blue-dark);
  background: var(--soft-blue);
}

.tag.green,
.service-label.green {
  color: var(--green);
  background: #e6f4ea;
}

.tag.yellow,
.service-label.yellow {
  color: #9b6f00;
  background: #fff6d8;
}

.tag.red,
.service-label.red {
  color: var(--red);
  background: #fce8e6;
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.service-top .tag {
  margin-bottom: 0;
}

.icon-badge,
.mini-icon,
.contact-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
}

.icon-badge {
  width: 44px;
  height: 44px;
}

.mini-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
}

.contact-icon {
  width: 38px;
  height: 38px;
  margin-top: 2px;
}

.icon-badge svg,
.mini-icon svg,
.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-badge.blue,
.mini-icon.blue,
.contact-icon.blue {
  color: var(--blue-dark);
  background: var(--soft-blue);
}

.icon-badge.green,
.mini-icon.green,
.contact-icon.green {
  color: var(--green);
  background: #e6f4ea;
}

.icon-badge.yellow,
.mini-icon.yellow,
.contact-icon.yellow {
  color: #9b6f00;
  background: #fff6d8;
}

.icon-badge.red,
.mini-icon.red,
.contact-icon.red {
  color: var(--red);
  background: #fce8e6;
}

.service-card p {
  min-height: 56px;
  color: var(--muted);
}

.service-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.why-section {
  padding-top: 24px;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.35), rgba(247, 250, 255, 0));
}

.why-section h2 {
  margin-bottom: 20px;
}

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

.why-card {
  min-height: 142px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(32, 33, 36, 0.06);
}

.why-card h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

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

.why-note {
  margin: 22px 0 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.text-link {
  color: var(--blue);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.info-card {
  padding: 26px;
}

.atio-hero {
  padding: 48px 0 26px;
}

.atio-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
}

.atio-title {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(42px, 5.1vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.atio-hero .lead {
  max-width: 660px;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.65;
}

.atio-title span {
  display: block;
}

.atio-title span + span {
  margin-top: 4px;
}

.atio-trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.atio-trust-points span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid #d7e5fb;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #46556b;
  font-size: 13px;
  font-weight: 760;
}

.atio-trust-points span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(24, 128, 56, 0.1);
}

.atio-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
  box-shadow: var(--shadow);
}

.atio-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--yellow), var(--red));
}

.atio-panel h2 {
  margin-bottom: 10px;
  font-size: 26px;
}

.atio-panel p {
  color: var(--muted);
}

.atio-contact-lines {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e7edf8;
  color: #3c4a60;
  font-size: 15px;
  font-weight: 760;
}

.atio-contact-lines a {
  color: var(--blue-dark);
}

.atio-process {
  padding-top: 44px;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.72), rgba(247, 250, 255, 0));
}

.atio-sample-card {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(300px, 1.06fr);
  gap: clamp(24px, 3.5vw, 44px);
  align-items: stretch;
  max-width: 980px;
  margin: 32px auto 0;
  padding: 14px;
  border: 1px solid #dce5f2;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 38px rgba(47, 76, 120, 0.08);
}

.atio-sample-image {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 100%;
  padding: 10px;
  border-radius: 17px;
  background: #f1f5fa;
}

.atio-sample-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid #d5deea;
  border-radius: 11px;
  transition: transform 180ms ease;
}

.atio-sample-image::after {
  content: attr(data-label);
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(27, 39, 56, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}

.atio-sample-image:hover img {
  transform: scale(1.015);
}

.atio-sample-card figcaption {
  align-self: center;
  padding: clamp(16px, 2vw, 26px) clamp(12px, 2.2vw, 28px) clamp(16px, 2vw, 26px) 0;
}

.atio-sample-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.atio-sample-card figcaption h3 {
  margin: 0 0 9px;
  font-size: clamp(24px, 2.3vw, 31px);
  line-height: 1.25;
}

.atio-sample-card figcaption > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
}

.atio-sample-card figcaption ul {
  display: grid;
  gap: 9px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  color: #3f4d60;
  font-size: 15px;
  font-weight: 700;
}

.atio-sample-card figcaption li {
  position: relative;
  padding-left: 24px;
  line-height: 1.65;
}

.atio-sample-card figcaption li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.atio-sample-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(20, 89, 190, 0.3);
  color: var(--blue-dark);
  font-weight: 850;
}

.atio-sample-action span {
  transition: transform 160ms ease;
}

.atio-sample-action:hover span {
  transform: translateX(3px);
}

.atio-answer-strip {
  padding: 0 0 12px;
}

.atio-answer-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  gap: 34px;
  align-items: center;
  padding: 24px 28px;
  border: 1px solid #cfe1f8;
  border-radius: 18px;
  background: linear-gradient(135deg, #edf5ff 0%, #f7fbff 52%, #eef9f1 100%);
}

.atio-answer-card h2 {
  margin: 9px 0 0;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.25;
}

.atio-answer-card p {
  margin: 0;
  color: #4f5e72;
  font-size: 15px;
  line-height: 1.78;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step-card,
.translation-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(32, 33, 36, 0.06);
}

.step-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 20px;
}

.step-card span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.step-card h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

.step-card p {
  grid-column: 2;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

.translation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.translation-grid.single-service {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.translation-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.translation-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--green));
}

.translation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.translation-head .tag {
  margin-bottom: 0;
}

.translation-head strong {
  color: var(--blue-dark);
  font-size: 24px;
  line-height: 1;
}

.translation-card h3 {
  font-size: 23px;
}

.translation-card p {
  color: var(--muted);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 6px 10px;
  border: 1px solid #d7e5fb;
  border-radius: 999px;
  background: #f8fbff;
  color: #3c4a60;
  font-size: 13px;
  font-weight: 760;
}

.translation-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid #dbe7f6;
  border-radius: 14px;
  background: #f8fbff;
  color: #536174;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.68;
}

.atio-faq-section {
  padding-top: 24px;
}

.atio-questions {
  padding-top: 34px;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0), rgba(247, 250, 255, 0.82));
}

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

.atio-question-grid details {
  padding: 0 20px;
  border: 1px solid #dce6f4;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(32, 33, 36, 0.045);
}

.atio-question-grid summary {
  position: relative;
  padding: 19px 34px 19px 0;
  color: #202124;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.atio-question-grid summary::-webkit-details-marker {
  display: none;
}

.atio-question-grid summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 0;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 18px;
  line-height: 1;
}

.atio-question-grid details[open] summary::after {
  content: "−";
}

.atio-question-grid details p {
  margin: -2px 0 19px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.atio-source-note {
  margin: 16px 0 0;
  color: #667085;
  font-size: 13px;
}

.atio-source-note a {
  color: var(--blue-dark);
  font-weight: 800;
}

.atio-ready-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(380px, 1.25fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid #dbe7f6;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fbff, #fff);
  box-shadow: 0 12px 30px rgba(32, 33, 36, 0.05);
}

.atio-ready-card h2 {
  margin-bottom: 7px;
  font-size: 24px;
}

.atio-ready-card p {
  margin-bottom: 0;
}

.atio-ready-card .actions {
  display: grid;
  min-width: 168px;
  margin-top: 0;
}

.atio-ready-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.atio-ready-list li {
  min-height: 82px;
  padding: 13px;
  border: 1px solid #e2eaf5;
  border-radius: 13px;
  background: #fff;
}

.atio-ready-list strong,
.atio-ready-list span {
  display: block;
}

.atio-ready-list strong {
  margin-bottom: 5px;
  color: var(--blue-dark);
  font-size: 14px;
}

.atio-ready-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  padding-left: 24px;
  position: relative;
  color: var(--muted);
}

.info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.price-card {
  padding: 24px;
}

.price {
  margin: 18px 0 4px;
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
}

.price small {
  font-size: 18px;
  color: var(--muted);
}

.pricing-hero {
  padding-bottom: 34px;
}

.mobile-pricing-intro {
  display: none;
}

.pricing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}

.pricing-hero .lead {
  max-width: 760px;
  margin-bottom: 0;
}

.pricing-hero-actions {
  display: flex;
  gap: 10px;
  padding-bottom: 6px;
}

.pricing-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.pricing-steps > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.pricing-steps span {
  grid-row: 1 / 3;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.pricing-steps strong {
  font-size: 15px;
}

.pricing-steps small {
  color: var(--muted);
  font-size: 12px;
}

.pricing-section {
  padding-top: 22px;
}

.pricing-feature {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f9fbff, #fff);
  box-shadow: var(--shadow);
}

.pricing-section-heading {
  margin-bottom: 20px;
}

.pricing-section-heading.centered {
  max-width: 720px;
  margin: 0 auto 26px;
  text-align: center;
}

.pricing-section-heading h2 {
  margin-bottom: 6px;
}

.pricing-section-heading.centered h2 {
  margin-bottom: 10px;
  font-size: clamp(31px, 3.5vw, 42px);
  font-weight: 880;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.pricing-section-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.pricing-section-heading.centered p {
  max-width: 650px;
  margin-right: auto;
  margin-left: auto;
  font-size: 16px;
  line-height: 1.7;
}

.pricing-section-heading .pill {
  display: inline-flex;
  min-height: 30px;
  margin-bottom: 12px;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid #d7e5fb;
  border-radius: 999px;
  background: #edf4ff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.08em;
}

.pricing-title-mark {
  color: var(--blue);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.pricing-feature-grid {
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.pricing-difference {
  width: min(760px, 100%);
  margin: 20px auto 22px;
  padding: 14px 20px;
  display: grid;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #edf4ff, #f6f9ff);
  color: var(--blue-dark);
  text-align: center;
}

.pricing-difference span { color: var(--muted); font-size: 12px; font-weight: 750; }
.pricing-difference strong { font-size: 17px; }
.pricing-difference-note { width: min(760px, 100%); margin: 14px auto 0; color: #526071; font-size: 13px; text-align: center; }
.pricing-difference-note strong { color: var(--ink); }
.course-details .course-not-included::before { content: "×"; color: #b3261e; }
.course-details .course-not-included { color: #8b3a35; font-weight: 750; }

.course-grid {
  display: grid;
  gap: 14px;
}

.course-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.course-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(32, 33, 36, 0.07);
}

.course-card.featured {
  border: 2px solid var(--blue);
  box-shadow: 0 16px 38px rgba(26, 115, 232, 0.13);
}

.pricing-choice-card {
  padding: 26px;
}

.pricing-choice-card h3 {
  margin-top: 16px;
  font-size: 24px;
}

.pricing-choice-card .course-price {
  margin: 8px 0 14px;
  font-size: 46px;
}

.course-card h3 {
  margin: 14px 0 8px;
}

.course-card p {
  color: var(--muted);
  font-size: 14px;
}

.course-card .btn {
  width: 100%;
  margin-top: auto;
}

.course-tag {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.course-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.course-tag.blue {
  color: var(--blue-dark);
  background: #edf4ff;
}

.course-tag.red {
  color: #b3261e;
  background: #fce8e6;
}

.course-tag.yellow {
  color: #8a6200;
  background: #fff5d6;
}

.course-tag.green {
  color: var(--green);
  background: #e6f4ea;
}

.course-price {
  margin: 4px 0 16px;
  color: var(--blue);
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
}

.course-price small {
  margin-right: 3px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.course-price em {
  color: var(--blue);
  font-size: 18px;
  font-style: normal;
}

.course-details {
  margin: 4px 0 20px;
  padding: 14px;
  list-style: none;
  border-radius: 12px;
  background: #f7f9fc;
  color: #526071;
  font-size: 13px;
  line-height: 1.9;
}

.course-details li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--green);
  font-weight: 900;
}

.pricing-group {
  margin-top: 38px;
}

.compact-card {
  padding: 18px;
}

.compact-card h3 {
  min-height: 50px;
  margin-bottom: 4px;
}

.compact-card p {
  min-height: 46px;
  margin-bottom: 10px;
}

.compact-card .course-price {
  font-size: 34px;
}

.compact-card .course-price.wide {
  font-size: 30px;
}

.pricing-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.pricing-info-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.pricing-info-grid h3 {
  font-size: 17px;
}

.pricing-info-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.pricing-notice {
  margin-top: 14px;
  padding: 15px 18px;
  border: 1px solid #dbe7f6;
  border-radius: 14px;
  background: #f8fbff;
}

.pricing-notice p {
  margin-bottom: 5px;
  color: #536174;
  font-size: 13px;
}

.pricing-notice p:last-child {
  margin-bottom: 0;
}

.terms-entry-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid #c9dcf7;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef5ff, #fff);
  box-shadow: 0 12px 30px rgba(26, 115, 232, 0.08);
}

.terms-entry-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--blue);
  color: #fff;
  font-size: 25px;
  font-weight: 900;
}

.terms-entry-card span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.terms-entry-card h2 {
  margin: 3px 0 6px;
  font-size: 22px;
}

.terms-entry-card p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.terms-entry-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.terms-entry-card li {
  padding: 4px 9px;
  border: 1px solid #d4e2f6;
  border-radius: 999px;
  background: #fff;
  color: #46556b;
  font-size: 12px;
  font-weight: 760;
}

.terms-entry-card .btn {
  min-width: 178px;
}

.booking-entry-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding: 20px 22px;
  border: 1px solid #cce5d6;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef9f2, #fff);
}

.booking-entry-card span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.booking-entry-card h2 {
  margin: 3px 0 5px;
  font-size: 21px;
}

.booking-entry-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.booking-entry-card .btn {
  flex: 0 0 auto;
}

.booking-hero {
  background: linear-gradient(180deg, #f8fbff, #fff);
}

.booking-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 22px;
  align-items: center;
}

.booking-privacy-card {
  padding: 20px;
  border: 1px solid #cce5d6;
  border-radius: 16px;
  background: #eef9f2;
}

.booking-privacy-card strong {
  display: block;
  margin-bottom: 7px;
  color: #137333;
  font-size: 17px;
}

.booking-privacy-card p {
  margin-bottom: 0;
  color: #42624f;
  font-size: 14px;
  line-height: 1.65;
}

.booking-section {
  padding-top: 28px;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.58fr) minmax(0, 1.42fr);
  gap: 20px;
  align-items: start;
}

.booking-checklist,
.booking-form {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.booking-checklist {
  position: sticky;
  top: 90px;
  padding: 22px;
}

.booking-checklist h2 {
  font-size: 23px;
}

.booking-checklist ol {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.booking-checklist li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
}

.booking-checklist li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--soft-blue);
  color: var(--blue);
  font-weight: 900;
}

.booking-checklist strong,
.booking-checklist small {
  display: block;
}

.booking-checklist strong {
  font-size: 15px;
}

.booking-checklist small {
  margin-top: 2px;
  color: var(--muted);
  line-height: 1.45;
}

.booking-tip {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  background: #fff8e1;
  color: #6b5719;
  font-size: 13px;
  line-height: 1.6;
}

.booking-form {
  padding: 24px;
}

.booking-form-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 20px;
}

.booking-form-heading h2 {
  font-size: 25px;
}

.booking-form-heading > span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
}

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

.booking-fields label > span,
.booking-fields label > small {
  display: block;
}

.booking-fields label > span {
  margin-bottom: 7px;
  color: #27364f;
  font-size: 14px;
  font-weight: 800;
}

.booking-fields label > small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.booking-fields input,
.booking-fields select,
.booking-fields textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #cfd9e8;
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.booking-fields textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.55;
}

.booking-fields input:focus,
.booking-fields select:focus,
.booking-fields textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(26, 115, 232, 0.14);
}

.booking-field-wide {
  grid-column: 1 / -1;
}

.booking-consent {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 15px;
  border-radius: 13px;
  background: #f8fbff;
}

.booking-consent label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: #3c4a60;
  font-size: 13px;
  line-height: 1.55;
}

.booking-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.booking-consent a {
  color: var(--blue);
  font-weight: 800;
}

.booking-submit {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

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

.booking-status {
  min-height: 24px;
  margin: 10px 0 0;
  color: #137333;
  font-size: 13px;
  font-weight: 800;
}

.booking-email-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.booking-mobile-route,
.booking-mobile-step {
  display: none;
}

.booking-payment-section {
  padding-top: 0;
}

.payment-panel {
  border: 1px solid #dbe5f4;
  border-radius: 28px;
  padding: clamp(24px, 4vw, 44px);
  background:
    radial-gradient(circle at 92% 8%, rgba(52, 168, 83, 0.11), transparent 28%),
    linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 20px 54px rgba(32, 66, 120, 0.09);
}

.payment-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid #e4ebf5;
}

.payment-panel-heading h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.payment-panel-heading p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.payment-safety-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid #b8dfc4;
  border-radius: 999px;
  background: #eaf7ee;
  color: #137333;
  font-weight: 800;
  white-space: nowrap;
}

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

.payment-steps > li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 20px;
  border: 1px solid #e1e8f2;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
}

.payment-steps > li > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #e8f0fe;
  color: var(--blue);
  font-weight: 900;
}

.payment-steps strong {
  display: block;
  margin: 2px 0 7px;
  font-size: 1.05rem;
}

.payment-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.payment-email-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.payment-email-row code {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #d5dfef;
  border-radius: 12px;
  background: #f5f8fd;
  color: #17345f;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.payment-copy-button {
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #c7d7ee;
  border-radius: 12px;
  background: #ffffff;
  color: var(--blue);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  touch-action: manipulation;
}

.payment-copy-button:hover {
  border-color: var(--blue);
  background: #f2f7ff;
}

.payment-copy-button:focus-visible {
  outline: 3px solid rgba(26, 115, 232, 0.24);
  outline-offset: 2px;
}

.payment-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 17px 18px;
  border-radius: 16px;
  background: #eef6ff;
}

.payment-footer p {
  margin: 0;
  color: #28466f;
  line-height: 1.6;
}

.payment-footer .text-link {
  flex: 0 0 auto;
  font-weight: 800;
}

.bde-hero {
  padding: 52px 0 42px;
}

.bde-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.72fr);
  gap: 28px;
  align-items: center;
}

.bde-summary {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.bde-summary h2 {
  font-size: 24px;
}

.bde-summary-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #edf1f7;
}

.bde-summary-row > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.bde-summary-row strong,
.bde-summary-row small {
  display: block;
}

.bde-summary-row small {
  color: var(--muted);
  font-size: 12px;
}

.bde-curriculum-section {
  padding-top: 36px;
}

.bde-course-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.bde-course-path article {
  position: relative;
  padding: 22px;
}

.bde-course-path article + article {
  border-left: 1px solid var(--line);
}

.bde-course-path article > span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.bde-course-path h3 {
  margin: 16px 0 4px;
}

.bde-course-path strong {
  color: var(--blue);
}

.bde-course-path p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.bde-benefit-band {
  background: #f1f7ff;
  border-block: 1px solid #dce9fb;
}

.bde-benefit-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 50px;
  align-items: start;
}

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

.bde-benefit-list p {
  margin: 0;
  padding: 16px 18px;
  border-left: 3px solid var(--blue);
  background: rgba(255,255,255,.72);
  color: var(--muted);
}

.bde-benefit-list strong {
  color: var(--ink);
}

.bde-audience-flow {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
}

.bde-open-panel {
  padding: 8px 0;
}

.bde-flow-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.bde-flow-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
}

.bde-flow-list span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #cfe0fb;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.bde-flow-list p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.bde-pricing-cta {
  padding-top: 26px;
}

.bde-pricing-inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid #cfe0fb;
  border-radius: var(--radius);
  background: #f7fbff;
}

.bde-pricing-inner h2 {
  font-size: 28px;
}

.bde-pricing-inner p {
  margin-bottom: 0;
  color: var(--muted);
}

.bde-price-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.bde-price-options a {
  display: grid;
  gap: 2px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.bde-price-options a.recommended {
  border-color: var(--blue);
}

.bde-price-options span,
.bde-price-options small {
  color: var(--muted);
  font-size: 12px;
}

.bde-price-options strong {
  color: var(--blue);
  font-size: 24px;
}

.note {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: #f8fbff;
  color: var(--muted);
}

.footer-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  gap: 14px;
  align-items: center;
}

.footer-qr {
  text-align: center;
}

.footer-qr img {
  width: 76px;
  max-width: 100%;
  display: block;
  padding: 4px;
  border: 1px solid #e2e8f3;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(32, 33, 36, 0.07);
}

.footer-qr span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.site-footer {
  padding: 22px 0;
  border-top: 1px solid #e6ecf5;
  background: rgba(248, 251, 255, 0.96);
  color: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 1.05fr) minmax(150px, 0.72fr);
  gap: 22px;
  align-items: center;
}

.footer-grid h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
  letter-spacing: 0;
}

.footer-grid a,
.footer-grid p {
  margin: 0;
  color: #5f6368;
  font-size: 13px;
  font-weight: 430;
  line-height: 1.65;
}

.footer-grid a:hover {
  color: var(--blue-dark);
}


.quiz-shell {
  max-width: 900px;
  margin: 0 auto;
  touch-action: manipulation;
}

.g1-hero {
  padding: 56px 0 34px;
}

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

.g1-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px;
}

.g1-summary div {
  min-height: 112px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 14px;
  background: var(--soft-blue);
}

.g1-summary strong {
  display: block;
  color: var(--blue-dark);
  font-size: 34px;
  line-height: 1;
}

.g1-summary span {
  color: #526173;
  font-size: 14px;
  font-weight: 800;
}

.quiz-section {
  padding-top: 28px;
}

.quiz-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px;
}

.quiz-controls h2 {
  margin-bottom: 4px;
  font-size: 26px;
}

.quiz-controls p {
  margin-bottom: 0;
  color: var(--muted);
}

.quiz-card {
  overflow: hidden;
}

.quiz-top {
  height: 7px;
  background: linear-gradient(90deg, var(--red) 0 24%, var(--yellow) 24% 47%, #34a853 47% 68%, var(--blue-dark) 68% 100%);
}

.quiz-body {
  padding: 24px;
  min-height: 720px;
  display: flex;
  flex-direction: column;
}

.quiz-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--blue-dark);
  font-weight: 900;
}

.quiz-progress {
  height: 6px;
  margin: 12px 0 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef8;
}

.quiz-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #34a853);
  transition: width 180ms ease;
}

.sign-wrap {
  height: 220px;
  margin: 20px 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf7;
}

.road-sign {
  width: min(200px, 56vw);
  height: auto;
}

.road-scene {
  width: min(560px, 94%);
  height: 100%;
  max-height: 210px;
}

.quiz-card h2 {
  max-width: 760px;
  margin: 0 auto;
  min-height: 92px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: clamp(25px, 3vw, 34px);
}

.answer {
  margin: 20px 0 14px;
  padding: 16px 18px;
  min-height: 66px;
  display: flex;
  align-items: center;
  border: 1px solid #b7dfc8;
  border-radius: 14px;
  background: #eaf7ef;
  color: #0d7a3b;
  font-size: 20px;
  font-weight: 900;
}

.explain {
  padding: 16px 18px;
  min-height: 62px;
  border-radius: 14px;
  background: #eef4ff;
  color: #27364f;
}

.reveal-answer {
  display: none;
  width: 100%;
  margin-top: 16px;
}

.quiz-card.practice-hidden .answer,
.quiz-card.practice-hidden .explain {
  display: none;
}

.quiz-card.practice-hidden .reveal-answer {
  display: inline-flex;
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 26px;
}

.quiz-actions .btn {
  width: 160px;
  min-width: 160px;
}

.quiz-actions .btn.primary {
  width: 170px;
}

.quiz-actions .btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.quiz-actions .btn:focus-visible {
  outline: 3px solid rgba(26, 115, 232, 0.24);
  outline-offset: 3px;
}

.mode-tabs {
  display: inline-flex;
  gap: 8px;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.mode-tabs button {
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  background: transparent;
  color: var(--blue-dark);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.mode-tabs button.active {
  background: var(--blue);
  color: #fff;
}

.filter-tabs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tabs button {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-dark);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.filter-tabs button.active {
  border-color: var(--blue);
  background: var(--soft-blue);
}

.quiz-tools {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subfilter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.subfilter-tabs button {
  padding: 8px 11px;
  border: 1px solid #d7e2f2;
  border-radius: 999px;
  background: #fff;
  color: #526071;
  cursor: pointer;
}

.subfilter-tabs button.active {
  border-color: #a8c7fa;
  background: var(--soft-blue);
  color: var(--blue-dark);
  font-weight: 800;
}

.learning-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.learning-stats div {
  padding: 10px;
  border: 1px solid #e0e7f2;
  border-radius: 12px;
  background: #f8fbff;
  text-align: center;
}

.learning-stats strong,
.learning-stats span {
  display: block;
}

.learning-stats strong {
  color: var(--blue-dark);
  font-size: 20px;
}

.learning-stats span {
  color: var(--muted);
  font-size: 11px;
}

.quiz-tools .btn {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 11px;
  font-size: 14px;
}

.option-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.option-list:empty {
  display: none;
}

.option-button {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #27364f;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.quiz-shell button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.option-button:hover {
  border-color: #b9c9e5;
  background: #f8fbff;
}

.option-button.correct {
  border-color: #94d3aa;
  background: #eaf7ef;
  color: #0d7a3b;
}

.option-button.incorrect {
  border-color: #f3b4ad;
  background: #fff1ef;
  color: #a11912;
}

.quiz-result {
  display: none;
  margin: 14px 0 0;
  font-weight: 900;
}

.quiz-result.show {
  display: block;
}

.quiz-card.quiz-empty .quiz-body {
  text-align: center;
}

.quiz-card.quiz-empty .answer,
.quiz-card.quiz-empty .explain,
.quiz-card.quiz-empty .quiz-actions,
.quiz-card.quiz-empty .reveal-answer {
  display: none;
}

.quiz-card.quiz-empty strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 24px;
}

@media (max-width: 900px) {
  .nav {
    width: min(100% - 28px, 720px);
    min-height: 76px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
  }

  .logo {
    justify-content: center;
  }

  .logo::after {
    display: none;
  }

  .logo::before {
    display: none;
  }

  .logo img {
    width: 214px;
    max-width: 84vw;
    margin-left: 0;
    margin-right: 0;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    overflow: visible;
    padding-bottom: 0;
  }

  .nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    white-space: nowrap;
    padding: 8px 6px;
    font-size: 13px;
  }

  .nav-links a[href="/bde-course"],
  .nav-links .phone-link {
    display: none;
  }

  .nav-links a[href="/atiotranslate"] {
    display: none;
  }

  .container {
    width: min(100% - 28px, 720px);
  }

  .local-city-grid,
  .local-topic-grid,
  .local-hero-grid,
  .local-video-card {
    grid-template-columns: 1fr;
  }

  .local-road-card {
    min-height: 220px;
  }

  .hero {
    padding: 34px 0 28px;
  }

  .hero-grid,
  .g1-hero-grid,
  .split,
  .section-heading,
  .atio-hero-grid,
  .booking-hero-grid,
  .booking-layout,
  .terms-policy-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .booking-checklist {
    position: static;
  }

  .booking-fields {
    grid-template-columns: 1fr;
  }

  .booking-field-wide {
    grid-column: auto;
  }

  .terms-policy-grid .info-card {
    padding: 20px;
  }

  .terms-number {
    top: 18px;
    right: 18px;
  }

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

  .footer-grid {
    gap: 14px;
  }

  .footer-grid h3 {
    margin-bottom: 4px;
    font-size: 14px;
  }

  .footer-grid a,
  .footer-grid p {
    font-size: 12px;
    line-height: 1.55;
  }

  h1 {
    font-size: 29px;
    line-height: 1.18;
  }

  .lead {
    font-size: 16px;
    line-height: 1.72;
  }

  .pricing-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 0;
  }

  .pricing-steps {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 22px;
  }

  .pricing-steps > div {
    padding: 13px 14px;
  }

  .pricing-feature {
    padding: 20px;
  }

  .pricing-feature-grid,
  .course-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-info-grid {
    grid-template-columns: 1fr;
  }

  .terms-entry-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .terms-entry-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 21px;
  }

  .terms-entry-card .btn {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 48px;
  }

  .booking-entry-card {
    display: grid;
    gap: 14px;
    padding: 18px;
  }

  .booking-entry-card .btn {
    width: 100%;
    min-height: 48px;
  }

  .booking-form,
  .booking-checklist {
    padding: 18px;
  }

  .booking-submit {
    display: grid;
  }

  .booking-submit .btn {
    width: 100%;
  }

  .payment-panel-heading,
  .payment-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .payment-safety-badge {
    align-self: flex-start;
  }

  .payment-steps {
    grid-template-columns: 1fr;
  }

  .payment-email-row {
    align-items: stretch;
    flex-direction: column;
  }

  .payment-copy-button {
    width: 100%;
  }

  .bde-hero-grid,
  .bde-benefit-grid,
  .bde-audience-flow,
  .bde-pricing-inner {
    grid-template-columns: 1fr;
  }

  .bde-course-path {
    grid-template-columns: repeat(2, 1fr);
  }

  .bde-course-path article:nth-child(3) {
    border-left: 0;
  }

  .bde-course-path article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .bde-pricing-inner {
    padding: 22px;
  }

  .compact-card h3,
  .compact-card p {
    min-height: 0;
  }

  .service-grid,
  .price-grid,
  .pricing-grid,
  .why-grid,
  .step-grid,
  .translation-grid {
    grid-template-columns: 1fr;
  }

  .atio-hero {
    padding: 28px 0 20px;
  }

  .atio-title {
    font-size: clamp(34px, 9.4vw, 42px);
    letter-spacing: -0.035em;
  }

  .atio-hero .lead {
    font-size: 17px;
  }

  .atio-answer-card,
  .atio-question-grid,
  .atio-sample-card {
    grid-template-columns: 1fr;
  }

  .atio-sample-card {
    gap: 6px;
    margin-top: 22px;
    padding: 10px;
    border-radius: 18px;
  }

  .atio-sample-image {
    min-height: 0;
    padding: 7px;
    border-radius: 13px;
  }

  .atio-sample-image img {
    height: auto;
    border-radius: 9px;
  }

  .atio-sample-image::after {
    right: 14px;
    bottom: 14px;
  }

  .atio-sample-card figcaption {
    padding: 18px 12px 14px;
  }

  .atio-answer-card {
    gap: 14px;
    padding: 20px;
  }

  .atio-panel,
  .translation-card,
  .info-card {
    padding: 18px;
  }

  .atio-ready-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

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

  .atio-ready-list li {
    min-height: 0;
  }

  .atio-ready-card .actions {
    grid-template-columns: repeat(2, 1fr);
    min-width: 0;
  }

  .atio-panel h2 {
    font-size: 22px;
  }

  .atio-title span + span {
    margin-top: 2px;
  }

  .atio-trust-points {
    gap: 7px;
    margin-top: 16px;
  }

  .atio-trust-points span {
    min-height: 30px;
    padding: 5px 9px;
    font-size: 12px;
  }

  .atio-contact-lines {
    font-size: 14px;
  }

  .step-card {
    grid-template-columns: 38px 1fr;
    padding: 16px;
  }

  .step-card span {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 13px;
  }

  .step-card p {
    grid-column: 1 / -1;
    font-size: 14px;
  }

  .translation-head strong {
    font-size: 22px;
  }

  .translation-card h3 {
    font-size: 20px;
  }

  .footer-contact {
    grid-template-columns: minmax(0, 1fr) 74px;
    gap: 10px;
    align-items: center;
  }

  .footer-qr img {
    width: 64px;
  }

  .service-card p {
    min-height: 0;
  }

  .why-section {
    padding-top: 14px;
  }

  .why-card {
    min-height: 0;
    padding: 17px;
  }

  .why-note {
    padding: 15px 16px;
    font-size: 14px;
  }

  .hero-proof {
    gap: 7px;
  }

  .hero-proof span {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .section {
    padding: 34px 0;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .btn {
    min-height: 46px;
    padding: 11px 16px;
  }

  .path-panel {
    padding: 14px;
  }

  .path-row {
    grid-template-columns: 40px 1fr;
    padding: 13px;
  }

  .path-row h3 {
    font-size: 18px;
  }

  .service-card {
    padding: 18px;
  }

  .service-label {
    margin-bottom: 14px;
  }

  .section-intro {
    font-size: 15px;
    font-weight: 700;
  }

  .g1-hero {
    padding: 34px 0 20px;
  }

  .g1-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 10px;
  }

  .g1-summary div {
    min-height: 82px;
  }

  .g1-summary strong {
    font-size: 26px;
  }

  .g1-summary span {
    font-size: 12px;
  }

  .quiz-section {
    padding-top: 18px;
  }

  .quiz-controls {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .quiz-controls h2 {
    font-size: 22px;
  }

  .mode-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .mode-tabs button {
    min-height: 44px;
    padding: 9px 10px;
  }

  .quiz-tools {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .quiz-tools .btn {
    min-height: 44px;
    padding: 8px 8px;
    font-size: 13px;
    box-shadow: none;
  }

  .quiz-body {
    padding: 14px;
    min-height: 560px;
  }

  .quiz-meta {
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
  }

  .sign-wrap {
    height: 154px;
    margin: 14px 0;
    border-radius: 14px;
  }

  .road-sign {
    width: min(150px, 50vw);
  }

  .road-scene {
    width: 100%;
    max-height: 142px;
  }

  .quiz-card h2 {
    min-height: auto;
    display: block;
    font-size: 23px;
    line-height: 1.25;
    text-align: left;
  }

  .answer,
  .explain {
    min-height: auto;
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 16px;
  }

  .option-list {
    margin-top: 14px;
  }

  .option-button {
    min-height: 44px;
    padding: 11px 12px;
    font-size: 15px;
  }

  .quiz-actions {
    position: static;
    padding-top: 18px;
    background: transparent;
  }

  .quiz-actions .btn {
    flex: 1;
    width: auto;
    min-width: 0;
  }
}

@media (max-width: 600px) {
  body:has(.mobile-pricing-intro) {
    background: #fff;
  }

  .mobile-pricing-intro {
    display: block;
    padding: 44px 20px 38px;
    color: #202124;
    background: linear-gradient(180deg, #f7faff 0%, #fff 62%);
  }

  .mobile-pricing-copy {
    max-width: 520px;
    margin: 0 auto 30px;
  }

  .mobile-pricing-copy > p {
    margin: 0 0 10px;
    color: #1a73e8;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: .02em;
  }

  .mobile-pricing-copy h1 {
    max-width: 13ch;
    margin: 0 0 14px;
    font-size: clamp(38px, 11.5vw, 54px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.055em;
  }

  .mobile-pricing-copy > span {
    display: block;
    max-width: 31em;
    color: #5f6368;
    font-size: 16px;
    line-height: 1.65;
  }

  .mobile-pricing-options {
    max-width: 520px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
  }

  .mobile-pricing-options article {
    padding: 22px 20px 20px;
    border: 1px solid #dfe5ee;
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 28px rgba(32, 33, 36, .07);
  }

  .mobile-pricing-options article.recommended {
    border-color: #1a73e8;
    box-shadow: 0 14px 34px rgba(26, 115, 232, .14);
  }

  .mobile-price-topline {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
  }

  .mobile-price-topline span {
    color: #5f6368;
    font-size: 13px;
    font-weight: 650;
  }

  .recommended .mobile-price-topline span {
    color: #137333;
  }

  .mobile-price-topline strong {
    color: #1a73e8;
    font-size: 27px;
    font-weight: 720;
    letter-spacing: -.035em;
  }

  .mobile-pricing-options h2 {
    margin: 0 0 5px;
    font-size: 22px;
    font-weight: 650;
    letter-spacing: -.025em;
  }

  .mobile-pricing-options p {
    min-height: 1.6em;
    margin: 0 0 18px;
    color: #5f6368;
    font-size: 14px;
    line-height: 1.6;
  }

  .mobile-pricing-options a {
    min-height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid #cbd7e8;
    border-radius: 12px;
    color: #185abc;
    background: #fff;
    font-size: 15px;
    font-weight: 650;
    text-decoration: none;
  }

  .mobile-pricing-options .recommended a {
    border-color: #1a73e8;
    color: #fff;
    background: #1a73e8;
  }

  .mobile-pricing-more {
    width: fit-content;
    margin: 26px auto 0;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #5f6368;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-pricing-more span {
    color: #1a73e8;
    font-size: 18px;
  }

  .pricing-hero,
  .pricing-video-section,
  .pricing-feature {
    display: none;
  }

  body:has(.mobile-pricing-intro) .pricing-section {
    padding-top: 24px;
    background: #f7f9fc;
  }

  body:has(.mobile-pricing-intro) .pricing-group:first-of-type {
    margin-top: 0;
    scroll-margin-top: 90px;
  }

  .local-checklist {
    grid-template-columns: 1fr;
  }

  .local-city-card,
  .local-topic-card {
    padding: 20px;
  }

  .local-video-section,
  .pricing-video-section {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .local-video-card {
    width: min(100% - 28px, 720px);
    padding: 16px;
    border-radius: 20px;
  }

  .local-video-copy h2 {
    font-size: 26px;
  }

  .local-video-copy p {
    font-size: 15px;
    line-height: 1.72;
  }

  .local-video-frame {
    border-radius: 15px;
  }

  .quiz-shell {
    width: 100%;
  }

  .g1-hero {
    padding: 26px 0 14px;
  }

  .g1-hero .eyebrow {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .g1-hero h1 {
    margin-bottom: 10px;
    font-size: 27px;
  }

  .g1-hero .lead {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 14px;
    line-height: 1.65;
  }

  .g1-hero .actions {
    margin-top: 14px;
  }

  .g1-summary {
    margin-top: 4px;
  }

  .quiz-controls {
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
  }

  .subfilter-tabs {
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

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

  .subfilter-tabs button {
    flex: 0 0 auto;
    min-height: 44px;
    scroll-snap-align: start;
  }

  .filter-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .filter-tabs button {
    min-height: 44px;
  }

  .quiz-card {
    overflow: visible;
    border-radius: 16px;
  }

  .quiz-top {
    border-radius: 16px 16px 0 0;
  }

  .quiz-body {
    min-height: 0;
    padding: 12px;
  }

  .quiz-meta {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-height: 24px;
    font-size: 13px;
  }

  .quiz-meta > span:last-child {
    text-align: right;
  }

  .quiz-progress {
    margin: 9px 0 11px;
  }

  .sign-wrap {
    height: clamp(128px, 37vw, 146px);
    margin: 10px 0 12px;
    overflow: hidden;
    border-radius: 12px;
  }

  .road-scene {
    width: 100%;
    height: clamp(124px, 35vw, 140px);
    max-height: 140px;
  }

  .road-sign {
    width: min(136px, 40vw);
    max-height: min(136px, 34vw);
  }

  .quiz-card h2 {
    min-height: 68px;
    display: grid;
    place-items: center start;
    margin: 0;
    font-size: clamp(19px, 5.6vw, 22px);
    line-height: 1.32;
    text-wrap: balance;
  }

  .answer {
    margin: 12px 0 9px;
  }

  .answer,
  .explain {
    padding: 12px;
    font-size: 15px;
    line-height: 1.55;
  }

  .reveal-answer {
    min-height: 48px;
    margin-top: 12px;
  }

  .option-button {
    min-height: 52px;
    padding: 13px 14px;
    text-align: left;
  }

  .quiz-actions {
    position: sticky;
    bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 8;
    gap: 8px;
    margin: 12px -4px -4px;
    padding: 9px 4px 4px;
    border-top: 1px solid rgba(218, 227, 242, 0.85);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 -10px 24px rgba(32, 33, 36, 0.06);
    backdrop-filter: blur(10px);
  }

  .quiz-actions .btn {
    min-height: 50px;
    padding: 12px 10px;
    box-shadow: none;
  }

  .quiz-actions .btn,
  .option-button,
  .reveal-answer {
    font-size: 16px;
  }

  .pricing-hero-actions,
  .pricing-feature-grid,
  .course-grid.four {
    grid-template-columns: 1fr;
  }

  .pricing-section {
    padding-top: 12px;
  }

  .pricing-feature {
    padding: 18px 14px;
  }

  .pricing-section-heading.centered {
    text-align: left;
  }

  .course-card,
  .compact-card {
    padding: 18px;
  }

  .course-price,
  .compact-card .course-price,
  .compact-card .course-price.wide {
    font-size: 34px;
  }

  .pricing-group {
    margin-top: 32px;
  }

  .bde-hero {
    padding: 32px 0 26px;
  }

  .bde-summary {
    padding: 18px;
  }

  .bde-course-path,
  .bde-flow-list,
  .bde-price-options {
    grid-template-columns: 1fr;
  }

  .bde-course-path article + article,
  .bde-course-path article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .bde-course-path article {
    padding: 18px;
  }

  .bde-benefit-grid {
    gap: 20px;
  }

  .bde-audience-flow {
    gap: 22px;
  }

  .bde-pricing-inner {
    padding: 18px;
  }

  .bde-pricing-inner h2 {
    font-size: 24px;
  }
}

/* Mobile booking: one clear action at a time. */
@media (max-width: 600px) {
  body.booking-page .booking-hero {
    padding: 34px 0 22px;
    background:
      radial-gradient(circle at 92% 10%, rgba(66, 133, 244, .14), transparent 35%),
      linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  }

  body.booking-page .booking-hero::after {
    display: none;
  }

  body.booking-page .booking-hero-grid {
    gap: 18px;
  }

  body.booking-page .booking-hero .eyebrow {
    margin-bottom: 10px;
    font-size: 12px;
  }

  body.booking-page .booking-hero h1 {
    margin: 0 0 10px;
    font-size: 42px;
    font-weight: 650;
    letter-spacing: -.045em;
  }

  body.booking-page .booking-hero .lead {
    max-width: 330px;
    color: #59616d;
    font-size: 16px;
    line-height: 1.6;
  }

  body.booking-page .booking-mobile-route {
    display: grid;
    grid-template-columns: 1fr 18px 1fr 18px 1fr;
    align-items: center;
    gap: 4px;
    margin-top: 22px;
  }

  body.booking-page .booking-mobile-route span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    border: 1px solid rgba(66, 133, 244, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .88);
    color: #364153;
    font-size: 12px;
    font-weight: 650;
  }

  body.booking-page .booking-mobile-route b {
    color: var(--blue);
    font-size: 13px;
  }

  body.booking-page .booking-mobile-route i {
    height: 1px;
    background: #b8c8df;
  }

  body.booking-page .booking-privacy-card {
    padding: 15px 16px;
    border: 1px solid #d9e5f5;
    border-radius: 14px;
    background: rgba(255, 255, 255, .88);
    box-shadow: none;
  }

  body.booking-page .booking-privacy-card strong {
    font-size: 14px;
    font-weight: 650;
  }

  body.booking-page .booking-privacy-card p {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.55;
  }

  body.booking-page .booking-section {
    padding: 22px 0 38px;
  }

  body.booking-page .booking-layout {
    display: block;
  }

  body.booking-page .booking-checklist {
    display: none;
  }

  body.booking-page .booking-form {
    padding: 20px 16px;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(32, 66, 120, .08);
  }

  body.booking-page .booking-form-heading {
    align-items: center;
    margin-bottom: 18px;
  }

  body.booking-page .booking-form-heading h2 {
    margin-top: 3px;
    font-size: 24px;
    font-weight: 650;
    letter-spacing: -.025em;
  }

  body.booking-page .booking-form-heading > span {
    background: #f1f5fb;
    color: #667085;
    font-weight: 600;
  }

  body.booking-page .booking-fields {
    gap: 13px;
  }

  body.booking-page .booking-mobile-step {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 10px 0 1px;
    padding-top: 16px;
    border-top: 1px solid #edf1f6;
    color: #202124;
    font-size: 16px;
    font-weight: 650;
  }

  body.booking-page .booking-mobile-step:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  body.booking-page .booking-mobile-step b {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 9px;
    background: #e8f0fe;
    color: var(--blue);
    font-size: 13px;
  }

  body.booking-page .booking-fields label > span {
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 650;
  }

  body.booking-page .booking-fields input,
  body.booking-page .booking-fields select,
  body.booking-page .booking-fields textarea {
    min-height: 52px;
    border-color: #d8e0ea;
    border-radius: 10px;
    background: #fbfcfe;
  }

  body.booking-page .booking-fields label > small {
    font-size: 11px;
    line-height: 1.5;
  }

  body.booking-page .booking-consent {
    margin-top: 16px;
    padding: 13px;
    background: #f6f9fd;
  }

  body.booking-page .booking-submit {
    display: grid;
    gap: 9px;
  }

  body.booking-page .booking-submit .btn {
    width: 100%;
    min-height: 52px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 650;
  }

  body.booking-page .booking-email-note {
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff8e1;
    color: #5f531f;
    font-size: 12px;
  }

  body.booking-page .booking-payment-section {
    padding-bottom: 42px;
  }

  body.booking-page .payment-panel {
    padding: 20px 16px;
    border-radius: 18px;
  }

  body.booking-page .payment-panel-heading h2 {
    font-size: 25px;
    font-weight: 650;
    letter-spacing: -.025em;
  }
}


/* Final mobile refinement: intentionally last so shared tablet rules cannot override it. */
@media (max-width: 600px) {
  .top-strip { height: 3px; }
  .site-header { border-bottom-color: #e8edf4; box-shadow: 0 1px 0 rgba(32,33,36,.025); }
  .nav { width: calc(100% - 24px); min-height: 60px; flex-direction: row; align-items: center; gap: 10px; padding: 7px 0; }
  .logo {
    min-width: 0;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 9px;
    row-gap: 2px;
    justify-content: flex-start;
    align-items: center;
  }
  .logo img {
    width: 52px;
    max-width: none;
    margin: 0;
  }
  .logo::before {
    display: block;
    align-self: end;
    font-size: 15px;
    line-height: 1.05;
    letter-spacing: -.035em;
  }
  .logo::after {
    display: block;
    align-self: start;
    max-width: 150px;
    overflow: hidden;
    color: #68707c;
    font-size: 8.5px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: .055em;
    text-overflow: ellipsis;
  }
  .nav-links { display: none; }
  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 76px;
    min-height: 40px;
    margin-left: auto;
    padding: 8px 13px;
    border: 0;
    border-radius: 6px;
    color: #202124;
    background: #eef1f5;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
  }
  .mobile-menu-button i,
  .mobile-menu-button i::before,
  .mobile-menu-button i::after {
    display: block;
    width: 14px;
    height: 1.5px;
    border-radius: 4px;
    background: currentColor;
  }
  .mobile-menu-button i { position: relative; }
  .mobile-menu-button i::before,
  .mobile-menu-button i::after { content: ""; position: absolute; left: 0; }
  .mobile-menu-button i::before { top: -4px; }
  .mobile-menu-button i::after { top: 4px; }
  .mobile-menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;
    opacity: 0;
    background: rgba(20, 24, 31, .34);
    backdrop-filter: blur(2px);
    transition: opacity .28s ease;
  }
  .mobile-menu-backdrop[hidden] { display: none; }
  .mobile-menu-panel {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    flex-direction: column;
    width: min(90vw, 400px);
    padding: max(20px, env(safe-area-inset-top)) 22px max(20px, env(safe-area-inset-bottom));
    overflow-y: auto;
    transform: translateX(102%);
    background: linear-gradient(180deg, rgba(255,255,255,.99) 0%, #fff 72%, #f7faff 100%);
    box-shadow: -20px 0 60px rgba(32,33,36,.16);
    transition: transform .3s cubic-bezier(.2,.8,.2,1);
  }
  .mobile-menu-open { overflow: hidden; }
  .mobile-menu-open .mobile-menu-backdrop { opacity: 1; }
  .mobile-menu-open .mobile-menu-panel { transform: translateX(0); }
  .mobile-menu-head { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding-bottom: 14px; border-bottom: 1px solid #e7ebf1; }
  .mobile-menu-head strong { display: grid; gap: 3px; font-size: 18px; font-weight: 650; letter-spacing: -.025em; }
  .mobile-menu-head strong::after { content: "中文教学 · Waterloo Region"; color: #7a818c; font-size: 10px; font-weight: 600; letter-spacing: .08em; }
  .mobile-menu-close { position: relative; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #f3f5f8; cursor: pointer; }
  .mobile-menu-close span::before,
  .mobile-menu-close span::after { content: ""; position: absolute; top: 20px; left: 13px; width: 16px; height: 1.7px; border-radius: 4px; background: #202124; }
  .mobile-menu-close span::before { transform: rotate(45deg); }
  .mobile-menu-close span::after { transform: rotate(-45deg); }
  .mobile-menu-links { display: grid; padding: 10px 0 12px; }
  .mobile-menu-links a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding-block: 6px; border-bottom: 1px solid #edf0f4; color: #202124; font-size: 16px; font-weight: 580; line-height: 1.4; letter-spacing: -.012em; }
  .mobile-menu-links a::after { content: ""; width: 7px; height: 7px; margin-right: 4px; border-top: 1.5px solid #7a818c; border-right: 1.5px solid #7a818c; transform: rotate(45deg); }
  .mobile-menu-booking { display: flex; align-items: center; justify-content: center; min-height: 54px; margin-top: 12px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #1a73e8, #1769d2); box-shadow: 0 12px 26px rgba(26,115,232,.2); font-size: 16px; font-weight: 650; }
  .mobile-menu-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 0; padding: 16px; border: 1px solid #d8e4f5; border-radius: 16px; background: linear-gradient(145deg, #f8fbff 0%, #eef5ff 100%); box-shadow: 0 14px 30px rgba(38,74,125,.08); }
  .mobile-menu-contact strong { grid-column: 1 / -1; color: #202124; font-size: 17px; font-weight: 650; letter-spacing: -.02em; }
  .mobile-menu-contact small { grid-column: 1 / -1; margin: -4px 0 5px; color: #6e7682; font-size: 12px; }
  .mobile-menu-contact a,
  .mobile-menu-contact span { display: flex; align-items: center; min-height: 42px; padding: 0 10px; border: 1px solid rgba(66,133,244,.15); border-radius: 11px; background: rgba(255,255,255,.92); color: #344258; font-size: 12px; font-weight: 650; white-space: nowrap; }
  .mobile-menu-contact a { color: var(--blue-dark); }
  .mobile-menu-contact i { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; margin-right: 7px; border-radius: 8px; background: #e8f1ff; color: #1769d2; font-size: 8px; font-style: normal; font-weight: 750; letter-spacing: .04em; }
  .mobile-menu-contact span i { background: #e8f6ed; color: #188038; }
  .mobile-menu-contact em { grid-column: 1 / -1; margin-top: 4px; padding-top: 10px; border-top: 1px solid #dfe8f4; color: #7d8692; font-size: 9px; font-style: normal; font-weight: 600; letter-spacing: .02em; text-align: center; }
  .hero {
    position: relative;
    overflow: hidden;
    padding: 36px 0 30px;
    background:
      radial-gradient(circle at 88% 8%, rgba(66,133,244,.14), transparent 34%),
      radial-gradient(circle at 8% 78%, rgba(52,168,83,.10), transparent 30%),
      linear-gradient(180deg, #f7faff 0%, #f2f7ff 68%, #f7fbf8 100%);
  }
  .hero::after {
    content: "";
    position: absolute;
    right: -64px;
    top: 170px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(66,133,244,.13);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(66,133,244,.035), 0 0 0 58px rgba(52,168,83,.025);
    pointer-events: none;
  }
  .hero-grid { position: relative; z-index: 1; gap: 28px; }
  .hero-copy { padding: 0; }
  .hero .eyebrow { margin-bottom: 16px; font-size: 13px; }
  .hero h1 { margin-bottom: 20px; font-size: clamp(36px, 10vw, 42px); font-weight: 700; line-height: 1.08; letter-spacing: -.045em; }
  .hero h1 span:first-child { color: var(--blue-dark); }
  .mobile-route-visual {
    display: grid;
    grid-template-columns: minmax(0,1fr) 14px minmax(0,1fr) 14px minmax(0,1fr);
    align-items: center;
    gap: 4px;
    margin: 0 0 20px;
  }
  .route-stop {
    display: grid;
    min-height: 76px;
    align-content: center;
    gap: 3px;
    padding: 10px 7px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 15px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 10px 24px rgba(40,65,105,.08);
    backdrop-filter: blur(8px);
  }
  .route-stop b { font-size: 11px; letter-spacing: .08em; }
  .route-stop span { color: #202124; font-size: 13px; font-weight: 650; line-height: 1.25; }
  .route-stop-blue b { color: #1a73e8; }
  .route-stop-green b { color: #188038; }
  .route-stop-yellow b { color: #b06000; }
  .mobile-route-visual i { height: 2px; border-radius: 9px; background: linear-gradient(90deg,#4285f4,#34a853,#fbbc04); }
  .hero .lead { margin-bottom: 0; color: #59616d; font-size: 16px; line-height: 1.68; letter-spacing: -.012em; }
  .hero .lead strong { display: block; margin-bottom: 2px; color: #202124; font-size: 18px; font-weight: 650; }
  .hero .actions { margin-top: 22px; }
  .hero .actions .btn { min-height: 52px; border-radius: 12px; font-weight: 650; }
  .hero .g1-priority-link { margin-top: 16px; border-color: rgba(52,168,83,.32); background: rgba(255,255,255,.88); box-shadow: 0 12px 28px rgba(40,65,105,.07); }
  .hero-proof { margin-top: 16px; }
  .atio-hero { padding: 32px 0 20px; }
  .atio-hero-grid { gap: 22px; }
  .atio-hero .eyebrow { margin-bottom: 10px; font-size: 12px; letter-spacing: 0; }
  .atio-title { max-width: 330px; margin: 0 0 12px; font-size: clamp(34px,10.5vw,44px); font-weight: 700; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
  .atio-hero .lead { max-width: 340px; margin: 0; font-size: 15px; line-height: 1.65; }
  .atio-trust-points { flex-wrap: nowrap; gap: 5px; margin-top: 16px; }
  .atio-trust-points span { flex: 1; justify-content: center; min-width: 0; padding: 6px 5px; font-size: 11px; white-space: nowrap; }
  .atio-trust-points span::before { width: 5px; height: 5px; margin-right: 5px; box-shadow: none; }
  .atio-hero .actions { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 20px; }
  .atio-hero .actions .btn { width: 100%; min-height: 50px; border-radius: 8px; box-shadow: none; }
  .atio-panel { padding: 20px; border-radius: 16px; box-shadow: 0 12px 30px rgba(32,33,36,.06); }
  .atio-panel h2 { margin-bottom: 7px; font-size: 21px; font-weight: 650; }
  .atio-panel p, .atio-contact-lines { font-size: 13px; }
  .atio-answer-strip { padding-top: 4px; }
  .atio-answer-card { padding: 18px; border-radius: 14px; }
  .atio-answer-card h2 { font-size: 21px; font-weight: 650; }
  .section { padding-top: 42px; padding-bottom: 42px; }
  .atio-process { padding-top: 34px; }
  .atio-sample-card,
  .translation-card,
  .atio-question-grid details,
  .atio-ready-card { border-radius: 16px; }
}

@media (max-width: 350px) {
  .logo { grid-template-columns: 46px minmax(0, 1fr); column-gap: 7px; }
  .logo img { width: 46px; }
  .logo::before { font-size: 13px; }
  .logo::after { max-width: 118px; font-size: 7.5px; }
  .mobile-menu-button { min-width: 68px; padding-inline: 10px; }
}

/* Mobile homepage: one clear, cinematic first screen. */
.mobile-home-hero-media,
.mobile-hero-title,
.mobile-hero-support,
.mobile-hero-actions {
  display: none;
}

@media (max-width: 600px) {
  body.homepage .hero {
    padding: 0 0 28px;
    overflow: hidden;
    background: #f5f8fc;
  }

  body.homepage .hero::after {
    display: none;
  }

  body.homepage .mobile-home-hero-media {
    display: block;
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: calc(100svh - 63px);
    overflow: hidden;
    background: #2d3138;
  }

  body.homepage .mobile-home-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 51% center;
  }

  body.homepage .hero-grid {
    display: block;
    width: 100%;
    max-width: none;
    padding: 0;
  }

  body.homepage .hero-copy {
    display: flex;
    position: relative;
    z-index: 1;
    min-height: calc(100svh - 63px);
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 18px max(24px, env(safe-area-inset-bottom));
  }

  body.homepage .hero-copy::before {
    content: "";
    position: absolute;
    inset: 38% 0 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent, rgba(15, 24, 35, .22) 35%, rgba(11, 18, 27, .78));
    pointer-events: none;
  }

  body.homepage .hero .eyebrow,
  body.homepage .desktop-hero-title,
  body.homepage .mobile-route-visual,
  body.homepage .hero .lead,
  body.homepage .hero .actions,
  body.homepage .g1-priority-link,
  body.homepage .hero-proof {
    display: none;
  }

  body.homepage .mobile-hero-title {
    display: block;
  }

  body.homepage .hero h1 {
    max-width: 350px;
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(35px, 10.4vw, 44px);
    font-weight: 610;
    line-height: 1.05;
    letter-spacing: -.045em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .24);
  }

  body.homepage .hero h1 span:first-child {
    color: inherit;
  }

  body.homepage .mobile-hero-support {
    display: block;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
    font-weight: 520;
    letter-spacing: .01em;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .3);
  }

  body.homepage .mobile-hero-actions {
    display: grid;
    gap: 10px;
  }

  body.homepage .mobile-hero-actions .btn {
    width: 100%;
    min-height: 50px;
    border-color: rgba(255, 255, 255, .8);
    border-radius: 7px;
    background: rgba(255, 255, 255, .94);
    color: #174ea6;
    font-size: 16px;
    font-weight: 610;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .13);
    backdrop-filter: blur(8px);
  }

  body.homepage .mobile-hero-actions .btn.primary {
    border-color: #246fdf;
    background: #246fdf;
    color: #fff;
  }

body.homepage .path-panel {
    position: relative;
    z-index: 2;
    margin: 24px 12px 0;
  }
}

.review-section {
  background: #fff;
}

.review-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.review-heading h2 {
  margin: 10px 0 8px;
}

.review-heading p {
  max-width: 650px;
  margin: 0;
  color: #606773;
  line-height: 1.7;
}

.review-score {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #202124;
}

.review-score b {
  font-size: 23px;
}

.review-score span,
.review-card-top span:last-child {
  color: #f9ab00;
  letter-spacing: .08em;
}

.review-all-link {
  flex: 0 0 auto;
  padding-bottom: 4px;
  color: #1769d2;
  font-weight: 650;
}

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

.review-card {
  min-height: 248px;
  padding: 26px;
  border: 1px solid #dfe6f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 15px 38px rgba(39, 65, 105, .06);
}

.review-card.featured {
  border-color: #b9d7c2;
  background: linear-gradient(145deg, #f3fbf5, #fff 72%);
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #1769d2;
  font-size: 13px;
  font-weight: 700;
}

.review-card blockquote {
  margin: 28px 0 24px;
  color: #202124;
  font-size: 19px;
  font-weight: 570;
  line-height: 1.72;
  letter-spacing: -.015em;
}

.review-card footer {
  color: #3c4043;
  font-size: 14px;
  font-weight: 650;
}

.review-card footer span {
  color: #77808d;
  font-weight: 450;
}

.review-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 22px;
  padding: 22px 26px;
  border-radius: 16px;
  background: #f3f7fd;
}

.review-cta p {
  margin: 0;
}

.review-cta p span {
  display: block;
  margin-top: 5px;
  color: #626a75;
}

.review-cta .btn {
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .review-section {
    padding-block: 54px;
    overflow: hidden;
  }

  .review-heading {
    display: block;
    margin-bottom: 22px;
  }

  .review-heading h2 {
    font-size: 31px;
  }

  .review-heading p {
    font-size: 14px;
  }

  .review-all-link {
    display: inline-flex;
    margin-top: 14px;
    font-size: 14px;
  }

  .review-grid {
    display: flex;
    gap: 12px;
    margin-right: -22px;
    padding-right: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .review-grid::-webkit-scrollbar {
    display: none;
  }

  .review-card {
    flex: 0 0 min(84vw, 342px);
    min-height: 232px;
    padding: 22px;
    scroll-snap-align: start;
    box-shadow: 0 12px 28px rgba(39, 65, 105, .06);
  }

  .review-card blockquote {
    margin: 24px 0 20px;
    font-size: 17px;
  }

  .review-cta {
    display: block;
    padding: 20px;
  }

  .review-cta p span {
    font-size: 13px;
    line-height: 1.6;
  }

  .review-cta .btn {
    width: 100%;
    margin-top: 16px;
  }
}

/* Refined secondary pages: one calm, consistent visual system. */
.refined-page main {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 2%, rgba(66, 133, 244, .07), transparent 28rem),
    linear-gradient(180deg, #fff 0, #f7faff 36rem, #fff 70rem);
}

.refined-page .hero,
.refined-page .process-hero {
  position: relative;
  padding-top: 72px;
  padding-bottom: 66px;
  background: transparent;
}

.refined-page .hero::after,
.refined-page .process-hero::after {
  content: "";
  position: absolute;
  right: max(24px, calc((100vw - 1120px) / 2));
  bottom: 0;
  left: max(24px, calc((100vw - 1120px) / 2));
  height: 1px;
  background: linear-gradient(90deg, transparent, #d8e3f5 14%, #d8e3f5 86%, transparent);
}

.refined-page h1 {
  font-weight: 660;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.refined-page h2 {
  font-weight: 650;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.refined-page h3 {
  font-weight: 650;
  letter-spacing: -.018em;
}

.refined-page .lead,
.refined-page .section-intro {
  color: #5f6671;
  font-weight: 430;
  letter-spacing: -.01em;
}

.refined-page .section {
  padding-top: 68px;
  padding-bottom: 68px;
}

.refined-page .section-heading {
  gap: 38px;
  margin-bottom: 30px;
}

.refined-page .eyebrow {
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
}

.refined-page .btn {
  min-height: 52px;
  padding-inline: 24px;
  border-radius: 10px;
  font-weight: 650;
  box-shadow: 0 8px 22px rgba(32, 76, 145, .08);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.refined-page .btn.primary {
  background: #246fdf;
  box-shadow: 0 12px 28px rgba(36, 111, 223, .2);
}

.refined-page .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(32, 76, 145, .14);
}

.refined-page :is(.service-card, .price-card, .info-card, .course-card, .step-card,
  .translation-card, .atio-panel, .atio-answer-card, .atio-sample-card,
  .booking-privacy-card, .terms-entry-card, .booking-entry-card) {
  border-color: #dbe4f2;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(39, 65, 105, .07);
}

.refined-page :is(.service-card, .course-card, .step-card, .translation-card) {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.refined-page :is(.service-card, .course-card, .step-card, .translation-card):hover {
  transform: translateY(-3px);
  border-color: #c5d7f3;
  box-shadow: 0 20px 46px rgba(39, 65, 105, .1);
}

.refined-page .tag,
.refined-page .service-label {
  border-radius: 999px;
  font-weight: 700;
}

@media (max-width: 720px) {
  .refined-page main {
    background:
      radial-gradient(circle at 18% 0, rgba(66, 133, 244, .08), transparent 23rem),
      linear-gradient(180deg, #fff 0, #f6f9fd 34rem, #fff 68rem);
  }

  .refined-page .hero,
  .refined-page .process-hero {
    padding-top: 38px;
    padding-bottom: 40px;
  }

  .refined-page .hero::after,
  .refined-page .process-hero::after {
    right: 18px;
    left: 18px;
  }

  .refined-page h1 {
    margin-bottom: 14px;
    font-size: clamp(34px, 10vw, 43px);
    font-weight: 620;
    line-height: 1.06;
    letter-spacing: -.045em;
  }

  .refined-page h2 {
    font-size: clamp(27px, 7.7vw, 34px);
    font-weight: 620;
    line-height: 1.12;
  }

  .refined-page h3 {
    font-weight: 620;
  }

  .refined-page .lead,
  .refined-page .section-intro {
    font-size: 15px;
    line-height: 1.68;
  }

  .refined-page .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .refined-page .section-heading,
  .refined-page .section-heading.simple {
    display: block;
    margin-bottom: 24px;
  }

  .refined-page .eyebrow,
  .refined-page .eyebrow.small {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .refined-page .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .refined-page .actions .btn {
    width: 100%;
    min-height: 52px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 620;
    box-shadow: none;
  }

  .refined-page :is(.service-card, .price-card, .info-card, .course-card, .step-card,
    .translation-card, .atio-panel, .atio-answer-card, .atio-sample-card,
    .booking-privacy-card, .terms-entry-card, .booking-entry-card) {
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(39, 65, 105, .06);
  }
}

/* Keep the reduction layer last so page-specific legacy rules cannot restore clutter. */
@media (max-width: 720px) {
  .mobile-menu-panel { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .mobile-menu-primary { padding: 12px 0 4px; }
  .mobile-menu-primary a { min-height: 52px; }
  .mobile-menu-utilities { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0 2px; border-top: 1px solid #edf0f4; }
  .mobile-menu-utilities a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid #dfe6f1; border-radius: 999px; color: #566171; background: #fff; font-size: 12px; font-weight: 620; }
  .mobile-menu-booking { margin-top: 16px; }
  .mobile-menu-contact { grid-template-columns: 1fr 1fr; margin-top: 10px; padding: 12px; border-radius: 13px; box-shadow: none; }
  .mobile-menu-contact strong { font-size: 14px; }
  .mobile-menu-contact small { margin-bottom: 2px; font-size: 11px; }
  .mobile-menu-contact a,
  .mobile-menu-contact span { min-height: 38px; padding-inline: 8px; font-size: 11px; }
  .mobile-pricing-intro { min-height: auto; padding: 54px 22px 34px; }
  .mobile-pricing-copy { max-width: 420px; }
  .mobile-pricing-copy h1 { margin: 10px 0 14px; font-size: clamp(40px, 12vw, 54px); line-height: 1.02; }
  .mobile-pricing-copy > span { max-width: 330px; font-size: 15px; line-height: 1.6; }
  .mobile-pricing-options { display: none; }
  .mobile-pricing-more { justify-content: center; width: 100%; min-height: 52px; margin-top: 28px; border-radius: 10px; color: #fff; background: #246fdf; font-size: 15px; font-weight: 650; }
  .bde-hero,
  .atio-hero { padding-top: 42px; }
  .bde-hero-grid,
  .atio-hero-grid { gap: 28px; }
  .bde-summary,
  .atio-panel { padding: 22px; }
  .bde-summary-row { min-height: 70px; padding-block: 12px; }
  .bde-summary-note { font-size: 12px; }
  .atio-panel .atio-contact-lines { margin-top: 18px; }
}
