/* =========================================================
   MB Driving School - main stylesheet
   Colours: change them here and the whole site updates.
   ========================================================= */
:root{
  --ink:#0e1a2b;        /* dark navy - header text, dark sections */
  --ink-2:#1b2a40;      /* lighter navy - cards on dark sections */
  --red:#d4203a;        /* L-plate red - buttons and highlights */
  --red-d:#b0182f;      /* darker red - button hover */
  --paper:#f7f5f1;      /* warm off-white page background */
  --line:#e4e0d8;       /* borders */
  --muted:#5b6575;      /* grey body text */
  --star:#f2b200;       /* review stars */
  --r:18px;             /* corner rounding */
  --max:1180px;         /* page width */
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Manrope,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);line-height:1.65;font-size:16px}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:"Bricolage Grotesque",Manrope,sans-serif;line-height:1.12;letter-spacing:-.02em}
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}
.narrow{max-width:820px}
.btn{display:inline-flex;align-items:center;gap:10px;padding:15px 24px;border-radius:999px;font-weight:700;font-size:15px;transition:.2s;border:2px solid transparent;cursor:pointer;font-family:inherit;line-height:1.2}
.btn-red{background:var(--red);color:#fff}.btn-red:hover{background:var(--red-d)}
.btn-dark{background:var(--ink);color:#fff}.btn-dark:hover{background:#000}
.btn-ghost{border-color:currentColor;background:transparent}
.btn-ghost:hover{background:rgba(127,127,127,.12)}
.eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--red)}
.lplate{display:inline-grid;place-items:center;width:30px;height:30px;background:#fff;border:2px solid var(--red);border-radius:5px;color:var(--red);font-family:"Bricolage Grotesque",sans-serif;font-weight:800;font-size:19px;line-height:1;flex:none}
.muted{color:var(--muted)}
.center{text-align:center}

/* ---------- top bar ---------- */
.topbar{background:var(--ink);color:#c9d1dd;font-size:13.5px}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;min-height:40px;gap:16px}
.topbar a{color:#fff;font-weight:700}
.stars{color:var(--star);letter-spacing:2px}

/* ---------- header / navigation ---------- */
.site-header{position:sticky;top:0;z-index:50;background:rgba(247,245,241,.95);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:74px;gap:20px}
.logo{display:flex;align-items:center;gap:12px;font-family:"Bricolage Grotesque",sans-serif;font-weight:800;font-size:21px;line-height:1.15}
.logo small{display:block;font-family:Manrope,sans-serif;font-weight:600;font-size:12px;color:var(--muted);letter-spacing:.04em}
.menu{display:flex;gap:2px;list-style:none}
.menu a{display:block;padding:8px 11px;border-radius:999px;font-weight:600;font-size:14.5px;color:var(--ink-2)}
.menu a:hover,.menu a.active{background:#ebe7df}
.site-header .btn{padding:11px 18px;font-size:14px}
.burger{display:none;background:none;border:0;font-size:28px;cursor:pointer;color:var(--ink);padding:4px 8px}

/* ---------- home hero ---------- */
.hero{position:relative;overflow:hidden;padding:72px 0 56px}
.hero::before{content:"";position:absolute;right:-180px;top:-120px;width:760px;height:760px;border-radius:50%;background:radial-gradient(circle at 40% 40%,#fff 0,#efe9df 60%,transparent 61%)}
.hero .wrap{position:relative;display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}
.hero h1{font-size:clamp(40px,5.6vw,68px);font-weight:800;margin-top:14px}
.hero h1 em{font-style:normal;color:var(--red)}
.hero .lead{font-size:19px;color:var(--muted);margin:22px 0 30px;max-width:560px}
.ctas{display:flex;gap:12px;flex-wrap:wrap}
.hero .btn-ghost{color:var(--ink)}
.proof{display:flex;gap:26px;margin-top:36px;flex-wrap:wrap}
.proof div{font-size:14px;color:var(--muted)}
.proof b{display:block;font-family:"Bricolage Grotesque",sans-serif;font-size:30px;color:var(--ink);line-height:1.1}
.carbox{position:relative}
.carbox img{width:100%;filter:drop-shadow(0 30px 30px rgba(14,26,43,.25))}
.badge{position:absolute;background:#fff;border-radius:14px;padding:12px 16px;box-shadow:0 12px 30px rgba(14,26,43,.12);font-size:13.5px;font-weight:600;display:flex;align-items:center;gap:10px;line-height:1.35}
.badge .big{font-family:"Bricolage Grotesque",sans-serif;font-size:24px;font-weight:800}
.badge.b1{left:-10px;bottom:30px}.badge.b2{right:0;top:10px}

/* ---------- inner page hero ---------- */
.page-hero{background:var(--ink);color:#fff;padding:56px 0 60px;position:relative;overflow:hidden}
.page-hero::after{content:"";position:absolute;right:-120px;top:-160px;width:480px;height:480px;border-radius:50%;background:rgba(255,255,255,.04)}
.page-hero .wrap{position:relative;z-index:1}
.crumbs{font-size:13.5px;color:#9aa6b8;margin-bottom:16px}
.crumbs a{color:#cfd7e3}.crumbs a:hover{color:#fff}
.page-hero h1{font-size:clamp(34px,4.6vw,56px);font-weight:800;max-width:880px}
.page-hero p{color:#b8c2d0;font-size:18px;margin-top:16px;max-width:720px}
.page-hero .ctas{margin-top:28px}
.page-hero .btn-ghost{color:#fff}

/* ---------- trust strip ---------- */
.strip{background:var(--ink);color:#fff}
.strip .wrap{display:grid;grid-template-columns:repeat(4,1fr)}
.strip div{padding:24px 20px;border-left:1px solid rgba(255,255,255,.1);font-size:14px;color:#b8c2d0}
.strip div:first-child{border-left:0}
.strip b{display:block;color:#fff;font-size:16px;margin-bottom:2px}

/* ---------- sections ---------- */
section{padding:88px 0}
.section-tight{padding:56px 0}
.bg-white{background:#fff}
.bg-dark{background:var(--ink);color:#fff}
.head{max-width:700px;margin-bottom:42px}
.head.center{margin-left:auto;margin-right:auto}
.head h2{font-size:clamp(30px,3.8vw,46px);margin-top:10px}
.head p{color:var(--muted);margin-top:14px;font-size:17px}
.bg-dark .head p{color:#a9b4c4}
.two{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.two.top{align-items:start}
.two>*,.grid>*,.hero .wrap>*{min-width:0}

/* text content (prose) */
.prose h2{font-size:clamp(26px,3vw,36px);margin:44px 0 14px}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:21px;margin:30px 0 10px}
.prose p{margin-bottom:14px;color:#2d3a4d;font-size:16.5px}
.prose ul,.prose ol{margin:0 0 18px 0;padding-left:0;list-style:none}
.prose li{position:relative;padding-left:30px;margin-bottom:9px;color:#2d3a4d}
.prose ul li::before{content:"";position:absolute;left:4px;top:9px;width:9px;height:9px;border-radius:50%;background:var(--red)}
.prose ol{counter-reset:n}
.prose ol li{counter-increment:n}
.prose ol li::before{content:counter(n);position:absolute;left:0;top:1px;width:21px;height:21px;border-radius:50%;background:var(--ink);color:#fff;font-size:12px;font-weight:700;display:grid;place-items:center}
.prose a{color:var(--red);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.prose strong{color:var(--ink)}
.banner-img{border-radius:var(--r);overflow:hidden;box-shadow:0 18px 40px rgba(14,26,43,.12);margin-bottom:40px}
.round{border-radius:var(--r)}

/* ticks list */
.ticks{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:12px 22px;margin-top:24px}
.ticks.one{grid-template-columns:1fr}
.ticks li{display:flex;gap:10px;font-weight:600;font-size:15px}
.ticks li::before{content:"\2713";flex:none;width:22px;height:22px;border-radius:50%;background:#fde7ea;color:var(--red);display:grid;place-items:center;font-size:12px;font-weight:800;margin-top:1px}
.bg-dark .ticks li::before{background:rgba(255,255,255,.1);color:#fff}

/* stat / info boxes */
.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:26px 0 30px}
.fact{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 22px}
.fact b{display:block;font-family:"Bricolage Grotesque",sans-serif;font-size:30px;line-height:1.1}
.fact span{font-size:14px;color:var(--muted)}
.note-box{background:#fff8e6;border:1px solid #f3dfa6;border-radius:14px;padding:18px 22px;margin:20px 0;font-size:15.5px}
.note-box strong{color:var(--ink)}

/* cards */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid.g2{grid-template-columns:repeat(2,1fr)}
.grid.g4{grid-template-columns:repeat(4,1fr)}
.card{border:1px solid var(--line);border-radius:var(--r);padding:28px;transition:.2s;background:#fff;display:block}
a.card:hover{border-color:var(--ink);transform:translateY(-3px)}
.card .ic{width:44px;height:44px;border-radius:12px;background:var(--paper);display:grid;place-items:center;font-size:21px;margin-bottom:18px}
.card h3{font-size:20px;margin-bottom:8px}
.card p{color:var(--muted);font-size:15px}
.card .more{display:inline-block;margin-top:14px;font-weight:700;font-size:14px;color:var(--red)}

/* steps */
.steps{display:grid;gap:16px;counter-reset:s}
.step{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:26px 28px 26px 84px;position:relative;counter-increment:s}
.step::before{content:counter(s);position:absolute;left:26px;top:24px;width:40px;height:40px;border-radius:12px;background:var(--red);color:#fff;font-family:"Bricolage Grotesque",sans-serif;font-weight:800;font-size:20px;display:grid;place-items:center}
.step h3{font-size:20px;margin-bottom:8px}
.step ul{list-style:none;color:var(--muted);font-size:15.5px}
.step li{padding-left:16px;position:relative;margin-bottom:4px}
.step li::before{content:"\2022";position:absolute;left:0;color:var(--red)}

/* tables */
.table-wrap{overflow-x:auto;border-radius:var(--r);border:1px solid var(--line);background:#fff;margin:10px 0 24px}
table{width:100%;border-collapse:collapse;font-size:15.5px}
th,td{text-align:left;padding:15px 18px;border-bottom:1px solid var(--line);vertical-align:top}
th{background:var(--ink);color:#fff;font-weight:700;font-size:14px;letter-spacing:.02em}
tr:last-child td{border-bottom:0}
td.price-cell{font-family:"Bricolage Grotesque",sans-serif;font-weight:800;font-size:19px;white-space:nowrap;text-align:right}

/* prices */
.price-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.price{border-radius:var(--r);background:#fff;border:1px solid var(--line);padding:32px;position:relative;display:flex;flex-direction:column}
.price.hot{background:var(--ink);color:#fff;border-color:var(--ink)}
.price .flag{position:absolute;top:-12px;right:24px;background:var(--red);color:#fff;font-size:12px;font-weight:700;padding:5px 12px;border-radius:999px}
.price h3{font-size:20px}
.price .amt{font-family:"Bricolage Grotesque",sans-serif;font-size:52px;font-weight:800;margin:12px 0 4px;line-height:1.1}
.price .amt small{font-size:16px;font-weight:600;opacity:.7}
.price ul{list-style:none;margin:18px 0 26px;font-size:15px;flex:1}
.price li{padding:9px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px}
.price.hot li{border-color:rgba(255,255,255,.12)}
.price .btn{width:100%;justify-content:center}
.pay-note{font-size:14px;color:var(--muted);margin-top:16px}

/* reviews */
.rv-top{display:flex;justify-content:space-between;align-items:end;gap:30px;flex-wrap:wrap;margin-bottom:42px}
.rv-top .head{margin:0}
.score{display:flex;align-items:center;gap:18px}
.score .n{font-family:"Bricolage Grotesque",sans-serif;font-size:64px;font-weight:800;line-height:1}
.score .stars{font-size:22px;letter-spacing:3px}
.score small{color:#a9b4c4}
.rv{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.q{background:var(--ink-2);border-radius:var(--r);padding:30px;display:flex;flex-direction:column}
.q .stars{margin-bottom:14px}
.q p{font-size:16.5px;flex:1}
.q .who{margin-top:22px;font-weight:700;font-size:14.5px}
.q .who span{display:block;font-weight:500;color:#8f9bb0;font-size:13px}

/* testimonials page */
.tgrid{columns:3 300px;column-gap:18px}
.t{break-inside:avoid;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:22px;margin-bottom:18px}
.t .top{display:flex;gap:14px;align-items:center;margin-bottom:14px}
.t img{width:62px;height:62px;border-radius:50%;object-fit:cover;object-position:top;flex:none}
.t b{font-size:17px;display:block}
.t p{color:#2d3a4d;font-size:15.5px}
.passwall{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}
.passwall figure{background:#fff;border-radius:14px;overflow:hidden;border:1px solid var(--line)}
.passwall img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:top}
.passwall figcaption{padding:8px 12px;font-weight:700;font-size:14px}
.widget-box{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:20px;display:flex;justify-content:center}

/* areas */
.areas{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.areas a{padding:10px 16px;border-radius:999px;background:#fff;border:1px solid var(--line);font-weight:600;font-size:14.5px}
.areas a:hover,.areas a.active{border-color:var(--red);color:var(--red)}
.bg-dark .areas a{background:var(--ink-2);border-color:var(--ink-2);color:#fff}

.ttp{margin-top:30px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:24px;display:flex;gap:18px;align-items:center}
.ttp .ic{flex:none;width:54px;height:54px;border-radius:14px;background:var(--red);color:#fff;display:grid;place-items:center;font-size:24px}
.ttp b{font-size:17px;display:block}
.ttp p{color:var(--muted);font-size:14.5px}
.ttp a{color:var(--red);font-weight:700}

/* faq */
details{border-bottom:1px solid var(--line);padding:20px 0}
details:first-of-type{border-top:1px solid var(--line)}
summary{list-style:none;cursor:pointer;font-weight:700;font-size:17.5px;display:flex;justify-content:space-between;gap:20px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-size:24px;line-height:1;color:var(--red);transition:.2s;flex:none}
details[open] summary::after{transform:rotate(45deg)}
details p,details div{color:var(--muted);margin-top:10px;font-size:15.5px}
details a{color:var(--red);font-weight:600;text-decoration:underline}

/* links page */
.link-groups{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.link-group{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:26px}
.link-group h3{font-size:19px;margin-bottom:14px;display:flex;gap:10px;align-items:center}
.link-group ul{list-style:none}
.link-group li{border-top:1px solid var(--line)}
.link-group li:first-child{border-top:0}
.link-group a{display:flex;justify-content:space-between;gap:10px;padding:10px 0;font-weight:600;font-size:15px}
.link-group a:hover{color:var(--red)}
.link-group a span{font-size:12px;font-weight:700;color:var(--muted);background:var(--paper);border-radius:6px;padding:2px 7px;align-self:center;flex:none}

/* badges */
.badges{display:flex;flex-wrap:wrap;gap:26px 40px;align-items:center;justify-content:center}
.badges img{height:auto;max-height:84px;width:auto;max-width:190px;object-fit:contain}

/* call to action band */
.cta-band{background:var(--red);color:#fff;padding:56px 0}
.cta-band .wrap{display:flex;justify-content:space-between;align-items:center;gap:30px;flex-wrap:wrap}
.cta-band h2{font-size:clamp(28px,3.4vw,40px)}
.cta-band p{opacity:.9;margin-top:6px}
.cta-band .btn{background:#fff;color:var(--red)}
.cta-band .btn:hover{background:var(--ink);color:#fff}
.cta-band .btn-ghost{background:transparent;color:#fff}

/* contact */
.ways{margin-top:28px;display:grid;gap:14px}
.way{display:flex;gap:16px;align-items:center;padding:18px;border-radius:14px;background:var(--paper)}
.way .ic{width:46px;height:46px;border-radius:12px;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:20px;flex:none}
.way b{display:block;font-size:17px}
.way span{color:var(--muted);font-size:14px}
.form{background:var(--paper);border-radius:var(--r);padding:34px;display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form .full{grid-column:1/-1}
.form label{font-size:13.5px;font-weight:700;display:block;margin-bottom:6px}
.form label i{font-style:normal;color:var(--red)}
.form input,.form select,.form textarea{width:100%;font:inherit;font-size:15px;padding:13px 15px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--ink)}
.form input:focus,.form select:focus,.form textarea:focus{outline:2px solid var(--ink);outline-offset:1px}
.form textarea{min-height:130px;resize:vertical}
.form .btn{justify-content:center}
.hp-field{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
.small{font-size:12.5px;color:var(--muted)}
.alert{border-radius:14px;padding:18px 20px;margin-bottom:20px;font-weight:600}
.alert-ok{background:#e7f6ec;color:#17643a;border:1px solid #bfe5cc}
.alert-err{background:#fde7ea;color:#a3172d;border:1px solid #f6c3cb}

/* footer */
.site-footer{background:var(--ink);color:#a9b4c4;padding:64px 0 28px;font-size:14.5px}
.site-footer .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px}
.site-footer h4{color:#fff;font-size:15px;margin-bottom:14px}
.site-footer ul{list-style:none;display:grid;gap:8px}
.site-footer a:hover{color:#fff}
.site-footer .logo{color:#fff;margin-bottom:14px}
.site-footer .areas-line{margin-top:40px;font-size:13.5px;line-height:2}
.site-footer .areas-line a{white-space:nowrap}
.site-footer .bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:26px;padding-top:22px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:13px}

/* sticky call bar (phones only) */
.callbar{display:none}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .menu{display:none}
  .burger{display:block}
  .menu.open{display:flex;flex-direction:column;position:absolute;top:74px;left:0;right:0;background:var(--paper);border-bottom:1px solid var(--line);padding:12px 18px 18px;box-shadow:0 20px 30px rgba(14,26,43,.08)}
  .menu.open a{padding:13px 14px;font-size:16px}
}
@media (max-width:900px){
  .hero .wrap,.two{grid-template-columns:1fr}
  .hero{padding-top:44px}
  .carbox{max-width:480px;margin:0 auto}
  .strip .wrap{grid-template-columns:1fr 1fr}
  .strip div:nth-child(3){border-left:0}
  .grid,.rv,.price-cards,.link-groups,.grid.g4{grid-template-columns:1fr 1fr}
  .facts{grid-template-columns:1fr 1fr}
  .site-footer .cols{grid-template-columns:1fr 1fr}
  section{padding:68px 0}
}
@media (max-width:620px){
  .grid,.grid.g2,.rv,.price-cards,.ticks,.form,.link-groups,.grid.g4,.facts{grid-template-columns:1fr}
  .topbar .hide-sm{display:none}
  .topbar .wrap{justify-content:center}
  .site-header .btn{display:none}
  .badge.b2{display:none}
  .step{padding:22px 22px 22px 74px}
  .step::before{left:20px}
  .badges img{max-height:60px;max-width:140px}
  .callbar{display:grid;grid-template-columns:1fr 1fr;position:fixed;bottom:0;left:0;right:0;z-index:60;background:var(--ink);padding:10px;gap:10px}
  .callbar a{justify-content:center;padding:13px;font-size:15px}
  .callbar .btn-ghost{color:#fff}
  body{padding-bottom:72px}
  .site-footer .cols{grid-template-columns:1fr}
  th,td{padding:12px 12px}
}
