:root{
  --red:#0878D1;
  --red-dark:#0664AF;
  --black:#071522;
  --ink:#142033;
  --muted:#5b6472;
  --paper:#ffffff;
  --soft:#f4f5f6;
  --line:#dfe3e8;
  --max:1180px;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.65;
}

img{max-width:100%;height:auto}
a{color:inherit}

.container{
  width:min(var(--max),calc(100% - 40px));
  margin-inline:auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:#fff;
  border-bottom:1px solid #e8ebef;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:104px;
  gap:24px;
}

.brand img{
  width:205px;
  display:block;
}

.nav{
  display:flex;
  align-items:center;
  gap:26px;
}

.nav a{
  text-decoration:none;
  font-weight:800;
  font-size:.96rem;
}

.nav a:hover,
.nav a[aria-current="page"]{
  color:var(--red);
}

.menu-toggle{
  display:none;
  border:0;
  background:transparent;
  font-size:1.8rem;
  cursor:pointer;
  color:var(--ink);
}

.hero{
  background:var(--black);
  color:#fff;
  border-bottom:4px solid var(--red);
  padding:78px 0;
}

.hero h1{
  margin:0 0 14px;
  font-size:clamp(2.5rem,5vw,4.7rem);
  line-height:1.02;
  letter-spacing:-.035em;
}

.hero p{
  max-width:820px;
  font-size:1.16rem;
  color:#f0f1f2;
  margin:0;
}

.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:28px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:12px 22px;
  border-radius:7px;
  background:var(--red);
  color:#fff;
  text-decoration:none;
  font-weight:900;
  border:2px solid var(--red);
}

.btn:hover{
  background:var(--red-dark);
  border-color:var(--red-dark);
}

.btn-outline{
  background:transparent;
  color:var(--red);
  border-color:var(--red);
}

.btn-outline.light{
  color:#fff;
  border-color:#fff;
}

.section{padding:64px 0}
.section-sm{padding:44px 0}

.section-dark{
  background:var(--black);
  color:#fff;
  border-bottom:4px solid var(--red);
}

.section-soft{background:var(--soft)}

.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:54px;
  align-items:center;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.section-title{
  text-align:center;
  margin:0 0 12px;
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.1;
  letter-spacing:-.025em;
}

.section-lead{
  text-align:center;
  max-width:800px;
  margin:0 auto 34px;
  color:var(--muted);
}

.section-dark .section-lead{color:#d7d9dc}

.card{
  background:#fff;
  border:1px solid var(--line);
  border-top:4px solid var(--red);
  border-radius:10px;
  padding:26px;
}

.card h3{
  margin:0 0 9px;
  font-size:1.25rem;
  line-height:1.25;
}

.card p{
  margin:0;
  color:#3f4855;
}

.section-dark .card{
  background:#171717;
  border-color:#343434;
}

.section-dark .card p{color:#d8d8d8}

.feature-image img{
  display:block;
  width:100%;
  border-radius:14px;
  box-shadow:0 12px 34px rgba(0,0,0,.16);
}

.kicker{
  font-size:.82rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--red);
  margin:0 0 10px;
}

.content h2{
  font-size:clamp(2rem,3.5vw,3.15rem);
  line-height:1.08;
  margin:0 0 18px;
  letter-spacing:-.025em;
}

.content p{margin:0 0 20px}

.list-clean{padding-left:20px}
.list-clean li{margin:8px 0}

.trust-strip{
  background:#171717;
  color:#fff;
}

.trust-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
}

.trust-item{
  padding:24px;
  border-right:1px solid rgba(255,255,255,.13);
}

.trust-item:last-child{border-right:0}

.trust-item strong{
  display:block;
  font-size:1.05rem;
}

.trust-item span{
  color:#c7cbd1;
  font-size:.9rem;
}

.band{
  padding:46px 0;
  background:#efefef;
  border-top:4px solid var(--red);
}

.band-grid{
  display:grid;
  grid-template-columns:1.4fr .9fr;
  gap:34px;
  align-items:center;
}

.band h2{
  margin:0 0 10px;
  font-size:2rem;
  line-height:1.12;
}

.actions{
  display:flex;
  justify-content:flex-end;
  gap:12px;
  flex-wrap:wrap;
}

.warranty-box{
  background:var(--soft);
  border:1px solid var(--line);
  border-left:5px solid var(--red);
  border-radius:10px;
  padding:30px;
}

.cta{
  background:var(--black);
  color:#fff;
  border-top:4px solid var(--red);
  padding:58px 0;
}

.cta h2{
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1.1;
  margin:0 0 12px;
}

.cta p{
  margin:0 0 24px;
  color:#ddd;
}

