:root {
    --color-red: #ee2628;
    --color-red-dark: #ee2628;
    --color-red-light: #ee2628;
    --color-gold: #ee2628;
    --color-bg: #ffffff;
    --color-bg-light: #f5f5f5;
    --color-bg-dark: #000000;
    --color-bg-card: #ffffff;
    --color-text: #000000;
    --color-text-dark: #000000;
    --color-text-muted: #666666;
    --color-border: #e0e0e0;
    --font-main: 'Montserrat', sans-serif;
    --container-width: 1320px;
    --header-height: 90px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--color-red);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-red-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.site-main {
    flex: 1;
}

/* Header - white navbar matching woodmeadauto.com */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    gap: 20px;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo img {
    height: 72px;
    width: auto;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav a {
    color: var(--color-text-dark);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 10px;
    white-space: nowrap;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--color-red);
    background: none;
}

.main-nav a.active {
    color: var(--color-red);
    background: none;
}

.header-login {
    flex-shrink: 0;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    padding: 8px;
    transition: color 0.2s;
}

.header-login:hover {
    color: var(--color-red);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-red);
}

.mobile-nav-panel {
    display: contents;
}

.mobile-nav-top,
.mobile-nav-search,
.mobile-nav-login,
.nav-close {
    display: none;
}

/* Page hero (inner pages) — 95vh full-bleed */
.page-hero {
    position: relative;
    height: 95vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-color: #1a1a1a;
    background-image: var(--page-hero-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: none;
    padding: 0;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 24px;
}

.page-hero h1 {
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.05;
}

.page-hero-breadcrumb {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin: 0;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-label {
    color: var(--color-red);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
    font-weight: 600;
}

.section-title h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--color-red);
    background: transparent;
    color: var(--color-red);
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 0;
}

.btn:hover {
    background: var(--color-red);
    color: #fff;
}

.btn-primary {
    background: var(--color-red);
    color: #fff;
    border-color: var(--color-red);
}

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

/* Vehicle cards */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

@media (max-width: 992px) {
    .vehicle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .vehicle-grid {
        grid-template-columns: 1fr;
    }
}

.vehicle-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    overflow: hidden;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.vehicle-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.vehicle-card-image {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: #f0f0f0;
}

.vehicle-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.1) 30%, transparent 55%);
    pointer-events: none;
    z-index: 1;
}

.vehicle-card-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.vehicle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vehicle-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #111;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 7px 14px;
    letter-spacing: 0.8px;
    border-radius: 4px;
    z-index: 3;
    line-height: 1;
}

.vehicle-card-nav {
    position: absolute;
    left: 16px;
    bottom: 14px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.card-nav-btn {
    width: auto;
    height: auto;
    border: none;
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 2px;
    transition: opacity 0.2s;
}

.card-nav-btn:hover:not(:disabled) {
    opacity: 0.75;
}

.card-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.card-nav-btn svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
}

.vehicle-favorite {
    position: absolute;
    right: 16px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    z-index: 3;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s;
}

.vehicle-favorite:hover {
    transform: scale(1.04);
}

.vehicle-favorite.is-active {
    color: var(--color-red);
}

.vehicle-favorite.is-active svg {
    fill: var(--color-red);
}

.vehicle-card-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vehicle-card-body h3 {
    font-size: 0.92rem;
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.35;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.vehicle-card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.vehicle-card-body h3 a:hover {
    color: #111;
}

.vehicle-specs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-bottom: 18px;
}

.vehicle-spec {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    font-weight: 400;
    color: #333;
    white-space: nowrap;
}

.vehicle-spec svg {
    flex-shrink: 0;
    color: var(--color-red);
    width: 15px;
    height: 15px;
}

.vehicle-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #e8e8e8;
}

.vehicle-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-red);
    margin: 0;
    letter-spacing: 0.2px;
}

.vehicle-branch {
    font-size: 0.86rem;
    color: #222;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
}

/* Forms */
.form-section {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 30px;
    margin-bottom: 24px;
}

.form-section h3 {
    color: var(--color-red);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
    font-weight: 700;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-red);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.alert {
    padding: 16px 20px;
    margin-bottom: 20px;
    border: 1px solid;
}

.alert-success {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

/* Footer */
.site-footer {
    position: relative;
    background: #000;
    color: #fff;
    margin-top: auto;
    overflow: hidden;
}

.footer-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(240px, 1.15fr) auto minmax(280px, 1.35fr);
    gap: 48px 56px;
    align-items: start;
    padding-top: 72px;
    padding-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
}

.footer-logo {
    display: inline-flex;
    line-height: 0;
}

.footer-logo img {
    display: block;
    width: 180px;
    height: auto;
}

.footer-tagline {
    margin: 0;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.55;
}

.footer-locations {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin-top: 8px;
}

.footer-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-location:hover {
    color: var(--color-red);
}

.footer-location-icon {
    display: flex;
    color: var(--color-red);
}

.footer-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.18);
    margin: 8px 0;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    gap: 48px;
}

.footer-links-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-links h4 {
    color: var(--color-red);
    font-size: 1rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    margin: 0 0 22px;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 400;
}

.footer-links a:hover {
    color: var(--color-red);
}

