/*
Theme Name: Hampstead Carts & Powersports
Theme URI: https://hampsteadcartsandpowersports.com
Author: Elite Marketing & Media
Author URI: https://elitemarketingandmedia.com
Description: Custom WordPress theme for Hampstead Carts & Powersports — golf carts, ATVs, side-by-sides, trikes & scooters in Hampstead, NC. Work. Water. Weekend.
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hampstead-carts-powersports
Tags: business, automotive, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments
*/

/* ==========================================================================
   1. ROOT VARIABLES — Brand palette pulled directly from HCP brand guide
   ========================================================================== */
:root {
    /* Brand core */
    --hcp-blue:         #0773cd;
    --hcp-blue-dark:    #0061bb;
    --hcp-blue-deep:    #004a91;
    --hcp-black:        #000000;
    --hcp-charcoal:     #111111;
    --hcp-graphite:     #1c1c1c;
    --hcp-sand:         #9c8b74;
    --hcp-sand-light:   #c8b89e;
    --hcp-sand-pale:    #ece4d5;
    --hcp-white:        #ffffff;

    /* Neutrals */
    --hcp-off-white:    #fafaf7;
    --hcp-cream:        #f5f1e8;
    --hcp-grey-100:     #f1f1f1;
    --hcp-grey-200:     #e2e2e2;
    --hcp-grey-300:     #c9c9c9;
    --hcp-grey-500:     #777777;
    --hcp-grey-700:     #444444;

    /* Functional */
    --hcp-text:         #111111;
    --hcp-text-muted:   #555555;
    --hcp-text-subtle:  #cfd6df;
    --hcp-border:       #e2e2e2;
    --hcp-success:      #1e9e6a;
    --hcp-error:        #d83a3a;

    /* Type */
    --font-display: 'Barlow Condensed', 'Oswald', Impact, sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Layout */
    --container:    1240px;
    --container-sm: 880px;
    --radius:       4px;
    --radius-lg:    8px;
    --shadow-sm:    0 2px 6px rgba(0,0,0,0.06);
    --shadow-md:    0 6px 24px rgba(0,0,0,0.1);
    --shadow-lg:    0 18px 60px rgba(0,0,0,0.18);

    /* Transitions */
    --t-fast:  0.15s ease;
    --t-base:  0.25s ease;
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--hcp-text);
    background: var(--hcp-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--hcp-blue); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--hcp-blue-dark); }
button { font-family: inherit; cursor: pointer; }
ul, ol { padding-left: 1.25rem; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.005em;
    margin: 0 0 0.6em;
    text-transform: uppercase;
    color: var(--hcp-black);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 2.3vw, 1.7rem); letter-spacing: 0.01em; }
h4 { font-size: 1.1rem; letter-spacing: 0.02em; }

p { margin: 0 0 1rem; }

::selection { background: var(--hcp-blue); color: var(--hcp-white); }

/* ==========================================================================
   3. LAYOUT HELPERS
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container-sm { max-width: var(--container-sm); }

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

.section-dark {
    background: var(--hcp-black);
    color: var(--hcp-white);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--hcp-white); }
.section-dark p { color: var(--hcp-text-subtle); }

.section-sand { background: var(--hcp-sand-pale); }
.section-cream { background: var(--hcp-cream); }

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--hcp-blue);
    margin-bottom: 0.9rem;
}
.section-dark .eyebrow { color: var(--hcp-sand-light); }

.section-title { margin-bottom: 0.5rem; }
.section-intro {
    max-width: 720px;
    color: var(--hcp-text-muted);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}
.section-dark .section-intro { color: var(--hcp-text-subtle); }

.text-center { text-align: center; }
.center-mx { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.8rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--radius);
    transition: all var(--t-base);
    cursor: pointer;
    text-align: center;
    line-height: 1;
}
.btn-primary {
    background: var(--hcp-blue);
    color: var(--hcp-white);
    border-color: var(--hcp-blue);
}
.btn-primary:hover {
    background: var(--hcp-blue-dark);
    border-color: var(--hcp-blue-dark);
    color: var(--hcp-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-outline {
    background: transparent;
    color: var(--hcp-white);
    border-color: var(--hcp-white);
}
.btn-outline:hover {
    background: var(--hcp-white);
    color: var(--hcp-black);
}
.btn-outline-dark {
    background: transparent;
    color: var(--hcp-black);
    border-color: var(--hcp-black);
}
.btn-outline-dark:hover {
    background: var(--hcp-black);
    color: var(--hcp-white);
}
.btn-lg { padding: 1.15rem 2.4rem; font-size: 1.1rem; }
.btn-sm { padding: 0.7rem 1.2rem; font-size: 0.85rem; }
.btn-block { display: flex; width: 100%; }

/* ==========================================================================
   5. UTILITY RIBBON / TOP BAR
   ========================================================================== */
