/*
<!-- unslop by @heydamir (Damir Sokolovsky), https://heydamir.design/unslop, CC BY 4.0 -->
Sky Smog Test public site. Direction: plainspoken, official, roadside-quick.
World: trucking paperwork (VIN plates, inspection slips, compliance stickers).
Light "ink" ramp, one accent (#1f6fae), IBM Plex Sans + IBM Plex Mono, Lucide 1.5px line icons.
Loaded last on every public page, after Bootstrap and the legacy stylesheets.
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
    --bg: #f5f7fa;
    --card: #ffffff;
    --raised: #eceff4;
    --hair: rgba(17, 24, 39, 0.08);
    --hair-strong: rgba(17, 24, 39, 0.14);
    --text: #111827;
    --text-2: #4b5565;
    --muted: #5d6678;
    --accent: #1f6fae;
    --accent-hover: #195b8e;
    --accent-soft: rgba(31, 111, 174, 0.08);
    /* Owner review 2026-11: warmer, livelier palette (see section 7) */
    --accent-tint: #e8f1f9;          /* light blue band; #1f6fae on it 4.7:1 */
    --accent-light: #8cc4ef;         /* blue text on navy, 8:1 */
    --amber: #f59e0b;                /* safety amber: fills, bars, CTA backgrounds (never body text on light) */
    --amber-hover: #d97706;
    --amber-text: #b45309;           /* amber as text on white, 5.0:1 */
    --amber-ink: #92400e;            /* amber as text on tints, 6.6:1 on --amber-tint */
    --amber-tint: #fff5e0;
    --amber-line: rgba(245, 158, 11, 0.45);
    --green-tint: #e7f5ec;
    --navy: #0b2540;                 /* bold bands: hero, CTA panels, footer */
    --navy-2: #12355c;
    --on-navy: #ffffff;
    --on-navy-2: #c3d2e3;            /* 10:1 on navy */
    --on-navy-3: #93a8c0;            /* 6.3:1 on navy */
    --navy-hair: rgba(255, 255, 255, 0.12);
    --shadow-lift: 0 0 0 1px var(--hair), 0 14px 30px -10px rgba(11, 37, 64, 0.22);
    --ok: #15803d;
    --ok-soft: rgba(22, 163, 74, 0.07);
    --bad: #b91c1c;
    --bad-soft: rgba(220, 38, 38, 0.06);
    --warn: #92400e;
    --warn-soft: rgba(217, 119, 6, 0.08);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --sans: "IBM Plex Sans", "Noto Sans Gurmukhi", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
    --sh-h: 64px;
    --r-ctl: 10px;
    --r-card: 14px;
    --r-panel: 16px;
    --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.05);
    --shadow-float: 0 0 0 1px var(--hair), 0 8px 24px rgba(17, 24, 39, 0.06);
    --wrap: 1120px;
    --gutter: 24px;

    /* Legacy variables, re-pointed so old rules fall into the palette */
    --primary-color: #111827;
    --secondary-color: #1f6fae;
    --accent-color: #1f6fae;
    --text-color: #111827;
    --light-bg: #f5f7fa;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--sh-h) + 16px); }
html, body { overflow-x: clip; }
body {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body :is(h1, h2, h3, h4, h5, h6) { font-family: var(--sans); color: var(--text); font-weight: 500; letter-spacing: 0; text-shadow: none; }
body :is(h1, h2, h3, h4, h5, h6, p, li, a, span, label, button) { text-transform: none; }
body :is(b, strong) { font-weight: 600; }
body em, body i:not([class*="fa"]) { font-style: normal; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: rgba(31, 111, 174, 0.16); }
.ic { flex: none; vertical-align: -0.2em; }
.mono, .tabular { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.visually-hidden-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}

/* Shared building blocks for redesigned markup */
.s-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.s-section { padding: 80px 0; }
.s-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--muted); letter-spacing: 0.02em; margin: 0 0 12px; }
.s-title { font-size: 32px; line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 12px; color: var(--text); }
.s-lead { font-size: 18px; line-height: 28px; color: var(--text-2); max-width: 36rem; margin: 0; }
.s-card { background: var(--card); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm); padding: 24px; }
.s-btn, a.s-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 20px; border: 0; border-radius: var(--r-ctl);
    font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
    background: var(--accent); color: #fff;
    transition: background-color 150ms var(--ease), color 150ms var(--ease), box-shadow 150ms var(--ease), transform 150ms var(--ease);
}
.s-btn:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }
.s-btn:active { transform: scale(0.98); }
.s-btn-2, a.s-btn-2 { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--hair-strong); }
.s-btn-2:hover { background: var(--raised); color: var(--text); }
.s-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; }
.s-link-arrow:hover { text-decoration: underline; }

/* ==========================================================================
   3. Header (views/components/site.ts renderSiteHeader)
   ========================================================================== */
header.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: auto; width: 100%;
    background: #fff;
    box-shadow: 0 1px 0 var(--hair);
    padding: 0; margin: 0;
    font-family: var(--sans);
}
header.site-header .sh-bar {
    display: flex; align-items: center; gap: 24px;
    max-width: 1240px; height: var(--sh-h); margin: 0 auto; padding: 0 var(--gutter);
    background: none; box-shadow: none; position: static;
}
header.site-header .sh-brand { display: inline-flex; align-items: center; gap: 10px; flex: none; text-decoration: none; color: var(--text); font-size: 17px; font-weight: 600; line-height: 1; white-space: nowrap; min-height: 44px; }
header.site-header .sh-brand:hover { color: var(--text); text-decoration: none; }
header.site-header .sh-brand img { width: 28px; height: 28px; object-fit: contain; }
header.site-header .sh-menu { display: flex; align-items: center; gap: 24px; flex: 1; min-width: 0; }
header.site-header .sh-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 auto 0 8px; padding: 0; }
header.site-header .sh-links li { margin: 0; padding: 0; opacity: 1; animation: none; }
header.site-header .sh-links a {
    display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 8px;
    color: var(--text-2); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
    transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
header.site-header .sh-links a:hover { color: var(--text); background: var(--raised); }
header.site-header .sh-links a[aria-current="page"] { color: var(--text); background: var(--raised); }
header.site-header .sh-actions { display: flex; align-items: center; gap: 8px; flex: none; }
header.site-header .sh-quiet, header.site-header .sh-account {
    display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 8px;
    color: var(--text-2); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
    transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
header.site-header .sh-quiet:hover, header.site-header .sh-account:hover { background: var(--raised); color: var(--text); }
header.site-header .sh-account span { display: none; }
header.site-header .sh-cta {
    display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 8px;
    background: var(--accent); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
    transition: background-color 150ms var(--ease), transform 150ms var(--ease);
}
header.site-header .sh-cta:hover { background: var(--accent-hover); color: #fff; }
header.site-header .sh-cta:active { transform: scale(0.98); }
header.site-header .sh-lang { position: relative; }
header.site-header .sh-lang-btn {
    display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border: 0; border-radius: 8px;
    background: none; color: var(--text-2); font: 500 14px/1 var(--sans); cursor: pointer;
    transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
header.site-header .sh-lang-btn:hover, header.site-header .sh-lang-btn[aria-expanded="true"] { background: var(--raised); color: var(--text); }
header.site-header .sh-lang-btn::after { display: none; }
header.site-header .sh-lang-menu {
    min-width: 168px; padding: 4px; margin-top: 4px !important; border: 0; border-radius: 12px;
    background: var(--card); box-shadow: var(--shadow-float);
}
header.site-header .sh-lang-menu .dropdown-item {
    display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border-radius: 8px;
    color: var(--text); font-size: 14px;
}
header.site-header .sh-lang-menu .dropdown-item:hover { background: var(--raised); color: var(--text); }
header.site-header .sh-lang-menu .dropdown-item[aria-current="true"] { color: var(--accent); }
header.site-header .sh-code { font-family: var(--mono); font-size: 12px; color: var(--muted); width: 20px; }
header.site-header .sh-lang-row { display: none; }
header.site-header .sh-toggle {
    display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; padding: 0;
    border: 0; border-radius: 10px; background: none; color: var(--text); cursor: pointer;
}
header.site-header .sh-toggle:hover { background: var(--raised); }
header.site-header .sh-toggle .ic-x { display: none; }
header.site-header.is-open .sh-toggle .ic-x { display: block; }
header.site-header.is-open .sh-toggle .ic-menu { display: none; }

@media (max-width: 1180px) {
    header.site-header .sh-links a { padding: 0 8px; }
    header.site-header .sh-menu { gap: 12px; }
}
@media (max-width: 1024px) {
    header.site-header .sh-bar { gap: 12px; padding: 0 16px; }
    header.site-header .sh-toggle { display: inline-flex; }
    header.site-header .sh-menu {
        position: fixed; top: var(--sh-h); left: 0; right: 0; bottom: 0;
        display: flex; flex-direction: column; align-items: stretch; gap: 16px;
        padding: 16px 16px 32px; overflow-y: auto;
        background: var(--bg); box-shadow: inset 0 1px 0 var(--hair);
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s linear 200ms;
    }
    header.site-header.is-open .sh-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
    header.site-header .sh-links { flex-direction: column; align-items: stretch; gap: 2px; margin: 0; }
    header.site-header .sh-links a { display: flex; height: 48px; padding: 0 12px; font-size: 17px; color: var(--text); border-radius: 10px; }
    header.site-header .sh-actions { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 16px; border-top: 1px solid var(--hair); }
    header.site-header .sh-actions .sh-lang { display: none; }
    header.site-header .sh-quiet, header.site-header .sh-account { height: 48px; font-size: 16px; padding: 0 12px; justify-content: flex-start; color: var(--text); }
    header.site-header .sh-account span { display: inline; }
    header.site-header .sh-cta { height: 48px; justify-content: center; font-size: 16px; border-radius: 10px; }
    header.site-header .sh-lang-row { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--raised); }
    header.site-header .sh-lang-row a { flex: 1; display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 8px; color: var(--text-2); font-size: 15px; font-weight: 500; text-decoration: none; }
    header.site-header .sh-lang-row a[aria-current="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 0 0 1px var(--hair); }
    html.sh-locked { overflow: hidden; }
}
@media (max-width: 380px) {
    header.site-header .sh-brand { font-size: 16px; }
}

/* ==========================================================================
   4. Footer (.site-footer, same markup on every public page)
   ========================================================================== */
footer.site-footer {
    margin: 0; padding: 64px 0 0;
    background: var(--card); color: var(--text-2);
    border-top: 1px solid var(--hair);
    font-family: var(--sans); font-size: 14px; line-height: 22px;
    text-align: left;
}
footer.site-footer .footer-content {
    max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
    display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px;
}
footer.site-footer .footer-content, footer.site-footer .footer-section { text-align: left; }
footer.site-footer .footer-section { padding: 0; margin: 0; min-width: 0; }
footer.site-footer .footer-section h3 {
    display: block; margin: 0 0 12px; padding: 0;
    font-size: 13px; line-height: 20px; font-weight: 500; color: var(--muted);
}
footer.site-footer .footer-section h3::after { display: none; }
footer.site-footer .footer-section:first-child h3 { font-size: 17px; line-height: 24px; font-weight: 600; color: var(--text); }
footer.site-footer .footer-section p { color: var(--text-2); margin: 0; font-size: 14px; line-height: 24px; overflow-wrap: anywhere; }
footer.site-footer .footer-section p .ic { color: var(--muted); margin-right: 6px; vertical-align: -3px; width: 16px; height: 16px; }
footer.site-footer .footer-section ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer .footer-section ul li { margin: 0; }
footer.site-footer .footer-section a, footer.site-footer .footer-section ul a {
    display: inline-flex; align-items: center; min-height: 32px; padding: 0;
    color: var(--text-2); text-decoration: none; transform: none;
    transition: color 150ms var(--ease);
}
footer.site-footer .footer-section a:hover { color: var(--accent); text-decoration: underline; transform: none; }
footer.site-footer .footer-section p a { display: inline; min-height: 0; color: var(--accent); }
footer.site-footer .social-links { display: flex; gap: 8px; margin: 0; flex-wrap: wrap; }
footer.site-footer .social-links a.social-link, footer.site-footer .social-link {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px;
    border-radius: 10px; background: var(--bg); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--hair);
    font-size: 16px; transform: none;
    transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
footer.site-footer .social-link:hover { background: var(--raised); color: var(--text); transform: none; text-decoration: none; }
footer.site-footer .footer-bottom { margin: 48px 0 0; padding: 20px 0 24px; background: none; border-top: 1px solid var(--hair); }
footer.site-footer .footer-bottom-content { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); text-align: left; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
footer.site-footer .copyright, footer.site-footer .copyright p { margin: 0; text-align: left; }
footer.site-footer .copyright p, footer.site-footer .footer-bottom p { margin: 0; color: var(--muted); font-size: 13px; line-height: 20px; }
footer.site-footer .footer-bottom a { color: var(--text-2); }
footer.site-footer .legal-links { display: flex; gap: 12px; font-size: 13px; }

@media (max-width: 960px) {
    footer.site-footer .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
    footer.site-footer .footer-section:first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
    footer.site-footer { padding-top: 48px; }
    footer.site-footer .footer-content { padding: 0 16px; gap: 28px 16px; }
    footer.site-footer .footer-bottom-content { padding: 0 16px; }
    footer.site-footer .footer-section a, footer.site-footer .footer-section ul a { min-height: 44px; }
}

/* Go to top: a quiet square that does not compete with the content */
.go-to-top-btn, #goToTopBtn {
    width: 44px; height: 44px; right: 16px; bottom: 16px; border-radius: 10px;
    background: var(--card); color: var(--text); box-shadow: var(--shadow-float); border: 0;
    transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s linear 200ms, background-color 150ms var(--ease);
}
.go-to-top-btn:hover, #goToTopBtn:hover { background: var(--raised); color: var(--text); transform: none; box-shadow: var(--shadow-float); }
.go-to-top-btn.show { transition: opacity 200ms var(--ease), transform 200ms var(--ease), background-color 150ms var(--ease); }
.go-to-top-btn .ic { width: 18px; height: 18px; }

/* ==========================================================================
   5. Shared components (legacy class names used across public pages)
   ========================================================================== */

/* Buttons */
main:not(.cc) .cta-button, .site-main:not(.cc) .cta-button, main:not(.cc) a.cta-button, main:not(.cc) button.cta-button,
main:not(.cc) .btn-primary, main:not(.cc) .submit-btn, main:not(.cc) button[type="submit"]:not(.btn-close):not(.s-btn-2):not(.cc-btn) {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; min-width: 0; padding: 0 20px;
    border: 0; border-radius: var(--r-ctl);
    background: var(--accent); background-image: none; color: #fff;
    font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: 0;
    text-decoration: none; text-transform: none; white-space: normal; text-align: center;
    box-shadow: none; transform: none; cursor: pointer;
    transition: background-color 150ms var(--ease), transform 150ms var(--ease), opacity 150ms var(--ease);
}
main:not(.cc) .cta-button:hover, main:not(.cc) .btn-primary:hover, main:not(.cc) .submit-btn:hover, main:not(.cc) button[type="submit"]:not(.btn-close):not(.s-btn-2):not(.cc-btn):hover {
    background: var(--accent-hover); color: #fff; transform: none; box-shadow: none; text-decoration: none;
}
main:not(.cc) .cta-button:active, main:not(.cc) .btn-primary:active, main:not(.cc) button[type="submit"]:active { transform: scale(0.98); }
main:not(.cc) .btn-primary:focus, main:not(.cc) .btn-primary:focus-visible { box-shadow: 0 0 0 3px var(--accent-soft); }
main:not(.cc) .btn-outline-primary, main:not(.cc) .btn-secondary, main:not(.cc) .btn-outline-secondary, main:not(.cc) .btn-light {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px;
    border: 0; border-radius: var(--r-ctl); background: var(--card); color: var(--text);
    box-shadow: inset 0 0 0 1px var(--hair-strong); font-weight: 500; transform: none;
}
main:not(.cc) .btn-outline-primary:hover, main:not(.cc) .btn-secondary:hover, main:not(.cc) .btn-outline-secondary:hover, main:not(.cc) .btn-light:hover { background: var(--raised); color: var(--text); }
main:not(.cc) .btn { font-weight: 500; border-radius: var(--r-ctl); }
main:not(.cc) .btn-lg { min-height: 48px; font-size: 15px; }

/* Form controls */
main:not(.cc) input[type="text"], main:not(.cc) input[type="email"], main:not(.cc) input[type="tel"], main:not(.cc) input[type="password"], main:not(.cc) input[type="number"],
main:not(.cc) input[type="date"], main:not(.cc) input[type="time"], main:not(.cc) input[type="search"], main:not(.cc) input[type="url"], main:not(.cc) select, main:not(.cc) textarea,
main:not(.cc) .form-control, main:not(.cc) .form-select {
    min-height: 48px; padding: 10px 14px;
    border: 1px solid var(--hair-strong); border-radius: var(--r-ctl);
    background-color: var(--card); color: var(--text);
    font-family: var(--sans); font-size: 16px; line-height: 1.4;
    box-shadow: none;
    transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
main:not(.cc) textarea, main:not(.cc) textarea.form-control { min-height: 120px; }
main:not(.cc) input::placeholder, main:not(.cc) textarea::placeholder { color: var(--muted); opacity: 1; }
main:not(.cc) input:focus, main:not(.cc) select:focus, main:not(.cc) textarea:focus, main:not(.cc) .form-control:focus, main:not(.cc) .form-select:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
main:not(.cc) label, main:not(.cc) .form-label { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
main:not(.cc) .form-text, main:not(.cc) small.text-muted { color: var(--muted) !important; font-size: 13px; }
main:not(.cc) input[type="checkbox"], main:not(.cc) input[type="radio"], main:not(.cc) .form-check-input { min-height: 0; width: 18px; height: 18px; accent-color: var(--accent); }
main:not(.cc) .form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }

/* Alerts */
main:not(.cc) .alert { border: 0; border-radius: var(--r-ctl); padding: 14px 16px; font-size: 15px; box-shadow: none; }
main:not(.cc) .alert-success { background: var(--ok-soft); color: var(--ok); }
main:not(.cc) .alert-danger, main:not(.cc) .alert-error { background: var(--bad-soft); color: var(--bad); }
main:not(.cc) .alert-warning { background: var(--warn-soft); color: var(--warn); }
main:not(.cc) .alert-info { background: var(--accent-soft); color: var(--accent-hover); }

/* Bootstrap cards inside public pages */
main:not(.cc) .card { border: 0; border-radius: var(--r-card); background: var(--card); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm); }
main:not(.cc) .card-header { background: none; border-bottom: 1px solid var(--hair); font-weight: 500; }
main:not(.cc) .shadow, main:not(.cc) .shadow-sm, main:not(.cc) .shadow-lg { box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm) !important; }
main:not(.cc) .text-primary { color: var(--accent) !important; }
main:not(.cc) .bg-primary { background-color: var(--accent) !important; }
main:not(.cc) .text-muted { color: var(--muted) !important; }
main:not(.cc) .fw-bold, main:not(.cc) .font-weight-bold { font-weight: 600 !important; }
main:not(.cc) .display-1, main:not(.cc) .display-2, main:not(.cc) .display-3, main:not(.cc) .display-4, main:not(.cc) .display-5, main:not(.cc) .display-6 { font-weight: 500; letter-spacing: -0.02em; }
main:not(.cc) .lead { font-size: 18px; line-height: 28px; color: var(--text-2); font-weight: 400; }
main:not(.cc) .badge { font-weight: 500; border-radius: 6px; letter-spacing: 0; }

/* Page header band used by services, contact, news, article */
main .page-header {
    position: relative; overflow: hidden;
    min-height: 0; height: auto;
    padding: calc(var(--sh-h) + 64px) max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))) 48px; margin: 0;
    background: var(--bg); background-image: none; color: var(--text);
    text-align: left; box-shadow: inset 0 -1px 0 var(--hair);
}
main .page-header::before, main .page-header::after { display: none; }
main .page-header > * { margin-left: 0; margin-right: 0; }
main .page-header h1 { font-size: 44px; line-height: 1.08; font-weight: 500; letter-spacing: -0.02em; color: var(--text); margin-bottom: 12px; text-shadow: none; }
main .page-header p { font-size: 18px; line-height: 28px; color: var(--text-2); max-width: 36rem; margin-left: 0; text-shadow: none; opacity: 1; }
@media (max-width: 760px) {
    main .page-header { padding: calc(var(--sh-h) + 40px) 16px 32px; }
    main .page-header h1 { font-size: 34px; }
    main .page-header p { font-size: 16px; line-height: 24px; }
}

