/* ============================================================
   Impressive Driving School — Landing Page
   Vanilla CSS · Mobile-first · Blade-friendly
   ============================================================ */

:root{
  --red:#E01B22;
  --red-dark:#B11217;
  --red-soft:#FDECEC;
  --blue:#1E3A8A;
  --ink:#16181D;
  --muted:#5C6270;
  --bg:#FFFFFF;
  --surface:#F7F8FA;
  --surface-2:#EEF1F6;
  --line:#E6E9EF;
  --white:#FFFFFF;

  --r-sm:10px;
  --r-md:16px;
  --r-lg:24px;
  --r-pill:999px;

  --shadow-sm:0 1px 2px rgba(22,24,29,.06), 0 2px 8px rgba(22,24,29,.05);
  --shadow-md:0 8px 24px rgba(22,24,29,.08), 0 2px 6px rgba(22,24,29,.05);
  --shadow-lg:0 24px 60px rgba(22,24,29,.14);

  --maxw:1180px;
  --gutter:20px;
  --header-h:68px;

  --font:"Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:"Space Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;scroll-padding-top:var(--header-h);}
body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,h4{margin:0;line-height:1.12;letter-spacing:-0.02em;font-weight:800;}
p{margin:0;}
a{color:inherit;text-decoration:none;}
img{display:block;max-width:100%;}
ul{margin:0;padding:0;list-style:none;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}

.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 var(--gutter);}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55em;
  font-weight:700;font-size:15px;letter-spacing:-0.01em;
  padding:14px 24px;border-radius:var(--r-pill);
  transition:transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space:nowrap;
}
.btn:active{transform:translateY(1px);}
.btn-primary{background:var(--red);color:#fff;box-shadow:0 8px 20px rgba(224,27,34,.28);}
.btn-primary:hover{background:var(--red-dark);box-shadow:0 10px 26px rgba(224,27,34,.36);}
.btn-ghost{background:transparent;color:var(--ink);border:1.5px solid var(--line);}
.btn-ghost:hover{border-color:var(--ink);}
.btn-light{background:#fff;color:var(--ink);box-shadow:var(--shadow-md);}
.btn-light:hover{transform:translateY(-2px);}
.btn svg{width:17px;height:17px;}

/* ---------- Section scaffolding ---------- */
section{padding:64px 0;}
.eyebrow{
  display:inline-flex;align-items:center;gap:.5em;
  font-size:12.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--red);
}
.eyebrow::before{content:"";width:22px;height:2px;background:var(--red);border-radius:2px;}
.section-head{max-width:640px;margin-bottom:36px;}
.section-head h2{font-size:clamp(28px,7vw,42px);margin:14px 0 12px;}
.section-head p{color:var(--muted);font-size:17px;}
.center{margin-left:auto;margin-right:auto;text-align:center;}
.center .eyebrow{justify-content:center;}

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:sticky;top:0;z-index:60;
  height:var(--header-h);
  background:rgba(255,255,255,.86);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
}
.site-header .container{height:100%;display:flex;align-items:center;justify-content:space-between;}
.brand{display:flex;align-items:center;gap:10px;height:100%;}
.brand img{height:46px;width:auto;object-fit:contain;}
.nav-desktop{display:none;}
.header-actions{display:flex;align-items:center;gap:10px;}
.header-actions .btn{padding:11px 18px;font-size:14px;}
.nav-toggle{
  display:inline-flex;flex-direction:column;justify-content:center;gap:5px;
  width:42px;height:42px;border-radius:12px;border:1.5px solid var(--line);
}
.nav-toggle span{display:block;height:2px;width:18px;background:var(--ink);margin:0 auto;border-radius:2px;transition:.25s;}
.call-mini{display:inline-flex;}

/* mobile drawer */
.mobile-nav{
  position:fixed;inset:var(--header-h) 0 auto 0;z-index:55;
  background:#fff;border-bottom:1px solid var(--line);
  box-shadow:var(--shadow-lg);
  transform:translateY(-120%);transition:transform .32s cubic-bezier(.4,0,.2,1);
  padding:14px var(--gutter) 22px;
}
.mobile-nav.open{transform:translateY(0);}
.mobile-nav a{
  display:block;padding:14px 6px;font-weight:600;font-size:17px;
  border-bottom:1px solid var(--line);
}
.mobile-nav a:last-of-type{border-bottom:none;}
.mobile-nav .btn{width:100%;margin-top:14px;}

