: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;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, "Noto Sans SC", "PingFang 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";
  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: "DRIVING SCHOOL · 滑铁卢驾校";
  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;
}

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

.nav-links a {
  padding: 9px 13px;
  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);
}

.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-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;
}

.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;
}

.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: 56px 0 42px;
}

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

.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 {
  padding: 24px;
  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 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: 34px;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.72), rgba(247, 250, 255, 0));
}

.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-card {
  padding: 24px;
}

.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-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;
}

.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-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;
  }

  .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;
    justify-content: center;
    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 {
    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: 32px 0 24px;
  }

  .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;
  }

  .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) {
  .local-checklist {
    grid-template-columns: 1fr;
  }

  .local-city-card,
  .local-topic-card {
    padding: 20px;
  }
  .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;
  }
}