/* VIN strip, the signature detail (same as /compliance_check) */
.vin-strip { display: grid; grid-template-columns: repeat(17, minmax(0, 1fr)); gap: 4px; }
.vin-strip .vin-cell { display: flex; align-items: center; justify-content: center; height: 32px; border-radius: 4px; background: transparent; box-shadow: inset 0 0 0 1px var(--hair); color: var(--text); font-family: var(--mono); font-size: 14px; font-weight: 500; transition: background-color 150ms var(--ease), color 150ms var(--ease); }
.vin-strip .vin-cell.is-filled { background: var(--card); box-shadow: inset 0 0 0 1px var(--hair-strong); }
.vin-strip .vin-cell.is-bad { color: var(--bad); box-shadow: inset 0 0 0 1px var(--bad); }
@media (max-width: 520px) { .vin-strip { gap: 2px; } .vin-strip .vin-cell { height: 28px; font-size: 12px; } }

/* Kill the decorative motion the legacy pages loop or fly in */
.fade-in, [data-aos] { opacity: 1 !important; transform: none !important; animation: none !important; }
main .hero-content { animation: none; }

/* ==========================================================================
   6. Pages
   ========================================================================== */

/* ---- home pages ---- */
/* home pages (merged into site.css at the end)
   Home (/), legacy Punjabi home (punjabi_index) and /testimonials.
   Direction: plainspoken, official, roadside-quick. Hero = real photo + an inspection slip built in code. */

/* ==========================================================================
   Home + Punjabi home (body.pg-home)
   ========================================================================== */
.pg-home main { background: var(--bg); }
.pg-home main p { margin: 0; }
.pg-home .hm-section { padding: 96px 0; }
.pg-home .s-title { font-size: 36px; }

/* Hero: text left, photo with an inspection slip right */
.pg-home .hm-hero { padding: calc(var(--sh-h) + 64px) 0 96px; background: var(--bg); }
.pg-home .hm-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.pg-home .hm-hero-title { font-size: 52px; line-height: 1.06; font-weight: 500; letter-spacing: -0.02em; color: var(--text); margin: 0 0 20px; max-width: 13em; }
.pg-home .hm-hero-lead { font-size: 18px; line-height: 28px; color: var(--text-2); max-width: 30rem; margin: 0 0 32px; }
.pg-home .hm-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.pg-home .hm-hero-visual { position: relative; padding: 0 0 48px 64px; }
.pg-home .hm-hero-photo { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 68% 50%; border-radius: var(--r-panel); box-shadow: 0 0 0 1px var(--hair); }

/* The slip */
.pg-home .hm-slip {
    position: absolute; left: 0; bottom: 0; width: min(360px, 82%);
    background: var(--card); border-radius: var(--r-panel); box-shadow: var(--shadow-float);
    padding: 20px; font-size: 14px; line-height: 20px; color: var(--text);
}
.pg-home .hm-slip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px dashed var(--hair-strong); }
.pg-home .hm-slip-title { font-size: 15px; font-weight: 500; }
.pg-home .hm-slip-src { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.pg-home .hm-slip-rows { margin: 0; }
.pg-home .hm-slip-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.pg-home .hm-slip-row dt { font-weight: 500; font-size: 15px; display: flex; flex-direction: column; }
.pg-home .hm-slip-row dt span { font-size: 13px; line-height: 18px; font-weight: 400; color: var(--muted); }
.pg-home .hm-slip-row dd { margin: 0; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 22px; line-height: 28px; font-weight: 500; }
.pg-home .hm-slip-mobile { display: flex; align-items: center; gap: 8px; padding: 12px 0 0; color: var(--text-2); }
.pg-home .hm-slip-mobile .ic { width: 16px; height: 16px; color: var(--muted); }
.pg-home .hm-slip-foot { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--hair-strong); }
.pg-home .hm-vin { gap: 2px; margin-bottom: 12px; }
.pg-home .hm-vin .vin-cell { height: 24px; font-size: 11px; border-radius: 3px; }
.pg-home .hm-slip-link { font-size: 14px; line-height: 20px; min-height: 32px; }
.pg-home .hm-slip-link .ic, .pg-home .learn-more .ic { width: 16px; height: 16px; }
.pg-home .hm-slip-note { margin-top: 4px; font-size: 12px; line-height: 16px; color: var(--muted); }

/* Services */
.pg-home .hm-services { background: var(--card); box-shadow: inset 0 1px 0 var(--hair), inset 0 -1px 0 var(--hair); }
.pg-home .hm-services .s-title { margin-bottom: 32px; }
.pg-home .hm-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pg-home .service-card.hm-card {
    display: flex; flex-direction: column; align-items: flex-start;
    background: var(--bg); border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--hair); padding: 24px;
}
/* scripts/script.js hides .service-card for its own reveal; without the motion layer keep the cards still */
html:not(.motion) .pg-home .service-card.hm-card { opacity: 1 !important; transform: none !important; transition: none !important; }
.pg-home .hm-card > .ic { width: 20px; height: 20px; color: var(--muted); margin-bottom: 20px; }
.pg-home .hm-card h3 { font-size: 19px; line-height: 26px; margin: 0 0 8px; }
.pg-home .hm-card p { color: var(--text-2); font-size: 15px; line-height: 24px; margin: 0 0 20px; flex: 1; }
.pg-home .learn-more { font-size: 15px; min-height: 44px; }

/* Why choose */
.pg-home .hm-about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.pg-home .hm-about-text p:not(.s-eyebrow) { color: var(--text-2); font-size: 16px; line-height: 26px; max-width: 34rem; }
.pg-home .hm-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.pg-home .hm-features li { display: flex; gap: 12px; padding: 20px 0; border-top: 1px solid var(--hair); }
.pg-home .hm-features .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--muted); }
.pg-home .hm-features h3 { font-size: 16px; line-height: 24px; margin: 0 0 4px; }
.pg-home .hm-features p { color: var(--text-2); font-size: 15px; line-height: 22px; }

/* Message form */
.pg-home .hm-schedule { background: var(--card); box-shadow: inset 0 1px 0 var(--hair), inset 0 -1px 0 var(--hair); }
.pg-home .hm-schedule-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.pg-home .hm-schedule-text p { color: var(--text-2); font-size: 16px; line-height: 26px; }
.pg-home .hm-form-card { background: var(--bg); border-radius: var(--r-panel); box-shadow: inset 0 0 0 1px var(--hair); padding: 24px; margin: 0; max-width: none; }
.pg-home .hm-form-card .form-group { margin: 0 0 16px; }
.pg-home .hm-form-card label { display: block; }
.pg-home .hm-form-card input, .pg-home .hm-form-card textarea { width: 100%; display: block; }
.pg-home .hm-form-card textarea { resize: vertical; min-height: 140px !important; padding: 12px 14px !important; border: 1px solid var(--hair-strong) !important; border-radius: var(--r-ctl) !important; font-size: 16px !important; }
.pg-home .hm-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.pg-home .hm-form-card button[type="submit"] { margin-top: 4px; }

/* Testimonials: all three quotes as slips (no script drives the carousel on the home pages) */
.pg-home .testimonials { padding: 96px 0; background: var(--bg); margin: 0; }
.pg-home .Testimonials_top, .pg-home .Testimonials_bottom { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.pg-home .Testimonials_title { text-align: left; margin: 0 0 32px; }
.pg-home .Testimonials_title h2 { font-size: 36px; line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 12px; color: var(--text); }
.pg-home .Testimonials_title h2::after, .pg-home .Testimonials_title h2::before { display: none; }
.pg-home .Testimonials_title > p { font-size: 18px; line-height: 28px; color: var(--text-2); max-width: 36rem; margin: 0; }
.pg-home .testimonials_container { display: block; padding: 0; margin: 0; }
.pg-home .testimonials_container_left, .pg-home .testimonials_container_right { display: none; }
.pg-home .testimonials_container_center { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: auto; margin: 0; padding: 0; }
.pg-home .testimonials_content, .pg-home .testimonials_container_center .active {
    display: flex; flex-direction: column; position: relative; width: auto; height: auto; margin: 0; padding: 24px;
    background: var(--card); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm);
    transform: none; opacity: 1; animation: none; text-align: left;
}
.pg-home .testimonials_avatar, .pg-home .testimonials_text_before, .pg-home .testimonials_text_after { display: none; }
.pg-home .testimonials_text, .pg-home .testimonials_container_center .active .testimonials_text {
    display: flex; flex-direction: column; flex: 1; height: auto; padding: 0; margin: 0; background: none; color: var(--text); box-shadow: none; border-radius: 0; text-align: left;
}
.pg-home .testimonials_text p { flex: 1; margin: 0 0 20px; color: var(--text); font-size: 16px; line-height: 26px; font-style: normal; text-align: left; }
.pg-home .testimonials_information { padding-top: 16px; border-top: 1px dashed var(--hair-strong); text-align: left; }
.pg-home .testimonials_information h3 { font-size: 15px; line-height: 22px; font-weight: 500; color: var(--text); margin: 0; }
.pg-home .testimonials_information h4 { font-size: 14px; line-height: 20px; font-weight: 400; color: var(--text-2); margin: 2px 0 0; }
.pg-home .testimonial-date { display: block; margin-top: 8px; font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--muted); }

/* Contact cards */
.pg-home .contact { padding: 0 0 96px; background: var(--bg); margin: 0; }
.pg-home .contact > h2 { max-width: var(--wrap); margin: 0 auto 32px; padding: 0 var(--gutter); font-size: 36px; line-height: 1.15; letter-spacing: -0.01em; text-align: left; }
.pg-home .contact-container { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) !important; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px !important; }
.pg-home .contact-section { min-width: 0; margin: 0; padding: 0; }
.pg-home .contact-card { height: 100%; margin: 0; padding: 24px; text-align: left; background: var(--card); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm); transform: none; }
.pg-home .contact-icon { display: block; width: auto; height: auto; margin: 0 0 16px; background: none; border-radius: 0; box-shadow: none; color: var(--muted); }
.pg-home .contact-icon .ic { width: 20px; height: 20px; }
.pg-home .contact-card h3 { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); margin: 0 0 4px; }
.pg-home .contact-card .contact-link { display: inline-block; font-size: 18px; line-height: 28px; font-weight: 500; color: var(--text); text-decoration: none; margin: 0 0 12px; overflow-wrap: anywhere; }
.pg-home .contact-card .contact-link:hover { color: var(--accent); text-decoration: underline; }
.pg-home .contact-card p { color: var(--text-2); font-size: 14px; line-height: 22px; }

/* Social media modal */
.pg-home .social-modal { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(17, 24, 39, 0.4); animation: none; }
.pg-home .social-modal-content { position: relative; width: calc(100% - 32px); max-width: 420px; margin: 20vh auto 0; padding: 0; background: var(--card); border-radius: var(--r-panel); box-shadow: var(--shadow-float); animation: none; }
.pg-home .social-modal-close { position: absolute; top: 8px; right: 8px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-ctl); font-size: 24px; line-height: 1; font-weight: 400; color: var(--muted); cursor: pointer; }
.pg-home .social-modal-close:hover { background: var(--raised); color: var(--text); }
.pg-home .social-modal-body { padding: 28px 24px 24px; text-align: left; }
.pg-home .social-modal-icon { margin: 0 0 16px; color: var(--muted); animation: none; }
.pg-home .social-modal-icon .ic { width: 24px; height: 24px; }
.pg-home .social-modal-body h3 { font-size: 20px; line-height: 28px; margin: 0 0 8px; padding-right: 40px; }
.pg-home .social-modal-body p { color: var(--text-2); font-size: 15px; line-height: 24px; margin: 0 0 20px; }
.pg-home .social-modal-btn { min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--r-ctl); background: var(--accent); color: #fff; font: 500 15px/1 var(--sans); cursor: pointer; transition: background-color 150ms var(--ease); }
.pg-home .social-modal-btn:hover { background: var(--accent-hover); }
.pg-home .go-to-top-btn.pulse { animation: none; }

/* Punjabi home: Gurmukhi needs more line height and no negative tracking */
.pg-punjabi .hm-hero-title { line-height: 1.25; letter-spacing: 0; }
.pg-punjabi .s-title, .pg-punjabi .Testimonials_title h2, .pg-punjabi .contact > h2 { line-height: 1.3; letter-spacing: 0; }

@media (max-width: 1024px) {
    .pg-home .hm-hero-grid, .pg-home .hm-about-grid, .pg-home .hm-schedule-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .pg-home .hm-hero-visual { max-width: 640px; }
    .pg-home .hm-services-grid, .pg-home .testimonials_container_center { grid-template-columns: minmax(0, 1fr); }
    .pg-home .contact-container { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .pg-home .hm-section, .pg-home .testimonials { padding: 64px 0; }
    .pg-home .contact { padding-bottom: 64px; }
    .pg-home .s-wrap, .pg-home .Testimonials_top, .pg-home .Testimonials_bottom, .pg-home .contact > h2, .pg-home .contact-container { padding-left: 16px !important; padding-right: 16px !important; }
    .pg-home .hm-hero { padding: calc(var(--sh-h) + 40px) 0 64px; }
    .pg-home .hm-hero-title { font-size: 36px; }
    .pg-punjabi .hm-hero-title { font-size: 32px; }
    .pg-home .hm-hero-lead { font-size: 16px; line-height: 24px; margin-bottom: 24px; }
    .pg-home .hm-hero-actions .cta-button { width: 100%; }
    .pg-home .hm-hero-visual { padding: 0; }
    .pg-home .hm-slip { position: relative; width: auto; margin: -40px 12px 0; }
    .pg-home .s-title, .pg-home .Testimonials_title h2, .pg-home .contact > h2 { font-size: 28px; }
    .pg-home .Testimonials_title > p { font-size: 16px; line-height: 24px; }
    .pg-home .hm-features { grid-template-columns: minmax(0, 1fr); }
    .pg-home .hm-form-row { grid-template-columns: minmax(0, 1fr); }
    .pg-home .hm-form-card { padding: 16px; }
    .pg-home .hm-form-card button[type="submit"] { width: 100%; }
}

/* ==========================================================================
   Testimonials page (body.pg-testimonials, carousel driven by scripts/testimonials.js)
   ========================================================================== */
.pg-testimonials main { background: var(--bg); }
.pg-testimonials .testimonials { padding: calc(var(--sh-h) + 64px) var(--gutter) 96px; background: var(--bg); }
.pg-testimonials .testimonials_title { max-width: 720px; margin: 0 auto 32px; text-align: left; }
.pg-testimonials .testimonials_title h2 { font-size: 44px; line-height: 1.08; font-weight: 500; letter-spacing: -0.02em; color: var(--text); margin: 0 0 12px; }
.pg-testimonials .testimonials_title p { font-size: 18px; line-height: 28px; color: var(--text-2); max-width: 36rem; margin: 0; }
.pg-testimonials .testimonials_carousel { display: grid; grid-template-columns: 44px 44px 1fr; gap: 16px 8px; max-width: 720px; margin: 0 auto; }
.pg-testimonials .testimonials_content { display: none; grid-column: 1 / -1; width: auto; max-width: none; margin: 0; transform: none; opacity: 1; transition: none; padding: 32px; text-align: left; background: var(--card); border-radius: var(--r-panel); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm); }
.pg-testimonials .testimonials_content.active { display: block; }
.pg-testimonials .testimonial_quote { font-size: 20px; line-height: 32px; color: var(--text); margin: 0 0 24px; }
.pg-testimonials .testimonial_author { justify-content: flex-start; gap: 12px; padding-top: 20px; border-top: 1px dashed var(--hair-strong); }
.pg-testimonials .testimonial_avatar { display: none; }
.pg-testimonials .testimonial_info h4 { font-size: 15px; line-height: 22px; font-weight: 500; color: var(--text); margin: 0; }
.pg-testimonials .testimonial_info p { font-size: 14px; line-height: 20px; color: var(--muted); margin: 4px 0 0; }
.pg-testimonials .listing-carousel-button-prev, .pg-testimonials .listing-carousel-button-next {
    position: static; transform: none; grid-row: 2; width: 44px; height: 44px; padding: 0;
    display: flex; align-items: center; justify-content: center;
    border: 0; border-radius: var(--r-ctl); background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--hair-strong);
    transition: background-color 150ms var(--ease);
}
.pg-testimonials .listing-carousel-button-prev { grid-column: 1; }
.pg-testimonials .listing-carousel-button-next { grid-column: 2; }
.pg-testimonials .listing-carousel-button-prev:hover, .pg-testimonials .listing-carousel-button-next:hover { background: var(--raised); }
.pg-testimonials .listing-carousel-button-prev svg, .pg-testimonials .listing-carousel-button-next svg { width: 18px; height: 18px; }
.pg-testimonials .listing-carousel-button-prev svg path, .pg-testimonials .listing-carousel-button-next svg path { stroke-width: 1.5; }
@media (max-width: 760px) {
    .pg-testimonials .testimonials { padding: calc(var(--sh-h) + 40px) 16px 64px; }
    .pg-testimonials .testimonials_carousel { padding: 0; }
    .pg-testimonials .testimonials_title h2 { font-size: 34px; }
    .pg-testimonials .testimonials_title p { font-size: 16px; line-height: 24px; }
    .pg-testimonials .testimonials_content { padding: 20px; }
    .pg-testimonials .testimonial_quote { font-size: 17px; line-height: 28px; }
}
@media (max-width: 760px) {
    .pg-home .hm-hero-photo { aspect-ratio: 4 / 3; }
}


