/*
Theme Name: I Drive Smart
Theme URI: https://drivesmart-ng.com/
Description: Custom theme for I Drive Smart Ltd, driving school in Lekki, Lagos. Creates the site's pages when activated. See README.md.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: Proprietary
Text Domain: idrivesmart
*/

/* I Drive Smart — site styles
   Brand (from the I Drive Smart logo pack): navy #0B2A45, orange #FF6A00, grey #5B6570, white.
   Direction: road and road-sign language. Lane markings, route lines and signposts,
   in a calm, professional training-school tone.
   Type: Barlow Semi Condensed (headings, a road-sign family) + Barlow (body). */

:root {
  --navy: #0B2A45;
  --navy-2: #0F3557;
  --asphalt: #08203A;
  --orange: #FF6A00;
  --orange-dk: #D45600;
  --grey: #5B6570;
  --ink: #0E2237;
  --muted: #56616D;
  --line: #DEE3E9;
  --tarmac: #EEF1F4;
  --white: #FFFFFF;
  --on-navy: #C8D3DF;
  --radius: 8px;
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 36px);
  --head: "Barlow Semi Condensed", "Barlow", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --lane: repeating-linear-gradient(90deg, var(--white) 0 34px, transparent 34px 60px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { display: block; }
a { color: var(--orange-dk); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
[id] { scroll-margin-top: 100px; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 66ch; }
ul, ol { padding-left: 1.2em; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 14px; z-index: 200; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.ico { width: 30px; height: 30px; flex: none; }

/* Buttons: orange with navy text keeps strong contrast */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 1.08rem; letter-spacing: .01em; text-decoration: none; line-height: 1.1; padding: .95em 1.6em; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-go { background: var(--orange); color: var(--navy); }
.btn-go:hover { background: #FF8126; color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--asphalt); color: var(--white); }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: .7em 1.2em; font-size: 1rem; }

/* Top bar + header */
.topbar { background: var(--asphalt); color: var(--on-navy); font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.topbar-links { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: var(--orange); }
.site-header { position: sticky; top: 0; z-index: 60; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(11,42,69,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; font-family: var(--head); font-weight: 600; font-size: 1.1rem; color: var(--navy); text-decoration: none; padding: 8px 14px; border-radius: var(--radius); transition: background-color .2s, color .2s; }
.nav ul a:hover { background: var(--tarmac); color: var(--navy); }
.nav ul a[aria-current="page"] { background: var(--navy); color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.bars, .bars::before, .bars::after { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--navy); transition: transform .2s; }
.bars { top: 21px; }
.bars::before { content: ""; left: 0; top: -7px; }
.bars::after { content: ""; left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Road strip: the recurring signature */
.road { height: 26px; background: var(--asphalt); position: relative; overflow: hidden; }
.road::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: repeating-linear-gradient(90deg, #F2F4F6 0 40px, transparent 40px 72px); opacity: .85; }
.road::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; bottom: 3px; border-top: 2px solid var(--orange); border-bottom: 2px solid var(--orange); opacity: .9; }
@media (prefers-reduced-motion: no-preference) {
  .road.moving::before { animation: drive 1.6s linear infinite; }
  @keyframes drive { from { background-position: 0 0; } to { background-position: -72px 0; } }
}

/* Hero */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -180px; top: -140px; width: 760px; height: 760px; border-radius: 50%; border: 46px solid rgba(255,106,0,.9); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(10deg); }
.hero::after { content: ""; position: absolute; right: -120px; top: -80px; width: 640px; height: 640px; border-radius: 50%; border: 3px dashed rgba(255,255,255,.35); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(10deg); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: clamp(56px, 8vw, 100px); }
.hero h1 { color: var(--white); }
.hero h1 span { color: var(--orange); display: block; }
.hero .lede { color: var(--on-navy); font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 560px; margin: 20px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tagline { font-family: var(--head); font-weight: 600; letter-spacing: .14em; font-size: .95rem; color: var(--orange); margin: 0 0 18px; }

/* Signposts: choose your route */
.signs { background: var(--white); color: var(--ink); border-radius: 14px; padding: 26px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.signs h2 { font-size: 1.5rem; margin-bottom: 16px; }
.signs ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.sign { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--radius); background: var(--navy); color: var(--white); text-decoration: none; position: relative; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); padding-right: 34px; transition: background-color .2s, transform .2s; }
.sign:hover { background: var(--orange-dk); color: var(--white); transform: translateX(3px); }
.sign b { display: block; font-family: var(--head); font-size: 1.25rem; font-weight: 700; line-height: 1.15; }
.sign span { display: block; font-size: .92rem; color: var(--on-navy); }
.sign:hover span { color: #FFE5D2; }
.sign .km { font-family: var(--head); font-weight: 700; font-size: .85rem; background: var(--orange); color: var(--navy); border-radius: 4px; padding: 3px 8px; white-space: nowrap; }
.sign:hover .km { background: var(--white); }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 108px); }
.section-tarmac { background: var(--tarmac); }
.section-navy { background: var(--navy); color: var(--on-navy); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: var(--on-navy); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.section-navy .section-head p { color: var(--on-navy); }
.kicker { display: inline-block; font-family: var(--head); font-weight: 700; font-size: .95rem; color: var(--navy); background: var(--orange); border-radius: 4px; padding: 3px 10px; margin-bottom: 14px; }

/* Course route: progression from new driver to specialist */
.route { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.route::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 30px; background: var(--asphalt); border-radius: 15px; }
.route::after { content: ""; position: absolute; left: 14px; right: 14px; top: 47px; height: 4px; background: repeating-linear-gradient(90deg, #fff 0 22px, transparent 22px 40px); }
.route li { position: relative; z-index: 1; padding: 0 10px; text-align: center; }
.route .stop { width: 98px; height: 98px; margin: 0 auto 18px; border-radius: 50%; background: var(--white); border: 5px solid var(--orange); display: grid; place-items: center; color: var(--navy); box-shadow: 0 8px 20px rgba(11,42,69,.15); }
.route .stop .ico { width: 40px; height: 40px; }
.route .lvl { font-family: var(--head); font-weight: 700; font-size: .85rem; color: var(--orange-dk); letter-spacing: .03em; }
.route b { display: block; font-family: var(--head); font-size: 1.2rem; line-height: 1.15; color: var(--navy); margin: 4px 0 6px; }
.route a { text-decoration: none; }
.route a:hover b { color: var(--orange-dk); }
.route p { font-size: .93rem; color: var(--muted); margin: 0 auto; }

/* Course cards */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.course::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--lane), var(--navy); background-size: 60px 2px, auto; background-position: 0 2px, 0 0; background-repeat: repeat-x, no-repeat; }
.course:hover { border-color: var(--navy); box-shadow: 0 18px 40px rgba(11,42,69,.1); transform: translateY(-3px); }
.course-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 18px; }
.course-ico { width: 56px; height: 56px; border-radius: 12px; background: var(--tarmac); color: var(--navy); display: grid; place-items: center; }
.course-ico .ico { width: 32px; height: 32px; }
.tag { font-family: var(--head); font-weight: 700; font-size: .82rem; color: var(--navy); background: #FFE7D6; border-radius: 4px; padding: 3px 9px; }
.course h3 a { color: var(--navy); text-decoration: none; }
.course h3 a::after { content: ""; position: absolute; inset: 0; }
.course p { color: var(--muted); font-size: 1rem; }
.course .for { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .92rem; color: var(--ink); }
.course .for b { font-family: var(--head); color: var(--orange-dk); }

/* Training method flow */
.method { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: m; gap: 0; }
.method li { counter-increment: m; position: relative; padding: 0 18px 0 0; }
.method li::before { content: ""; position: absolute; left: 66px; right: 10px; top: 29px; height: 3px; background: repeating-linear-gradient(90deg, var(--orange) 0 12px, transparent 12px 20px); }
.method li:last-child::before { display: none; }
.method .dot { width: 60px; height: 60px; border-radius: 50%; background: var(--orange); color: var(--navy); display: grid; place-items: center; margin-bottom: 16px; position: relative; }
.method .dot .ico { width: 28px; height: 28px; }
.method .dot::after { content: counter(m); position: absolute; right: -6px; top: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); color: var(--navy); font: 700 .85rem/24px var(--head); text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.method b { display: block; font-family: var(--head); font-size: 1.25rem; color: var(--white); margin-bottom: 4px; }
.method span { display: block; color: var(--on-navy); font-size: .95rem; line-height: 1.5; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 36px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 6px; background: var(--orange); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 10px; height: 6px; border-left: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(-45deg); }

/* Organisation panel (dashboard-like card) */
.panel { background: var(--asphalt); color: var(--white); border-radius: 16px; padding: 28px; position: relative; overflow: hidden; }
.panel h3 { color: var(--white); font-size: 1.35rem; }
.panel ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: p; }
.panel li { counter-increment: p; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 14px; }
.panel li::before { content: counter(p); width: 40px; height: 40px; border-radius: 8px; background: var(--orange); color: var(--navy); font: 700 1.15rem/40px var(--head); text-align: center; }
.panel li b { display: block; font-family: var(--head); font-size: 1.12rem; }
.panel li span { color: var(--on-navy); font-size: .93rem; }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.trust li { background: var(--white); border-radius: 12px; padding: 22px; border: 1px solid var(--line); }
.trust .ico { color: var(--orange-dk); width: 34px; height: 34px; margin-bottom: 12px; }
.trust b { display: block; font-family: var(--head); font-size: 1.2rem; color: var(--navy); }
.trust span { color: var(--muted); font-size: .95rem; }

/* Page head */
.page-head { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; right: -160px; top: -200px; width: 560px; height: 560px; border-radius: 50%; border: 34px solid rgba(255,106,0,.85); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(10deg); }
.page-head .wrap { position: relative; z-index: 1; padding-block: clamp(56px, 8vw, 96px); }
.page-head h1 { color: var(--white); max-width: 18ch; }
.page-head .lede { color: var(--on-navy); font-size: clamp(1.08rem, 1.5vw, 1.2rem); max-width: 60ch; margin: 16px 0 0; }
.crumbs { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .92rem; color: var(--on-navy); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--orange); }
.crumbs a { color: var(--white); text-decoration: none; }

/* Course detail blocks */
.detail { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 56px); padding-block: 48px; border-bottom: 1px solid var(--line); }
.detail:first-child { padding-top: 0; }
.detail:last-child { border-bottom: 0; }
.detail-side { position: sticky; top: 110px; align-self: start; }
.detail-side .course-ico { width: 72px; height: 72px; margin-bottom: 16px; background: var(--navy); color: var(--orange); }
.detail-side .course-ico .ico { width: 38px; height: 38px; }
.detail-side h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.detail-side .tag { display: inline-block; margin-bottom: 12px; }
.detail h3 { font-size: 1.2rem; margin-top: 1.3em; }
.detail h3:first-child { margin-top: 0; }
.detail ul { padding-left: 0; list-style: none; }
.detail li { position: relative; padding-left: 24px; margin-bottom: .4em; }
.detail li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 4px; background: var(--orange); border-radius: 2px; }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 24px; margin-bottom: .45em; }
.prose li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 4px; background: var(--orange); border-radius: 2px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.aside-card { position: sticky; top: 110px; background: var(--navy); color: var(--on-navy); border-radius: 14px; padding: 28px; }
.aside-card h2 { color: var(--white); font-size: 1.5rem; }
.aside-card .btn { width: 100%; margin-top: 6px; }
.aside-card a:not(.btn) { color: var(--white); }

/* Contact + form */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-list { margin: 0; }
.contact-list > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-family: var(--head); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.contact-list dd { margin: 4px 0 0; color: var(--muted); }
.form { display: grid; gap: 18px; background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--orange); border-radius: 12px; padding: clamp(22px, 4vw, 36px); position: relative; }
.form h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin: 0; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label, .form legend { display: block; font-family: var(--head); font-weight: 600; font-size: 1.02rem; color: var(--navy); margin-bottom: 6px; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--tarmac); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 3px rgba(255,106,0,.25); }
.form textarea { min-height: 120px; resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--body); font-weight: 500; font-size: 1rem; background: var(--tarmac); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; cursor: pointer; margin: 0; }
.radios input { width: auto; accent-color: var(--orange-dk); }
.form .btn { width: 100%; }
.form-note { font-size: .9rem; color: var(--muted); margin: 0; }
.form-status { font-weight: 600; margin: 0; }
.form-status:empty { display: none; }
.form-status.is-error { color: #B42318; }
.form-status.is-ok { color: #1F7A45; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* CTA band */
.cta { background: var(--orange); color: var(--navy); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: 44px; }
.cta h2 { margin: 0; color: var(--navy); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta p { margin: 6px 0 0; color: var(--navy); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn-line { border-color: var(--navy); }

/* Footer */
.site-footer { background: var(--asphalt); color: var(--on-navy); font-size: .97rem; }
.site-footer .wrap { padding-block: 64px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-logo img { height: 52px; width: auto; margin-bottom: 18px; }
.site-footer h2 { font-size: 1.15rem; color: var(--white); margin-bottom: .8em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; }

/* Responsive */
@media (max-width: 1060px) {
  .route { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .route::before, .route::after { display: none; }
  .method { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .method li:nth-child(3)::before { display: none; }
  .trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .topbar .wrap > span:first-child { display: none; }
  .topbar .wrap { justify-content: center; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 10px; padding: 12px var(--gutter) 22px; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(11,42,69,.12); }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; }
  .hero .wrap, .split, .contact-grid, .layout, .detail { grid-template-columns: 1fr; }
  .detail-side, .aside-card { position: static; }
  .courses { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero::before, .hero::after { opacity: .35; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand img { height: 40px; }
  .site-header .wrap { min-height: 68px; }
  .route, .method, .courses, .trust, .form .two, .footer-grid { grid-template-columns: 1fr; }
  .route { row-gap: 18px; }
  .route li { text-align: left; padding: 0; }
  .route li a { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; align-items: center; }
  .route .stop { width: 64px; height: 64px; margin: 0; grid-row: span 2; border-width: 4px; }
  .route .stop .ico { width: 28px; height: 28px; }
  .route .lvl { align-self: end; }
  .route b { align-self: start; margin: 0; }
  .route p { margin: 2px 0 0 80px; }
  .method li::before { display: none; }
  .method li { display: grid; grid-template-columns: 60px 1fr; column-gap: 16px; padding: 0; }
  .method .dot { grid-row: span 2; margin: 0; }
  .hero::before, .hero::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.sign b { color: var(--white); }

/* ---- v2: content from drivesmart-ng.com ---- */
.brand img { height: 50px; width: auto; }
.footer-logo img { height: 52px; width: auto; }
.route.four { grid-template-columns: repeat(4, 1fr); }
.method.four { grid-template-columns: repeat(4, 1fr); }
.courses.four { grid-template-columns: repeat(4, 1fr); }
.course-help { background: var(--navy); color: var(--on-navy); border-color: var(--navy); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.course-help h3 { color: var(--white); }
.trust.six { grid-template-columns: repeat(3, 1fr); }
.section-tight { padding-block: clamp(36px, 5vw, 56px); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stats li { padding: 6px 24px; border-left: 4px solid var(--orange); }
.stats b { display: block; font-family: var(--head); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--navy); }
.stats span { color: var(--muted); font-size: .98rem; }
.photo { margin: 0; }
.photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; display: block; }
.photo figcaption { font-size: .92rem; color: var(--muted); margin-top: 10px; }
.section-navy .photo figcaption { color: var(--on-navy); }
.media-split { margin-top: 56px; align-items: start; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--asphalt); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-link { display: grid; place-items: center; height: 100%; color: var(--white); text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 1.2rem; gap: 10px; text-align: center; padding: 20px; }
.video-link:hover { color: var(--orange); }
.video-link .play { width: 72px; height: 72px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; }
.video-link .play::after { content: ""; border-left: 22px solid var(--navy); border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.accred-band { background: var(--white); border-top: 1px solid var(--line); }
.accred { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.accred ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.accred li { border: 1px solid var(--line); border-radius: 12px; padding: 20px; text-align: center; font-family: var(--head); font-weight: 600; color: var(--navy); line-height: 1.25; }
.accred img { width: 120px; height: 120px; object-fit: contain; display: block; margin: 0 auto 12px; }
.outline { columns: 2; column-gap: 32px; }
.outline li { break-inside: avoid; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0; }
.vm > div { background: var(--tarmac); border-left: 4px solid var(--orange); border-radius: 0 10px 10px 0; padding: 18px 20px; }
.vm h3 { margin-top: 0; }
.vm p { margin: 0; }
.offer { margin-top: 26px; background: var(--orange); color: var(--navy); border-radius: 12px; padding: 20px 22px; }
.offer b { display: block; font-family: var(--head); font-size: 1.35rem; }
@media (max-width: 1060px) {
  .courses.four { grid-template-columns: repeat(2, 1fr); }
  .route.four { grid-template-columns: repeat(2, 1fr); }
  .method.four { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .method.four li::before { display: none; }
  .trust.six { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
}
@media (max-width: 960px) { .accred { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .courses.four, .route.four, .method.four, .trust.six, .vm { grid-template-columns: 1fr; }
  .outline { columns: 1; }
  .brand img { height: 40px; }
  .stats li { padding: 4px 14px; }
  .topbar-links a[href^="mailto"] { display: none; }
}
.course-help p { color: var(--on-navy); }


/* WordPress additions */
.prose img, .wp-block-image img { max-width: 100%; height: auto; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