.utility-bar {
    background: var(--hcp-blue-dark);
    color: var(--hcp-white);
    font-size: 0.85rem;
    padding: 0.55rem 0;
    text-align: center;
    font-weight: 500;
}
.utility-bar a {
    color: var(--hcp-white);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.utility-bar a:hover { color: var(--hcp-sand-light); }
.utility-inner { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.utility-inner strong { font-family: var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }

/* ==========================================================================
   6. HEADER / NAV
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--hcp-black);
    color: var(--hcp-white);
    transition: box-shadow var(--t-base);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.9rem 0;
}

.site-branding { display: flex; align-items: center; gap: 0.85rem; }
.site-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.site-logo-img { height: 112px; width: auto; display: block; }
.footer-logo-link { display: inline-flex; align-items: center; line-height: 0; margin-bottom: 0.9rem; }
.footer-brand .site-logo-img { height: 64px; }
.site-logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.55rem;
    color: var(--hcp-white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
}
.site-logo-text .accent { color: var(--hcp-blue); }
.site-tagline {
    display: block;
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: var(--hcp-sand-light);
    margin-top: 0.3rem;
    text-transform: uppercase;
}

.main-navigation { display: flex; align-items: center; gap: 1.5rem; }
#primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
    align-items: center;
}
#primary-menu li { position: relative; }
#primary-menu a {
    display: inline-block;
    padding: 0.7rem 0.95rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hcp-white);
    border-radius: var(--radius);
    transition: all var(--t-fast);
}
#primary-menu a:hover,
#primary-menu .current-menu-item > a,
#primary-menu .active > a {
    color: var(--hcp-blue);
}
#primary-menu .nav-cta a {
    background: var(--hcp-blue);
    color: var(--hcp-white) !important;
    padding: 0.7rem 1.3rem;
    margin-left: 0.5rem;
}
#primary-menu .nav-cta a:hover { background: var(--hcp-blue-dark); }

/* Dropdown */
#primary-menu .sub-menu,
#primary-menu .menu-item-has-children > ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--hcp-charcoal);
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    border-top: 3px solid var(--hcp-blue);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--t-base);
}
#primary-menu li:hover > .sub-menu,
#primary-menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#primary-menu .sub-menu a {
    display: block;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 0;
}
#primary-menu .sub-menu a:hover { background: var(--hcp-graphite); color: var(--hcp-blue); }

.menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--hcp-white);
    color: var(--hcp-white);
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ==========================================================================
   7. HERO
   ========================================================================== */
.site-hero {
    position: relative;
    background: var(--hcp-black);
    color: var(--hcp-white);
    overflow: hidden;
}
.site-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 30%, rgba(7,115,205,0.18) 0%, transparent 60%),
        linear-gradient(135deg, #000 0%, #0a1420 60%, #001a36 100%);
    z-index: 0;
}
.site-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path d='M0,40 C240,80 480,0 720,40 C960,80 1200,0 1440,40 L1440,80 L0,80 Z' fill='%230773cd' opacity='0.18'/><path d='M0,55 C300,90 600,20 900,55 C1140,80 1320,30 1440,55 L1440,80 L0,80 Z' fill='%230773cd' opacity='0.32'/></svg>") no-repeat bottom / cover;
    z-index: 1;
    pointer-events: none;
}
.site-hero-inner {
    position: relative;
    z-index: 2;
    padding: 5.5rem 0 7rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}