/* ---- services pages ---- */
/* services pages (merged into site.css at the end) */
/* Group: SERVICES. Pages: /services (.pg-services), /services_detailed (.pg-svcd), /about (.pg-about).
   Direction: plainspoken, official, roadside-quick. Tokens from site.css only. */

/* ==========================================================================
   Shared within this group: page header alignment, social modal
   ========================================================================== */
:is(.pg-services, .pg-svcd) main .page-header p {
    max-width: var(--wrap); margin-left: auto; margin-right: auto;
    padding-right: max(0px, calc(min(100%, var(--wrap)) - 36rem));
}

:is(.pg-services, .pg-svcd, .pg-about) .social-modal { background: rgba(17, 24, 39, 0.4); animation: none; }
:is(.pg-services, .pg-svcd, .pg-about) .social-modal-content {
    margin: 16vh auto 0; width: calc(100% - 32px); max-width: 420px;
    border-radius: var(--r-panel); background: var(--card); box-shadow: var(--shadow-float); animation: none;
}
:is(.pg-services, .pg-svcd, .pg-about) .social-modal-close {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    top: 8px; right: 8px; border-radius: var(--r-ctl); color: var(--muted); font-weight: 400; font-size: 24px;
}
:is(.pg-services, .pg-svcd, .pg-about) .social-modal-close:hover { background: var(--raised); color: var(--text); }
:is(.pg-services, .pg-svcd, .pg-about) .social-modal-body { padding: 32px 24px 24px; text-align: left; }
:is(.pg-services, .pg-svcd, .pg-about) .social-modal-icon { font-size: 0; margin: 0 0 16px; color: var(--muted); animation: none; }
:is(.pg-services, .pg-svcd, .pg-about) .social-modal-icon .ic { width: 24px; height: 24px; }
:is(.pg-services, .pg-svcd, .pg-about) .social-modal-body h3 { font-size: 20px; line-height: 28px; font-weight: 500; color: var(--text); margin: 0 0 8px; }
:is(.pg-services, .pg-svcd, .pg-about) .social-modal-body p { font-size: 15px; line-height: 24px; color: var(--text-2); margin: 0 0 24px; }
:is(.pg-services, .pg-svcd, .pg-about) .social-modal-btn {
    min-height: 44px; padding: 0 20px; border-radius: var(--r-ctl); background: var(--accent); color: #fff;
    font: 500 15px/1 var(--sans); transition: background-color 150ms var(--ease);
}
:is(.pg-services, .pg-svcd, .pg-about) .social-modal-btn:hover { background: var(--accent-hover); }

/* ==========================================================================
   /services
   ========================================================================== */
.pg-services main { background: var(--bg); }

/* Service detail sections: photo in a 16px frame, text beside it, alternating */
.pg-services .service-detail { max-width: var(--wrap); margin: 0 auto; padding: 80px var(--gutter) 0; }
.pg-services .service-detail + .service-detail { padding-top: 96px; }
.pg-services .service-content { margin: 0; }
.pg-services .service-content > h2 {
    font-family: var(--mono); font-size: 13px; line-height: 20px; font-weight: 400; color: var(--muted);
    letter-spacing: 0.02em; margin: 0 0 16px;
}
.pg-services .service-description {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center;
}
.pg-services .service-detail:nth-of-type(odd) .svc-photo { order: 2; }
.pg-services .svc-photo {
    margin: 0; border-radius: var(--r-panel); overflow: hidden; background: var(--raised);
    box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm); aspect-ratio: 4 / 3;
}
.pg-services .service-description .svc-photo img {
    display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none;
}
.pg-services .text-content h3 { font-size: 32px; line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; color: var(--text); margin: 0 0 16px; }
.pg-services .text-content > p { font-size: 17px; line-height: 28px; color: var(--text-2); margin: 0; max-width: 34rem; }
.pg-services .text-content ul { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--hair); max-width: 34rem; }
.pg-services .text-content ul li {
    position: relative; margin: 0; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--hair);
    font-size: 15px; line-height: 22px; color: var(--text);
}
.pg-services .text-content ul li::before {
    content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px;
    border-left: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(-45deg);
}
.pg-services .text-content .price {
    display: inline-block; margin: 24px 0 0; font-family: var(--sans); font-variant-numeric: tabular-nums;
    font-size: 18px; line-height: 28px; font-weight: 500; color: var(--text);
}
.pg-services .price-disclaimer { font-size: 13px; line-height: 20px; color: var(--muted); margin: 4px 0 0; }

/* Pricing: three inspection slips */
.pg-services .pricing { max-width: var(--wrap); margin: 0 auto; padding: 112px var(--gutter) 96px; background: none; }
.pg-services .pricing > h2 { font-size: 32px; line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; text-align: left; margin: 0 0 32px; color: var(--text); }
.pg-services .pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: none; margin: 0; }
.pg-services .pricing-card {
    display: flex; flex-direction: column; text-align: left; padding: 24px; border: 0;
    background: var(--card); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm);
    transform: none; transition: none;
}
.pg-services .pricing-card:hover { transform: none; }
.pg-services .pricing-card.featured { transform: none; border: 0; box-shadow: 0 0 0 1px var(--hair-strong), var(--shadow-float); }
.pg-services .pricing-card h3 {
    font-size: 15px; line-height: 22px; font-weight: 500; color: var(--text-2); margin: 0;
    padding-bottom: 16px; border-bottom: 1px dashed var(--hair-strong);
}
.pg-services .pricing-card .price {
    margin: 20px 0 0; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 40px; line-height: 48px;
    font-weight: 500; letter-spacing: -0.01em; color: var(--text);
}
.pg-services .pricing-card.featured .price { color: var(--accent); }
.pg-services .pricing-card:nth-child(3) .price { font-family: var(--sans); font-size: 32px; }
.pg-services .pricing-card .price-disclaimer { margin: 4px 0 0; }
.pg-services .pricing-card ul { list-style: none; margin: 20px 0 24px; padding: 0; border-top: 1px dashed var(--hair-strong); }
.pg-services .pricing-card ul li { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--hair); font-size: 15px; line-height: 22px; color: var(--text-2); }
.pg-services .pricing-card ul li:last-child { border-bottom: 0; }
.pg-services .pricing-card .cta-button { margin-top: auto; width: 100%; }
.pg-services .pricing-card:not(.featured) .cta-button { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--hair-strong); }
.pg-services .pricing-card:not(.featured) .cta-button:hover { background: var(--raised); color: var(--text); }

@media (max-width: 900px) {
    .pg-services .service-description { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .pg-services .service-detail:nth-of-type(odd) .svc-photo { order: 0; }
    .pg-services .pricing-grid { grid-template-columns: minmax(0, 1fr); max-width: 30rem; }
}
@media (max-width: 760px) {
    .pg-services .service-detail { padding: 48px 16px 0; }
    .pg-services .service-detail + .service-detail { padding-top: 64px; }
    .pg-services .text-content h3, .pg-services .pricing > h2 { font-size: 26px; }
    .pg-services .text-content > p { font-size: 16px; line-height: 26px; }
    .pg-services .pricing { padding: 80px 16px 64px; }
    .pg-services .pricing-card .price { font-size: 36px; line-height: 44px; }
}

/* ==========================================================================
   /services_detailed (inline <style> removed; everything lives here)
   ========================================================================== */
.pg-svcd main { background: var(--bg); color: var(--text); }
.pg-svcd main .container { max-width: calc(var(--wrap) + 2 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
.pg-svcd main h2 { font-size: 32px; line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; color: var(--text); margin: 0 0 12px; }
.pg-svcd main p { color: var(--text-2); }
.pg-svcd main section { padding: 96px 0 0; background: none; }

/* Hero: text on the calm page surface */
.pg-svcd .hero-section { padding: calc(var(--sh-h) + 64px) 0 48px; box-shadow: inset 0 -1px 0 var(--hair); text-align: left; color: var(--text); }
.pg-svcd .hero-content { max-width: none; margin: 0; padding: 0; background: none; border-radius: 0; box-shadow: none; text-align: left; }
.pg-svcd .social-modal { display: none; position: fixed; inset: 0; z-index: 9999; }
.pg-svcd .social-modal-content { position: relative; }
.pg-svcd .social-modal-close { position: absolute; cursor: pointer; z-index: 1; }
.pg-svcd .social-modal-btn { border: 0; cursor: pointer; }
.pg-svcd .hero-content h1 { font-size: 44px; line-height: 1.08; font-weight: 500; letter-spacing: -0.02em; color: var(--text); margin: 0 0 12px; max-width: 16em; }
.pg-svcd .hero-content p { font-size: 18px; line-height: 28px; color: var(--text-2); max-width: 36rem; margin: 0; }

/* Service items: photo in a 16px frame, alternating sides */
.pg-svcd .services-detail { padding-top: 32px; }
.pg-svcd .service-item { padding: 48px 0; margin: 0; border-bottom: 1px solid var(--hair); scroll-margin-top: calc(var(--sh-h) + 16px); }
.pg-svcd .service-item:last-child { border-bottom: 0; }
.pg-svcd .service-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.pg-svcd .service-content.reverse .service-text { order: 2; }
.pg-svcd .service-text h3 { font-size: 28px; line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; color: var(--text); margin: 0 0 12px; }
.pg-svcd .service-text h3::after { display: none; }
.pg-svcd .service-text p { font-size: 16px; line-height: 26px; color: var(--text-2); margin: 0 0 12px; }
.pg-svcd .service-text p.service-description { display: block; font-size: 18px; line-height: 28px; color: var(--text); }
.pg-svcd .service-image { margin: 0; border-radius: var(--r-panel); overflow: hidden; background: var(--raised); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm); aspect-ratio: 4 / 3; }
.pg-svcd .service-image img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; transform: none; transition: none; }
.pg-svcd .benefits-list { margin: 24px 0 0; padding: 0; background: none; border: 0; box-shadow: none; }
.pg-svcd .benefits-list h4 { font-family: var(--mono); font-size: 13px; line-height: 20px; font-weight: 400; color: var(--muted); margin: 0 0 8px; }
.pg-svcd .benefits-list ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.pg-svcd .benefits-list li { position: relative; margin: 0; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--hair); font-size: 15px; line-height: 22px; color: var(--text); background: none; }
.pg-svcd .benefits-list li::before {
    content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; background: none;
    border-left: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); border-radius: 0; transform: rotate(-45deg);
}

/* Why choose us: four quiet cards */
.pg-svcd .why-choose-us h2 { text-align: left; margin-bottom: 32px; }
.pg-svcd .why-choose-us h2::after { display: none; }
.pg-svcd .reasons-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.pg-svcd .reason-item { padding: 24px; text-align: left; background: var(--card); border: 0; border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm); transform: none; transition: none; }
.pg-svcd .reason-item:hover { transform: none; box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm); }
.pg-svcd .reason-icon { width: auto; height: auto; margin: 0 0 16px; background: none; border-radius: 0; color: var(--muted); display: block; box-shadow: none; }
.pg-svcd .reason-icon .ic { width: 20px; height: 20px; }
.pg-svcd .reason-item h4 { font-size: 17px; line-height: 24px; font-weight: 500; color: var(--text); margin: 0 0 8px; }
.pg-svcd .reason-item p { font-size: 15px; line-height: 24px; margin: 0; }

/* Pricing note and contact CTA: one panel each */
.pg-svcd .pricing-content, .pg-svcd .cta-content {
    max-width: none; padding: 32px; text-align: left; color: var(--text);
    background: var(--card); border-radius: var(--r-panel); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm);
}
.pg-svcd .pricing-content { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; }
.pg-svcd .pricing-content h2, .pg-svcd .cta-content h2 { font-size: 24px; line-height: 32px; margin: 0; color: var(--text); }
.pg-svcd .pricing-content p { margin: 0; font-size: 16px; line-height: 24px; }
.pg-svcd main .cta-section { padding-top: 16px; }
.pg-svcd .cta-content { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: center; }
.pg-svcd .cta-content p { grid-column: 1; margin: 0; font-size: 16px; line-height: 24px; max-width: 36rem; }
.pg-svcd .cta-buttons { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; justify-content: flex-end; }
.pg-svcd .cta-buttons .btn { min-height: 48px; padding: 0 20px; font-size: 15px; transform: none; box-shadow: none; }
.pg-svcd main .cta-buttons .btn-secondary { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--hair-strong); font-variant-numeric: tabular-nums; }
.pg-svcd main .cta-buttons .btn-secondary:hover { background: var(--raised); color: var(--text); }

/* FAQ accordion: hairline list, chevron turns */
.pg-svcd .faq-section h2 { text-align: left !important; margin-bottom: 24px !important; }
.pg-svcd .faq-section .col-lg-8 { width: 100%; max-width: 48rem; margin-left: 0 !important; }
.pg-svcd .faq-item { margin: 0; background: none; border: 0; border-radius: 0; border-bottom: 1px solid var(--hair); box-shadow: none; overflow: visible; transform: none; }
.pg-svcd .faq-item:first-child { border-top: 1px solid var(--hair); }
.pg-svcd .faq-item:hover { box-shadow: none; transform: none; }
.pg-svcd .faq-question {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 56px;
    padding: 16px 0; border: 0; background: none; color: var(--text); text-align: left;
    font-family: var(--sans); font-size: 17px; line-height: 24px; font-weight: 500; cursor: pointer;
    transition: color 150ms var(--ease);
}
.pg-svcd .faq-question:hover { color: var(--accent); background: none; }
.pg-svcd .faq-question:focus { outline: none; box-shadow: none; }
.pg-svcd .faq-question:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pg-svcd .faq-icon { flex: none; width: 18px; height: 18px; color: var(--muted); transition: transform 200ms var(--ease); }
.pg-svcd .faq-icon.active { transform: rotate(180deg); }
.pg-svcd .faq-answer { display: none; max-height: none; padding: 0 0 20px; background: none; }
.pg-svcd .faq-answer.active { display: block; max-height: none; padding: 0 0 20px; }
.pg-svcd .faq-answer p { margin: 0; font-size: 16px; line-height: 26px; color: var(--text-2); max-width: 42rem; }

/* Network */
.pg-svcd .network-section { color: var(--text); }
.pg-svcd .network-section .col-lg-12.text-center { text-align: left !important; }
.pg-svcd .network-section .col-lg-12.mb-5 { margin-bottom: 32px !important; }
.pg-svcd .network-section h2 + p { font-size: 18px; line-height: 28px; max-width: 36rem; margin: 0; }
.pg-svcd .network-section .row > .col-lg-4 { margin-bottom: 16px !important; }
.pg-svcd .network-card { height: 100%; padding: 24px; text-align: left; background: var(--card); border: 0; border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm); transform: none; transition: none; color: var(--text); }
.pg-svcd .network-card:hover { transform: none; box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm); }
.pg-svcd .network-card .ic { display: block; width: 20px; height: 20px; margin: 0 0 16px !important; color: var(--muted); }
.pg-svcd .network-card h4 { font-size: 17px; line-height: 24px; font-weight: 500; color: var(--text); margin: 0 0 8px; }
.pg-svcd .network-card p { font-size: 15px; line-height: 24px; margin: 0; }
.pg-svcd .network-section .row.mt-5 { margin-top: 48px !important; }
.pg-svcd .network-section h3 { font-size: 24px; line-height: 32px; font-weight: 500; color: var(--text); margin: 0; }
.pg-svcd .network-section .row.mt-5 .col-lg-12 { text-align: left !important; }
.pg-svcd .network-section .row.mt-4 { margin-top: 16px !important; }
.pg-svcd .network-section .row.mt-4 > div { padding-top: 16px; margin-bottom: 0 !important; border-top: 1px solid var(--hair); }
.pg-svcd .network-section h5 { display: flex; align-items: center; gap: 10px; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--text); margin: 0 0 4px; }
.pg-svcd .network-section h5 .ic { width: 18px; height: 18px; margin: 0 !important; color: var(--muted); }
.pg-svcd .network-section .row.mt-4 p { font-size: 15px; line-height: 24px; margin: 0 0 16px 28px; }