/* ============================================================
   HERO
   ============================================================ */
.hero{position:relative;padding:0;overflow:hidden;background:var(--ink);}
.hero-stage{position:relative;min-height:560px;}
.slides{position:absolute;inset:0;}
.slide{
  position:absolute;inset:0;opacity:0;transition:opacity 1s ease;
  background:#1b1d22;
}
.slide.active{opacity:1;}
/* hero imagery */
.slide-img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center 35%;
  transform:scale(1.06);
}
.slide.active .slide-img{animation:kenburns 7s ease-out forwards;}
@keyframes kenburns{from{transform:scale(1.06);}to{transform:scale(1.14);}}
@media (prefers-reduced-motion:reduce){.slide.active .slide-img{animation:none;}}
/* striped placeholder fallback */
.ph{
  position:absolute;inset:0;
  background:repeating-linear-gradient(135deg,#23262d 0 22px,#1c1f25 22px 44px);
}
.slide .scrim{
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(15,16,20,.55) 0%,rgba(15,16,20,.35) 40%,rgba(15,16,20,.86) 100%);
}
.hero-content{
  position:relative;z-index:3;
  min-height:560px;display:flex;flex-direction:column;justify-content:flex-end;
  padding:90px 0 92px 14px;color:#fff;
}
.hero-badge{
  display:inline-flex;align-items:center;gap:.5em;align-self:flex-start;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);
  color:#fff;font-size:12.5px;font-weight:600;letter-spacing:.04em;
  padding:7px 14px;border-radius:var(--r-pill);backdrop-filter:blur(6px);margin-bottom:18px;
}
.hero-badge .dot{width:7px;height:7px;border-radius:50%;background:#37D67A;box-shadow:0 0 0 4px rgba(55,214,122,.25);}
.hero h1{font-size:clamp(34px,9vw,62px);max-width:14ch;}
.hero h1 .accent{color:#fff;position:relative;}
.hero h1 .accent::after{content:"";position:absolute;left:0;right:0;bottom:.06em;height:.16em;background:var(--red);border-radius:3px;z-index:-1;}
.hero p.lede{font-size:clamp(16px,4.4vw,20px);color:rgba(255,255,255,.86);max-width:48ch;margin:18px 0 28px;}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;}
.hero-cta .btn{flex:1 1 100%;}
.hero-stats{
  display:flex;flex-wrap:wrap;gap:22px 34px;margin-top:36px;
  padding-top:26px;border-top:1px solid rgba(255,255,255,.16);
}
.hero-stats .stat .num{font-size:26px;font-weight:800;letter-spacing:-0.02em;}
.hero-stats .stat .lbl{font-size:12.5px;color:rgba(255,255,255,.66);letter-spacing:.02em;}

/* slideshow controls */
.dots{position:absolute;left:var(--gutter);bottom:34px;z-index:4;display:flex;gap:9px;}
.dots button{width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.4);transition:.25s;}
.dots button.active{background:#fff;width:30px;border-radius:6px;}

/* ============================================================
   MARQUEE / TRUST STRIP
   ============================================================ */
.trust-strip{background:var(--red);color:#fff;padding:0;overflow:hidden;}
.trust-track{display:flex;gap:0;white-space:nowrap;animation:marquee 28s linear infinite;}
.trust-track span{
  display:inline-flex;align-items:center;gap:12px;
  padding:16px 28px;font-weight:700;font-size:15px;letter-spacing:.01em;
}
.trust-track span::before{content:"★";color:rgba(255,255,255,.6);}
@keyframes marquee{to{transform:translateX(-50%);}}
@media (prefers-reduced-motion:reduce){.trust-track{animation:none;}}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.features{background:var(--surface);}
.feature-grid{display:grid;grid-template-columns:1fr;gap:16px;}
.feature{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-md);
  padding:26px 24px;box-shadow:var(--shadow-sm);transition:transform .2s ease, box-shadow .2s ease;
}
.feature:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);}
.feature .ico{
  width:50px;height:50px;border-radius:14px;background:var(--red-soft);color:var(--red);
  display:grid;place-items:center;margin-bottom:16px;
}
.feature .ico svg{width:26px;height:26px;}
.feature h3{font-size:18px;margin-bottom:7px;}
.feature p{color:var(--muted);font-size:15px;}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-note{
  display:flex;gap:14px;align-items:flex-start;
  background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--red);
  border-radius:var(--r-md);padding:18px 20px;margin-bottom:30px;
}
.pricing-note svg{width:22px;height:22px;color:var(--red);flex-shrink:0;margin-top:2px;}
.pricing-note p{font-size:15px;color:var(--ink);}
.pricing-note strong{color:var(--red);}

