:root {
  --ink: #071725;
  --navy: #0a2235;
  --navy-2: #102f45;
  --blue: #05add1;
  --blue-dark: #087e9e;
  --lime: #d8f050;
  --lime-dark: #bad42a;
  --paper: #f4f7f8;
  --white: #ffffff;
  --muted: #61717c;
  --line: #d9e2e6;
  --soft-blue: #e7f8fc;
  --shadow: 0 22px 60px rgba(7, 23, 37, .12);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 12px; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.section { padding: 88px 0; }
.section-sm { padding: 58px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-soft { background: var(--paper); }
.section-blue { background: var(--soft-blue); }
.kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-dark); font-size: .79rem; line-height: 1.2; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 999px; background: var(--blue); }
.section-dark .kicker { color: var(--lime); }
h1, h2, h3 { margin: 0; font-family: "Arial Narrow", "Roboto Condensed", Inter, sans-serif; line-height: 1.03; letter-spacing: -.035em; }
h1 { max-width: 850px; font-size: clamp(2.7rem, 7vw, 5.7rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.85rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
p { margin: 0; }
.lead { font-size: clamp(1.07rem, 2vw, 1.3rem); line-height: 1.55; color: #42545f; }
.section-dark .lead { color: #cbd8de; }
.text-muted { color: var(--muted); }
.accent { color: var(--blue); }
.lime { color: var(--lime); }
.mt-12 { margin-top: 12px; }
.mt-18 { margin-top: 18px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-42 { margin-top: 42px; }
.stack > * + * { margin-top: 20px; }

.topbar { background: #06131e; color: #d8e4e9; font-size: .88rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar-links { display: flex; align-items: center; gap: 18px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--lime); }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(6,19,30,.97); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); }
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 184px; height: 62px; object-fit: contain; object-position: left center; filter: drop-shadow(0 5px 10px rgba(4,20,31,.1)); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a { padding: 11px 10px; border-radius: 9px; text-decoration: none; color: #dce7eb; font-size: .9rem; font-weight: 800; }
.main-nav > a:hover, .main-nav > a[aria-current="page"] { background: rgba(5,173,209,.16); color: var(--white); }
.nav-cta { margin-left: 5px; background: var(--lime) !important; color: var(--ink) !important; padding-inline: 16px !important; }
.menu-button { display: none; border: 0; background: var(--navy); color: var(--white); width: 45px; height: 45px; border-radius: 11px; align-items: center; justify-content: center; cursor: pointer; }
.menu-button span, .menu-button span::before, .menu-button span::after { display: block; width: 21px; height: 2px; background: currentColor; border-radius: 9px; content: ""; position: relative; }
.menu-button span::before { position: absolute; top: -7px; }
.menu-button span::after { position: absolute; top: 7px; }

.hero { position: relative; min-height: 720px; display: grid; align-items: center; overflow: hidden; color: var(--white); background: #091824; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,17,27,.98) 0%, rgba(5,17,27,.9) 38%, rgba(5,17,27,.25) 66%, rgba(5,17,27,.05) 100%), url("../images/driver-cpc-training-worcester.webp") center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 9px; background: linear-gradient(90deg, var(--blue) 0 68%, var(--lime) 68%); }
.hero-inner { position: relative; z-index: 1; padding: 92px 0 108px; }
.hero-copy { max-width: 720px; }
.hero .lead { max-width: 680px; color: #dce7eb; }
.hero .kicker { color: var(--lime); }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; padding: 12px 21px; border: 2px solid transparent; border-radius: 11px; text-decoration: none; font-weight: 900; line-height: 1.2; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: var(--ink); }
.button-primary:hover { background: #e8fa75; }
.button-blue { background: var(--blue); color: var(--ink); }
.button-blue:hover { background: #42c9e3; }
.button-outline { border-color: rgba(255,255,255,.55); color: var(--white); background: rgba(255,255,255,.05); }
.button-outline:hover { border-color: var(--white); background: rgba(255,255,255,.12); }
.button-dark { background: var(--navy); color: var(--white); }
.button-dark:hover { background: var(--navy-2); }
.button-ghost { border-color: var(--line); background: var(--white); }
.button-block { width: 100%; }
.hero-points { margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.hero-points li { padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08); color: #e6eef1; font-size: .9rem; font-weight: 750; backdrop-filter: blur(5px); }
.quick-route { position: relative; z-index: 2; margin-top: -62px; }
.route-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.route-card { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 124px; padding: 25px 28px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); text-decoration: none; border: 1px solid rgba(7,23,37,.08); }
.route-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.route-card small { display: block; color: var(--blue-dark); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.route-card strong { display: block; margin-top: 4px; font-size: 1.3rem; line-height: 1.22; }
.route-arrow { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--lime); font-size: 1.35rem; flex: 0 0 auto; }

.trust-strip { border-bottom: 1px solid var(--line); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 30px 22px; text-align: center; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--navy); font-size: 1.1rem; }
.trust-item span { color: var(--muted); font-size: .9rem; }
.grid-2 { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 14px 36px rgba(7,23,37,.06); }
.card-dark { background: var(--navy-2); border-color: rgba(255,255,255,.12); color: var(--white); }
.card p { margin-top: 12px; color: var(--muted); }
.card-dark p { color: #c8d5da; }
.number { display: inline-grid; width: 42px; height: 42px; place-items: center; border-radius: 10px; background: var(--soft-blue); color: var(--blue-dark); font-weight: 950; }
.icon-tile { display: inline-grid; width: 52px; height: 52px; place-items: center; border-radius: 13px; background: var(--soft-blue); color: var(--blue-dark); font-size: 1.3rem; font-weight: 900; }
.service-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 390px; }
.service-card.featured { background: var(--navy); color: var(--white); border-color: var(--navy); }
.service-card.featured p { color: #c7d7de; }
.service-card .price { margin-top: 20px; color: var(--blue-dark); font-weight: 950; font-size: 1.35rem; }
.service-card.featured .price { color: var(--lime); }
.service-card .button { margin-top: auto; align-self: flex-start; }
.tag { display: inline-flex; align-self: flex-start; padding: 6px 10px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: .76rem; line-height: 1.2; font-weight: 950; text-transform: uppercase; letter-spacing: .06em; }
.image-frame { overflow: hidden; border-radius: 24px; min-height: 420px; box-shadow: var(--shadow); }
.image-frame img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.image-frame.short, .image-frame.short img { min-height: 350px; }
.check-list { margin: 24px 0 0; padding: 0; display: grid; gap: 11px; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: .75rem; font-weight: 950; }
.plain-list { margin: 16px 0 0; padding-left: 20px; }
.plain-list li + li { margin-top: 8px; }
.proof-panel { position: relative; padding: 38px; border-radius: 24px; background: var(--navy); color: var(--white); overflow: hidden; }
.proof-panel::after { content: ""; position: absolute; right: -70px; bottom: -75px; width: 220px; height: 220px; border: 42px solid rgba(5,173,209,.22); border-radius: 50%; }
.proof-panel > * { position: relative; z-index: 1; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 27px; }
.stat { padding: 18px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(255,255,255,.06); }
.stat strong { display: block; color: var(--lime); font-size: 1.35rem; }
.stat span { color: #c5d2d7; font-size: .84rem; }
.steps { counter-reset: steps; display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.step { position: relative; padding: 26px 22px; border-top: 4px solid var(--blue); background: var(--white); border-radius: 0 0 16px 16px; box-shadow: 0 10px 28px rgba(7,23,37,.07); }
.step::before { counter-increment: steps; content: "0" counter(steps); color: var(--blue-dark); font-size: .83rem; font-weight: 950; letter-spacing: .1em; }
.step h3 { margin-top: 14px; font-size: 1.25rem; }
.step p { margin-top: 10px; color: var(--muted); }
.cta-band { padding: 52px; border-radius: 26px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 35px; background: linear-gradient(120deg, var(--navy) 0%, #0d3d55 100%); color: var(--white); box-shadow: var(--shadow); }
.cta-band .lead { color: #cfdae0; }

.page-hero { position: relative; padding: 90px 0 82px; overflow: hidden; background: var(--navy); color: var(--white); }
.page-hero::after { content: ""; position: absolute; width: 470px; height: 470px; right: -180px; bottom: -280px; border-radius: 50%; border: 90px solid rgba(5,173,209,.16); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.7rem, 6vw, 5rem); }
.page-hero .lead { max-width: 750px; color: #cad8de; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 23px; color: #a9bdc6; font-size: .88rem; }
.breadcrumbs a { color: var(--lime); text-decoration: none; }
.split-image { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.split-image > div { padding: 76px max(40px, calc((100vw - var(--max))/2)); padding-right: 64px; display: flex; flex-direction: column; justify-content: center; }
.split-image > figure { margin: 0; min-height: 460px; }
.split-image > figure img { width: 100%; height: 100%; object-fit: cover; }
.price-panel { padding: 34px; border-radius: 22px; background: var(--soft-blue); border: 1px solid #bce7f1; }
.price-panel .amount { display: block; color: var(--navy); font-family: "Arial Narrow", sans-serif; font-size: clamp(2.1rem,4vw,3.3rem); font-weight: 950; line-height: 1; }
.price-panel small { color: var(--muted); }
.compare { width: 100%; border-collapse: collapse; margin-top: 30px; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 12px 35px rgba(7,23,37,.06); }
.compare th, .compare td { padding: 17px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { background: var(--navy); color: var(--white); }
.compare tr:last-child td { border-bottom: 0; }
.note { padding: 18px 20px; border-left: 4px solid var(--blue); background: var(--soft-blue); border-radius: 0 12px 12px 0; color: #274657; }
.faq-list { display: grid; gap: 11px; }
.faq { border: 1px solid var(--line); border-radius: 14px; background: var(--white); overflow: hidden; }
.faq summary { position: relative; padding: 20px 56px 20px 22px; cursor: pointer; font-weight: 900; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 15px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--soft-blue); color: var(--blue-dark); font-size: 1.3rem; }
.faq[open] summary::after { content: "−"; }
.faq .faq-content { padding: 0 22px 22px; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 30px; align-items: start; }
.contact-cards { display: grid; gap: 13px; }
.contact-card { display: block; padding: 20px; border-radius: 14px; background: var(--paper); text-decoration: none; border: 1px solid var(--line); }
.contact-card strong { display: block; color: var(--navy); }
.contact-card span { color: var(--muted); }
.form-card { padding: 32px; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--white); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.field { display: grid; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label, .field-label { font-weight: 850; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; min-height: 49px; padding: 11px 13px; border: 1px solid #b8c7ce; border-radius: 9px; background: var(--white); color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .9rem; }
.consent input { margin-top: 5px; width: 18px; height: 18px; flex: 0 0 auto; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-message, .error-notice { padding: 14px 16px; border-radius: 10px; background: #fff0f0; color: #8e1a1a; font-weight: 750; }
.legal h2 { margin-top: 42px; font-size: 2rem; }
.legal h3 { margin-top: 28px; font-size: 1.35rem; }
.legal p, .legal ul { margin-top: 14px; }
.legal a { color: var(--blue-dark); }

.site-footer { background: #06131e; color: #b8c8cf; }
.footer-main { padding: 65px 0 45px; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 42px; }
.footer-brand img { width: 225px; height: 88px; object-fit: contain; object-position: left; }
.footer-brand p { max-width: 380px; margin-top: 18px; }
.footer-col h3 { color: var(--white); font-size: 1.1rem; letter-spacing: 0; }
.footer-links { margin: 15px 0 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.footer-links a { color: #b8c8cf; text-decoration: none; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; gap: 22px; font-size: .83rem; }
.footer-bottom a { color: inherit; }

@media (max-width: 1020px) {
  .menu-button { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 20px; right: 20px; top: calc(100% + 8px); padding: 14px; align-items: stretch; flex-direction: column; background: var(--navy); border: 1px solid rgba(255,255,255,.12); border-radius: 15px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 13px 14px; }
  .nav-cta { margin-left: 0; text-align: center; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 > :last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / -1; }
}

@media (max-width: 760px) {
  .wrap, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 66px 0; }
  .section-sm { padding: 46px 0; }
  .topbar-inner { min-height: 34px; justify-content: center; }
  .topbar-inner > span { display: none; }
  .topbar-links { gap: 15px; font-size: .8rem; }
  .nav-shell { min-height: 68px; }
  .brand img { width: 156px; height: 52px; }
  .hero { min-height: 680px; align-items: end; }
  .hero::before { background: linear-gradient(0deg, rgba(5,17,27,.99) 0%, rgba(5,17,27,.92) 55%, rgba(5,17,27,.34) 100%), url("../images/driver-cpc-training-worcester.webp") 66% center/cover no-repeat; }
  .hero-inner { padding: 190px 0 98px; }
  .hero h1 { font-size: clamp(2.55rem, 13.8vw, 4.1rem); }
  .hero-actions .button { width: 100%; }
  .hero-points { gap: 7px; }
  .hero-points li { font-size: .78rem; }
  .quick-route { margin-top: -40px; }
  .route-grid { grid-template-columns: 1fr; gap: 10px; }
  .route-card { min-height: 104px; padding: 20px; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item { border-bottom: 1px solid var(--line); }
  .trust-item:nth-child(2n) { border-right: 0; }
  .trust-item:nth-last-child(-n+2) { border-bottom: 0; }
  .grid-2, .grid-3, .grid-4, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .grid-3 > :last-child { grid-column: auto; }
  .image-frame, .image-frame img { min-height: 310px; }
  .stat-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { padding: 33px 25px; grid-template-columns: 1fr; }
  .cta-band .button-row .button { width: 100%; }
  .page-hero { padding: 68px 0 62px; }
  .split-image { grid-template-columns: 1fr; }
  .split-image > div { padding: 62px 20px; }
  .split-image > figure { min-height: 330px; order: -1; }
  .compare { display: block; overflow-x: auto; }
  .form-card { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 430px) {
  .topbar-links a:first-child { display: none; }
  .grid-4, .footer-main { grid-template-columns: 1fr; }
  .footer-brand, .footer-col:last-child { grid-column: auto; }
  .trust-item { padding: 22px 10px; }
  .route-card strong { font-size: 1.14rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