/* Final CTA */
.pg-svcd main .service-section { padding: 96px 0; text-align: left !important; }
.pg-svcd .service-section .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: center; }
.pg-svcd .service-section .container::before { content: ""; grid-column: 1 / -1; height: 1px; background: var(--hair); margin-bottom: 40px; }
.pg-svcd .service-section h2 { margin: 0; }
.pg-svcd .service-section p { grid-column: 1; margin: 0; font-size: 16px; line-height: 24px; }
.pg-svcd .service-section .cta-button { grid-column: 2; grid-row: 2 / span 2; }

@media (max-width: 992px) {
    .pg-svcd .service-content { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .pg-svcd .service-content.reverse .service-text { order: 0; }
    .pg-svcd .service-image { order: -1; }
    .pg-svcd .reasons-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .pg-svcd main .container { padding-left: 16px; padding-right: 16px; }
    .pg-svcd main section { padding-top: 64px; }
    .pg-svcd main h2 { font-size: 26px; }
    .pg-svcd main .hero-section { padding: calc(var(--sh-h) + 40px) 0 32px; }
    .pg-svcd .hero-content h1 { font-size: 34px; }
    .pg-svcd .hero-content p { font-size: 16px; line-height: 24px; }
    .pg-svcd main .services-detail { padding-top: 16px; }
    .pg-svcd .service-item { padding: 40px 0; }
    .pg-svcd .service-text h3 { font-size: 24px; }
    .pg-svcd .service-text p.service-description { display: block; font-size: 17px; line-height: 26px; }
    .pg-svcd .reasons-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .pg-svcd .pricing-content, .pg-svcd .cta-content { padding: 24px 20px; }
    .pg-svcd .cta-content, .pg-svcd .service-section .container { grid-template-columns: minmax(0, 1fr); }
    .pg-svcd .cta-buttons, .pg-svcd .service-section .cta-button { grid-column: 1; grid-row: auto; justify-content: stretch; }
    .pg-svcd .cta-buttons .btn { flex: 1 1 100%; }
    .pg-svcd main .service-section { padding: 64px 0; }
    .pg-svcd .service-section .cta-button { margin-top: 16px; width: 100%; }
}

/* ==========================================================================
   /about (about.css no longer loaded; about.js still runs)
   ========================================================================== */
.pg-about main { background: var(--bg); color: var(--text); }
.pg-about main .container { max-width: calc(var(--wrap) + 2 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
.pg-about main section { padding: 96px 0 0; background: none; }
.pg-about main h2, .pg-about .section-title { font-size: 32px; line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; color: var(--text); margin: 0 0 32px; text-align: left; }
.pg-about main p { color: var(--text-2); }
/* about.js tilts cards, adds ripples and moves the hero on scroll: keep everything still */
.pg-about .about-hero, .pg-about .card-item { transform: none !important; }
.pg-about .card-item > div[style*="ripple"] { display: none !important; }

/* Hero: asymmetric split, stats as quiet mono figures */
.pg-about main .about-hero { padding: calc(var(--sh-h) + 64px) 0 80px; box-shadow: inset 0 -1px 0 var(--hair); overflow: hidden; }
.pg-about .about-hero .hero-content {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center;
    max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); background: none; border-radius: 0; text-align: left; color: var(--text);
}
.pg-about .hero-title { font-size: 44px; line-height: 1.08; font-weight: 500; letter-spacing: -0.02em; color: var(--text); margin: 0 0 16px; }
.pg-about .hero-subtitle { font-size: 18px; line-height: 28px; color: var(--text-2); max-width: 32rem; margin: 0; }
.pg-about .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 40px 0 0; border-top: 1px dashed var(--hair-strong); max-width: 32rem; }
.pg-about .stat-item { padding: 16px 16px 0 0; text-align: left; background: none; border: 0; box-shadow: none; }
.pg-about .stat-item + .stat-item { padding-left: 16px; border-left: 1px solid var(--hair); }
.pg-about .stat-number { display: block; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 24px; line-height: 32px; font-weight: 500; color: var(--text); }
.pg-about .stat-label { display: block; margin-top: 4px; font-size: 13px; line-height: 20px; color: var(--muted); }
.pg-about .hero-image { margin: 0; border-radius: var(--r-panel); overflow: hidden; background: var(--raised); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm); aspect-ratio: 5 / 4; }
.pg-about .hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Features: three cards, full text, no flip */
.pg-about .features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pg-about .feature-card { height: auto; perspective: none; background: var(--card); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm); }
.pg-about .card-inner { position: static; height: auto; transform: none !important; transform-style: flat; padding: 24px; display: flex; flex-direction: column; }
.pg-about .card-front, .pg-about .card-back { position: static; inset: auto; height: auto; padding: 0; background: none; color: var(--text); transform: none; backface-visibility: visible; box-shadow: none; border-radius: 0; text-align: left; }
.pg-about .card-front .card-preview, .pg-about .card-back h3 { display: none; }
.pg-about .icon-wrapper, .pg-about .timeline-icon, .pg-about .cert-icon, .pg-about .card-icon {
    width: auto; height: auto; margin: 0 0 16px; padding: 0; background: none; border-radius: 0; box-shadow: none; color: var(--muted); font-size: 20px; line-height: 1; animation: none;
}
.pg-about :is(.icon-wrapper, .timeline-icon, .cert-icon, .card-icon) .ic { width: 20px; height: 20px; }
.pg-about :is(.icon-wrapper, .timeline-icon, .cert-icon, .card-icon) i.fa-eye { color: var(--muted); }
.pg-about .feature-card h3, .pg-about .cert-card h3, .pg-about .card-item h3 { font-size: 18px; line-height: 26px; font-weight: 500; color: var(--text); margin: 0 0 8px; }
.pg-about .card-back p, .pg-about .cert-card p, .pg-about .card-item p { font-size: 15px; line-height: 24px; color: var(--text-2); margin: 0; }
.pg-about .card-badge, .pg-about .cert-badge {
    display: inline-flex; align-items: center; gap: 6px; margin: 16px 0 0; padding: 0; background: none; border: 0; box-shadow: none;
    font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--muted); border-radius: 0; position: static; animation: none;
}
.pg-about .card-badge .ic { width: 14px; height: 14px; }
.pg-about .cert-badge span { color: var(--muted); font-weight: 400; }

/* Mission and vision: two panels side by side */
.pg-about .timeline-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; position: static; padding: 0; }
.pg-about .timeline-wrapper::before, .pg-about .timeline-wrapper::after, .pg-about .timeline-item::before, .pg-about .timeline-item::after { display: none; }
.pg-about .timeline-item { width: auto; margin: 0; padding: 0; position: static; left: auto; text-align: left; }
.pg-about .timeline-content { height: 100%; padding: 32px; background: var(--card); color: var(--text); border-radius: var(--r-panel); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm); border: 0; position: static; }
.pg-about .timeline-content::before, .pg-about .timeline-content::after { display: none; }
.pg-about .timeline-content h2 { font-size: 24px; line-height: 32px; margin: 0 0 12px; color: var(--text); }
.pg-about .timeline-content p { font-size: 16px; line-height: 26px; margin: 0; color: var(--text-2); }
.pg-about .vision-goals { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--hair-strong); }
.pg-about .goal-item { display: inline-flex; align-items: center; gap: 8px; padding: 0; background: none; border: 0; border-radius: 0; font-size: 15px; line-height: 22px; color: var(--text); }
.pg-about .goal-item .ic { width: 16px; height: 16px; color: var(--muted); }

/* Certifications: all three shown, carousel controls not needed */
.pg-about .certifications-carousel { overflow: visible; max-width: none; margin: 0; padding: 0; background: none; box-shadow: none; }
.pg-about .carousel-track { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; transform: none !important; transition: none; width: auto; }
.pg-about .cert-slide { display: block !important; min-width: 0; width: auto; flex: none; opacity: 1 !important; transform: none !important; padding: 0; }
.pg-about .cert-card { height: 100%; padding: 24px; text-align: left; background: var(--card); color: var(--text); border: 0; border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm); transform: none; }
.pg-about .carousel-controls { display: none !important; }

/* Why choose: numbered cards */
.pg-about .section-header { text-align: left; margin: 0 0 32px; }
.pg-about .section-header h2 { margin: 0 0 12px; }
.pg-about .section-subtitle { font-size: 18px; line-height: 28px; color: var(--text-2); max-width: 36rem; margin: 0; }
.pg-about .interactive-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pg-about .card-item { position: relative; overflow: hidden; padding: 24px; background: var(--card); color: var(--text); border: 0; border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm); transition: none; cursor: default; }
.pg-about .card-item::before, .pg-about .card-item::after { display: none; }
.pg-about .card-header { display: flex; align-items: center; justify-content: space-between; padding: 0 0 16px; margin: 0 0 16px; background: none; border: 0; border-bottom: 1px dashed var(--hair-strong); }
.pg-about .card-header .card-icon { margin: 0; }
.pg-about .card-number { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 13px; line-height: 20px; font-weight: 400; color: var(--muted); opacity: 1; background: none; -webkit-text-fill-color: currentColor; }
.pg-about .card-hover-effect { display: none; }

/* CTA */
.pg-about main .cta-section { padding: 96px 0; }
.pg-about .cta-content { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: center; padding: 32px; text-align: left; background: var(--card); color: var(--text); border-radius: var(--r-panel); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm); }
.pg-about .cta-content h2 { font-size: 24px; line-height: 32px; margin: 0; color: var(--text); }
.pg-about .cta-content p { grid-column: 1; margin: 0; font-size: 16px; line-height: 24px; color: var(--text-2); }
.pg-about .cta-buttons { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; justify-content: flex-end; }
.pg-about .cta-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 0; border-radius: var(--r-ctl);
    font-family: var(--sans); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; box-shadow: none;
    transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
.pg-about .cta-btn::before, .pg-about .cta-btn::after { display: none; }
.pg-about .cta-btn .ic { width: 18px; height: 18px; color: currentColor; }
.pg-about .cta-btn.primary { background: var(--accent); color: #fff; }
.pg-about .cta-btn.primary:hover { background: var(--accent-hover); color: #fff; }
.pg-about .cta-btn.secondary { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--hair-strong); }
.pg-about .cta-btn.secondary:hover { background: var(--raised); color: var(--text); }

@media (max-width: 992px) {
    .pg-about .about-hero .hero-content { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .pg-about .features-grid, .pg-about .carousel-track { grid-template-columns: minmax(0, 1fr); }
    .pg-about .timeline-wrapper { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .pg-about main .container, .pg-about .about-hero .hero-content { padding-left: 16px; padding-right: 16px; }
    .pg-about main section { padding-top: 64px; }
    .pg-about main h2, .pg-about .section-title { font-size: 26px; margin-bottom: 24px; }
    .pg-about main .about-hero { padding: calc(var(--sh-h) + 40px) 0 48px; }
    .pg-about .hero-title { font-size: 34px; }
    .pg-about .hero-subtitle, .pg-about .section-subtitle { font-size: 16px; line-height: 24px; }
    .pg-about .stat-number { font-size: 20px; line-height: 28px; }
    .pg-about .interactive-cards { grid-template-columns: minmax(0, 1fr); }
    .pg-about .timeline-content, .pg-about .cta-content { padding: 24px 20px; }
    .pg-about .cta-content { grid-template-columns: minmax(0, 1fr); }
    .pg-about .cta-buttons { grid-column: 1; grid-row: auto; margin-top: 16px; }
    .pg-about .cta-btn { flex: 1 1 100%; white-space: normal; }
    .pg-about main .cta-section { padding: 64px 0; }
}


/* ---- content pages ---- */
/* content pages (merged into site.css at the end) */
/* Content group: contact, news, article, privacy, terms, fraud_warning. Every rule is scoped by a body class (pg-*). */

/* Page header band: h1 and lead share one left edge */
:is(.pg-contact, .pg-news) main .page-header > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding: 0; }
:is(.pg-contact, .pg-news) main .page-header p { margin-bottom: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.pg-contact main { background: var(--bg); }
.pg-contact .ct { padding: 48px var(--gutter) 96px; }
.pg-contact .ct-wrap {
    max-width: var(--wrap); margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start;
}
.pg-contact .ct-main {
    grid-column: 1; grid-row: 1;
    background: var(--card); border-radius: var(--r-panel);
    box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm);
    padding: 32px; margin: 0; max-width: none;
}
.pg-contact .ct-main > h2 {
    font-size: 22px; line-height: 28px; font-weight: 500; margin: 0 0 24px; padding: 0 0 20px;
    border-bottom: 1px dashed var(--hair-strong); text-align: left;
}
.pg-contact .ct-main .alert { margin: 0 0 20px; }
.pg-contact .ct-main .alert ul { padding-left: 18px; }
.pg-contact .contact-form {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px;
    max-width: none; margin: 0; padding: 0; background: none; box-shadow: none; border-radius: 0;
}
.pg-contact .contact-form .form-group { margin: 0; min-width: 0; }
.pg-contact .contact-form .form-group:has(#subject),
.pg-contact .contact-form .form-group:has(#message) { grid-column: 1 / -1; }
.pg-contact .contact-form label { display: block; }
.pg-contact .contact-form input, .pg-contact .contact-form textarea { width: 100%; margin: 0; }
.pg-contact .contact-form textarea { min-height: 160px; resize: vertical; }
.pg-contact .contact-form .cta-button { grid-column: 1 / -1; justify-self: start; width: auto; margin: 4px 0 0; }

.pg-contact .ct-side { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 24px; }
.pg-contact .ct-details { background: none; box-shadow: none; padding: 0; margin: 0; }
.pg-contact .ct-details > h2 { font-size: 15px; line-height: 22px; font-weight: 500; color: var(--muted); margin: 4px 0 8px; text-align: left; }
.pg-contact .ct-method {
    display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px;
    padding: 16px 0; margin: 0; border-top: 1px solid var(--hair);
    background: none; box-shadow: none; border-radius: 0; transform: none;
}
.pg-contact .ct-method:last-child { border-bottom: 1px solid var(--hair); }
.pg-contact .ct-method .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--muted); }
.pg-contact .ct-method h3 { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-2); margin: 0 0 4px; }
.pg-contact .ct-method a {
    display: inline-block; color: var(--text); font-size: 16px; line-height: 24px; font-weight: 500;
    text-decoration: none; overflow-wrap: anywhere;
}
.pg-contact .ct-method a[href^="tel:"] { font-variant-numeric: tabular-nums; }
.pg-contact .ct-method a:hover { color: var(--accent); text-decoration: underline; }
.pg-contact .ct-method p { margin: 4px 0 0; font-size: 13px; line-height: 20px; color: var(--muted); }
.pg-contact .ct-map {
    margin: 0; border-radius: var(--r-card); overflow: hidden;
    box-shadow: 0 0 0 1px var(--hair); background: var(--raised);
}
.pg-contact .ct-map iframe { display: block; width: 100%; height: 260px; border: 0; }

@media (max-width: 960px) {
    .pg-contact .ct { padding: 32px 16px 64px; }
    .pg-contact .ct-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .pg-contact .ct-main, .pg-contact .ct-side { grid-column: 1; grid-row: auto; }
}
@media (max-width: 560px) {
    .pg-contact .ct-main { padding: 20px 16px; border-radius: var(--r-card); }
    .pg-contact .contact-form { grid-template-columns: minmax(0, 1fr); }
    .pg-contact .contact-form .cta-button { width: 100%; justify-self: stretch; }
    .pg-contact .ct-map iframe { height: 220px; }
}

/* ==========================================================================
   News list
   ========================================================================== */
.pg-news main { background: var(--bg); }
.pg-news .news-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
    max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 48px var(--gutter) 0;
    background: none;
}
.pg-news .news-card {
    display: flex; flex-direction: column; min-width: 0; margin: 0;
    background: var(--card); border-radius: var(--r-card); overflow: hidden;
    box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm);
    transform: none; transition: box-shadow 150ms var(--ease);
}
.pg-news .news-card:hover { transform: none; box-shadow: 0 0 0 1px var(--hair-strong), var(--shadow-sm); }
.pg-news .news-image { aspect-ratio: 16 / 9; height: auto; margin: 0; overflow: hidden; background: var(--raised); }
.pg-news .news-image img { display: block; width: 100%; height: 100%; object-fit: cover; transform: none; transition: none; }
.pg-news .news-card:hover .news-image img { transform: none; }
.pg-news .news-content { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.pg-news .news-date {
    display: block; margin: 0 0 8px; padding: 0; background: none;
    font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--muted); font-variant-numeric: tabular-nums;
}
.pg-news .news-content h2 {
    font-size: 18px; line-height: 26px; font-weight: 500; color: var(--text); margin: 0 0 8px;
    overflow-wrap: break-word;
}
.pg-news .news-content p { font-size: 15px; line-height: 22px; color: var(--text-2); margin: 0 0 16px; overflow-wrap: anywhere; }
.pg-news .news-content .read-more {
    display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; padding: 12px 0 0;
    border-top: 1px dashed var(--hair-strong);
    color: var(--accent); font-size: 15px; font-weight: 500; text-decoration: none;
}
.pg-news .news-content .read-more:hover { color: var(--accent-hover); text-decoration: underline; }