.site-hero h1 {
    color: var(--hcp-white);
    font-size: clamp(2.6rem, 6vw, 5rem);
    margin-bottom: 1.2rem;
}
.site-hero h1 .accent { color: var(--hcp-blue); }
.site-hero p.lead {
    font-size: 1.15rem;
    color: var(--hcp-text-subtle);
    margin-bottom: 2rem;
    max-width: 540px;
}
.hero-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(6px);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.hero-card h3 { color: var(--hcp-white); }
.hero-card ul { list-style: none; padding: 0; margin: 0; }
.hero-card li {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--hcp-text-subtle);
}
.hero-card li::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--hcp-blue);
    border-radius: 50%;
    flex-shrink: 0;
}
.hero-card li:last-child { border-bottom: none; }

/* Page hero (slimmer than home hero) */
.page-hero {
    background: linear-gradient(135deg, var(--hcp-black) 0%, #0a1420 100%);
    color: var(--hcp-white);
    padding: 4.5rem 0 4rem;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--hcp-blue);
}
.page-hero::before {
    content: '';
    position: absolute;
    right: -100px;
    top: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(7,115,205,0.15) 0%, transparent 60%);
    z-index: 0;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: var(--hcp-white); margin-bottom: 0.7rem; }
.page-hero p {
    color: var(--hcp-text-subtle);
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0;
}
.page-hero .breadcrumb {
    font-family: var(--font-display);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hcp-sand-light);
    margin-bottom: 1rem;
}
.page-hero .breadcrumb a { color: var(--hcp-sand-light); }
.page-hero .breadcrumb a:hover { color: var(--hcp-blue); }

/* ==========================================================================
   8. FEATURE ROW (3-col)
   ========================================================================== */
.feature-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.feature-tile {
    background: var(--hcp-white);
    padding: 2rem 1.75rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--hcp-border);
    transition: transform var(--t-base), box-shadow var(--t-base);
}
.feature-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-tile .icon {
    width: 56px; height: 56px;
    margin: 0 auto 1.2rem;
    background: var(--hcp-blue);
    color: var(--hcp-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
}
.feature-tile h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature-tile p { color: var(--hcp-text-muted); margin: 0; font-size: 0.95rem; }

/* ==========================================================================
   9. "HOW IT WORKS" 3-STEP ROW
   ========================================================================== */
.step-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    counter-reset: step;
    margin: 3rem 0;
}
.step {
    background: var(--hcp-white);
    border: 2px solid var(--hcp-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem 1.75rem;
    position: relative;
    counter-increment: step;
}
.step::before {
    content: counter(step);
    position: absolute;
    top: -20px; left: 1.75rem;
    width: 44px; height: 44px;
    background: var(--hcp-blue);
    color: var(--hcp-white);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--hcp-white);
    box-shadow: 0 0 0 1px var(--hcp-blue);
}
.step h3 { margin-top: 0.8rem; margin-bottom: 0.6rem; font-size: 1.15rem; }
.step p { margin: 0; color: var(--hcp-text-muted); font-size: 0.95rem; }

/* ==========================================================================
   10. INVENTORY CARDS / PRODUCT GRID
   ========================================================================== */