.site-footer{
  padding:34px 0;
  background:#fff;
  border-top:1px solid #e5e7eb;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  font-size:.9rem;
}

.footer-links{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.footer-links a{text-decoration:none}
.footer-links a:hover{color:var(--red)}

.prose{max-width:850px}

.prose h2{
  font-size:2rem;
  line-height:1.15;
  margin-top:40px;
}

.prose h3{
  font-size:1.35rem;
  margin-top:28px;
}

.prose p,
.prose li{
  color:#344054;
}

/* SERVICES */
.service-list{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  align-items:stretch;
}

.service-list .service-pill{
  display:block;
  padding:22px;
  background:#fff;
  border:1px solid #d9dde3;
  border-left:4px solid var(--red);
  border-radius:8px;
  font-weight:400 !important;
  line-height:1.65;
  height:100%;
}

.service-list .service-pill strong{
  display:block;
  margin-bottom:6px;
  font-size:18px;
  line-height:1.3;
  font-weight:800;
  color:#0b1d35;
}

/* Centre the seventh service card on desktop */
.service-list .service-pill:last-child{
  grid-column:2;
}

.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}

.contact-box{
  background:var(--soft);
  padding:32px;
  border-radius:10px;
  border:1px solid var(--line);
}

.small{
  font-size:.92rem;
  color:var(--muted);
}

/* PHOTOS */
.photo-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.photo-card{
  margin:0;
  overflow:hidden;
  border-radius:12px;
  background:#171717;
  border:1px solid var(--line);
}

.photo-card img{
  display:block;
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
}

.photo-card figcaption{
  padding:12px 14px;
  font-size:.9rem;
  color:#4b5563;
  background:#fff;
}

.section-dark .photo-card{border-color:#333}

.section-dark .photo-card figcaption{
  background:#171717;
  color:#d8d8d8;
}

.feature-image.real-photo img{
  aspect-ratio:4/3;
  object-fit:cover;
}

.feature-image.st-photo img{
  aspect-ratio:16/10;
  object-fit:cover;
  object-position:center 58%;
}

.project-intro{margin-bottom:28px}

.project-meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0 0;
}

.project-tag{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:#f3f4f6;
  border:1px solid var(--line);
  font-size:.82rem;
  font-weight:800;
}

.section-dark .project-tag{
  background:#181818;
  border-color:#333;
  color:#eee;
}

/* QUOTE / CONTACT FORM */
.quote-form{margin-top:24px}

.quote-form .form-row{margin-bottom:18px}

.quote-form label{
  display:block;
  margin-bottom:7px;
  font-weight:700;
  color:#0b1d35;
}

.quote-form input,
.quote-form select,
.quote-form textarea{
  width:100%;
  box-sizing:border-box;
  padding:13px 14px;
  border:1px solid #cfd5dc;
  border-radius:7px;
  background:#fff;
  color:#111;
  font:inherit;
  line-height:1.4;
}

.quote-form textarea{
  min-height:150px;
  resize:vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus{
  outline:none;
  border-color:#0878D1;
  box-shadow:0 0 0 3px rgba(8,120,209,.14);
}

.quote-form .btn{
  width:100%;
  margin-top:4px;
  padding:15px 20px;
  border:0;
  cursor:pointer;
}

.quote-form .small{
  margin-top:16px;
  line-height:1.55;
}

/* TABLET */
@media(max-width:900px){
  .menu-toggle{display:block}

  .nav{
    position:absolute;
    left:0;
    right:0;
    top:104px;
    background:#fff;
    border-bottom:1px solid #e8ebef;
    display:none;
    flex-direction:column;
    align-items:flex-start;
    padding:20px;
  }

  .nav.open{display:flex}

  .grid-2,
  .grid-3,
  .grid-4,
  .band-grid,
  .contact-grid{
    grid-template-columns:1fr;
  }

  .service-list{
    grid-template-columns:repeat(2,1fr);
  }

  .service-list .service-pill:last-child{
    grid-column:1 / -1;
    width:calc(50% - 9px);
    justify-self:center;
  }

  .photo-grid{
    grid-template-columns:1fr 1fr;
  }

  .trust-grid{
    grid-template-columns:1fr 1fr;
  }

  .trust-item:nth-child(2){border-right:0}

  .actions{justify-content:flex-start}
}

@media(max-width:700px){
  .contact-box{
    padding:22px 18px;
  }

  .quote-form input,
  .quote-form select,
  .quote-form textarea{
    font-size:16px;
  }
}

/* MOBILE */
@media(max-width:600px){
  .container{
    width:min(var(--max),calc(100% - 32px));
  }

  .header-inner{min-height:88px}
  .brand img{width:165px}
  .nav{top:88px}
  .hero{padding:54px 0}
  .hero h1{font-size:2.55rem}
  .hero p{font-size:1.02rem}
  .section{padding:46px 0}
  .section-sm{padding:34px 0}
  .grid-2{gap:28px}
  .grid-3{gap:18px}

  .service-list{
    grid-template-columns:1fr;
  }

  .service-list .service-pill:last-child{
    grid-column:auto;
    width:100%;
  }

  .photo-grid{
    grid-template-columns:1fr;
  }

  .trust-grid{
    grid-template-columns:1fr;
  }

  .trust-item{
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.13);
  }

  .trust-item:last-child{border-bottom:0}

  .hero-actions,
  .actions{
    display:grid;
    grid-template-columns:1fr;
    width:100%;
  }

  .btn{width:100%}
  .band{padding:34px 0}

  .footer-inner{
    flex-direction:column;
    align-items:flex-start;
  }
}
/* Center final Services card on desktop */
@media (min-width: 901px) {
    .service-list .service-pill:last-child {
        grid-column: 2;
    }
}

