/* ===========================================================
   Driveways Milton Keynes — shared stylesheet
   White and red
   =========================================================== */

:root{
  --ink-950:#1a1214;
  --ink-900:#241a1d;
  --ink-800:#332427;
  --red-600:#c1272d;
  --red-700:#9c1f24;
  --white:#ffffff;
  --ice-100:#f7f2f2;
  --ink-muted:#5c5257;
  --ink-text:#1e1517;
  --line-light: rgba(26,18,20,0.12);
  --line-dark: rgba(255,255,255,0.16);
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  background:var(--white);
  color:var(--ink-text);
  font-family:'Inter', sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}

h1,h2,h3,.display{
  font-family:'Plus Jakarta Sans', sans-serif;
  color:var(--ink-950);
  letter-spacing:-0.01em;
}

.eyebrow{
  font-family:'Inter', sans-serif;
  text-transform:uppercase;
  letter-spacing:0.14em;
  font-size:0.72rem;
  color:var(--red-600);
  font-weight:700;
}

a{ color:inherit; }
img{ max-width:100%; display:block; }
.wrap{ max-width:1180px; margin:0 auto; padding:0 6vw; }

/* ---------- Kerb rule (signature divider) ---------- */
.kerb-rule{ display:flex; align-items:center; gap:0.6rem; margin-bottom:1rem; }
.kerb-rule svg{ width:24px; height:14px; color:var(--red-600); flex-shrink:0; }
.kerb-rule .line{ flex:1; height:1px; background:var(--line-light); }
.kerb-rule.on-dark .line{ background:var(--line-dark); }

/* ---------- Header (pill nav) ---------- */
header{ position:sticky; top:0; z-index:60; background:rgba(255,255,255,0.96); backdrop-filter:blur(8px); border-bottom:1px solid var(--line-light); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; padding:1rem 6vw; max-width:1180px; margin:0 auto; gap:1.5rem; }
.brand{ display:flex; align-items:center; gap:0.65rem; text-decoration:none; }
.brand svg{ width:36px; height:36px; flex-shrink:0; }
.brand-text{ font-family:'Plus Jakarta Sans', sans-serif; font-weight:700; font-size:1rem; color:var(--ink-950); line-height:1.15; }
.brand-text span{ display:block; font-family:'Inter', sans-serif; font-size:0.58rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--red-600); font-weight:600; margin-top:2px; }
nav.main-nav{ display:flex; gap:0.25rem; flex-wrap:wrap; background:var(--ice-100); padding:0.35rem; border-radius:999px; }
nav.main-nav a{ text-decoration:none; font-size:0.8rem; font-weight:600; color:var(--ink-800); transition:all .2s; white-space:nowrap; padding:0.5rem 0.85rem; border-radius:999px; }
nav.main-nav a:hover{ color:var(--ink-950); background:rgba(26,18,20,0.06); }
nav.main-nav a[aria-current="page"]{ color:var(--white); background:var(--ink-950); }
.header-cta{ display:inline-flex; align-items:center; gap:0.5rem; background:var(--red-600); color:var(--white); text-decoration:none; padding:0.6rem 1.1rem; font-size:0.82rem; font-weight:700; border-radius:4px; transition:background .2s; white-space:nowrap; }
.header-cta:hover{ background:var(--red-700); }
@media (max-width:1100px){ nav.main-nav{ display:none; } }