.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}
.product-card {
    background: var(--hcp-white);
    border: 1px solid var(--hcp-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--t-base);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    border-color: var(--hcp-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.product-card .product-img {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--hcp-graphite) 0%, var(--hcp-black) 100%);
    position: relative;
    color: var(--hcp-sand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.product-card .product-img::after {
    content: 'FINANCING AVAILABLE';
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    background: var(--hcp-blue);
    color: var(--hcp-white);
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius);
    letter-spacing: 0.12em;
}
.product-card .product-info { padding: 1.25rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.product-card .product-meta {
    font-size: 0.85rem;
    color: var(--hcp-text-muted);
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.product-card .price {
    font-family: var(--font-display);
    color: var(--hcp-blue);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.product-card .product-cta-row { display: flex; gap: 0.5rem; margin-top: auto; }
.product-card .product-cta-row .btn { flex: 1; }
.trade-badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hcp-sand);
    border: 1px solid var(--hcp-sand);
    padding: 0.25rem 0.55rem;
    border-radius: var(--radius);
    margin-left: 0.5rem;
}

/* ==========================================================================
   11. SERVICES GRID
   ========================================================================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
.service-tile {
    background: var(--hcp-white);
    border: 2px solid var(--hcp-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    transition: all var(--t-base);
}
.service-tile:hover { border-color: var(--hcp-blue); transform: translateY(-4px); }
.service-tile .icon {
    width: 60px; height: 60px;
    background: var(--hcp-sand-pale);
    color: var(--hcp-blue);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
}
.service-tile h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.service-tile p { color: var(--hcp-text-muted); margin: 0 0 1rem; font-size: 0.95rem; }
.service-tile .brand-list {
    font-size: 0.82rem;
    color: var(--hcp-text-muted);
    border-top: 1px solid var(--hcp-border);
    padding-top: 0.9rem;
    margin-top: 1rem;
}

/* Services we offer — checklist */
.checklist-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}
.checklist-two-col li {
    padding: 0.65rem 0 0.65rem 2rem;
    position: relative;
    border-bottom: 1px solid var(--hcp-border);
    color: var(--hcp-text);
    font-weight: 500;
}
.checklist-two-col li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 22px; height: 22px;
    background: var(--hcp-blue);
    color: var(--hcp-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
}

/* ==========================================================================
   12. FORMS
   ========================================================================== */
.hcp-form {
    background: var(--hcp-white);
    border: 1px solid var(--hcp-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}
.hcp-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
}
.hcp-form-grid .full { grid-column: 1 / -1; }

.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hcp-text);
}
.form-field label .req { color: var(--hcp-blue); margin-left: 2px; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="number"],
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--hcp-grey-300);
    border-radius: var(--radius);
    font: inherit;
    color: var(--hcp-text);
    background: var(--hcp-white);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--hcp-blue);
    box-shadow: 0 0 0 3px rgba(7,115,205,0.15);
}
.form-field textarea { resize: vertical; min-height: 110px; font-family: inherit; }

.radio-group, .checkbox-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 0.5rem 0;
}
.radio-group label, .checkbox-group label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
}

.file-upload {
    border: 2px dashed var(--hcp-grey-300);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    background: var(--hcp-grey-100);
    cursor: pointer;
    transition: all var(--t-fast);
}
.file-upload:hover { border-color: var(--hcp-blue); background: rgba(7,115,205,0.04); }
.file-upload-icon {
    font-size: 1.8rem;
    color: var(--hcp-blue);
    margin-bottom: 0.5rem;
}
.file-upload-text { font-size: 0.9rem; color: var(--hcp-text-muted); }
.file-upload-text strong { color: var(--hcp-text); font-weight: 600; }
.file-upload .helper {
    font-size: 0.78rem;
    color: var(--hcp-text-muted);
    margin-top: 0.4rem;
}

