/*
Theme Name: Suzhou Driving Coach SEO
Theme URI: https://www.example.com/
Author: Codex
Description: 面向苏州新手陪练、驾驶教学和本地 SEO/GEO 的 WordPress 主题。
Version: 1.3.3
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: suzhou-driving-coach
*/

:root {
  color-scheme: light;
  --ink: #19201d;
  --muted: #66716b;
  --line: #dce3df;
  --paper: #fbfcfa;
  --soft: #eef5f1;
  --green: #16724e;
  --green-dark: #0d3f31;
  --green-soft: #dff0e8;
  --blue: #285b8f;
  --clay: #a7512b;
  --yellow: #f0b83c;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(25, 32, 29, 0.12);
  --shadow-soft: 0 10px 28px rgba(25, 32, 29, 0.08);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans SC",
    Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

body.home {
  background: var(--white);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(25, 32, 29, 0.08);
  background: rgba(251, 252, 250, 0.94);
  backdrop-filter: blur(14px);
}

.site-topbar {
  display: flex;
  justify-content: center;
  gap: 18px;
  min-height: 34px;
  padding: 7px 5vw;
  color: rgba(255, 255, 255, 0.84);
  background: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.site-topbar span {
  position: relative;
}

.site-topbar span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.site-topbar a {
  color: var(--yellow);
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  display: grid;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--green);
}

.nav .nav-cta {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
}

.nav .nav-cta:hover {
  color: var(--white);
  background: var(--green-dark);
}

.container {
  width: min(1160px, 90vw);
  margin: 0 auto;
}

.home-hero {
  position: relative;
  min-height: calc(100vh - 70px);
  overflow: hidden;
  color: var(--white);
  background: #10251e;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 31, 24, 0.95) 0%, rgba(11, 31, 24, 0.78) 42%, rgba(11, 31, 24, 0.18) 100%),
    url("assets/images/real/hero-real-road.webp") center / cover;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.brand-lockup img {
  width: 72px;
  height: 72px;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  object-fit: cover;
  background: var(--white);
}

.brand-lockup strong {
  display: block;
  color: var(--white);
  font-size: 28px;
  line-height: 1.1;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 190px);
  padding: 76px 0 34px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy h1,
.section-heading h1,
.section-heading h2,
.contact h2,
.geo-layout h2 {
  letter-spacing: 0;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.06;
}

.hero-lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2.4vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-intents {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-intents a {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.hero-intents a:hover {
  color: var(--yellow);
  border-color: rgba(240, 184, 60, 0.56);
}

.button,
.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.button:hover,
.lead-form button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.button.primary,
.lead-form button {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #241a04;
}

.button.light {
  border-color: rgba(255, 255, 255, 0.64);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button.light:hover {
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.16);
}

.route-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.panel-kicker {
  margin: 0 0 16px;
  color: var(--yellow);
  font-weight: 900;
}

.route-panel ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.route-panel li {
  display: grid;
  gap: 3px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.route-panel strong {
  font-size: 18px;
}

.route-panel span {
  color: rgba(255, 255, 255, 0.78);
}

.hero-metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
}

.hero-metrics div {
  min-height: 112px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics span {
  display: block;
  color: var(--yellow);
  font-weight: 900;
}

.hero-metrics strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.hero-metrics small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.section {
  padding: 82px 0;
}

.course-picker-section {
  background:
    linear-gradient(180deg, var(--paper), #f4f7fb);
}

.course-picker-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.course-card {
  min-height: 284px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.course-card.primary-card {
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(13, 63, 49, 0.98), rgba(22, 114, 78, 0.9)),
    url("assets/images/real/teaching-cabin.webp") center / cover;
}

.course-card span {
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
}

.course-card.primary-card span,
.course-card.primary-card a {
  color: var(--yellow);
}

.course-card h3 {
  margin: 0;
  color: var(--green-dark);
}

.course-card.primary-card h3 {
  color: var(--white);
}

.course-card p {
  margin: 0;
  color: var(--muted);
}

.course-card.primary-card p {
  color: rgba(255, 255, 255, 0.82);
}

.course-card a {
  align-self: end;
  margin-top: 8px;
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.course-card a:hover {
  text-decoration: underline;
}

.intro-strip {
  color: var(--white);
  background: var(--green-dark);
}

.intro-layout,
.geo-layout,
.faq-layout,
.area-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: start;
}

.intro-layout p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.real-scene-section {
  background: var(--paper);
}

.real-scene-section .section-heading p:last-child,
.vehicle-layout .section-heading p:last-child {
  color: var(--muted);
}

.scene-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr 0.82fr;
  gap: 16px;
}

.scene-card {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--green-dark);
  box-shadow: var(--shadow);
}

.scene-card-large {
  grid-row: span 2;
  min-height: 536px;
}

.scene-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.scene-card figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(13, 63, 49, 0.76);
  backdrop-filter: blur(10px);
}

.scene-card figcaption strong {
  color: var(--yellow);
}

.scene-card figcaption span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading.wide-heading {
  max-width: 860px;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.16;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.24;
}

h3 a {
  color: var(--green-dark);
  text-decoration: none;
}

h3 a:hover {
  color: var(--green);
  text-decoration: underline;
}

.scenario-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 16px;
}

.scenario-card {
  min-height: 228px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.scenario-card:hover,
.program-item:hover,
.post-card:hover,
.geo-area-grid article:hover,
.keyword-link:hover,
.social-cards a:hover,
.course-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.scenario-card.highlight {
  grid-row: span 2;
  color: var(--white);
  background: var(--green);
}

.scenario-card span,
.post-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
}

.scenario-card.highlight span {
  color: var(--yellow);
}

.scenario-card p,
.program-item p,
.post-card p,
.geo-copy p,
.section-heading p,
.faq-list p {
  margin: 0;
  color: var(--muted);
}

.scenario-card.highlight p {
  color: rgba(255, 255, 255, 0.84);
}

.program-band {
  background: var(--soft);
}

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

.program-item {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.program-index {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.program-item ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.program-item li {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.safety-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.safety-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.safety-gallery img {
  width: 100%;
  height: 210px;
  display: block;
  object-fit: cover;
}

.safety-gallery figcaption {
  padding: 12px 14px;
  color: var(--yellow);
  font-weight: 900;
}

.vehicle-section {
  background: var(--paper);
}

.vehicle-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: start;
}

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

.vehicle-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(25, 32, 29, 0.08);
}

.vehicle-grid img {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
}

.vehicle-grid figcaption {
  display: grid;
  gap: 5px;
  padding: 16px;
}

.vehicle-grid strong {
  color: var(--green-dark);
  font-size: 20px;
}

.vehicle-grid span {
  color: var(--muted);
}

.proof-section {
  background: var(--white);
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: start;
}

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

.promise-list div {
  min-height: 126px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.promise-list strong,
.fit-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 19px;
}

.promise-list span {
  color: var(--muted);
}

.timeline-section {
  background: #f4f7fb;
}

.route-lab-section {
  background: var(--green-dark);
  color: var(--white);
}

.route-lab-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 48px;
  align-items: start;
}

.route-lab-layout .section-heading p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

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

.route-lab-board div {
  min-height: 142px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.route-lab-board strong {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 20px;
}

.route-lab-board span {
  color: rgba(255, 255, 255, 0.78);
}

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

.timeline li {
  min-height: 210px;
  padding: 22px;
  border: 1px solid #d9e2eb;
  border-radius: 8px;
  background: var(--white);
}

.timeline span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 900;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.price-section {
  background: #fff7e9;
}

.price-layout,
.social-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: start;
}

.price-layout p,
.social-layout p {
  color: var(--muted);
}

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

.price-grid article {
  min-height: 118px;
  padding: 20px;
  border: 1px solid #ecd6b5;
  border-radius: 8px;
  background: var(--white);
}

.price-grid strong {
  display: block;
  color: var(--green-dark);
  font-size: 18px;
}

.price-grid span {
  display: block;
  margin-top: 10px;
  color: var(--clay);
  font-size: 24px;
  font-weight: 900;
}

.social-section {
  background: var(--paper);
}

.social-cards a {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--white);
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
}

.social-cards span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.knowledge-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.knowledge-nav a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.topic-grid article {
  min-height: 178px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.topic-grid span {
  color: var(--clay);
  font-weight: 900;
}

.topic-grid h3 {
  margin: 10px 0 8px;
}

.topic-grid p {
  margin: 0;
  color: var(--muted);
}

.knowledge-grid .post-card {
  background: var(--white);
}

.knowledge-faq {
  background: var(--soft);
}

.more-link-wrap {
  margin: 24px 0 0;
}

.article-page {
  background: var(--paper);
}

.article-hero {
  padding: 86px 0 58px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 63, 49, 0.96), rgba(13, 63, 49, 0.76)),
    url("assets/images/real/highroad-dashboard.webp") center / cover;
}