/* Fleet Services - use normal 3-column card layout */
@media (min-width: 901px) {
    .fleet-service-list .service-pill:last-child {
        grid-column: auto;
    }
}

/* Legal pages and resource card actions */
.legal-prose{max-width:900px}
.legal-prose h2{margin-top:34px;margin-bottom:10px}
.legal-prose ul{padding-left:22px}
.legal-prose li{margin:8px 0}
.legal-note{padding:18px 20px;border-left:4px solid var(--red);background:#f5f6f8;border-radius:6px}
.card h3 a{color:inherit;text-decoration:none}
.card h3 a:hover{text-decoration:underline}
.card-action{margin-top:18px}
.consent-label{display:flex;gap:10px;align-items:flex-start;font-size:.92rem;line-height:1.45}
.consent-label input{width:auto!important;margin-top:4px;flex:0 0 auto}
@media(max-width:600px){.footer-links{display:flex;flex-wrap:wrap;gap:12px 18px}.legal-prose h2{margin-top:28px}}


/* 2026 Probert Auto blue brand refresh */
.home-hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(90deg,#061421 0%,#071a2d 54%,rgba(7,26,45,.84) 68%,rgba(7,26,45,.28) 100%),
             url('/assets/images/probert-auto-hero-workshop.webp') center right/auto 100% no-repeat;
  border-bottom-color:var(--red);
}
.home-hero .container{position:relative;z-index:1}
.home-hero .kicker{color:#299cff}
.home-hero h1{max-width:820px}
.home-hero p{max-width:690px}
.trust-strip{background:#061b30;border-bottom:1px solid rgba(8,120,209,.45)}
.trust-item{padding:24px 20px}
.trust-item strong{font-size:1.03rem}
.home-gallery{padding-top:42px}
.home-gallery .section-title{font-size:clamp(2rem,3.4vw,2.8rem)}
.home-gallery .photo-card{border-radius:9px;border:1px solid #cfd8e3;box-shadow:0 8px 20px rgba(6,27,48,.07)}
.home-gallery .photo-card img{aspect-ratio:16/9}
.home-gallery .photo-card figcaption{background:#071a2d;color:#fff;text-align:center;font-weight:800;padding:9px 12px}
.home-gallery .photo-card:hover{transform:translateY(-2px);transition:.2s ease;box-shadow:0 11px 26px rgba(6,27,48,.13)}
@media(max-width:900px){
  .home-hero{background:linear-gradient(rgba(6,20,33,.93),rgba(6,20,33,.93)),url('/assets/images/probert-auto-hero-workshop.webp') center/cover no-repeat}
}

/* 2026-08-08 deployment refresh: force visible blue brand + hero image */
:root{
  --red:#0878D1;
  --red-dark:#0664AF;
}
.home-hero{
  min-height:420px;
  display:flex;
  align-items:center;
  background-image:
    linear-gradient(90deg,rgba(4,18,32,.97) 0%,rgba(4,18,32,.90) 42%,rgba(4,18,32,.62) 62%,rgba(4,18,32,.18) 100%),
    url('/assets/images/probert-auto-hero-workshop.webp');
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  border-bottom-color:#0878D1;
}
.home-hero .kicker{color:#299cff}
.photo-link{display:block;text-decoration:none;color:inherit;border-radius:9px}
.photo-link:focus-visible{outline:3px solid #0878D1;outline-offset:4px}
.photo-link .photo-card{height:100%}
@media(max-width:900px){
  .home-hero{
    min-height:auto;
    background-image:
      linear-gradient(rgba(4,18,32,.78),rgba(4,18,32,.78)),
      url('/assets/images/probert-auto-hero-workshop.webp');
    background-size:cover;
    background-position:center;
  }
}