.form-submit-row {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--hcp-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.form-submit-row .disclaimer {
    font-size: 0.8rem;
    color: var(--hcp-text-muted);
    max-width: 380px;
}

/* ==========================================================================
   13. FAQ ACCORDION
   ========================================================================== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--hcp-border);
}
.faq-item:first-child { border-top: 1px solid var(--hcp-border); }
.faq-q {
    width: 100%;
    background: transparent;
    border: 0;
    text-align: left;
    padding: 1.4rem 0;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--hcp-black);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: color var(--t-fast);
}
.faq-q:hover { color: var(--hcp-blue); }
.faq-q .toggle {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border: 2px solid var(--hcp-blue);
    border-radius: 50%;
    color: var(--hcp-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    transition: all var(--t-base);
}
.faq-item.open .faq-q .toggle {
    background: var(--hcp-blue);
    color: var(--hcp-white);
    transform: rotate(45deg);
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-base);
    color: var(--hcp-text-muted);
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 1.4rem; }
.faq-a p { margin: 0; }

/* ==========================================================================
   14. COMPARISON BOX
   ========================================================================== */
.compare-box {
    background: var(--hcp-white);
    border: 2px solid var(--hcp-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 3rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.compare-col {
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
}
.compare-col.this { background: var(--hcp-sand-pale); border: 2px solid var(--hcp-sand); }
.compare-col.other { background: var(--hcp-grey-100); }
.compare-col .compare-label {
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hcp-text-muted);
    margin-bottom: 0.4rem;
}
.compare-col h3 { font-size: 1.4rem; margin-bottom: 0.7rem; }
.compare-col p { color: var(--hcp-text-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.compare-col.this .you-are-here {
    display: inline-block;
    background: var(--hcp-blue);
    color: var(--hcp-white);
    font-family: var(--font-display);
    font-size: 0.7rem;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ==========================================================================
   15. CTA BANDS / HIGHLIGHT BOX
   ========================================================================== */
.cta-band {
    background: var(--hcp-blue);
    color: var(--hcp-white);
    padding: 4rem 0;
    text-align: center;
}
.cta-band h2 { color: var(--hcp-white); margin-bottom: 0.8rem; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 620px; margin: 0 auto 1.7rem; font-size: 1.1rem; }
.cta-band .btn-outline { border-color: var(--hcp-white); }
.cta-band .btn-outline:hover { background: var(--hcp-white); color: var(--hcp-blue); }

.highlight-box {
    background: var(--hcp-sand-pale);
    border-left: 5px solid var(--hcp-blue);
    padding: 1.5rem 2rem;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    margin: 2rem 0;
}
.highlight-box strong { color: var(--hcp-black); }

/* Homepage lifecycle row */
.lifecycle-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.lifecycle-tile {
    background: var(--hcp-black);
    color: var(--hcp-white);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all var(--t-base);
    text-decoration: none;
    display: block;
}
.lifecycle-tile:hover {
    border-color: var(--hcp-blue);
    transform: translateY(-6px);
    color: var(--hcp-white);
}
.lifecycle-tile .lifecycle-icon {
    width: 64px; height: 64px;
    margin: 0 auto 1.2rem;
    border: 2px solid var(--hcp-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--hcp-blue);
}
.lifecycle-tile h3 { color: var(--hcp-white); margin-bottom: 0.5rem; font-size: 1.3rem; }
.lifecycle-tile p { color: var(--hcp-text-subtle); font-size: 0.92rem; margin-bottom: 1rem; }
.lifecycle-tile .arrow {
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--hcp-blue);
    text-transform: uppercase;
}

/* ==========================================================================
   16. HOMEPAGE: BRAND/CATEGORY STRIP
   ========================================================================== */
.category-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.category-tile {
    background: var(--hcp-cream);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    padding: 1.8rem 1rem;
    text-align: center;
    transition: all var(--t-base);
    text-decoration: none;
    color: var(--hcp-text);
}
.category-tile:hover {
    border-color: var(--hcp-blue);
    background: var(--hcp-white);
    color: var(--hcp-blue);
    transform: translateY(-3px);
}
.category-tile .cat-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.category-tile .cat-label {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
}

/* ==========================================================================
   17. FOOTER
   ========================================================================== */
.site-footer {
    background: var(--hcp-black);
    color: var(--hcp-text-subtle);
    padding: 4rem 0 1.5rem;
    border-top: 4px solid var(--hcp-blue);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
}
.footer-col h4 {
    color: var(--hcp-white);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a {
    color: var(--hcp-text-subtle);
    font-size: 0.95rem;
}
.footer-col a:hover { color: var(--hcp-blue); }
.footer-brand .site-logo-text { color: var(--hcp-white); font-size: 1.8rem; }
.footer-brand .footer-tagline {
    font-family: var(--font-display);
    color: var(--hcp-sand-light);
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin: 0.6rem 0 1rem;
}
.footer-brand p { font-size: 0.95rem; max-width: 320px; color: var(--hcp-text-subtle); }
.footer-contact-line {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}
.footer-contact-line .label {
    font-family: var(--font-display);
    color: var(--hcp-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 3rem;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--hcp-grey-500);
}
.footer-bottom a { color: var(--hcp-grey-500); }

/* ==========================================================================
   18. IMAGE PLACEHOLDERS
   ========================================================================== */
.img-placeholder {
    background:
        linear-gradient(135deg, var(--hcp-graphite) 0%, var(--hcp-black) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--hcp-sand-light);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    min-height: 400px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.img-placeholder::before {
    content: attr(data-label);
    opacity: 0.5;
    font-size: 0.72rem;
    text-align: center;
    padding: 0 1rem;
}
.img-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent 0,
        transparent 22px,
        rgba(7,115,205,0.04) 22px,
        rgba(7,115,205,0.04) 23px
    );
    pointer-events: none;
}

/* ==========================================================================
   19. ABOUT / CONTACT SUPPORT
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.about-stat .num {
    font-family: var(--font-display);
    font-size: 2.6rem;
    color: var(--hcp-blue);
    line-height: 1;
    font-weight: 800;
}
.about-stat .label {
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hcp-text-muted);
    margin-top: 0.3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
}
.contact-info-card {
    background: var(--hcp-black);
    color: var(--hcp-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: fit-content;
}
.contact-info-card h3 { color: var(--hcp-white); }
.contact-info-block { margin-bottom: 1.5rem; }
.contact-info-block .lbl {
    font-family: var(--font-display);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hcp-blue);
    margin-bottom: 0.3rem;
}
.contact-info-block p, .contact-info-block a {
    color: var(--hcp-text-subtle);
    font-size: 1.05rem;
    margin: 0;
}
.contact-info-block a:hover { color: var(--hcp-white); }

.hours-table { font-size: 0.95rem; }
.hours-table .row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}
.hours-table .row:last-child { border-bottom: none; }
.hours-table .day { color: var(--hcp-text-subtle); }
.hours-table .time { color: var(--hcp-white); font-weight: 500; }

/* ==========================================================================
   20. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .site-hero-inner { grid-template-columns: 1fr; padding: 4rem 0 5.5rem; }
    .hero-card { max-width: 480px; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .category-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .section { padding: 3.5rem 0; }
    .feature-row,
    .step-row,
    .service-grid,
    .lifecycle-row { grid-template-columns: 1fr; gap: 1.25rem; }
    .compare-box { grid-template-columns: 1fr; }
    .hcp-form-grid { grid-template-columns: 1fr; }
    .checklist-two-col { grid-template-columns: 1fr; }
    .category-strip { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
    .menu-toggle { display: inline-flex; align-items: center; gap: 0.4rem; }
    .main-navigation #primary-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        flex-direction: column;
        background: var(--hcp-charcoal);
        padding: 1rem;
        gap: 0;
        border-top: 3px solid var(--hcp-blue);
    }
    .main-navigation.toggled #primary-menu { display: flex; }
    #primary-menu li { width: 100%; }
    #primary-menu a { display: block; padding: 0.85rem 1rem; }
    #primary-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--hcp-graphite);
        box-shadow: none;
        border-top: none;
    }
    .main-navigation { position: static; }
    .site-header-inner { position: relative; }
    .site-logo-img { height: 76px; }
    .hcp-form { padding: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .site-hero h1 { font-size: 2.4rem; }
    .hero-cta-row .btn { width: 100%; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .category-strip { grid-template-columns: 1fr 1fr; }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.7rem; }
}

/* Print */
@media print {
    .site-header, .site-footer, .utility-bar { display: none; }
}

/* ==========================================================================
   21. VEHICLE DETAIL PAGE (VDP) + INVENTORY BADGES
   ========================================================================== */
.vdp-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}
.vdp-gallery { position: relative; }
.vdp-main-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--hcp-grey-100);
}
.vdp-main-img img { width: 100%; height: auto; display: block; }
.vdp-thumbs {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}
.vdp-thumb {
    width: 86px; height: 64px;
    border: 2px solid var(--hcp-border);
    border-radius: var(--radius);
    overflow: hidden;
    padding: 0;
    background: var(--hcp-grey-100);
    cursor: pointer;
    transition: border-color var(--t-fast);
}
.vdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vdp-thumb:hover, .vdp-thumb.is-active { border-color: var(--hcp-blue); }

.vdp-buybox {
    background: var(--hcp-white);
    border: 1px solid var(--hcp-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 110px;
}
.vdp-stock {
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hcp-text-muted);
    margin-bottom: 0.4rem;
}
.vdp-price {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--hcp-blue);
    margin-bottom: 0.75rem;
    line-height: 1;
}
.price-was {
    text-decoration: line-through;
    color: var(--hcp-text-muted);
    font-size: 0.65em;
    font-weight: 600;
    margin-right: 0.3rem;
}
.vdp-cta-stack { display: flex; flex-direction: column; gap: 0.6rem; margin: 1.25rem 0 1.75rem; }