/* ---------- Hero (single column, overlapping stat bar) ---------- */
.hero{ position:relative; background:linear-gradient(135deg, var(--ink-950), var(--ink-800)); color:var(--white); padding:5.5rem 0 0; }
.hero .wrap{ position:relative; z-index:2; }
.hero-grid{ max-width:760px; margin:0 auto; text-align:center; }
.hero h1{ font-size:clamp(2.2rem, 4.6vw, 3.3rem); font-weight:700; line-height:1.1; color:var(--white); }
.hero h1 .accent{ color:var(--red-600); }
.hero p.lede{ margin:1.2rem auto 0; max-width:560px; font-size:1.05rem; color:#ded4d5; line-height:1.65; }
.hero-ctas{ display:flex; gap:1rem; margin-top:2rem; flex-wrap:wrap; justify-content:center; }
.btn-solid, .btn-ghost{ text-decoration:none; font-weight:700; font-size:0.92rem; padding:0.9rem 1.6rem; border-radius:4px; display:inline-flex; align-items:center; gap:0.55rem; transition:all .2s; }
.btn-solid{ background:var(--red-600); color:var(--white); }
.btn-solid:hover{ background:var(--red-700); }
.btn-ghost{ border:1px solid var(--line-dark); color:var(--white); }
.btn-ghost:hover{ border-color:#ded4d5; color:#ded4d5; }
.hero-badges{ display:flex; flex-wrap:wrap; gap:0.6rem; margin-top:2.4rem; justify-content:center; }
.hero-badges .badge{ font-size:0.76rem; letter-spacing:0.02em; color:#ede6e6; display:flex; align-items:center; gap:0.45rem; font-weight:600; background:rgba(255,255,255,0.08); border:1px solid var(--line-dark); padding:0.5rem 0.9rem; border-radius:999px; }
.hero-badges svg{ width:14px; height:14px; color:var(--red-600); }

.hero-stats{ position:relative; margin-top:3rem; transform:translateY(50%); z-index:5; }
.hero-stats .trust-strip{ background:var(--white); box-shadow:0 12px 30px rgba(26,18,20,0.18); }

/* ---------- Section shell ---------- */
section{ padding:5rem 0; }
.hero + section{ padding-top:6.5rem; }
.section-head{ max-width:660px; margin-bottom:2.6rem; }
.section-head h2{ font-size:clamp(1.75rem, 3.4vw, 2.4rem); margin-top:0.6rem; font-weight:700; }
.section-head p{ margin-top:1rem; color:var(--ink-muted); font-size:1rem; line-height:1.7; max-width:600px; }
.bg-alt{ background:var(--ice-100); border-top:1px solid var(--line-light); border-bottom:1px solid var(--line-light); }
.bg-dark{ background:var(--ink-950); color:#eee5e6; }
.bg-dark .section-head p{ color:#c7b9bb; }
.bg-dark h2{ color:var(--white); }
.bg-dark .prose p{ color:#ded4d5; }
.bg-dark .prose h3{ color:var(--white); }
.bg-dark .check-list li{ color:#ded4d5; }
.bg-dark .check-list svg{ color:var(--red-600); }
.bg-dark .eyebrow{ color:var(--red-600); }
.bg-dark .service-card{ background:rgba(255,255,255,0.06); border-color:var(--line-dark); }
.bg-dark .service-card p{ color:#ded4d5; }
.bg-dark .service-card h3{ color:var(--white); }
.bg-dark .trust-item{ background:rgba(255,255,255,0.06); border-color:var(--line-dark); }
.bg-dark .trust-item .lbl{ color:#ded4d5; }
.bg-dark .faq-item{ border-color:var(--line-dark); }
.bg-dark .faq-item h3{ color:var(--white); }
.bg-dark .faq-item p{ color:#ded4d5; }

.prose{ max-width:760px; }
.prose p{ color:var(--ink-muted); font-size:1rem; line-height:1.75; margin-bottom:1.1rem; }
.prose p:last-child{ margin-bottom:0; }
.prose h3{ font-size:1.2rem; font-weight:700; margin:1.8rem 0 0.7rem; color:var(--ink-950); }

/* ---------- Services grid (bento) ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(3, 1fr); grid-auto-rows:1fr; gap:1.4rem; }
.service-card{ background:var(--white); border:1px solid var(--line-light); padding:2rem 1.6rem; border-radius:8px; transition:border-color .2s, transform .2s, box-shadow .2s; display:flex; flex-direction:column; }
.service-card:hover{ border-color:var(--red-600); transform:translateY(-3px); box-shadow:0 8px 20px rgba(26,18,20,0.08); }
.service-card svg{ width:32px; height:32px; color:var(--ink-800); margin-bottom:1rem; }
.service-card h3{ font-size:1.02rem; font-weight:700; margin-bottom:0.6rem; }
.service-card p{ font-size:0.88rem; color:var(--ink-muted); line-height:1.6; flex:1; }
.service-card a.more{ display:inline-block; margin-top:0.9rem; font-size:0.8rem; font-weight:700; letter-spacing:0.02em; color:var(--red-600); text-decoration:none; }
#services .services-grid .service-card:first-child{ grid-column:span 2; background:var(--ink-950); border-color:var(--ink-950); }
#services .services-grid .service-card:first-child h3{ color:var(--white); }
#services .services-grid .service-card:first-child p{ color:#ded4d5; }
#services .services-grid .service-card:first-child svg{ color:var(--red-600); width:40px; height:40px; }
#services .services-grid .service-card:first-child a.more{ color:var(--red-600); }
@media (max-width:980px){ .services-grid{ grid-template-columns:repeat(2,1fr); } #services .services-grid .service-card:first-child{ grid-column:span 2; } }
@media (max-width:600px){ .services-grid{ grid-template-columns:1fr; } #services .services-grid .service-card:first-child{ grid-column:span 1; } }

.services-grid-3{ display:grid; grid-template-columns:repeat(3, 1fr); gap:1.4rem; }
@media (max-width:920px){ .services-grid-3{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .services-grid-3{ grid-template-columns:1fr; } }

/* ---------- Checklist ---------- */
.check-list{ list-style:none; display:flex; flex-direction:column; gap:0.7rem; max-width:620px; margin-top:1.4rem; }
.check-list li{ display:flex; gap:0.7rem; font-size:0.95rem; color:var(--ink-muted); align-items:flex-start; }
.check-list svg{ width:18px; height:18px; color:var(--red-600); flex-shrink:0; margin-top:2px; }

/* ---------- Process steps (vertical timeline) ---------- */
.process-list{ display:flex; flex-direction:column; gap:0; max-width:640px; position:relative; }
.process-list::before{ content:""; position:absolute; left:23px; top:8px; bottom:8px; width:2px; background:var(--line-light); }
.process-step{ padding:0 0 2.2rem 4rem; position:relative; }
.process-step:last-child{ padding-bottom:0; }
.process-step::before{ content:attr(data-num); position:absolute; left:0; top:0; width:48px; height:48px; border-radius:50%; background:var(--ink-950); color:var(--red-600); font-family:'Plus Jakarta Sans',sans-serif; font-weight:700; font-size:1rem; display:flex; align-items:center; justify-content:center; }
.process-step .step-num{ display:none; }
.process-step h3{ font-size:1.05rem; margin:0 0 0.4rem; font-weight:700; }
.process-step p{ font-size:0.9rem; color:var(--ink-muted); line-height:1.6; }

/* ---------- Trust strip ---------- */
.trust-strip{ display:flex; border:1px solid var(--line-light); border-radius:8px; overflow:hidden; }
.trust-item{ flex:1; padding:1.8rem 1.6rem; border-right:1px solid var(--line-light); text-align:center; background:var(--white); }
.trust-item:last-child{ border-right:none; }
.trust-item .num{ font-family:'Plus Jakarta Sans', sans-serif; font-size:1.85rem; font-weight:700; color:var(--red-600); }
.trust-item .lbl{ font-size:0.7rem; letter-spacing:0.04em; text-transform:uppercase; color:var(--ink-muted); margin-top:0.4rem; font-weight:600; }
@media (max-width:760px){ .trust-strip{ flex-wrap:wrap; } .trust-item{ flex:1 1 50%; border-bottom:1px solid var(--line-light); } }

/* ---------- FAQ (two-column) ---------- */
.faq-list{ max-width:none; columns:2; column-gap:2.4rem; }
.faq-item{ border-bottom:1px solid var(--line-light); padding:1.5rem 0; break-inside:avoid; }
.faq-item h3{ font-size:1.02rem; font-weight:700; margin-bottom:0.6rem; }
.faq-item p{ color:var(--ink-muted); font-size:0.92rem; line-height:1.65; }
@media (max-width:760px){ .faq-list{ columns:1; } }

/* ---------- CTA band (split layout) ---------- */
.cta-band{ background:linear-gradient(120deg, var(--ink-950), var(--ink-800)); color:var(--white); padding:3rem 0; }
.cta-band .wrap{ display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap; }
.cta-band .cta-text{ max-width:560px; }
.cta-band h2{ color:var(--white); font-size:clamp(1.5rem,3vw,2rem); margin:0; }
.cta-band p{ color:#ded4d5; margin-top:0.5rem; }
.cta-band .hero-ctas{ justify-content:flex-start; margin-top:0; flex-shrink:0; }
@media (max-width:760px){ .cta-band .wrap{ flex-direction:column; text-align:center; } .cta-band .hero-ctas{ justify-content:center; } }

/* ---------- Contact page ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:2.4rem; }
.contact-card{ border:1px solid var(--line-light); padding:2rem; border-radius:8px; }
.contact-card h3{ font-size:1.1rem; font-weight:700; margin-bottom:1rem; }
.info-row{ display:flex; align-items:flex-start; gap:0.8rem; margin-bottom:1.1rem; font-size:0.94rem; }
.info-row svg{ width:20px; height:20px; color:var(--red-600); flex-shrink:0; margin-top:2px; }
.info-row a{ text-decoration:none; color:var(--ink-950); font-weight:600; }
.info-row a:hover{ color:var(--red-600); }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } }

/* ---------- Footer ---------- */
footer{ background:var(--ink-950); color:#c7b9bb; padding:3.4rem 0 1.6rem; }
.footer-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:2rem 2.4rem; padding-bottom:2.2rem; border-bottom:1px solid var(--line-dark); }
.footer-brand{ grid-column:1 / -1; padding-bottom:1.6rem; border-bottom:1px solid var(--line-dark); display:flex; align-items:flex-end; justify-content:space-between; gap:2rem; flex-wrap:wrap; }
.footer-grid h4{ font-size:0.72rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--white); margin-bottom:1rem; font-weight:700; }
.footer-grid ul{ list-style:none; display:flex; flex-direction:column; gap:0.6rem; }
.footer-grid a{ text-decoration:none; font-size:0.87rem; color:#c7b9bb; transition:color .2s; }
.footer-grid a:hover{ color:var(--red-600); }
.footer-brand .brand-text{ color:var(--white); }
.footer-brand p{ font-size:0.85rem; max-width:280px; color:#c7b9bb; line-height:1.65; }
.footer-legal{ font-size:0.76rem; color:#9c8c8f; line-height:1.7; margin-top:1rem; max-width:360px; }
.footer-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:0.6rem; padding-top:1.4rem; font-size:0.74rem; letter-spacing:0.02em; color:#9c8c8f; }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } .footer-brand{ align-items:flex-start; flex-direction:column; } }

:focus-visible{ outline:2px solid var(--red-600); outline-offset:2px; }
.skip-link{ position:absolute; left:-999px; top:auto; background:var(--ink-950); color:var(--white); padding:0.8rem 1.2rem; z-index:999; }
.skip-link:focus{ left:1rem; top:1rem; }
