:root {
    --orange: #00ADB5;
    --orange-dark: #008C93;
    --sage: #393E46;
    --sage-light: #EEEEEE;
    --charcoal: #222831;
    --charcoal-soft: #393E46;
    --white: #ffffff;
    --ink-muted: #626A74;
    --line: #D9DDE1;
    --danger: #b42318;
    --warning: #b54708;
    --success: #237a3b;
    --info: #175cd3;
    --shadow: 0 18px 55px rgba(34, 40, 49, .14);
    --radius: 18px;
}

* { box-sizing: border-box; }
.hidden { display: none !important; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--charcoal);
    background: #F7F8F9;
    line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 32px)); margin-inline: auto; }
.section { padding: 84px 0; }
.section-sm { padding: 48px 0; }
.section-soft { background: var(--sage-light); }
.section-dark { background: var(--charcoal); color: var(--white); }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; color: var(--orange-dark); }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 16px; letter-spacing: -.025em; }
h1 { font-size: clamp(42px, 7vw, 76px); }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: 23px; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(18px, 2vw, 22px); color: #59616B; max-width: 720px; }
.text-muted { color: var(--ink-muted); }
.text-small { font-size: 14px; }
.text-right { text-align: right; }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(34, 40, 49, .97); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(16px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand-link { width: 210px; height: 68px; display: block; overflow: hidden; flex: 0 0 auto; }
.brand-logo { width: 210px; height: 68px; background: url('../../images/paisley-autocare-logo.png') center 57% / 210px auto no-repeat; }
.site-nav { display: flex; align-items: center; gap: 22px; color: #fff; font-size: 14px; font-weight: 700; }
.site-nav a { text-decoration: none; opacity: .88; }
.site-nav a:hover, .site-nav a.active { opacity: 1; color: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; border: 0; background: var(--orange); color: var(--charcoal); border-radius: 10px; padding: 10px 13px; font-weight: 800; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; border: 1px solid transparent; border-radius: 11px; padding: 11px 18px; text-decoration: none; font-weight: 800; cursor: pointer; transition: .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--charcoal); }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-secondary { background: var(--charcoal-soft); color: #fff; }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-light { background: #fff; color: var(--charcoal); border-color: var(--line); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { min-height: 38px; padding: 8px 12px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero { position: relative; overflow: hidden; background: linear-gradient(125deg, var(--charcoal) 0%, var(--charcoal-soft) 70%, #006F75 145%); color: #fff; padding: 96px 0 88px; }
.hero::after { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--orange); opacity: .14; right: -150px; top: -210px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 54px; }
.hero h1 span { color: var(--orange); }
.hero .lead { color: #E8EBED; }
.hero-card { background: rgba(255,255,255,.97); color: var(--charcoal); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.hero-card h2 { font-size: 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-pill { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 750; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 8px 30px rgba(34,40,49,.07); }
.card-hover { transition: .22s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sage); }
.service-card { display: flex; flex-direction: column; min-height: 100%; }
.service-card .service-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sage-light); display: grid; place-items: center; color: var(--orange-dark); font-weight: 900; font-size: 22px; margin-bottom: 20px; }
.service-card .price { margin-top: auto; padding-top: 18px; font-weight: 850; }
.metric { padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.metric strong { display: block; font-size: 31px; line-height: 1; margin-bottom: 8px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 14px; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid #C9CED4; border-radius: 10px; background: #fff; padding: 12px 13px; color: var(--charcoal); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(0,173,181,.16); }
textarea { min-height: 120px; resize: vertical; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { width: auto; margin-top: 5px; }
.help { color: var(--ink-muted); font-size: 13px; }
.error { color: var(--danger); font-size: 13px; font-weight: 700; }
.alert { border-radius: 12px; padding: 14px 16px; margin-bottom: 20px; border: 1px solid transparent; }
.alert-success { background: #ecf8ef; color: #17652f; border-color: #b9dfc2; }
.alert-danger { background: #fff0ee; color: #8f1d14; border-color: #f3c2bc; }
.alert-info { background: #eef5ff; color: #174e96; border-color: #c6daf6; }

.page-hero { background: var(--charcoal); color: #fff; padding: 64px 0; }
.page-hero .lead { color: #E2E6E9; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #C8CDD2; margin-bottom: 14px; }
.breadcrumbs a { color: var(--orange); text-decoration: none; }

.steps { display: flex; gap: 8px; margin-bottom: 26px; }
.step-indicator { flex: 1; height: 6px; border-radius: 999px; background: #D8DDE1; }
.step-indicator.active { background: var(--orange); }
.booking-step { display: none; }
.booking-step.active { display: block; }
.booking-shell { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.booking-summary { position: sticky; top: 106px; }
.summary-list { list-style: none; margin: 0; padding: 0; }
.summary-list li { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }

.portal-layout, .admin-layout { min-height: 100vh; background: #EEF0F2; }
.portal-header, .admin-header { background: var(--charcoal); color: #fff; position: sticky; top: 0; z-index: 50; }
.portal-header-inner, .admin-header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.portal-brand { color: #fff; font-weight: 900; text-decoration: none; font-size: 20px; }
.portal-brand span { color: var(--orange); }
.portal-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.portal-nav a { text-decoration: none; color: #fff; font-size: 13px; font-weight: 750; padding: 9px 11px; border-radius: 9px; }
.portal-nav a:hover, .portal-nav a.active { background: rgba(255,255,255,.12); color: var(--orange); }
.portal-content { padding: 34px 0 70px; }
.dashboard-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.status-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 9px; font-size: 12px; font-weight: 850; text-transform: capitalize; background: var(--sage-light); }
.status-pending, .status-awaiting_approval, .status-collection_en_route, .status-delivery_en_route { background: #fff0dd; color: #8a4b00; }
.status-confirmed, .status-ready, .status-completed, .status-delivered { background: #e7f7eb; color: #17652f; }
.status-cancelled, .status-declined { background: #ffebe8; color: #9b2118; }
.status-in_progress, .status-checked_in, .status-collected { background: #e7f0ff; color: #174e96; }
.progress-bar { height: 10px; border-radius: 999px; background: #DDE1E5; overflow: hidden; }
.progress-bar > span { display: block; height: 100%; background: var(--orange); border-radius: inherit; }
.countdown { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.countdown-box { background: var(--sage-light); padding: 15px; border-radius: 12px; }
.countdown-box strong { display: block; font-size: 24px; }
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--sage); }
.timeline-item { position: relative; padding: 0 0 23px; }
.timeline-item::before { content: ''; position: absolute; left: -27px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--sage); }
.timeline-item time { font-size: 12px; color: var(--ink-muted); }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 15px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #EEEEEE; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
tr:last-child td { border-bottom: 0; }
.admin-filters { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 10px; margin-bottom: 20px; }
.action-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.quote-item { border: 1px solid var(--line); border-left: 6px solid var(--sage); border-radius: 14px; background: #fff; padding: 20px; }
.quote-item.dangerous, .quote-item.major_fail { border-left-color: var(--danger); }
.quote-item.advisory { border-left-color: var(--orange); }
.quote-item.accepted { background: #f0faf2; }
.quote-item.declined { background: #fff2f0; opacity: .84; }

.blog-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 13px; margin-bottom: 18px; background: var(--sage-light); }
.blog-content { font-size: 18px; }
.blog-content h2, .blog-content h3 { margin-top: 34px; }
.blog-content img { border-radius: 14px; }

.site-footer { background: var(--charcoal); color: #fff; padding: 58px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, .8fr); gap: 34px; }
.site-footer h3 { font-size: 16px; color: var(--orange); }
.site-footer a { color: #E6E9EB; text-decoration: none; display: block; margin: 7px 0; font-size: 14px; }
.site-footer a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 20px; display: flex; justify-content: space-between; gap: 18px; font-size: 13px; color: #C7CCD1; }
.cookie-banner { position: fixed; z-index: 100; left: 20px; right: 20px; bottom: 20px; max-width: 760px; margin: auto; background: var(--charcoal); color: #fff; border-radius: 15px; box-shadow: var(--shadow); padding: 18px; display: none; }
.cookie-banner.show { display: flex; justify-content: space-between; gap: 18px; align-items: center; }

.pagination { display: flex; list-style: none; gap: 6px; padding: 0; }
.page-link { display: block; border: 1px solid var(--line); background: #fff; padding: 8px 12px; border-radius: 8px; text-decoration: none; }
.page-item.active .page-link { background: var(--orange); border-color: var(--orange); font-weight: 800; }
.page-item.disabled .page-link { opacity: .5; }

@media (max-width: 980px) {
    .site-nav { display: none; position: absolute; left: 0; right: 0; top: 82px; background: var(--charcoal); padding: 18px 16px 24px; flex-direction: column; align-items: stretch; }
    .site-nav.open { display: flex; }
    .menu-toggle { display: inline-flex; }
    .nav-actions .btn-light { display: none; }
    .hero-grid, .booking-shell { grid-template-columns: 1fr; }
    .booking-summary { position: static; }
    .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .admin-filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .section { padding: 58px 0; }
    .hero { padding: 72px 0 64px; }
    .header-inner { min-height: 74px; }
    .brand-link, .brand-logo { width: 165px; height: 58px; background-size: 165px auto; }
    .site-nav { top: 74px; }
    .grid-2, .grid-3, .grid-4, .form-grid, .countdown { grid-template-columns: 1fr; }
    .form-group.full { grid-column: auto; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom, .dashboard-head, .cookie-banner.show { align-items: flex-start; flex-direction: column; }
    .portal-header-inner, .admin-header-inner { align-items: flex-start; padding: 14px 0; flex-direction: column; }
    .portal-nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
    .admin-filters { grid-template-columns: 1fr; }
    h1 { font-size: 42px; }
}


/* Automatic collection distance calculator */
.postcode-calculator {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 20px;
}
.postcode-calculator-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
}
.distance-result {
    margin-top: 14px;
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    background: var(--sage-light);
}
.distance-result.success {
    border-color: rgba(0, 173, 181, .35);
    background: rgba(0, 173, 181, .10);
}
.distance-result.error {
    border-color: #f3c2bc;
    background: #fff0ee;
    color: #8f1d14;
}
.distance-price {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    border-radius: 999px;
    padding: 6px 11px;
    background: var(--orange);
    color: var(--charcoal);
    font-weight: 900;
}
@media (max-width: 720px) {
    .postcode-calculator-row {
        grid-template-columns: 1fr;
    }
}


/* ================================================================
   Premium public website header, hero, image sections and footer
   ================================================================ */

.utility-bar {
    background: #171c23;
    color: #cfd5da;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    font-size: 12px;
}

.utility-inner {
    min-height: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.utility-left,
.utility-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.utility-item a {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.utility-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, .16);
}

.utility-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 5px rgba(0, 173, 181, .12);
}

.site-header {
    top: 0;
    background: rgba(34, 40, 49, .94);
    box-shadow: 0 10px 34px rgba(8, 12, 18, .16);
}

.header-inner {
    min-height: 88px;
}

.brand-panel {
    width: 188px;
    height: 62px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 7px 12px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
    overflow: hidden;
}

.brand-panel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-nav {
    padding: 7px;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
}

.site-nav a {
    padding: 9px 13px;
    border-radius: 999px;
    opacity: .86;
}

.site-nav a:hover,
.site-nav a.active {
    color: #fff;
    background: rgba(0, 173, 181, .18);
    opacity: 1;
}

.header-account-link {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.header-account-link:hover {
    color: var(--orange);
}

.header-book-button {
    box-shadow: 0 10px 24px rgba(0, 173, 181, .26);
}

.btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, .30);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
}

.btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, .15);
}

.hero-photo {
    min-height: 680px;
    display: flex;
    align-items: center;
    padding: 92px 0;
    background-size: cover;
    background-position: center;
}

.hero-photo::after {
    width: 420px;
    height: 420px;
    right: -120px;
    top: -170px;
    opacity: .13;
    filter: blur(3px);
}

.hero-copy {
    max-width: 700px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.hero-kicker::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 5px rgba(0, 173, 181, .15);
}

.hero-photo h1 {
    max-width: 760px;
    text-shadow: 0 8px 30px rgba(0, 0, 0, .32);
}

.hero-photo .lead {
    max-width: 660px;
    color: #e6ebee;
}

.hero-booking-card {
    border: 1px solid rgba(255, 255, 255, .54);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .28);
}

.hero-card-contact {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--ink-muted);
}

.hero-card-contact a {
    color: var(--charcoal);
    font-weight: 900;
    text-decoration: none;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 650px;
    margin-top: 34px;
}

.hero-proof > div {
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
}

.hero-proof strong,
.hero-proof span {
    display: block;
}

.hero-proof strong {
    color: var(--orange);
    font-size: 18px;
}

.hero-proof span {
    color: #e4e9ec;
    font-size: 12px;
}

.trust-strip {
    position: relative;
    z-index: 8;
    margin-top: -34px;
}

.trust-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}

.trust-strip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 86px;
    padding: 18px;
    border-right: 1px solid var(--line);
}

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

.trust-strip-item strong,
.trust-strip-item span {
    display: block;
}

.trust-strip-item strong {
    margin-bottom: 2px;
    font-size: 14px;
}

.trust-strip-item span {
    color: var(--ink-muted);
    font-size: 12px;
}

.trust-strip-icon {
    width: 34px;
    height: 34px;
    display: grid !important;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: rgba(0, 173, 181, .12);
    color: var(--orange-dark) !important;
    font-weight: 950;
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 28px;
    margin-bottom: 32px;
}

.section-heading-copy {
    max-width: 430px;
    color: var(--ink-muted);
}

.workshop-feature-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 58px;
    align-items: center;
}

.workshop-image-card {
    position: relative;
    overflow: hidden;
    min-height: 470px;
    border-radius: 24px;
    background: var(--charcoal);
    box-shadow: 0 28px 70px rgba(34, 40, 49, .20);
}

.workshop-image-card img {
    width: 100%;
    height: 100%;
    min-height: 470px;
    display: block;
    object-fit: cover;
}

.workshop-image-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(20, 25, 32, .72) 100%
        );
    pointer-events: none;
}

.workshop-image-badge {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
    bottom: 22px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 15px;
    background: rgba(34, 40, 49, .80);
    color: #fff;
    backdrop-filter: blur(12px);
}

.workshop-image-badge strong,
.workshop-image-badge span {
    display: block;
}

.workshop-image-badge span {
    margin-top: 3px;
    color: #d5dce1;
    font-size: 13px;
}

.feature-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.feature-list-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 15px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
}

.feature-list-item > span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--charcoal);
    color: var(--orange);
    font-weight: 900;
}

.feature-list-item strong {
    font-size: 16px;
}

.feature-list-item p {
    margin: 4px 0 0;
    color: var(--ink-muted);
    font-size: 14px;
}

.portal-showcase {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 50px;
    align-items: center;
}

.portal-feature-grid {
    margin-top: 28px;
}

.mini-feature {
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.mini-feature strong,
.mini-feature span {
    display: block;
}

.mini-feature span {
    margin-top: 5px;
    color: var(--ink-muted);
    font-size: 13px;
}

.portal-preview-card {
    padding: 30px;
    border: 1px solid rgba(0, 173, 181, .28);
    border-radius: 24px;
    background:
        radial-gradient(
            circle at top right,
            rgba(0, 173, 181, .13),
            transparent 40%
        ),
        #fff;
    box-shadow: var(--shadow);
}

.portal-preview-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.collection-feature {
    overflow: hidden;
    background: var(--charcoal);
    color: #fff;
}

.collection-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 540px;
}

.collection-feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 58px 80px 0;
}

.collection-feature-copy .lead {
    color: #dce2e6;
}

.collection-price-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.collection-price-row span {
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    font-size: 13px;
}

.collection-price-row strong {
    color: var(--orange);
}

.collection-feature-image {
    min-height: 540px;
}

.collection-feature-image img {
    width: 100%;
    height: 100%;
    min-height: 540px;
    display: block;
    object-fit: cover;
}

.page-hero-image {
    min-height: 490px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.page-hero-image .container {
    position: relative;
    z-index: 2;
}

.page-hero-image h1,
.page-hero-image .lead {
    max-width: 760px;
    text-shadow: 0 8px 28px rgba(0, 0, 0, .35);
}

.about-metrics {
    margin-top: 28px;
}

.premium-check-list {
    display: grid;
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.premium-check-list li {
    position: relative;
    padding: 14px 16px 14px 48px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    font-weight: 750;
}

.premium-check-list li::before {
    content: '✓';
    position: absolute;
    left: 15px;
    top: 12px;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 173, 181, .12);
    color: var(--orange-dark);
    font-weight: 950;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 30px;
    align-items: start;
}

.service-detail-aside {
    display: grid;
    gap: 20px;
}

.service-detail-image {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

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

.card-divider {
    margin: 24px 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.footer-cta {
    background:
        linear-gradient(
            120deg,
            #00ADB5 0%,
            #008C93 100%
        );
    color: #fff;
}

.footer-cta-inner {
    min-height: 230px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-cta h2 {
    max-width: 720px;
    margin-top: 8px;
    font-size: clamp(30px, 4vw, 47px);
}

.footer-cta p {
    max-width: 620px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .86);
}

.footer-cta .eyebrow {
    color: #fff;
}

.footer-cta-actions {
    justify-content: flex-end;
    margin-top: 0;
}

.site-footer {
    position: relative;
    overflow: hidden;
    padding-top: 72px;
    background:
        radial-gradient(
            circle at 15% 0%,
            rgba(0, 173, 181, .13),
            transparent 32%
        ),
        #171c23;
}

.site-footer::after {
    content: '';
    position: absolute;
    right: -120px;
    bottom: -190px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(0, 173, 181, .16);
    border-radius: 50%;
}

.footer-grid-premium {
    position: relative;
    z-index: 2;
    grid-template-columns: 1.35fr repeat(3, .75fr);
}

.footer-brand-column > p {
    max-width: 430px;
    color: #cbd2d7;
}

.footer-logo-panel {
    width: 245px;
    height: 96px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    padding: 11px 18px;
    border-radius: 15px;
    background: #fff;
}

.footer-logo-panel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-contact-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.footer-contact-chips a {
    display: inline-flex;
    margin: 0;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
}

.footer-address {
    color: #cbd2d7;
}

.footer-hours {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 18px;
    margin-top: 18px;
    color: #cbd2d7;
    font-size: 13px;
}

.footer-hours strong {
    color: #fff;
}

@media (max-width: 1080px) {
    .site-nav {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 10px);
        padding: 16px;
        border-radius: 18px;
        background: #222831;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        border-radius: 10px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .header-account-link {
        display: none;
    }

    .workshop-feature-grid,
    .portal-showcase,
    .collection-feature-grid,
    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .collection-feature-copy {
        padding: 70px 0;
    }

    .collection-feature-image {
        min-height: 420px;
    }

    .collection-feature-image img {
        min-height: 420px;
    }

    .trust-strip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .trust-strip-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .footer-grid-premium {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .utility-hide-mobile,
    .utility-divider {
        display: none;
    }

    .utility-inner {
        justify-content: center;
    }

    .utility-right {
        display: none;
    }

    .header-inner {
        min-height: 76px;
    }

    .brand-panel {
        width: 145px;
        height: 52px;
    }

    .header-book-button {
        display: none;
    }

    .hero-photo {
        min-height: auto;
        padding: 72px 0 90px;
        background-position: 63% center;
    }

    .hero-proof {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        margin-top: -44px;
    }

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

    .trust-strip-item {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

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

    .section-heading-row,
    .portal-preview-head,
    .footer-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .workshop-image-card,
    .workshop-image-card img {
        min-height: 330px;
    }

    .collection-feature-copy {
        padding: 58px 0;
    }

    .collection-feature-image,
    .collection-feature-image img {
        min-height: 330px;
    }

    .page-hero-image {
        min-height: 430px;
        background-position: 62% center;
    }

    .footer-cta-inner {
        padding: 54px 0;
    }

    .footer-cta-actions {
        justify-content: flex-start;
    }

    .footer-grid-premium {
        grid-template-columns: 1fr;
    }

    .footer-logo-panel {
        width: 220px;
    }
}


/* ================================================================
   Header logo proportion fix
   ================================================================ */

.header-inner {
    min-height: 96px;
}

.brand-panel {
    width: 236px;
    height: 74px;
    padding: 7px 15px;
}

.brand-panel img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    object-position: center;
}

.footer-logo-panel img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 74px;
    margin: auto;
    object-fit: contain;
}

/* ================================================================
   Detailed service and Class 4 MOT page
   ================================================================ */

.service-intro-card {
    overflow: hidden;
    padding: 0;
}

.service-intro-content {
    padding: 30px;
}

.service-at-a-glance {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 25px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--sage-light);
}

.service-at-a-glance > div {
    padding: 17px;
    border-right: 1px solid var(--line);
}

.service-at-a-glance > div:last-child {
    border-right: 0;
}

.service-at-a-glance span,
.service-at-a-glance strong {
    display: block;
}

.service-at-a-glance span {
    color: var(--ink-muted);
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.service-at-a-glance strong {
    margin-top: 5px;
    color: var(--charcoal);
    font-size: 18px;
}

.mot-section {
    margin-top: 32px;
}

.mot-section-heading {
    max-width: 780px;
    margin-bottom: 24px;
}

.mot-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mot-check-card {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.mot-check-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 173, 181, .35);
    box-shadow: 0 15px 34px rgba(34, 40, 49, .09);
}

.mot-check-number {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(0, 173, 181, .12);
    color: var(--orange-dark);
    font-size: 13px;
    font-weight: 950;
}

.mot-check-card h3 {
    margin-bottom: 5px;
    font-size: 17px;
}

.mot-check-card p {
    margin: 0;
    color: var(--ink-muted);
    font-size: 14px;
}

.mot-not-included {
    margin-top: 22px;
    padding: 20px;
    border: 1px solid #d8dde1;
    border-left: 4px solid var(--charcoal-soft);
    border-radius: 14px;
    background: #f5f6f7;
}

.mot-not-included h3 {
    margin-bottom: 7px;
}

.mot-not-included p {
    margin: 0;
    color: var(--ink-muted);
}

.mot-result-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.mot-result-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
}

.mot-result-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--result-colour, var(--orange));
}

.mot-result-card.dangerous {
    --result-colour: #b42318;
}

.mot-result-card.major {
    --result-colour: #e04f3e;
}

.mot-result-card.minor {
    --result-colour: #d99000;
}

.mot-result-card.advisory {
    --result-colour: #00ADB5;
}

.mot-result-card strong {
    display: block;
    margin-bottom: 7px;
    font-size: 17px;
}

.mot-result-card p {
    margin: 0;
    color: var(--ink-muted);
    font-size: 13px;
}

.mot-preparation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mot-preparation-item {
    position: relative;
    padding: 15px 15px 15px 47px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    font-size: 14px;
    font-weight: 750;
}

.mot-preparation-item::before {
    content: '✓';
    position: absolute;
    left: 14px;
    top: 12px;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 173, 181, .12);
    color: var(--orange-dark);
    font-weight: 950;
}

.service-faq-list {
    display: grid;
    gap: 11px;
}

.service-faq-list details {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
}

.service-faq-list summary {
    position: relative;
    padding: 17px 50px 17px 18px;
    cursor: pointer;
    list-style: none;
    color: var(--charcoal);
    font-weight: 850;
}

.service-faq-list summary::-webkit-details-marker {
    display: none;
}

.service-faq-list summary::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 13px;
    color: var(--orange-dark);
    font-size: 26px;
    line-height: 1;
}

.service-faq-list details[open] summary::after {
    content: '−';
}

.service-faq-answer {
    padding: 0 18px 18px;
    color: var(--ink-muted);
    font-size: 14px;
}

.service-faq-answer p:last-child {
    margin-bottom: 0;
}

.official-guidance-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 24px;
    padding: 15px;
    border: 1px solid rgba(0, 173, 181, .25);
    border-radius: 13px;
    background: rgba(0, 173, 181, .07);
    color: var(--ink-muted);
    font-size: 13px;
}

.official-guidance-note strong {
    color: var(--charcoal);
}

.official-guidance-note a {
    color: var(--orange-dark);
    font-weight: 850;
}

.service-sticky-booking {
    position: sticky;
    top: 122px;
}

@media (max-width: 1080px) {
    .brand-panel {
        width: 210px;
        height: 68px;
    }

    .mot-result-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .service-sticky-booking {
        position: static;
    }
}

@media (max-width: 720px) {
    .header-inner {
        min-height: 78px;
    }

    .brand-panel {
        width: 176px;
        height: 58px;
        padding: 5px 10px;
    }

    .brand-panel img {
        max-height: 48px;
    }

    .service-at-a-glance,
    .mot-check-grid,
    .mot-result-grid,
    .mot-preparation-grid {
        grid-template-columns: 1fr;
    }

    .service-at-a-glance > div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .service-at-a-glance > div:last-child {
        border-bottom: 0;
    }
}


/* Additional detailed service-page card states */

.mot-result-card.info {
    --result-colour: #00ADB5;
}

.mot-result-card.success {
    --result-colour: #2f855a;
}

.mot-result-card.warning {
    --result-colour: #d99000;
}

.mot-result-card.neutral {
    --result-colour: #68727d;
}

.mot-result-card.dangerous {
    --result-colour: #b42318;
}

.mot-result-card.major {
    --result-colour: #e04f3e;
}

.service-at-a-glance strong {
    line-height: 1.25;
}

@media (max-width: 720px) {
    .service-at-a-glance strong {
        font-size: 16px;
    }
}


/* ================================================================
   Pre-payment operations suite
   ================================================================ */

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.admin-nav a,
.portal-nav a {
    white-space: nowrap;
}

.admin-filters-wide {
    grid-template-columns: minmax(220px, 2fr) repeat(5, minmax(140px, 1fr)) auto;
}

.inspection-card {
    position: relative;
    border-left: 5px solid var(--inspection-colour, var(--line));
}

.inspection-green {
    --inspection-colour: #2f855a;
}

.inspection-amber {
    --inspection-colour: #d99000;
}

.inspection-red {
    --inspection-colour: #b42318;
}

.inspection-badge-green {
    background: #e8f7ed;
    color: #246a45;
}

.inspection-badge-amber {
    background: #fff3d6;
    color: #8a5c00;
}

.inspection-badge-red {
    background: #ffe4e0;
    color: #9f2419;
}

.inspection-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.inspection-media-link {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--sage-light);
    color: var(--charcoal);
    text-decoration: none;
}

.inspection-media-link span {
    font-weight: 850;
}

.inspection-media-link small {
    color: var(--ink-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.invoice-row,
.quote-row {
    border-top: 4px solid rgba(0, 173, 181, .35);
}

.status-draft,
.status-pending {
    background: #eef0f2;
    color: #4f5963;
}

.status-sent,
.status-viewed,
.status-confirmed,
.status-approved,
.status-responded,
.status-paid,
.status-completed {
    background: #e4f6f7;
    color: #006f75;
}

.status-partially_responded,
.status-partially_paid,
.status-awaiting_approval,
.status-awaiting_parts,
.status-inspection_completed,
.status-quality_check {
    background: #fff3d6;
    color: #7f5600;
}

.status-declined,
.status-rejected,
.status-cancelled,
.status-failed,
.status-overdue {
    background: #ffe4e0;
    color: #9f2419;
}

.status-revised,
.status-in_progress,
.status-repairs_authorised,
.status-ready,
.status-delivery_en_route,
.status-collection_en_route {
    background: #e8edf6;
    color: #345079;
}

.portal-nav form,
.admin-nav form {
    margin: 0;
}

code {
    padding: 3px 6px;
    border-radius: 5px;
    background: #eef0f2;
    color: #39434e;
    font-size: .88em;
}

@media (max-width: 1280px) {
    .admin-filters-wide {
        grid-template-columns: repeat(3, minmax(160px, 1fr));
    }
}

@media (max-width: 1080px) {
    .admin-nav,
    .portal-nav {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        z-index: 50;
        padding: 16px;
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 18px;
        background: #222831;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
    }

    .admin-nav.open,
    .portal-nav.open {
        display: flex;
    }

    .admin-nav a,
    .portal-nav a {
        border-radius: 10px;
    }
}

@media (max-width: 720px) {
    .admin-filters-wide,
    .admin-filters {
        grid-template-columns: 1fr;
    }

    .inspection-media-grid {
        grid-template-columns: 1fr;
    }
}