.article-hero-inner {
  max-width: 880px;
}

.article-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: 0;
}

.article-hero h1 + p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.article-meta a {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
  padding-top: 58px;
  padding-bottom: 72px;
}

.article-content {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.article-content h2 {
  margin: 34px 0 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  margin-top: 26px;
}

.article-content p,
.article-content li {
  color: var(--muted);
  font-size: 17px;
}

.article-content a {
  color: var(--green);
  font-weight: 900;
}

.article-content ul,
.article-content ol {
  padding-left: 1.2em;
}

.article-cta {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid rgba(22, 114, 78, 0.18);
  border-radius: 8px;
  background: var(--soft);
}

.article-cta strong {
  color: var(--green-dark);
  font-size: 22px;
}

.article-cta p {
  margin: 0;
}

.article-cta .button {
  justify-self: start;
}

.article-aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.article-aside strong {
  color: var(--green-dark);
  font-size: 22px;
}

.article-aside p {
  margin: 0;
  color: var(--muted);
}

.aside-panel {
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.aside-panel b {
  color: var(--green-dark);
}

.aside-panel ol,
.aside-panel ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.related-list a {
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.aside-link {
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

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

.area-board span {
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 900;
}

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

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

.geo-area-grid article {
  min-height: 160px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.geo-area-grid span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
}

.geo-area-grid h3 {
  color: var(--green-dark);
}

.geo-area-grid h3 a {
  color: inherit;
  text-decoration: none;
}

.geo-area-grid h3 a:hover {
  color: var(--green);
  text-decoration: underline;
}

.geo-area-grid p {
  margin: 0;
  color: var(--muted);
}

.local-intent-section {
  background: var(--paper);
}

.local-intent-section .section-heading p:last-child {
  color: var(--muted);
}

.fit-section {
  color: var(--white);
  background: var(--green-dark);
}

.fit-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
  gap: 48px;
  align-items: start;
}

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

.fit-grid article {
  min-height: 138px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.fit-grid strong {
  color: var(--yellow);
}

.fit-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.entity-section {
  background: var(--white);
}

.entity-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: start;
}

.entity-layout p {
  color: var(--muted);
}

.entity-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.entity-facts div {
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.entity-facts dt {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.entity-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.keyword-section {
  color: var(--white);
  background: #243d52;
}

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

.keyword-link {
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

.keyword-link strong {
  display: block;
  margin-bottom: 10px;
  color: var(--yellow);
  font-size: 20px;
}

.keyword-link span {
  color: rgba(255, 255, 255, 0.78);
}

.faq-section {
  background: var(--paper);
}

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

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}

details p {
  padding: 0 20px 20px;
}

.geo-section {
  background: #fbf2dc;
}

.geo-copy {
  display: grid;
  gap: 14px;
}

.blog-section {
  background: var(--white);
}

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

.post-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.post-label {
  color: var(--blue);
}

.contact {
  padding: 82px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 63, 49, 0.96), rgba(13, 63, 49, 0.88)),
    url("assets/images/real/teaching-cabin.webp") center / cover;
}

.contact a {
  color: var(--yellow);
  font-weight: 900;
}

.contact-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 18px;
}

.contact-checklist span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px);
  gap: 48px;
  align-items: start;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.form-title {
  margin: 0 0 2px;
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
}

.lead-form label {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

.lead-form button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.footer {
  padding: 28px 5vw;
  color: var(--muted);
  text-align: center;
  background: var(--paper);
}

.mobile-contact-bar {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 30;
  display: none;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(25, 32, 29, 0.24);
}

.mobile-contact-bar a {
  min-height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.mobile-contact-bar a:first-child {
  background: var(--clay);
}

.small-hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  padding: 8vh 5vw 12vh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 26, 18, 0.86), rgba(12, 26, 18, 0.62), rgba(12, 26, 18, 0.2)),
    url("assets/images/real/hero-real-road.webp") center / cover;
}