.pg-news .pagination-container { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 40px var(--gutter) 0; }
.pg-news .pagination-container nav { display: block; padding: 0; margin: 0; background: none; box-shadow: none; position: static; height: auto; }
.pg-news .pagination { justify-content: flex-start !important; gap: 4px; flex-wrap: wrap; margin: 0; padding: 0; }
.pg-news .pagination .page-link {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; margin: 0;
    border: 0; border-radius: var(--r-ctl); background: var(--card); color: var(--text-2);
    box-shadow: inset 0 0 0 1px var(--hair); font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums;
}
.pg-news .pagination .page-item:first-child .page-link, .pg-news .pagination .page-item:last-child .page-link { border-radius: var(--r-ctl); }
.pg-news .pagination .page-link:hover { background: var(--raised); color: var(--text); }
.pg-news .pagination .page-link:focus { box-shadow: inset 0 0 0 1px var(--hair), 0 0 0 3px var(--accent-soft); }
.pg-news .pagination .page-item.active .page-link { background: var(--accent); color: #fff; box-shadow: none; }

.pg-news .newsletter {
    max-width: var(--wrap); margin: 64px auto 96px; padding: 32px;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 48px; align-items: center;
    background: var(--card); border-radius: var(--r-panel); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm);
    text-align: left;
}
.pg-news .newsletter h2 { grid-column: 1; font-size: 22px; line-height: 28px; font-weight: 500; margin: 0; }
.pg-news .newsletter p { grid-column: 1; margin: 0; font-size: 15px; line-height: 22px; color: var(--text-2); }
.pg-news .newsletter-form { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 8px; max-width: none; margin: 0; }
.pg-news .newsletter-form input[type="email"] { flex: 1; min-width: 0; margin: 0; }
.pg-news .newsletter-form .cta-button { flex: none; margin: 0; }

@media (max-width: 1000px) {
    .pg-news .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pg-news .newsletter { margin-left: var(--gutter); margin-right: var(--gutter); grid-template-columns: minmax(0, 1fr); }
    .pg-news .newsletter-form { grid-column: 1; grid-row: auto; margin-top: 12px; }
}
@media (max-width: 640px) {
    .pg-news .news-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 32px 16px 0; }
    .pg-news .pagination-container { padding: 32px 16px 0; }
    .pg-news .newsletter { margin: 48px 16px 64px; padding: 24px 16px; }
    .pg-news .newsletter-form { flex-direction: column; }
    .pg-news .newsletter-form .cta-button { width: 100%; }
}

/* ==========================================================================
   Article
   ========================================================================== */
.pg-article main { background: var(--bg); padding: calc(var(--sh-h) + 48px) var(--gutter) 96px; }
.pg-article .article-container {
    max-width: 68ch; margin: 0 auto; padding: 0;
    background: none; box-shadow: none; border-radius: 0;
}
.pg-article .article-header { margin: 0 0 32px; padding: 0; text-align: left; background: none; }
.pg-article .article-header h1 {
    font-size: 40px; line-height: 1.12; font-weight: 500; letter-spacing: -0.02em; color: var(--text); margin: 0 0 16px;
    overflow-wrap: break-word;
}
.pg-article .article-meta {
    display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: flex-start; margin: 0; padding: 0;
    font-family: var(--mono); font-size: 13px; line-height: 20px; color: var(--muted);
}
.pg-article .article-meta span { margin: 0; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.pg-article .article-meta .ic { width: 15px; height: 15px; margin: 0; }
.pg-article .article-image { width: 100%; height: auto; margin: 0 0 40px; border-radius: var(--r-panel); overflow: hidden; box-shadow: 0 0 0 1px var(--hair); background: var(--raised); }
.pg-article .article-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.pg-article .article-content { font-size: 17px; line-height: 1.7; color: var(--text); overflow-wrap: break-word; }
.pg-article .article-content p { margin: 0 0 20px; font-size: 17px; line-height: 1.7; color: var(--text); }
.pg-article .article-content :is(h2, h3, h4) { font-weight: 500; color: var(--text); margin: 40px 0 12px; }
.pg-article .article-content h2 { font-size: 24px; line-height: 32px; }
.pg-article .article-content h3 { font-size: 20px; line-height: 28px; }
.pg-article .article-content h4 { font-size: 17px; line-height: 26px; }
.pg-article .article-content :is(ul, ol) { margin: 0 0 24px; padding-left: 22px; }
.pg-article .article-content li { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--hair); font-size: 17px; line-height: 1.6; }
.pg-article .article-content li:last-child { border-bottom: 0; }
.pg-article .article-content li::marker { color: var(--muted); }
.pg-article .article-content a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; }
.pg-article .article-content img { border-radius: var(--r-card); height: auto; }
.pg-article .article-content blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--hair-strong); color: var(--text-2); }
.pg-article .article-content :is(em, i) { font-style: normal; }
.pg-article .article-content table { width: 100%; display: block; overflow-x: auto; }
.pg-article .article-footer { margin: 48px 0 0; padding: 24px 0 0; border-top: 1px dashed var(--hair-strong); text-align: left; }
.pg-article .back-to-news {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
    color: var(--text-2); font-size: 15px; font-weight: 500; text-decoration: none;
    background: none; padding: 0; border: 0; transform: none;
}
.pg-article .back-to-news:hover { color: var(--accent); text-decoration: underline; transform: none; }
.pg-article .back-to-news .ic { width: 16px; height: 16px; }

@media (max-width: 640px) {
    .pg-article main { padding: calc(var(--sh-h) + 32px) 16px 64px; }
    .pg-article .article-header h1 { font-size: 30px; }
    .pg-article .article-image { margin-bottom: 28px; border-radius: var(--r-card); }
}

/* ==========================================================================
   Legal reading layout (privacy, terms, fraud_warning)
   ========================================================================== */
.pg-legal main { background: var(--bg); padding: calc(var(--sh-h) + 56px) var(--gutter) 96px; }
.pg-legal :is(.privacy-container, .legal-container) { max-width: calc(68ch + 280px); margin: 0 auto; padding: 0; font-family: var(--sans); }
.pg-legal :is(.privacy-container, .legal-content) {
    display: grid; grid-template-columns: minmax(0, 68ch) 216px; column-gap: 64px; align-items: start;
}
.pg-legal .legal-content { padding: 0; background: none; border-radius: 0; box-shadow: none; }
.pg-legal :is(.privacy-container, .legal-content) > * { grid-column: 1; min-width: 0; }

.pg-legal :is(.privacy-container, .legal-content) h1 {
    font-size: 40px; line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; color: var(--text);
    margin: 0 0 12px !important; text-align: left;
}
.pg-legal .last-updated {
    margin: 0 0 40px; padding: 0 0 24px; border-bottom: 1px solid var(--hair);
    font-family: var(--mono); font-size: 13px; line-height: 20px; color: var(--muted); font-style: normal; text-align: left;
}

.pg-legal :is(.privacy-section, .legal-content section) { margin: 0 0 40px; scroll-margin-top: calc(var(--sh-h) + 24px); }
.pg-legal :is(.privacy-section, .legal-content section) h2 {
    display: flex; align-items: baseline; gap: 8px;
    font-size: 20px; line-height: 28px; font-weight: 500; color: var(--text);
    margin: 0 0 12px; padding: 0; border: 0;
}
.pg-legal .lg-num {
    flex: none; min-width: 20px;
    font-family: var(--mono); font-size: 13px; line-height: 28px; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums;
}
.pg-legal :is(.privacy-section, .legal-content section) h3 {
    font-size: 16px; line-height: 24px; font-weight: 500; color: var(--text); margin: 24px 0 8px;
}
.pg-legal :is(.privacy-section, .legal-content section) p {
    font-size: 16px; line-height: 26px; color: var(--text-2); margin: 0 0 12px;
}
.pg-legal :is(.privacy-section, .legal-content section) ul {
    list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--hair); color: var(--text-2);
}
.pg-legal :is(.privacy-section, .legal-content section) li {
    position: relative; margin: 0; padding: 10px 0 10px 20px; border-bottom: 1px solid var(--hair);
    font-size: 16px; line-height: 24px; color: var(--text-2);
}
.pg-legal :is(.privacy-section, .legal-content section) li::before {
    content: ""; position: absolute; left: 4px; top: 21px; width: 5px; height: 1px; background: var(--muted);
}
.pg-legal :is(.privacy-section, .legal-content section) li a { overflow-wrap: anywhere; }
.pg-legal .legal-content address {
    margin: 12px 0 0; padding: 16px 20px; border-radius: var(--r-card);
    background: var(--card); box-shadow: 0 0 0 1px var(--hair); font-style: normal; font-size: 15px; line-height: 24px; color: var(--text-2);
}

/* Fraud notice: quiet warning surface */
.pg-legal .warning-alert {
    margin: 0 0 40px; padding: 16px 20px; border: 0; border-radius: var(--r-card);
    background: var(--warn-soft); box-shadow: inset 0 0 0 1px var(--hair);
}
.pg-legal .warning-alert h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--warn); }
.pg-legal .warning-alert h3 .ic { width: 18px; height: 18px; color: var(--warn); }
.pg-legal .warning-alert p { margin: 0; padding-left: 28px; font-size: 15px; line-height: 24px; color: var(--text); }
.pg-legal .warning-alert strong { font-weight: 500; }

/* In-page table of contents, wide screens only */
.pg-legal .lg-toc {
    grid-column: 2; grid-row: 1 / span 40; align-self: start;
    position: sticky; top: calc(var(--sh-h) + 32px);
    padding: 4px 0 0 20px; border-left: 1px solid var(--hair);
}
.pg-legal .lg-toc ol { list-style: none; margin: 0; padding: 0; }
.pg-legal .lg-toc li { margin: 0; }
.pg-legal .lg-toc a {
    display: flex; align-items: baseline; gap: 10px; padding: 6px 0;
    font-size: 14px; line-height: 20px; color: var(--text-2); text-decoration: none;
}
.pg-legal .lg-toc a:hover { color: var(--accent); }
.pg-legal .lg-toc .lg-num { min-width: 16px; font-size: 12px; line-height: 20px; }

@media (max-width: 1100px) {
    .pg-legal :is(.privacy-container, .legal-content) { grid-template-columns: minmax(0, 1fr); max-width: 68ch; margin: 0 auto; }
    .pg-legal .legal-container { max-width: 68ch; }
    .pg-legal .lg-toc { display: none; }
}
@media (max-width: 640px) {
    .pg-legal main { padding: calc(var(--sh-h) + 32px) 16px 64px; }
    .pg-legal :is(.privacy-container, .legal-content) h1 { font-size: 30px; }
    .pg-legal .last-updated { margin-bottom: 32px; }
    .pg-legal :is(.privacy-section, .legal-content section) { margin-bottom: 32px; }
    .pg-legal :is(.privacy-section, .legal-content section) h2 { font-size: 19px; }
    .pg-legal .warning-alert p { padding-left: 0; }
}


/* ---- forms pages ---- */
/* forms pages (merged into site.css at the end) */
/* ==========================================================================
   Forms group: public_quotation (.pg-quote), schedule (.pg-schedule),
   login (.pg-login), register (.pg-register).
   Loads after site.css. Every rule is scoped by the page's body class.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shared: the VIN strip meter under every vin[] input (scripts/forms-vin-strip.js)
   -------------------------------------------------------------------------- */
:is(.pg-quote, .pg-schedule) .vin-input { font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
:is(.pg-quote, .pg-schedule) .vin-meter { margin-top: 12px; }
:is(.pg-quote, .pg-schedule) .vin-meter .vin-count { display: block; margin-top: 8px; text-align: right; font-family: var(--mono); font-size: 12px; line-height: 16px; font-variant-numeric: tabular-nums; color: var(--muted); }
:is(.pg-quote, .pg-schedule) .vin-meter .vin-count.is-done { color: var(--ok); }
:is(.pg-quote, .pg-schedule) .vin-meter .vin-count.is-bad { color: var(--bad); }

/* Shared: mono step number in front of a section heading */
:is(.pg-quote, .pg-schedule) .pq-step {
    display: inline-block; min-width: 28px; margin-right: 12px;
    font-family: var(--mono); font-size: 13px; line-height: 20px; font-weight: 500; font-variant-numeric: tabular-nums;
    color: var(--muted); vertical-align: 2px;
}

/* ==========================================================================
   1. Request a quotation (/public_quotation)
   ========================================================================== */
.pg-quote main.pq { padding: calc(var(--sh-h) + 48px) 0 80px; background: var(--bg); }
.pg-quote .pq-wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }

/* The container is no longer a card: the sections are */
.pg-quote .quotation-container { max-width: none; margin: 0; padding: 0; background: none; border-radius: 0; box-shadow: none; }
.pg-quote .quotation-container:has(.pq-rail) {
    display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 48px; align-items: start;
}
.pg-quote .quotation-container:has(.pq-rail) > .quotation-header,
.pg-quote .quotation-container:has(.pq-rail) > .alert { grid-column: 2; }
.pg-quote .quotation-container:has(.pq-rail) > .pq-rail { grid-column: 1; grid-row: 2 / span 2; }
.pg-quote .quotation-container:has(.pq-rail) > form { grid-column: 2; min-width: 0; }

.pg-quote .quotation-header { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 8px; text-align: left; margin: 0 0 32px; padding: 0; border: 0; }
.pg-quote .quotation-title { margin: 0; font-size: 40px; line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; color: var(--text); }
.pg-quote .quotation-subtitle { margin: 0; font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--muted); }

/* Step rail */
.pg-quote .pq-rail { position: sticky; top: calc(var(--sh-h) + 32px); display: flex; flex-direction: column; gap: 2px; padding-top: 4px; }
.pg-quote .pq-rail a {
    display: flex; align-items: center; min-height: 40px; padding: 8px 12px; border-radius: 8px;
    color: var(--text-2); font-size: 14px; line-height: 20px; font-weight: 500; text-decoration: none;
    transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
.pg-quote .pq-rail a:hover { background: var(--raised); color: var(--text); }
.pg-quote .pq-rail .pq-step { min-width: 24px; margin-right: 8px; vertical-align: 0; }

/* Sections as slips */
.pg-quote .quotation-section {
    margin: 0 0 16px; padding: 24px 28px 28px;
    background: var(--card); border-radius: var(--r-card);
    box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm);
    scroll-margin-top: calc(var(--sh-h) + 24px);
}
.pg-quote .quotation-section h3 {
    margin: 0 0 24px; padding: 0 0 16px; border-bottom: 1px dashed var(--hair-strong);
    font-size: 18px; line-height: 28px; font-weight: 500; color: var(--text);
}
.pg-quote .quotation-section .row { --bs-gutter-x: 16px; }
.pg-quote .quotation-section .form-group { margin-bottom: 20px; }
.pg-quote .quotation-section > .form-group:last-child { margin-bottom: 0; }
.pg-quote .required-field::after { content: " *"; color: var(--bad); }
.pg-quote main .form-label, .pg-quote main label { display: block; margin-bottom: 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); }
.pg-quote main .form-check-label { display: inline; margin: 0; font-weight: 400; }
.pg-quote main select.form-control { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7487' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.pg-quote main select.form-control:disabled { background-color: var(--raised); color: var(--muted); }
.pg-quote main .form-control.is-invalid { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-soft); }

/* One vehicle = one inner slip */
.pg-quote .vehicle-entry {
    margin: 0 0 16px; padding: 20px; border: 0;
    background: var(--bg); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--hair);
}
.pg-quote .vehicle-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin: -8px 0 12px; }
.pg-quote .vehicle-count { font-family: var(--mono); font-size: 13px; line-height: 20px; font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums; }
.pg-quote .vehicle-subsection { margin: 0 !important; padding: 0; background: none; border: 0; border-radius: 0; }
.pg-quote .vehicle-subsection + .vehicle-subsection { margin-top: 20px !important; padding-top: 20px; border-top: 1px dashed var(--hair-strong); }
.pg-quote .subsection-title,
.pg-quote .smog-check-section > h5,
.pg-quote .test-location-section > h5 { margin: 0 0 12px; font-size: 15px; line-height: 22px; font-weight: 500; color: var(--text-2); }
.pg-quote .vehicle-subsection .form-group { margin-bottom: 16px; }
.pg-quote .smog-check-section,
.pg-quote .test-location-section { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--hair-strong); }
.pg-quote .smog-check-section .form-group, .pg-quote .test-location-section .form-group { margin-bottom: 16px; }
.pg-quote .smog-check-section .d-flex { gap: 8px !important; flex-wrap: wrap; }
.pg-quote .smog-check-section .form-check {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; padding: 0 16px 0 14px;
    border-radius: var(--r-ctl); background: var(--card); box-shadow: inset 0 0 0 1px var(--hair-strong);
}
.pg-quote .smog-check-section .form-check .form-check-input { float: none; margin: 0; }
.pg-quote .smog-check-pending-details .form-label.required-field { font-weight: 400; color: var(--text-2); }

/* Remove vehicle: a quiet square, not a red block */
.pg-quote main .btn.remove-vehicle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 0;
    border: 0; border-radius: var(--r-ctl); background: var(--card); color: var(--muted); box-shadow: inset 0 0 0 1px var(--hair-strong);
    transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
.pg-quote main .btn.remove-vehicle:hover { background: var(--bad-soft); color: var(--bad); }
.pg-quote .remove-vehicle .ic { width: 18px; height: 18px; }

.pg-quote .pq-add { display: flex; justify-content: flex-start; margin-top: 4px; }
.pg-quote main .pq-add .btn { min-height: 48px; padding: 0 18px; font-size: 15px; }
.pg-quote main .pq-add .btn .ic { color: var(--muted); width: 18px; height: 18px; margin-right: 0 !important; }

.pg-quote #special_instructions { min-height: 120px; }