.price-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:28px;}
.price-tab{
  padding:11px 18px;border-radius:var(--r-pill);font-weight:700;font-size:14px;
  background:var(--surface);color:var(--muted);border:1.5px solid transparent;transition:.2s;
}
.price-tab.active{background:var(--ink);color:#fff;}
.price-tab:hover:not(.active){border-color:var(--line);color:var(--ink);}

.price-panel{display:none;}
.price-panel.active{display:block;animation:fade .35s ease;}
@keyframes fade{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:none;}}

.price-grid{display:grid;grid-template-columns:1fr;gap:14px;}
.price-card{
  position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--r-md);
  padding:22px;display:flex;align-items:center;justify-content:space-between;gap:16px;
  box-shadow:var(--shadow-sm);transition:transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.price-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);border-color:#d7dbe3;}
.price-card .pc-name{font-weight:700;font-size:16px;}
.price-card .pc-sub{font-size:13px;color:var(--muted);margin-top:2px;}
.price-card .pc-price{font-size:24px;font-weight:800;color:var(--red);letter-spacing:-0.02em;white-space:nowrap;}
.price-card.featured{border:2px solid var(--red);box-shadow:0 14px 36px rgba(224,27,34,.16);}
.price-card .tag{
  position:absolute;top:-11px;left:22px;background:var(--red);color:#fff;
  font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  padding:4px 10px;border-radius:var(--r-pill);
}
.price-foot{margin-top:26px;display:flex;flex-wrap:wrap;align-items:center;gap:16px;}
.price-foot p{color:var(--muted);font-size:15px;}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials{background:var(--ink);color:#fff;overflow:hidden;}
.testimonials .section-head h2{color:#fff;}
.testimonials .section-head p{color:rgba(255,255,255,.7);}
.t-rating{display:flex;flex-direction:column;gap:6px;align-items:center;margin-bottom:8px;}
.t-rating .stars{color:#FFB400;font-size:22px;letter-spacing:3px;}
.t-rating .meta{font-size:13.5px;color:rgba(255,255,255,.66);}
.t-rating .meta b{color:#fff;}

.t-viewport{overflow:hidden;}
.t-track{display:flex;transition:transform .5s cubic-bezier(.4,0,.2,1);}
.t-card{flex:0 0 100%;padding:6px;}
.t-card .inner{
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);
  border-radius:var(--r-lg);padding:30px 26px;height:100%;
}
.t-card .quote-mark{font-family:Georgia,serif;font-size:56px;line-height:.6;color:var(--red);height:30px;}
.t-card .stars{color:#FFB400;letter-spacing:2px;margin-bottom:14px;font-size:15px;}
.t-card .text{font-size:16px;color:rgba(255,255,255,.9);line-height:1.65;
  display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden;}
.t-card .who{display:flex;align-items:center;gap:12px;margin-top:20px;}
.t-card .avatar{
  width:44px;height:44px;border-radius:50%;background:var(--red);color:#fff;
  display:grid;place-items:center;font-weight:800;font-size:17px;flex-shrink:0;
}
.t-card .who .name{font-weight:700;font-size:15px;}
.t-card .who .date{font-size:12.5px;color:rgba(255,255,255,.55);}
.t-nav{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:26px;}
.t-nav button{
  width:46px;height:46px;border-radius:50%;border:1.5px solid rgba(255,255,255,.25);
  color:#fff;display:grid;place-items:center;transition:.2s;
}
.t-nav button:hover{background:#fff;color:var(--ink);border-color:#fff;}
.t-nav button svg{width:20px;height:20px;}
.t-dots{display:flex;gap:8px;}
.t-dots button{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.3);}
.t-dots button.active{background:var(--red);width:24px;border-radius:5px;}

/* ============================================================
   LOCATION
   ============================================================ */
.location-wrap{display:grid;grid-template-columns:1fr;gap:0;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow-md);}
.location-info{padding:34px 28px;background:#fff;}
.location-info h2{font-size:clamp(26px,6vw,36px);margin-bottom:14px;}
.location-info .addr{font-size:18px;color:var(--ink);margin-bottom:24px;}
.contact-row{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--line);}
.contact-row:last-of-type{border-bottom:none;}
.contact-row .ico{width:44px;height:44px;border-radius:12px;background:var(--red-soft);color:var(--red);display:grid;place-items:center;flex-shrink:0;}
.contact-row .ico svg{width:21px;height:21px;}
.contact-row .lbl{font-size:12.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;}
.contact-row .val{font-weight:700;font-size:16px;}
.location-info .btn{margin-top:24px;width:100%;}
.map-embed{min-height:320px;position:relative;}
.map-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0;filter:grayscale(.15);}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{background:#0F1116;color:rgba(255,255,255,.7);padding:56px 0 28px;}
.footer-grid{display:grid;grid-template-columns:1fr;gap:34px;margin-bottom:40px;}
.footer-brand img{height:60px;background:#fff;border-radius:14px;padding:8px 12px;margin-bottom:16px;}
.footer-brand p{font-size:14.5px;max-width:34ch;}
.footer-col h4{color:#fff;font-size:14px;letter-spacing:.04em;margin-bottom:16px;}
.footer-col a{display:block;padding:7px 0;font-size:14.5px;transition:.2s;}
.footer-col a:hover{color:#fff;}
.socials{display:flex;gap:12px;margin-top:6px;}
.socials a{width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.08);display:grid;place-items:center;transition:.2s;}
.socials a:hover{background:var(--red);}
.socials svg{width:20px;height:20px;color:#fff;}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);padding-top:22px;
  display:flex;flex-direction:column;gap:10px;align-items:flex-start;font-size:13.5px;
}

/* ---------- floating call button (mobile) ---------- */
.fab-call{
  position:fixed;right:16px;bottom:16px;z-index:50;
  width:60px;height:60px;border-radius:50%;background:var(--red);color:#fff;
  display:grid;place-items:center;box-shadow:0 12px 28px rgba(224,27,34,.45);
  animation:pulse 2.4s infinite;
}
.fab-call svg{width:26px;height:26px;}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(224,27,34,.5);}70%{box-shadow:0 0 0 16px rgba(224,27,34,0);}100%{box-shadow:0 0 0 0 rgba(224,27,34,0);}}

/* ============================================================
   RESPONSIVE — tablet & up
   ============================================================ */
@media (min-width:680px){
  .feature-grid{grid-template-columns:repeat(2,1fr);}
  .price-grid{grid-template-columns:repeat(2,1fr);}
  .t-card{flex-basis:50%;}
  .footer-grid{grid-template-columns:1.4fr 1fr 1fr;}
  .footer-bottom{flex-direction:row;justify-content:space-between;align-items:center;}
  .hero-cta .btn{flex:0 0 auto;}
}

@media (min-width:920px){
  section{padding:88px 0;}
  :root{--header-h:76px;}
  .brand img{height:52px;}
  .nav-desktop{display:flex;align-items:center;gap:6px;}
  .nav-desktop a{padding:10px 16px;font-weight:600;font-size:15px;color:var(--ink);border-radius:var(--r-pill);transition:.2s;}
  .nav-desktop a:hover{background:var(--surface);color:var(--red);}
  .nav-toggle{display:none;}
  .call-mini{display:none;}
  .hero-stage,.hero-content{min-height:660px;}
  .hero-content{padding-left:0;}
  .feature-grid{grid-template-columns:repeat(4,1fr);}
  .price-grid{grid-template-columns:repeat(3,1fr);}
  .t-card{flex-basis:33.333%;}
  .location-wrap{grid-template-columns:1fr 1.2fr;}
  .location-info{padding:48px 44px;}
  .map-embed{min-height:480px;}
}

@media (min-width:1100px){
  .hero h1{font-size:64px;}
}