.small-hero .hero-copy {
  width: min(760px, 100%);
}

.small-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(38px, 7vw, 74px);
  line-height: 1.08;
}

.small-hero .hero-lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2.4vw, 22px);
}

@media (max-width: 980px) {
  .site-topbar {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-layout,
  .intro-layout,
  .geo-layout,
  .faq-layout,
  .area-layout,
  .route-lab-layout,
  .proof-layout,
  .fit-layout,
  .price-layout,
  .social-layout,
  .entity-layout,
  .vehicle-layout,
  .article-layout,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .home-hero {
    min-height: auto;
  }

  .hero-layout {
    min-height: auto;
    padding-top: 68px;
  }

  .hero-metrics,
  .course-picker-grid,
  .route-lab-board,
  .program-grid,
  .timeline,
  .promise-list,
  .fit-grid,
  .price-grid,
  .social-cards,
  .entity-facts,
  .keyword-grid,
  .topic-grid,
  .scene-grid,
  .safety-gallery,
  .vehicle-grid,
  .geo-area-grid,
  .geo-area-grid.compact,
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene-card-large {
    grid-row: auto;
  }

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

  .scenario-card.highlight {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .site-topbar {
    font-size: 12px;
  }

  .site-topbar span:nth-child(3) {
    display: none;
  }

  .container {
    width: min(92vw, 1160px);
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-layout {
    gap: 28px;
    padding-top: 50px;
  }

  .hero-metrics,
  .course-picker-grid,
  .route-lab-board,
  .scenario-grid,
  .program-grid,
  .timeline,
  .promise-list,
  .fit-grid,
  .price-grid,
  .social-cards,
  .entity-facts,
  .area-board,
  .keyword-grid,
  .topic-grid,
  .scene-grid,
  .safety-gallery,
  .vehicle-grid,
  .geo-area-grid,
  .geo-area-grid.compact,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .scene-card,
  .scene-card-large {
    min-height: 320px;
  }

  .safety-gallery img,
  .vehicle-grid img {
    height: 230px;
  }

  .section,
  .contact,
  .article-hero {
    padding: 58px 0;
  }

  .article-content {
    padding: 22px;
  }

  .hero-metrics div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .nav {
    gap: 12px;
    font-size: 13px;
  }

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

  .mobile-contact-bar {
    display: grid;
  }

  .footer {
    padding-bottom: 86px;
  }
}