/* Actions: one primary, Cancel as a quiet secondary */
.pg-quote .button-container { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 24px 0 0; }
.pg-quote main .button-container .btn-secondary { background: none; box-shadow: none; color: var(--text-2); min-height: 48px; padding: 0 16px; }
.pg-quote main .button-container .btn-secondary:hover { background: var(--raised); color: var(--text); }
.pg-quote main .button-container .btn-primary { min-width: 200px; }
.pg-quote main .button-container .ic { width: 18px; height: 18px; margin: 0 !important; }

/* Quotation preview state (container innerHTML is replaced by the script) */
.pg-quote .pdf-container { border-radius: var(--r-card); overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm); }

/* Social media modal (opened from the footer) */
.pg-quote .social-modal { background-color: rgba(17, 24, 39, 0.4); animation: none; }
.pg-quote .social-modal-content { margin: 15vh auto 0; border-radius: var(--r-panel); box-shadow: var(--shadow-float); animation: none; }
.pg-quote .social-modal-close { top: 8px; right: 8px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-weight: 400; color: var(--muted); }
.pg-quote .social-modal-body { padding: 32px 28px 28px; }
.pg-quote .social-modal-icon { color: var(--muted); margin-bottom: 16px; animation: none; line-height: 0; }
.pg-quote .social-modal-icon .ic { width: 28px; height: 28px; }
.pg-quote .social-modal-body h3 { font-size: 20px; line-height: 28px; font-weight: 500; color: var(--text); }
.pg-quote .social-modal-body p { color: var(--text-2); font-size: 15px; line-height: 24px; }
.pg-quote .social-modal-btn { min-height: 48px; padding: 0 24px; border-radius: var(--r-ctl); background: var(--accent); font-weight: 500; font-size: 15px; transition: background-color 150ms var(--ease); }
.pg-quote .social-modal-btn:hover { background: var(--accent-hover); }

/* SweetAlert2 dialogs on the form pages */
:is(.pg-quote, .pg-login) .swal2-popup { border-radius: var(--r-panel); font-family: var(--sans); color: var(--text); }
:is(.pg-quote, .pg-login) .swal2-title { font-weight: 500; color: var(--text); }
:is(.pg-quote, .pg-login) .swal2-html-container { color: var(--text-2); }
:is(.pg-quote, .pg-login) .swal2-styled.swal2-confirm { background: var(--accent); border-radius: var(--r-ctl); min-height: 44px; font-weight: 500; box-shadow: none; }
:is(.pg-quote, .pg-login) .swal2-styled.swal2-cancel { background: var(--raised); color: var(--text); border-radius: var(--r-ctl); min-height: 44px; font-weight: 500; }
:is(.pg-quote, .pg-login) .swal2-styled:focus { box-shadow: 0 0 0 3px var(--accent-soft); }

@media (max-width: 1023px) {
    .pg-quote .quotation-container:has(.pq-rail) { display: block; }
    .pg-quote .pq-rail { display: none; }
    .pg-quote .pq-wrap { max-width: 832px; }
}
@media (max-width: 767px) {
    .pg-quote main.pq { padding: calc(var(--sh-h) + 32px) 0 64px; }
    .pg-quote .pq-wrap { padding: 0 16px; }
    .pg-quote .quotation-header { margin-bottom: 24px; }
    .pg-quote .quotation-title { font-size: 32px; }
    .pg-quote .quotation-section { padding: 20px 16px 24px; }
    .pg-quote .quotation-section h3 { margin-bottom: 20px; font-size: 17px; }
    .pg-quote .quotation-section .form-group { margin-bottom: 16px; }
    .pg-quote .vehicle-entry { padding: 16px 12px; }
    .pg-quote .pq-add .btn { width: 100%; }
    .pg-quote .button-container { flex-direction: column-reverse; align-items: stretch; gap: 8px; }
    .pg-quote main .button-container .btn { width: 100%; }
}

/* ==========================================================================
   2. Schedule a smoke test (/schedule, legacy schedule.css underneath)
   ========================================================================== */
.pg-schedule main.schedule-container {
    position: relative; max-width: 880px; margin: 0 auto;
    padding: calc(var(--sh-h) + 48px) var(--gutter) 80px;
}
/* Legacy POST language switcher: kept, in flow, quiet */
.pg-schedule .language-switcher { position: static; display: flex; justify-content: flex-end; margin: 0 0 8px; z-index: auto; }
.pg-schedule .language-switcher form { margin: 0; }
.pg-schedule main .language-switcher select {
    min-height: 40px; width: auto; padding: 0 36px 0 12px; border-radius: 8px; font-size: 14px; color: var(--text-2);
    appearance: none; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7487' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px;
}
.pg-schedule .schedule-header { text-align: left; margin: 0 0 32px; }
.pg-schedule .schedule-header h1 { margin: 0 0 12px; font-size: 40px; line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; color: var(--text); }
.pg-schedule .schedule-header p { margin: 0; max-width: 36rem; font-size: 18px; line-height: 28px; color: var(--text-2); }

.pg-schedule .schedule-form { padding: 0; background: none; border-radius: 0; box-shadow: none; }
.pg-schedule .form-section {
    margin: 0 0 16px; padding: 24px 28px 28px; border: 0;
    background: var(--card); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm);
}
.pg-schedule .form-section:last-child { border: 0; }
.pg-schedule .form-section h2 {
    margin: 0 0 24px; padding: 0 0 16px; border-bottom: 1px dashed var(--hair-strong);
    font-size: 18px; line-height: 28px; font-weight: 500; color: var(--text);
}
.pg-schedule .form-section .row { --bs-gutter-x: 16px; }
.pg-schedule .form-group { margin-bottom: 20px; }
.pg-schedule .form-section > .form-group:last-child,
.pg-schedule #address-container .form-group { margin-bottom: 0; }
.pg-schedule main .form-group label { display: block; margin-bottom: 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); }
.pg-schedule main .form-control { padding: 10px 14px; transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease); }
.pg-schedule main .form-control:invalid { border-color: var(--hair-strong); }
.pg-schedule main .form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pg-schedule main .was-validated .form-control:invalid { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-soft); background-image: none; }
.pg-schedule main .was-validated .form-control:valid { border-color: var(--hair-strong); background-image: none; }
.pg-schedule main select.form-control { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7487' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-position: right 14px center; background-size: 16px; }

/* Each vehicle row = an inner slip */
.pg-schedule .vehicle-entry { padding: 20px 20px 4px; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--hair); }
.pg-schedule .vehicle-entry.mt-3 { margin-top: 12px !important; }
.pg-schedule .vehicle-entry .form-group { margin-bottom: 16px; }

/* Buttons: no lifts, no transition-all */
.pg-schedule main .btn { transition: background-color 150ms var(--ease), color 150ms var(--ease); }
.pg-schedule main .btn:hover { opacity: 1; transform: none; }
.pg-schedule main #add-vehicle { min-height: 48px; padding: 0 18px; font-size: 15px; }
.pg-schedule main .btn.remove-vehicle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0 0 16px; padding: 0 14px;
    border: 0; border-radius: var(--r-ctl); background: var(--card); color: var(--text-2); font-size: 14px; font-weight: 500;
    box-shadow: inset 0 0 0 1px var(--hair-strong);
}
.pg-schedule main .btn.remove-vehicle:hover { background: var(--bad-soft); color: var(--bad); }
.pg-schedule main .btn.remove-vehicle .ic { color: currentColor; }
.pg-schedule .form-actions { justify-content: flex-end; margin-top: 24px; }
.pg-schedule main .form-actions .btn-primary { min-width: 220px; padding: 0 24px; }

@media (max-width: 767px) {
    .pg-schedule main.schedule-container { padding: calc(var(--sh-h) + 24px) 16px 64px; }
    .pg-schedule .schedule-header h1 { font-size: 32px; }
    .pg-schedule .schedule-header p { font-size: 16px; line-height: 24px; }
    .pg-schedule .form-section { padding: 20px 16px 24px; }
    .pg-schedule .form-section h2 { font-size: 17px; margin-bottom: 20px; }
    .pg-schedule .form-group { margin-bottom: 16px; }
    .pg-schedule .vehicle-entry { padding: 16px 12px 0; }
    .pg-schedule main #add-vehicle { width: 100%; }
    .pg-schedule main .form-actions .btn-primary { width: 100%; }
}

/* ==========================================================================
   3. Auth card: login (standalone, no site header) and register
   ========================================================================== */
body.pg-login { background: var(--bg); perspective: none; }
.pg-login .login-container {
    min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center;
    padding: 48px 16px; background: var(--bg);
}
.pg-login .login-box, .pg-register .register-form {
    width: 100%; max-width: 440px; padding: 32px; overflow: visible;
    background: var(--card); backdrop-filter: none; border-radius: var(--r-panel);
    box-shadow: var(--shadow-float);
}
.pg-login .login-header { text-align: left; margin: 0 0 24px; padding: 0 0 20px; border-bottom: 1px dashed var(--hair-strong); }
.pg-login .auth-brand {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: -6px 0 8px;
    color: var(--text); font-size: 17px; font-weight: 600; text-decoration: none;
}
.pg-login .auth-brand:hover { color: var(--text); }
.pg-login .auth-brand .login-logo { width: 32px; height: 32px; margin: 0; object-fit: contain; }
.pg-login .login-header p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 24px; }

/* Tabs as a segmented control */
.pg-login .login-tabs { display: flex; gap: 4px; padding: 4px; margin: 0 0 24px; border: 0; border-radius: 12px; background: var(--raised); }
.pg-login .tab-btn {
    flex: 1; min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: none;
    color: var(--text-2); font: 500 15px/1 var(--sans); cursor: pointer;
    transition: background-color 150ms var(--ease), color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.pg-login .tab-btn:hover { color: var(--text); }
.pg-login .tab-btn.active { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06), 0 0 0 1px var(--hair); }
.pg-login .tab-btn.active::after { display: none; }
.pg-login .tab-pane { transition: none; }

/* Fields */
.pg-login .form-group { margin-bottom: 16px; }
.pg-login .form-group label, .pg-register .form-label { display: block; margin-bottom: 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); }
.pg-login .form-group input, .pg-login .form-group select, .pg-login .password-input input {
    width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--hair-strong); border-radius: var(--r-ctl);
    background-color: var(--card); color: var(--text); font: 400 16px/1.4 var(--sans); box-shadow: none;
    transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.pg-login .form-group select { appearance: none; padding-right: 40px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7487' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; }
.pg-login .form-group input:focus, .pg-login .form-group select:focus, .pg-login .password-input input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pg-login .password-input input { padding-right: 52px; }
.pg-login .toggle-password {
    top: 2px; right: 2px; height: 44px; width: 44px; padding: 0; display: flex; align-items: center; justify-content: center;
    border-radius: 8px; color: var(--muted); transition: color 150ms var(--ease), background-color 150ms var(--ease);
}
.pg-login .toggle-password:hover { color: var(--text); background: var(--raised); }
.pg-login .toggle-password .fas { font-size: 15px; }

/* One primary action */
.pg-login .tab-pane .btn-primary, .pg-register .btn-register {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; min-height: 48px; margin-top: 8px; padding: 0 20px; border: 0; border-radius: var(--r-ctl);
    background: var(--accent); color: #fff; font: 500 15px/1.2 var(--sans); transform: none; box-shadow: none;
    transition: background-color 150ms var(--ease), transform 150ms var(--ease);
}
.pg-login .tab-pane .btn-primary:hover, .pg-register .btn-register:hover { background: var(--accent-hover); color: #fff; transform: none; }
.pg-login .tab-pane .btn-primary:active, .pg-register .btn-register:active { transform: scale(0.98); }
.pg-login .forgot-password-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); font-size: 14px; text-decoration: underline; text-decoration-color: var(--hair-strong); }
.pg-login .forgot-password-link:hover { color: var(--accent); text-decoration-color: currentColor; }
.pg-login .tab-pane .form-group:last-child { margin: 8px 0 0; }
.pg-login .alert { border: 0; border-radius: var(--r-ctl); padding: 12px 14px; font-size: 14px; }
.pg-login .alert-danger { background: var(--bad-soft); color: var(--bad); }

/* Already signed in */
.pg-login .already-logged-in-box { margin: 0; }
.pg-login .already-logged-in-box .alert {
    margin: 0; padding: 0; text-align: left; border: 0; border-radius: 0; background: none; color: var(--text-2); box-shadow: none;
}
.pg-login .already-logged-in-box h5 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 20px; line-height: 28px; font-weight: 500; color: var(--text); }
.pg-login .already-logged-in-box h5 .ic { color: var(--muted); }
.pg-login .already-logged-in-box p { margin: 0; font-size: 15px; line-height: 24px; color: var(--text-2); }
.pg-login .logged-in-actions { display: flex; flex-direction: column; gap: 8px; margin: 20px 0 0; }
.pg-login .logged-in-actions .btn {
    display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 0 20px;
    border: 0; border-radius: var(--r-ctl); font: 500 15px/1.2 var(--sans); box-shadow: none; transform: none;
    transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
.pg-login .logged-in-actions .btn:hover { transform: none; box-shadow: none; }
.pg-login .logged-in-actions .btn-primary { background: var(--accent); color: #fff; }
.pg-login .logged-in-actions .btn-primary:hover { background: var(--accent-hover); color: #fff; }
.pg-login .logged-in-actions .btn-secondary { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--hair-strong); }
.pg-login .logged-in-actions .btn-secondary:hover { background: var(--raised); color: var(--text); }
.pg-login .logged-in-actions .btn-outline-danger { background: none; color: var(--bad); }
.pg-login .logged-in-actions .btn-outline-danger:hover { background: var(--bad-soft); color: var(--bad); }
.pg-login .already-logged-in-box .mt-3 { margin-top: 16px !important; padding-top: 16px; border-top: 1px dashed var(--hair-strong); }
.pg-login .already-logged-in-box small { font-size: 13px; color: var(--muted); }

/* Register: same card, below the site header */
.pg-register main { margin-top: 0; min-height: 0; padding: calc(var(--sh-h) + 48px) 16px 80px; background: var(--bg); }
.pg-register main > .container { max-width: none; padding: 0; }
.pg-register .register-form { max-width: 520px; margin: 0 auto; }
.pg-register .form-title {
    margin: 0 0 24px; padding: 0 0 20px; border-bottom: 1px dashed var(--hair-strong);
    text-align: left; font-size: 26px; line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; color: var(--text);
}
.pg-register .register-form .mb-3 { margin-bottom: 16px !important; }
.pg-register .register-form .alert { margin-bottom: 24px !important; display: block; }
.pg-register .register-form .alert .ic { margin-right: 6px; color: currentColor; }
.pg-register .input-group > .form-control { border-right: 0; }
.pg-register .input-group > .form-control:focus { border-right: 1px solid var(--accent); }
.pg-register main .input-group > .btn-outline-secondary {
    min-height: 48px; width: 48px; padding: 0; justify-content: center; border-radius: 0 var(--r-ctl) var(--r-ctl) 0;
    background: var(--card); color: var(--muted); box-shadow: inset 0 0 0 1px var(--hair-strong);
}
.pg-register main .input-group > .btn-outline-secondary:hover { background: var(--raised); color: var(--text); }
.pg-register .d-grid { margin-top: 24px; }
.pg-register .btn-register { margin-top: 0; }

@media (max-width: 520px) {
    .pg-login .login-container { align-items: flex-start; padding: 24px 16px; }
    .pg-login .login-box, .pg-register .register-form { padding: 24px 20px; }
    .pg-register main { padding: calc(var(--sh-h) + 24px) 16px 64px; }
    .pg-register .form-title { font-size: 24px; }
}


/* unslop by @heydamir (Damir Sokolovsky), CC BY 4.0 */

/* ==========================================================================
   7. Colour and motion layer (owner review 2026-11: "feels static, looks dull")
   Blue #1f6fae stays the primary accent. Safety amber adds warmth, deep navy carries
   a few bold bands (heroes, CTA panels, footer), tinted bands separate sections.
   Motion: scripts/site-motion.js (GSAP + ScrollTrigger + Lenis). Only transform,
   opacity and colour move; nothing moves under prefers-reduced-motion.
   ========================================================================== */

/* ---- 7.1 Motion plumbing ---- */
html.m-pre main h1, html.m-pre main h1 + *, html.m-pre main h1 + * + *, html.m-pre main h1 + * + * + *,
html.m-pre .hm-hero-visual, html.m-pre .pg-about .hero-image { opacity: 0; }
.m-word { display: inline-block; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

@keyframes vin-pop { 0% { transform: scale(0.55); opacity: 0.2; } 60% { transform: scale(1.14); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
    html.motion .vin-meter .vin-cell.is-filled, html.motion .cc-form-strip .cc-cell.is-filled { animation: vin-pop 280ms var(--ease) both; }
}

/* ---- 7.2 Base colour ---- */
::selection { background: rgba(245, 158, 11, 0.28); }
.s-eyebrow { color: var(--amber-text); font-weight: 500; }
.s-eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--amber); }

/* Buttons: colour + a small lift */
:root .s-btn, :root main:not(.cc) .cta-button, :root main:not(.cc) .btn-primary, :root main:not(.cc) .submit-btn,
:root main:not(.cc) button[type="submit"]:not(.btn-close):not(.s-btn-2):not(.cc-btn), :root .pg-about .cta-btn, :root .cc-btn {
    transition: background-color 200ms var(--ease), color 200ms var(--ease), box-shadow 250ms var(--ease), transform 250ms var(--ease);
}
:root .s-btn:hover, :root main:not(.cc) .cta-button:hover, :root main:not(.cc) .btn-primary:hover, :root main:not(.cc) .submit-btn:hover,
:root main:not(.cc) button[type="submit"]:not(.btn-close):not(.s-btn-2):not(.cc-btn):hover, :root .pg-about .cta-btn.primary:hover, :root .cc-btn-primary:hover {
    box-shadow: 0 10px 22px -10px rgba(31, 111, 174, 0.75);
}
:root main:not(.cc) .btn-outline-primary:hover, :root main:not(.cc) .btn-secondary:hover, :root main:not(.cc) .btn-outline-secondary:hover, :root .s-btn-2:hover {
    box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent-hover);
}

/* ---- 7.3 Header: road-marking top bar, coloured active item, amber CTA ---- */
header.site-header { transition: box-shadow 250ms var(--ease), background-color 250ms var(--ease); }
header.site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--accent) 0 68%, var(--amber) 68% 100%); pointer-events: none; }
header.site-header.is-scrolled { box-shadow: 0 1px 0 var(--hair), 0 10px 24px -14px rgba(11, 37, 64, 0.35); }
header.site-header .sh-links a { position: relative; }
header.site-header .sh-links a:hover { color: var(--accent-hover); background: var(--accent-tint); }
header.site-header .sh-links a[aria-current="page"] { color: var(--accent-hover); background: var(--accent-tint); }
header.site-header .sh-links a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--amber); }
header.site-header .sh-cta { background: var(--amber); color: var(--navy); font-weight: 600; transition: background-color 200ms var(--ease), transform 250ms var(--ease), box-shadow 250ms var(--ease); }
header.site-header .sh-cta:hover { background: var(--amber-hover); color: var(--navy); box-shadow: 0 8px 18px -10px rgba(217, 119, 6, 0.9); }
header.site-header .sh-lang-menu .dropdown-item:hover { background: var(--accent-tint); }
@media (max-width: 1024px) {
    header.site-header .sh-links a[aria-current="page"]::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
}