.footer-bottom {
    padding: 0;
    border: none;
    text-align: left;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.footer-heart {
    color: var(--color-red);
    margin: 0 2px;
}

.footer-credit {
    color: var(--color-red);
    font-weight: 600;
}

.footer-credit:hover {
    color: #fff;
}

.footer-marquee {
    position: relative;
    height: clamp(140px, 22vw, 220px);
    overflow: hidden;
    background: #000;
    pointer-events: none;
    user-select: none;
}

.footer-marquee-track {
    display: flex;
    align-items: center;
    gap: 0.18em;
    width: max-content;
    height: 100%;
    white-space: nowrap;
    animation: footer-marquee 28s linear infinite;
    will-change: transform;
}

.footer-marquee-track span {
    display: block;
    font-size: clamp(6rem, 18vw, 12rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    color: #3a3a3a;
    -webkit-text-stroke: 0;
    padding-right: 0.18em;
}

.footer-marquee-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

@keyframes footer-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-marquee-track {
        animation: none;
        transform: translateX(-10%);
    }
}

.whatsapp-float {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 90;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s, background 0.2s;
}

.whatsapp-float:hover {
    background: #1ebe57;
    color: #fff;
    transform: scale(1.05);
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 4px;
    background: var(--color-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s, visibility 0.25s, background 0.2s;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--color-red-dark);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 0.85rem;
}

.pagination a:hover,
.pagination span.current {
    background: var(--color-red);
    border-color: var(--color-red);
    color: #fff;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--color-red);
    font-weight: 800;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Carousel */
.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.carousel-btn {
    background: transparent;
    border: 2px solid var(--color-red);
    color: var(--color-red);
    padding: 8px 20px;
    cursor: pointer;
    font-family: var(--font-main);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 700;
}

.carousel-btn:hover {
    background: var(--color-red);
    color: #fff;
}

.loading {
    text-align: center;
    padding: 40px;
    color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 1100px) {
    .main-nav a {
        font-size: 0.75rem;
        padding: 6px 8px;
    }
}

@media (max-width: 992px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-top: 56px;
        padding-bottom: 48px;
    }

    .footer-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .footer-nav {
        gap: 36px;
    }

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

@media (max-width: 768px) {
    .site-header {
        background: #000;
        box-shadow: none;
        border-radius: 18px 18px 0 0;
    }

    .header-inner {
        display: grid;
        grid-template-columns: 44px 1fr 44px;
        align-items: center;
        min-height: 72px;
        gap: 8px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .nav-toggle {
        display: flex;
        grid-column: 1;
        justify-self: start;
        z-index: 2;
        padding: 10px 6px;
        gap: 6px;
    }

    .nav-toggle span {
        width: 26px;
        height: 2px;
        background: #fff;
        border-radius: 1px;
    }

    .logo {
        grid-column: 2;
        justify-self: center;
    }

    .logo img {
        height: 56px;
    }

    .header-login {
        display: none;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        background: #000;
        padding: 0;
        z-index: 1100;
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.28s ease, visibility 0.28s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-nav-panel {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 100%;
        padding: 20px 22px 100px;
        box-sizing: border-box;
    }

    .mobile-nav-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 22px;
    }

    .mobile-nav-logo {
        display: flex;
        align-items: center;
        line-height: 0;
    }

    .mobile-nav-logo img {
        height: 58px;
        width: auto;
        display: block;
    }

    .nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        border: none;
        border-radius: 4px;
        background: var(--color-red);
        color: #fff;
        cursor: pointer;
        padding: 0;
    }

    .mobile-nav-search {
        display: block;
        margin-bottom: 28px;
    }

    .mobile-nav-search input {
        width: 100%;
        height: 44px;
        border: none;
        border-radius: 2px;
        background: #fff;
        color: #111;
        font-family: var(--font-main);
        font-size: 0.9rem;
        padding: 0 14px;
        outline: none;
        box-sizing: border-box;
    }

    .mobile-nav-search input::placeholder {
        color: #888;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        width: 100%;
    }

    .main-nav a {
        display: block;
        padding: 12px 0;
        border-bottom: none;
        color: #fff;
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: 0.02em;
    }

    .main-nav a:hover,
    .main-nav a.active {
        color: var(--color-red);
        background: none;
    }

    .mobile-nav-login {
        display: inline-flex;
        align-items: center;
        margin-top: 22px;
        color: #fff;
        padding: 4px 0;
    }

    .mobile-nav-login:hover {
        color: var(--color-red);
    }

    body.nav-open {
        overflow: hidden;
    }

    .page-hero {
        height: 70vh;
        min-height: 320px;
    }

    .page-hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .footer-links-row {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        text-align: left;
    }

    .whatsapp-float {
        left: 16px;
        bottom: 16px;
        width: 50px;
        height: 50px;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
    }
}

/* Brand logos strip (home + about) */
.brand-logos-strip {
    background: #fff;
    border-top: 1px solid #e8e8e8;
    padding: 48px 0;
    overflow: hidden;
}

.brand-logos-marquee {
    overflow: hidden;
    width: 100%;
}

.brand-logos-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 64px;
    padding: 0 32px;
    animation: brand-logos-scroll 45s linear infinite;
    will-change: transform;
}

.brand-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    width: 120px;
    transition: opacity 0.2s, transform 0.2s;
}

.brand-logo-item img {
    max-height: 68px;
    max-width: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.brand-logo-item:hover {
    opacity: 0.75;
    transform: scale(1.04);
}

@keyframes brand-logos-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .brand-logos-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        max-width: var(--container-width);
        margin: 0 auto;
        justify-content: center;
        gap: 36px 48px;
    }
}

@media (max-width: 768px) {
    .brand-logos-strip {
        padding: 36px 0;
    }

    .brand-logos-track {
        gap: 40px;
        animation-duration: 35s;
    }

    .brand-logo-item {
        height: 56px;
        width: 96px;
    }

    .brand-logo-item img {
        max-height: 52px;
        max-width: 90px;
    }
}