.vdp-specs {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.vdp-specs th, .vdp-specs td {
    text-align: left;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--hcp-border);
}
.vdp-specs th {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: var(--hcp-text-muted);
    width: 42%;
}
.vdp-specs tr:last-child th, .vdp-specs tr:last-child td { border-bottom: none; }

.pending-badge {
    position: absolute;
    top: 0.85rem; right: 0.85rem;
    z-index: 2;
    background: var(--hcp-sand);
    color: var(--hcp-white);
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius);
}
.vdp-pending { top: 1rem; right: 1rem; }
.product-img-link { position: relative; display: block; color: inherit; }
.product-img.has-photo {
    padding: 0;
    background: var(--hcp-grey-100);
}
.product-img.has-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.product-card.is-pending .product-img::after { content: none; }

@media (max-width: 900px) {
    .vdp-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .vdp-buybox { position: static; }
}

/* =========================================================================
   Accessibility pass (WCAG 2.1 AA) — added v1.3.0
   ========================================================================= */

/* 2.4.7 Focus Visible — keyboard focus ring on all interactive elements.
   :focus-visible keeps it off mouse clicks. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
.menu-toggle:focus-visible,
.vdp-thumb:focus-visible {
    outline: 3px solid var(--hcp-blue);
    outline-offset: 2px;
    border-radius: 3px;
}

/* 2.4.1 — .screen-reader-text was referenced (skip link) but never defined.
   Visually hidden until focused; the skip link becomes visible on tab. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    position: absolute !important;
    word-wrap: normal !important;
}
.screen-reader-text:focus {
    clip: auto !important;
    clip-path: none;
    height: auto;
    width: auto;
    margin: 0;
    display: block;
    position: fixed !important;
    top: 8px;
    left: 8px;
    z-index: 100000;
    padding: 12px 20px;
    background: var(--hcp-white);
    color: var(--hcp-black);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 0 2px var(--hcp-blue);
}

/* 1.4.3 Contrast — bright blue (#0773cd) on black is 4.34:1, under the 4.5
   needed for normal text. Lighter brand blue (from the logo palette) for
   text/links on dark; #0773cd stays everywhere it already passes. */
:root { --hcp-blue-on-dark: #2989e1; } /* 5.76:1 on black */
.section-dark a:not(.btn) { color: var(--hcp-blue-on-dark); }
.footer-col a:hover { color: var(--hcp-blue-on-dark); }
.utility-bar a:hover { color: var(--hcp-white); }

/* 1.4.1 Use of Color — underline inline links inside body copy so they're
   distinguishable without color alone. Nav and buttons are unaffected. */
.site-main p a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }

/* 2.3.3 — honor reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