/* ---- 7.4 Footer: navy band ---- */
footer.site-footer { background: var(--navy); color: var(--on-navy-2); border-top: 0; box-shadow: inset 0 3px 0 var(--amber); }
footer.site-footer .footer-section h3 { color: var(--on-navy-3); }
footer.site-footer .footer-section:first-child h3 { color: var(--on-navy); }
footer.site-footer .footer-section p { color: var(--on-navy-2); }
footer.site-footer .footer-section p .ic { color: var(--amber); }
footer.site-footer .footer-section a, footer.site-footer .footer-section ul a { color: var(--on-navy-2); }
footer.site-footer .footer-section a:hover { color: var(--amber); }
footer.site-footer .footer-section p a { color: var(--accent-light); }
footer.site-footer .social-links a.social-link, footer.site-footer .social-link { background: rgba(255, 255, 255, 0.06); color: var(--on-navy); box-shadow: inset 0 0 0 1px var(--navy-hair); }
footer.site-footer .social-link:hover { background: var(--amber); color: var(--navy); }
footer.site-footer .footer-bottom { border-top-color: var(--navy-hair); }
footer.site-footer .copyright p, footer.site-footer .footer-bottom p { color: var(--on-navy-3); }
footer.site-footer .footer-bottom a { color: var(--on-navy-2); }
footer.site-footer .footer-bottom a:hover { color: var(--amber); }
footer.site-footer :focus-visible { outline-color: var(--amber); }

/* ---- 7.5 Navy hero bands (home, services, contact, news, services_detailed, about) ---- */
.pg-home .hm-hero, main .page-header, .pg-svcd main .hero-section, .pg-about main .about-hero {
    position: relative; background: var(--navy); background-image: radial-gradient(120% 90% at 85% 0%, var(--navy-2) 0%, rgba(18, 53, 92, 0) 60%); box-shadow: none;
}
.pg-home .hm-hero::after, main .page-header::after, .pg-svcd main .hero-section::after, .pg-about main .about-hero::after {
    content: ""; display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
    background: repeating-linear-gradient(90deg, var(--amber) 0 44px, transparent 44px 76px); opacity: 0.9;
}
.pg-home .hm-hero-title, main .page-header h1, .pg-svcd .hero-content h1, .pg-about .hero-title { color: var(--on-navy); }
.pg-home .hm-hero-lead, main .page-header p, .pg-svcd .hero-content p, .pg-about .hero-subtitle { color: var(--on-navy-2); }
.pg-home .hm-hero .s-eyebrow, main .page-header .s-eyebrow { color: var(--amber); }
:root .pg-home .hm-hero .cta-button { background: var(--amber); color: var(--navy); font-weight: 600; }
:root .pg-home .hm-hero .cta-button:hover { background: var(--amber-hover); color: var(--navy); box-shadow: 0 12px 26px -12px rgba(245, 158, 11, 0.9); }
.pg-home .hm-hero :focus-visible, main .page-header :focus-visible, .pg-about .about-hero :focus-visible { outline-color: var(--amber); }
.pg-home .hm-hero-photo { box-shadow: 0 0 0 1px var(--navy-hair), 0 24px 48px -24px rgba(0, 0, 0, 0.6); }
.pg-home .hm-slip { box-shadow: 0 0 0 1px var(--hair), 0 20px 40px -18px rgba(0, 0, 0, 0.5); }
.pg-about .hero-stats { border-top-color: var(--navy-hair); }
.pg-about .stat-item + .stat-item { border-left-color: var(--navy-hair); }
.pg-about .stat-number { color: var(--amber); font-size: 28px; line-height: 36px; }
.pg-about .stat-label { color: var(--on-navy-2); }
.pg-about .hero-image { box-shadow: 0 0 0 1px var(--navy-hair), 0 24px 48px -24px rgba(0, 0, 0, 0.6); }

/* ---- 7.6 Tinted section bands ---- */
.pg-home .hm-services { background: var(--accent-tint); box-shadow: none; }
.pg-home .hm-schedule { background: var(--amber-tint); box-shadow: none; }
.pg-home .service-card.hm-card { background: var(--card); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm); }
.pg-home .hm-form-card { background: var(--card); box-shadow: 0 0 0 1px var(--hair), var(--shadow-sm); }
.pg-testimonials .testimonials { background: linear-gradient(180deg, var(--accent-tint) 0, var(--bg) 520px); }
.pg-legal main, .pg-article main, .pg-quote main.pq, .pg-register main, body.pg-login { background: linear-gradient(180deg, var(--accent-tint) 0, var(--bg) 420px); }

/* ---- 7.7 Coloured icon tiles (blue / amber / green in turn) ---- */
.pg-home .hm-card > .ic, .pg-home .hm-features .ic, .pg-home .contact-icon .ic, .pg-svcd .reason-icon .ic, .pg-svcd .network-card .ic,
.pg-about :is(.icon-wrapper, .timeline-icon, .cert-icon, .card-icon) .ic, .pg-contact .ct-method .ic {
    box-sizing: content-box; padding: 10px; border-radius: 12px; background: var(--accent-tint); color: var(--accent);
    transition: background-color 250ms var(--ease), color 250ms var(--ease), transform 250ms var(--ease);
}
.pg-home .hm-features .ic, .pg-contact .ct-method .ic { padding: 8px; border-radius: 10px; margin-top: 0; }
.pg-home .hm-features li { gap: 14px; }
:is(.pg-home .hm-services-grid > :nth-child(3n+2), .pg-home .hm-features > :nth-child(4n+2), .pg-home .hm-features > :nth-child(4n+3), .pg-home .contact-container > :nth-child(3n+2),
    .pg-svcd .reasons-grid > :nth-child(4n+2), .pg-svcd .reasons-grid > :nth-child(4n+3), .pg-svcd .network-section .row > :nth-child(3n+2),
    .pg-about .features-grid > :nth-child(3n+2), .pg-about .interactive-cards > :nth-child(4n+2), .pg-about .interactive-cards > :nth-child(4n+3), .pg-about .carousel-track > :nth-child(3n+2),
    .pg-contact .ct-method:nth-child(3n+2)) .ic {
    background: var(--amber-tint); color: var(--amber-ink);
}
:is(.pg-home .hm-services-grid > :nth-child(3n), .pg-home .contact-container > :nth-child(3n), .pg-svcd .network-section .row > :nth-child(3n),
    .pg-about .features-grid > :nth-child(3n), .pg-about .carousel-track > :nth-child(3n), .pg-contact .ct-method:nth-child(3n)) .ic {
    background: var(--green-tint); color: var(--ok);
}
.pg-home .hm-card > .ic { margin-bottom: 20px; }
.pg-svcd .network-section h5 .ic { padding: 0; background: none; color: var(--accent); }
.pg-about .goal-item .ic { color: var(--accent); }
.pg-services .text-content ul li::before, .pg-svcd .benefits-list li::before { border-color: var(--ok); }
.pg-about .card-number { color: var(--amber-text); font-weight: 500; }
.pg-about .card-badge, .pg-about .cert-badge { color: var(--accent); }

/* ---- 7.8 Prices as coloured badges ---- */
.pg-home .hm-slip-row dd { padding: 2px 10px; border-radius: 8px; background: var(--amber-tint); color: var(--amber-ink); box-shadow: inset 0 0 0 1px var(--amber-line); }
.pg-home .hm-slip-row + .hm-slip-row dd { background: var(--accent-tint); color: var(--accent-hover); box-shadow: inset 0 0 0 1px rgba(31, 111, 174, 0.25); }
.pg-home .hm-slip-head { border-bottom-color: var(--amber-line); }
.pg-services .text-content .price { padding: 4px 14px; border-radius: 999px; background: var(--amber-tint); color: var(--amber-ink); box-shadow: inset 0 0 0 1px var(--amber-line); font-weight: 600; }
.pg-services .pricing-card { box-shadow: inset 0 4px 0 var(--accent), 0 0 0 1px var(--hair), var(--shadow-sm); }
.pg-services .pricing-card .price { color: var(--accent); }
.pg-services .pricing-card.featured { box-shadow: inset 0 4px 0 var(--amber), 0 0 0 1px var(--amber-line), var(--shadow-float); background: linear-gradient(180deg, var(--amber-tint) 0, var(--card) 160px); }
.pg-services .pricing-card.featured .price { color: var(--amber-ink); }
.pg-services .pricing-card:nth-child(3) { box-shadow: inset 0 4px 0 var(--ok), 0 0 0 1px var(--hair), var(--shadow-sm); }
.pg-services .pricing-card:nth-child(3) .price { color: var(--ok); }
:root .pg-services .pricing-card.featured .cta-button { background: var(--amber); color: var(--navy); font-weight: 600; }
:root .pg-services .pricing-card.featured .cta-button:hover { background: var(--amber-hover); color: var(--navy); box-shadow: 0 10px 22px -10px rgba(217, 119, 6, 0.9); }

/* ---- 7.9 Navy CTA panels ---- */
.pg-svcd .cta-content, .pg-about .cta-content { background: var(--navy); background-image: radial-gradient(90% 120% at 100% 0%, var(--navy-2) 0%, rgba(18, 53, 92, 0) 70%); box-shadow: inset 4px 0 0 var(--amber); }
.pg-svcd .cta-content h2, .pg-about .cta-content h2 { color: var(--on-navy); }
.pg-svcd .cta-content p, .pg-about .cta-content p { color: var(--on-navy-2); }
.pg-svcd .pricing-content { background: var(--amber-tint); box-shadow: inset 4px 0 0 var(--amber), 0 0 0 1px var(--amber-line); }
.pg-svcd .pricing-content p { color: var(--amber-ink); }
:root .pg-svcd main .cta-buttons .btn-primary, :root .pg-about .cta-btn.primary { background: var(--amber); color: var(--navy); font-weight: 600; }
:root .pg-svcd main .cta-buttons .btn-primary:hover, :root .pg-about .cta-btn.primary:hover { background: var(--amber-hover); color: var(--navy); }
:root .pg-svcd main .cta-buttons .btn-secondary, :root .pg-about .cta-btn.secondary { background: rgba(255, 255, 255, 0.08); color: var(--on-navy); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
:root .pg-svcd main .cta-buttons .btn-secondary:hover, :root .pg-about .cta-btn.secondary:hover { background: rgba(255, 255, 255, 0.16); color: var(--on-navy); }
.pg-svcd .cta-content :focus-visible, .pg-about .cta-content :focus-visible { outline-color: var(--amber); }
.pg-about .timeline-item:first-child .timeline-content { box-shadow: inset 0 4px 0 var(--accent), 0 0 0 1px var(--hair), var(--shadow-sm); }
.pg-about .timeline-item:nth-child(2) .timeline-content { box-shadow: inset 0 4px 0 var(--amber), 0 0 0 1px var(--hair), var(--shadow-sm); }

/* ---- 7.10 Smaller accents on the remaining pages ---- */
.pg-legal :is(.privacy-container, .legal-content) h1::after, .pg-article .article-header h1::after, .pg-quote .quotation-title::after, .pg-register .form-title::after {
    content: ""; display: block; width: 56px; height: 4px; margin-top: 16px; border-radius: 2px;
    background: linear-gradient(90deg, var(--accent) 0 60%, var(--amber) 60% 100%);
}
:is(.pg-quote, .pg-schedule) .pq-step { min-width: 0; padding: 2px 8px; border-radius: 6px; background: var(--accent-tint); color: var(--accent-hover); }
.pg-quote .pq-rail a:hover { background: var(--accent-tint); color: var(--accent-hover); }
.pg-login .login-box, .pg-register .register-form { box-shadow: inset 0 4px 0 var(--accent), 0 0 0 1px var(--hair), var(--shadow-float); }
.pg-login .tab-btn.active { color: var(--accent-hover); box-shadow: inset 0 -2px 0 var(--amber), 0 1px 2px rgba(17, 24, 39, 0.06), 0 0 0 1px var(--hair); }
.pg-home .testimonials_content, .pg-testimonials .testimonials_content { box-shadow: inset 4px 0 0 var(--amber), 0 0 0 1px var(--hair), var(--shadow-sm); }
.pg-home .testimonials_container_center > :nth-child(2) { box-shadow: inset 4px 0 0 var(--accent), 0 0 0 1px var(--hair), var(--shadow-sm); }
.pg-home .testimonials_container_center > :nth-child(3) { box-shadow: inset 4px 0 0 var(--ok), 0 0 0 1px var(--hair), var(--shadow-sm); }
.pg-home .testimonial-date { color: var(--amber-text); }
.vin-strip .vin-cell.is-filled, .cc-cell.is-filled { background: var(--accent-tint); color: var(--accent-hover); box-shadow: inset 0 0 0 1px rgba(31, 111, 174, 0.3); }
.cc-tab[aria-selected="true"] { color: var(--accent-hover); box-shadow: inset 0 -2px 0 var(--amber), 0 1px 2px rgba(0, 0, 0, 0.06), 0 0 0 1px var(--hair); }
.cc-slip { box-shadow: inset 0 4px 0 var(--accent), 0 0 0 1px var(--hair), 0 18px 40px -20px rgba(11, 37, 64, 0.35); }

/* ---- 7.11 Hover lift on cards (pointer devices, motion allowed) ---- */
:root body :is(.pg-home .service-card.hm-card, .pg-home .testimonials_content, .pg-home .contact-card, .pg-services .pricing-card, .pg-svcd .reason-item,
    .pg-svcd .network-card, .pg-about .feature-card, .pg-about .cert-card, .pg-news .news-card, .s-card) {
    transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), background-color 300ms var(--ease);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    :root body :is(.pg-home .service-card.hm-card, .pg-home .contact-card, .pg-svcd .reason-item, .pg-svcd .network-card, .pg-about .feature-card, .pg-about .cert-card, .pg-news .news-card, .s-card):hover {
        transform: translateY(-4px); box-shadow: var(--shadow-lift);
    }
    :root body :is(.pg-services .pricing-card, .pg-home .testimonials_content):hover { transform: translateY(-4px); }
    :root body :is(.pg-home .service-card.hm-card, .pg-svcd .reason-item, .pg-svcd .network-card, .pg-about .feature-card, .pg-about .cert-card, .pg-home .contact-card):hover .ic:first-of-type { transform: scale(1.08); }
    :root .s-btn:hover, :root main:not(.cc) .cta-button:hover, :root main:not(.cc) .btn-primary:hover, :root main:not(.cc) .submit-btn:hover,
    :root main:not(.cc) button[type="submit"]:not(.btn-close):not(.s-btn-2):not(.cc-btn):hover, :root .pg-about .cta-btn:hover, :root .cc-btn-primary:hover,
    header.site-header .sh-cta:hover { transform: translateY(-2px); }
    :root .s-btn:active, :root main:not(.cc) .cta-button:active, :root main:not(.cc) button[type="submit"]:active, header.site-header .sh-cta:active { transform: translateY(0) scale(0.98); }
}

/* unslop by @heydamir (Damir Sokolovsky), CC BY 4.0 (colour and motion layer added on owner review) */

/* ==========================================================================
   8. Liveliness layer (owner review 2026-11, round 2: "still feels a little dull")
   Drifting colour fields in the hero, a road with a code-drawn truck, a fact ticker,
   colour-coded cards, wavy section edges, scroll progress, button shine.
   Only transform, opacity, colour and background-position animate. Everything stops
   under prefers-reduced-motion; content never depends on scripts.
   ========================================================================== */
:root {
    --teal: #0e7490;                 /* 5.4:1 on white */
    --teal-tint: #e0f2f5;
    --blue-tint-2: #dcebf8;
}

/* ---- 8.1 Hero: drifting colour fields ---- */
.pg-home .hm-hero { overflow: hidden; isolation: isolate; padding-bottom: 168px; background: var(--navy); background-image: none; }
.pg-home .hm-hero::after { display: none; }
.pg-home .hm-hero > .s-wrap { position: relative; z-index: 2; max-width: 1240px; }
.hm-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
    background: linear-gradient(140deg, #0a2240 0%, #0f355f 48%, #0b4352 100%); }
.hm-blob { position: absolute; display: block; border-radius: 50%; will-change: transform; }
.hm-blob-1 { width: 900px; height: 900px; left: -320px; top: -420px; background: radial-gradient(closest-side, rgba(31, 111, 174, 0.62), rgba(31, 111, 174, 0)); }
.hm-blob-2 { width: 820px; height: 820px; right: -300px; bottom: -380px; background: radial-gradient(closest-side, rgba(14, 116, 144, 0.6), rgba(14, 116, 144, 0)); }
.hm-blob-3 { width: 620px; height: 620px; right: 6%; top: -220px; background: radial-gradient(closest-side, rgba(245, 158, 11, 0.26), rgba(245, 158, 11, 0)); }
.hm-blob-4 { width: 560px; height: 560px; left: 30%; bottom: -260px; background: radial-gradient(closest-side, rgba(56, 140, 210, 0.3), rgba(56, 140, 210, 0)); }
@keyframes blob-a { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(220px, 140px, 0) scale(1.18); } }
@keyframes blob-b { 0% { transform: translate3d(0, 0, 0) scale(1.1); } 100% { transform: translate3d(-260px, -120px, 0) scale(0.92); } }
@keyframes blob-c { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(-180px, 110px, 0) scale(1.25); } }
@keyframes blob-d { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(200px, -90px, 0); } }

/* Headline: bigger, bolder, one word in amber with a drawn underline */
.pg-home .hm-hero-title { font-size: clamp(40px, 5.1vw, 68px); line-height: 1.04; font-weight: 600; letter-spacing: -0.028em; max-width: 12em; }
.pg-home .hm-hero-lead { font-size: 19px; line-height: 30px; }
.hm-hl { position: relative; display: inline-block; color: var(--amber); white-space: nowrap; }
.hm-hl::after { content: none; } /* owner: the drawn underline crossed the letters; amber colour alone */
@keyframes hl-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pg-punjabi .hm-hl::after { bottom: -0.08em; }

/* Photo: bigger, white mount, striped amber block behind it */
.pg-home .hm-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; }
.pg-home .hm-hero-visual { padding: 24px 0 56px 48px; }
.pg-home .hm-hero-visual::before {
    content: ""; position: absolute; z-index: 0; top: 0; right: -18px; bottom: 96px; left: 104px; border-radius: 22px;
    background: repeating-linear-gradient(-45deg, var(--amber) 0 18px, #e8930a 18px 36px); transform: translate(14px, 14px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.pg-home .hm-hero-photo { position: relative; z-index: 1; border-radius: 18px; aspect-ratio: 1 / 0.92;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.96), 0 40px 70px -28px rgba(0, 0, 0, 0.75); }
.pg-home .hm-slip { z-index: 2; }

/* ---- 8.2 Road strip and the truck (truck markup is injected by site-motion.js) ---- */
.m-road { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 58px; pointer-events: none;
    background:
        linear-gradient(180deg, transparent 0 5px, rgba(255, 255, 255, 0.85) 5px 7px, transparent 7px calc(100% - 7px), rgba(245, 158, 11, 0.9) calc(100% - 7px) calc(100% - 5px), transparent calc(100% - 5px)),
        linear-gradient(180deg, #1c2733 0%, #141c25 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.m-lane { position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0 36px, transparent 36px 88px); }
.m-truck { position: absolute; left: 0; bottom: 5px; z-index: 2; display: block; width: 200px; height: auto; pointer-events: none; transform: translateX(6vw); }
.m-truck .m-wheel { transform-box: fill-box; transform-origin: 50% 50%; }
.m-truck .m-puff { transform-box: fill-box; transform-origin: 50% 50%; opacity: 0; }
@keyframes truck-drive { from { transform: translateX(-240px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes truck-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
@keyframes wheel-spin { to { transform: rotate(360deg); } }
@keyframes puff { 0% { opacity: 0.55; transform: translate(0, 0) scale(0.6); } 100% { opacity: 0; transform: translate(-22px, -14px) scale(2); } }
@keyframes lane-run { to { background-position: -88px 0; } }
@keyframes dash-run { to { background-position: -76px 0; } }
/* Small truck on the other navy page heroes, driving along their dashed bottom line */
.m-truck.m-truck-sm { width: 116px; bottom: 3px; z-index: 1; }
main .page-header, .pg-svcd main .hero-section { padding-bottom: 92px; }
.pg-about main .about-hero { padding-bottom: 104px; }
main .page-header > *, .pg-svcd main .hero-section > *, .pg-about main .about-hero > * { position: relative; z-index: 2; }
main .page-header > .m-truck, .pg-svcd main .hero-section > .m-truck, .pg-about main .about-hero > .m-truck { position: absolute; z-index: 1; }

/* ---- 8.3 Fact ticker ---- */
.tk-wrap { position: relative; z-index: 3; overflow: hidden; margin: 0; padding: 0; pointer-events: none; }
.tk { position: relative; margin: 0 -24px; overflow: hidden; pointer-events: auto; background: var(--amber); color: var(--navy);
    transform: none; margin: 0; box-shadow: inset 0 -3px 0 rgba(11, 37, 64, 0.12), 0 10px 22px -16px rgba(11, 37, 64, 0.5); }
.tk-track { display: flex; width: max-content; }
.tk-list { display: flex; flex-shrink: 0; margin: 0; padding: 0; list-style: none; }
.tk-list li { display: flex; align-items: center; padding: 15px 0; font-size: 17px; line-height: 24px; font-weight: 600; white-space: nowrap; }
.tk-list li::after { content: ""; flex: none; width: 9px; height: 9px; margin: 0 30px; background: var(--navy); border-radius: 1px; transform: rotate(45deg); }
@keyframes tk-run { to { transform: translateX(-50%); } }

/* ---- 8.4 Section bands with more contrast and wavy edges (home) ---- */
.pg-home .hm-services { background-color: var(--blue-tint-2); background-image: radial-gradient(rgba(31, 111, 174, 0.13) 1.2px, transparent 1.6px); background-size: 22px 22px; padding-top: 112px; }
.pg-home .hm-about { background: var(--card); }
.pg-home .hm-schedule { background: var(--amber-tint); }
.pg-home .testimonials { background: var(--navy); background-image: radial-gradient(80% 120% at 100% 0%, rgba(14, 116, 144, 0.45) 0%, rgba(14, 116, 144, 0) 60%), radial-gradient(70% 100% at 0% 100%, rgba(31, 111, 174, 0.45) 0%, rgba(31, 111, 174, 0) 60%); }
.pg-home .testimonials .Testimonials_title h2 { color: var(--on-navy); }
.pg-home .testimonials .Testimonials_title > p { color: var(--on-navy-2); }
.pg-home .testimonials :focus-visible { outline-color: var(--amber); }
.pg-home .contact { background: var(--card); padding-top: 96px; }
.pg-home :is(.hm-about, .hm-schedule, .testimonials, .contact) { position: relative; }
.pg-home :is(.hm-about, .hm-schedule, .testimonials, .contact)::before {
    content: ""; display: block; position: absolute; left: 0; right: 0; top: -39px; height: 40px; z-index: 1; pointer-events: none;
    background: inherit; background-position: 0 0;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22C180 2 360 2 540 16S900 38 1080 24 1320 4 1440 14V40Z'/%3E%3C/svg%3E") 0 100% / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22C180 2 360 2 540 16S900 38 1080 24 1320 4 1440 14V40Z'/%3E%3C/svg%3E") 0 100% / 100% 100% no-repeat;
}
.pg-home :is(.hm-schedule, .contact)::before { transform: scaleX(-1); }
.pg-home .testimonials::before { background: var(--navy); }

/* ---- 8.5 Colour-coded cards: blue, amber, green, teal ---- */
.pg-home .hm-services-grid > *, .pg-svcd .reasons-grid > *, .pg-about .features-grid > *, .pg-home .hm-features > * {
    --c: var(--accent); --c-soft: var(--accent-tint); --c-ink: #fff; --c-text: var(--accent); --c-shadow: rgba(31, 111, 174, 0.38);
}
:is(.pg-home .hm-services-grid, .pg-svcd .reasons-grid, .pg-about .features-grid, .pg-home .hm-features) > :nth-child(4n+2) {
    --c: var(--amber); --c-soft: var(--amber-tint); --c-ink: var(--navy); --c-text: var(--amber-ink); --c-shadow: rgba(217, 119, 6, 0.45);
}
:is(.pg-home .hm-services-grid, .pg-svcd .reasons-grid, .pg-about .features-grid, .pg-home .hm-features) > :nth-child(4n+3) {
    --c: var(--ok); --c-soft: var(--green-tint); --c-ink: #fff; --c-text: var(--ok); --c-shadow: rgba(21, 128, 61, 0.36);
}
:is(.pg-home .hm-services-grid, .pg-svcd .reasons-grid, .pg-about .features-grid, .pg-home .hm-features) > :nth-child(4n+4) {
    --c: var(--teal); --c-soft: var(--teal-tint); --c-ink: #fff; --c-text: var(--teal); --c-shadow: rgba(14, 116, 144, 0.38);
}
:root body :is(.pg-home .service-card.hm-card, .pg-svcd .reason-item, .pg-about .feature-card) {
    position: relative; border-radius: 16px;
    box-shadow: inset 0 5px 0 var(--c), 0 0 0 1px var(--hair), 0 8px 18px -12px rgba(11, 37, 64, 0.22);
}
.pg-home .service-card.hm-card { padding: 30px 26px 24px; }
:root body.pg-home .hm-services-grid > .hm-card > .ic { width: 26px; height: 26px; padding: 14px; border-radius: 14px; background: var(--c); color: var(--c-ink); box-shadow: 0 10px 20px -10px var(--c-shadow); }
.pg-home .hm-card h3 { font-size: 21px; line-height: 28px; font-weight: 600; }
.pg-home .hm-card .learn-more { color: var(--c-text); }
:root body.pg-home .hm-features.hm-features > li .ic, :root body.pg-svcd .reasons-grid.reasons-grid > * .ic, :root body.pg-about .features-grid.features-grid > * .ic { background: var(--c-soft); color: var(--c-text); }
.pg-home .hm-features li { border-top: 3px solid var(--c-soft); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    :root body :is(.pg-home .service-card.hm-card, .pg-svcd .reason-item, .pg-about .feature-card):hover {
        transform: translateY(-8px);
        box-shadow: inset 0 5px 0 var(--c), 0 0 0 1px var(--hair), 0 26px 44px -20px var(--c-shadow);
    }
    :root body :is(.pg-home .service-card.hm-card, .pg-svcd .reason-item, .pg-about .feature-card):hover .ic:first-of-type { transform: scale(1.1) rotate(-6deg); }
}
/* While the pointer tilt / magnet (site-motion.js) drives the transform, CSS must not tween it too */
:root body .m-tilt { transition-property: box-shadow, background-color !important; }
:root body .m-mag { transition-property: background-color, color, box-shadow, background-position !important; }

/* ---- 8.6 Bigger, more present photos ---- */
.hm-about-photo { margin: 36px 0 0; overflow: hidden; border-radius: 18px; aspect-ratio: 3 / 2; background: var(--raised);
    box-shadow: 16px 16px 0 0 var(--teal-tint), 0 30px 50px -30px rgba(11, 37, 64, 0.45); }
.hm-about-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pg-home .hm-about-grid { align-items: center; }
.pg-services .service-description { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; }
.pg-services .svc-photo, .pg-svcd .service-image { border-radius: 20px; box-shadow: 18px 18px 0 0 var(--blue-tint-2), 0 30px 50px -30px rgba(11, 37, 64, 0.45); }
.pg-services .service-detail:nth-of-type(odd) .svc-photo, .pg-svcd .service-item:nth-of-type(even) .service-image { box-shadow: -18px 18px 0 0 var(--amber-tint), 0 30px 50px -30px rgba(11, 37, 64, 0.45); }

/* ---- 8.7 Section heading underline (class added by site-motion.js) ---- */
:root main h2.m-uline::after {
    content: ""; display: block; position: static; width: 64px; height: 4px; margin: 14px 0 0; border: 0; border-radius: 2px; opacity: 1;
    background: linear-gradient(90deg, var(--accent) 0 55%, var(--amber) 55% 100%);
    transform: scaleX(0); transform-origin: 0 50%; transition: transform 900ms var(--ease) 120ms;
}
:root main h2.m-uline.m-uline-c::after { margin-left: auto; margin-right: auto; transform-origin: 50% 50%; }
:root main h2.m-uline.is-in::after { transform: scaleX(1); }
:root .pg-home .testimonials h2.m-uline::after, :root main .cta-content h2.m-uline::after { background: linear-gradient(90deg, var(--amber) 0 55%, var(--accent-light) 55% 100%); }

/* ---- 8.8 Scroll progress (element added by site-motion.js) ---- */
.m-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 1101; height: 3px; pointer-events: none; background: var(--amber); transform: scaleX(0); transform-origin: 0 50%; }

/* ---- 8.9 Buttons: a light sweep on hover ---- */
:root body :is(main:not(.cc) .cta-button, .s-btn:not(.s-btn-2), header.site-header .sh-cta, main:not(.cc) .btn-primary, main:not(.cc) .submit-btn, .pg-about .cta-btn.primary, main:not(.cc) button[type="submit"]:not(.btn-close):not(.s-btn-2):not(.cc-btn)) {
    background-image: linear-gradient(110deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.42) 50%, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, 0) 100%) !important;
    background-size: 260% 100% !important; background-repeat: no-repeat !important; background-position: 130% 0 !important;
    transition: background-color 200ms var(--ease), color 200ms var(--ease), box-shadow 250ms var(--ease), transform 250ms var(--ease), background-position 0s linear;
}
:root body :is(main:not(.cc) .cta-button, .s-btn:not(.s-btn-2), header.site-header .sh-cta, main:not(.cc) .btn-primary, main:not(.cc) .submit-btn, .pg-about .cta-btn.primary, main:not(.cc) button[type="submit"]:not(.btn-close):not(.s-btn-2):not(.cc-btn)):hover {
    background-position: -30% 0 !important;
    transition: background-color 200ms var(--ease), color 200ms var(--ease), box-shadow 250ms var(--ease), transform 250ms var(--ease), background-position 750ms var(--ease);
}
:root .pg-home .hm-hero .cta-button { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 12px; box-shadow: 0 14px 30px -14px rgba(245, 158, 11, 0.85); }

/* ---- 8.10 Motion (only when the visitor allows it) ---- */
@media (prefers-reduced-motion: no-preference) {
    .hm-blob-1 { animation: blob-a 24s ease-in-out infinite alternate; }
    .hm-blob-2 { animation: blob-b 28s ease-in-out infinite alternate; }
    .hm-blob-3 { animation: blob-c 20s ease-in-out infinite alternate; }
    .hm-blob-4 { animation: blob-d 26s ease-in-out infinite alternate; }
    .m-lane { animation: lane-run 1.4s linear infinite; }
    main .page-header::after, .pg-svcd main .hero-section::after, .pg-about main .about-hero::after { animation: dash-run 2.2s linear infinite; }
    .m-truck { animation: truck-drive 24s linear -5s infinite; }
    .m-truck.m-truck-sm { animation-duration: 30s; animation-delay: -9s; }
    .m-truck .m-body { animation: truck-bob 0.5s ease-in-out infinite; }
    .m-truck .m-wheel { animation: wheel-spin 0.7s linear infinite; }
    .m-truck .m-puff { animation: puff 1.6s ease-out infinite; }
    .m-truck .m-puff-2 { animation-delay: 0.55s; }
    .m-truck .m-puff-3 { animation-delay: 1.1s; }
    .tk-track { animation: tk-run 42s linear infinite; }
    .tk:hover .tk-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
    .tk-track { width: auto; }
    .tk-list { flex-wrap: wrap; justify-content: center; padding: 0 16px; }
    .tk-list[aria-hidden="true"] { display: none; }
    .tk-list li { padding: 10px 0; }
    .tk-list li::after { margin: 0 18px; }
    .hm-blob { will-change: auto; }
}

/* ---- 8.11 Small screens ---- */
@media (max-width: 1024px) {
    .pg-home .hm-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .pg-home .hm-hero-visual { max-width: 680px; }
    .pg-services .service-description { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 760px) {
    .pg-home .hm-hero { padding-bottom: 128px; }
    .pg-home .hm-hero-title { font-size: 40px; line-height: 1.08; }
    .pg-punjabi .hm-hero-title { font-size: 34px; line-height: 1.3; }
    .pg-home .hm-hero-visual { padding: 12px 6px 0; }
    .pg-home .hm-hero-visual::before { top: 0; right: -6px; bottom: auto; left: 40px; height: 72vw; transform: translate(8px, 10px); }
    .pg-home .hm-hero-photo { aspect-ratio: 4 / 3.4; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.96), 0 30px 50px -24px rgba(0, 0, 0, 0.75); }
    .m-road { height: 48px; }
    .m-truck { width: 150px; bottom: 4px; }
    .m-truck.m-truck-sm { width: 96px; }
    main .page-header, .pg-svcd main .hero-section { padding-bottom: 76px; }
    .pg-about main .about-hero { padding-bottom: 80px; }
    .tk-wrap { margin-top: 0; }
    .tk-list li { font-size: 15px; padding: 12px 0; }
    .tk-list li::after { margin: 0 20px; width: 8px; height: 8px; }
    .pg-home .hm-services { padding-top: 80px; }
    .pg-home .contact { padding-top: 64px; }
    .pg-home :is(.hm-about, .hm-schedule, .testimonials, .contact)::before { top: -23px; height: 24px; }
    .hm-about-photo, .pg-services .svc-photo, .pg-svcd .service-image { box-shadow: 10px 10px 0 0 var(--teal-tint), 0 24px 40px -26px rgba(11, 37, 64, 0.45); }
    .pg-services .service-detail:nth-of-type(odd) .svc-photo, .pg-svcd .service-item:nth-of-type(even) .service-image { box-shadow: -10px 10px 0 0 var(--amber-tint), 0 24px 40px -26px rgba(11, 37, 64, 0.45); }
}
/* unslop by @heydamir (Damir Sokolovsky), CC BY 4.0 (liveliness layer, owner review round 2) */
@media (prefers-reduced-motion: reduce) { :root main h2.m-uline::after { transition: none; } }
