/* JR Tuning — Modern Design System */
:root {
    --jr-red: #E8341F;
    --jr-red-dark: #c42a18;
    --jr-dark: #111111;
    --jr-dark-2: #1c1c1e;
    --jr-dark-3: #2a2a2d;
    --jr-grey: #f4f4f6;
    --jr-border: #e8e8ec;
    --jr-text: #1c1c1e;
    --jr-muted: #6b7280;
    --jr-green: #16a34a;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--jr-text);
    background: #fff;
    line-height: 1.6;
}

a { color: var(--jr-red); text-decoration: none; }
a:hover { color: var(--jr-red-dark); }

/* ========== NAVBAR ========== */
.site-nav {
    background: var(--jr-dark);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
    min-height: 72px;
}
.site-nav .navbar-brand img { height: 52px; }
.site-nav .nav-link {
    color: rgba(255,255,255,0.75) !important;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 1.4rem 0.9rem !important;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}
/* Mobile */
@media (max-width: 991px) {
    .site-nav { min-height: 64px; }
    .site-nav .navbar-brand img { height: 44px; }
    .site-nav .navbar-toggler { padding: 6px 10px; }
    /* Prevent layout jump when menu opens — override the large desktop padding */
    .site-nav .navbar-collapse .nav-link { padding: 0.6rem 0.75rem !important; }
    /* Pin brand and toggler to a fixed height so flex-centering reflow can't shift them */
    .site-nav .container { align-items: flex-start; }
    .site-nav .navbar-brand,
    .site-nav .navbar-toggler { height: 64px; display: flex; align-items: center; }
}
.site-nav .nav-link:hover { color: #fff !important; }
.site-nav .dropdown-menu {
    background: var(--jr-dark-2);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 6px;
    min-width: 220px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.site-nav .dropdown-item {
    color: rgba(255,255,255,0.75);
    font-size: 0.875rem;
    padding: 9px 14px;
    border-radius: 5px;
    transition: all 0.15s;
}
.site-nav .dropdown-item:hover { background: rgba(255,255,255,0.07); color: #fff; }
.site-nav .dropdown-divider { border-color: rgba(255,255,255,0.08); margin: 4px 6px; }
.site-nav .nav-cta {
    background: var(--jr-red);
    color: #fff !important;
    border-radius: 6px;
    padding: 8px 18px !important;
    margin: auto 0 auto 8px;
    font-size: 0.85rem;
    transition: background 0.2s;
}
.site-nav .nav-cta:hover { background: var(--jr-red-dark) !important; }

/* ========== HERO — HOMEPAGE ========== */
.hero-home {
    background: var(--jr-dark);
    min-height: 520px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(232,52,31,0.12) 0%, transparent 65%);
}
.hero-home .hero-tag {
    display: inline-block;
    background: rgba(232,52,31,0.15);
    color: var(--jr-red);
    border: 1px solid rgba(232,52,31,0.3);
    border-radius: 100px;
    padding: 4px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.hero-home h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
}
.hero-home .hero-lead {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    margin-bottom: 32px;
    max-width: 480px;
}
.hero-home .hero-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.btn-red {
    background: var(--jr-red);
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 12px 26px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-red:hover { background: var(--jr-red-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 7px;
    padding: 12px 26px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* Stats strip */
.stats-strip {
    background: var(--jr-dark-2);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
}
.stat-item { text-align: center; padding: 8px 20px; }
.stat-item .stat-num { font-size: 1.6rem; font-weight: 800; color: var(--jr-red); display: block; }
.stat-item .stat-lbl { font-size: 0.78rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-divider { border-left: 1px solid rgba(255,255,255,0.08); }

/* ========== PAGE HERO (service pages) ========== */
.page-hero {
    background: var(--jr-dark);
    padding: 52px 0 48px;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--jr-red);
}
.page-hero .hero-text { /* no special padding needed */ }

.page-hero .hero-icon {
    width: 48px;
    height: 48px;
    background: rgba(232,52,31,0.12);
    border: 1px solid rgba(232,52,31,0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--jr-red);
    margin-bottom: 18px;
}
.page-hero h1 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.2;
}
.page-hero .hero-sub {
    color: rgba(255,255,255,0.55);
    font-size: 0.95rem;
    max-width: 560px;
    margin-bottom: 22px;
}
.page-hero .hero-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.page-hero .meta-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.6);
    font-size: 0.83rem;
}
.page-hero .meta-pill i { color: var(--jr-red); }

/* Hero image column */
.hero-img-col {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-img-col img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

@media (max-width: 991px) {
    .page-hero { padding: 40px 0 36px; }
    .hero-img-col img {
        max-height: 210px;
        margin-top: 4px;
    }
}

/* ========== CONTENT LAYOUT ========== */
.content-wrap { padding: 48px 0 60px; }

/* Feature grid */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--jr-border);
    border: 1px solid var(--jr-border);
    border-radius: 10px;
    overflow: hidden;
    margin: 28px 0;
}
.feat-grid-item {
    background: #fff;
    padding: 20px 18px;
    transition: background 0.2s;
}
.feat-grid-item:hover { background: #fafafa; }
.feat-grid-item .feat-icon { font-size: 1.2rem; color: var(--jr-red); margin-bottom: 8px; }
.feat-grid-item strong { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; color: var(--jr-text); }
.feat-grid-item span { font-size: 0.82rem; color: var(--jr-muted); line-height: 1.4; }
@media (max-width: 500px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }

/* Info cards */
.info-block {
    border: 1px solid var(--jr-border);
    border-radius: 10px;
    padding: 28px;
    margin-bottom: 20px;
    background: #fff;
}
.info-block h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--jr-text);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--jr-red);
    display: flex;
    align-items: center;
    gap: 8px;
}
.info-block h3 i { color: var(--jr-red); font-size: 0.9rem; }
.info-block p { font-size: 0.92rem; color: #444; margin-bottom: 12px; }
.info-block p:last-child { margin-bottom: 0; }
.info-block a { color: var(--jr-red); font-weight: 500; }

/* Steps */
.steps-list { list-style: none; padding: 0; margin: 0; }
.steps-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid var(--jr-border);
    font-size: 0.92rem;
}
.steps-list li:last-child { border-bottom: none; }
.step-num {
    background: var(--jr-red);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.step-check { background: var(--jr-green); color: #fff; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }

/* Bullet list */
.jr-list { list-style: none; padding: 0; margin: 0; }
.jr-list li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; font-size: 0.9rem; color: #444; }
.jr-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--jr-red); flex-shrink: 0; margin-top: 7px; }

/* Notice */
.legal-notice {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 14px 18px;
    border-radius: 0 6px 6px 0;
    font-size: 0.875rem;
    color: #78350f;
    margin-bottom: 24px;
}

/* CTA strip */
.cta-strip {
    background: var(--jr-dark);
    border-radius: 10px;
    padding: 28px;
    color: #fff;
    margin-top: 32px;
}
.cta-strip h4 { font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.cta-strip p { color: rgba(255,255,255,0.6); font-size: 0.875rem; margin: 0; }
.cta-strip a:not(.btn-red) { color: var(--jr-red); font-weight: 600; }
.cta-strip .btn-red { color: #fff; }

/* Sidebar */
.sidebar { position: sticky; top: 80px; }
.sidebar-box { background: #fff; border: 1px solid var(--jr-border); border-radius: 10px; overflow: hidden; margin-bottom: 16px; }
.sidebar-box .sb-head { background: var(--jr-dark); color: #fff; font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 12px 16px; }
.sidebar-box .sb-link { display: block; padding: 10px 16px; font-size: 0.875rem; color: #444; border-bottom: 1px solid var(--jr-border); transition: all 0.15s; text-decoration: none; }
.sidebar-box .sb-link:last-child { border-bottom: none; }
.sidebar-box .sb-link:hover { background: var(--jr-grey); color: var(--jr-red); padding-left: 20px; }
.sidebar-contact { background: #fff; border: 1px solid var(--jr-border); border-radius: 10px; padding: 20px; }
.sidebar-contact h5 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--jr-text); margin-bottom: 14px; }
.sidebar-contact a { color: var(--jr-red); font-weight: 600; font-size: 0.9rem; text-decoration: none; }

/* ========== HOMEPAGE CARDS ========== */
.service-tile {
    border: 1px solid var(--jr-border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: all 0.25s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.service-tile:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); border-color: #d0d0d8; transform: translateY(-3px); }
.service-tile img { width: 100%; height: 190px; object-fit: cover; }
.service-tile .tile-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.service-tile h5 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.service-tile h5 a { color: var(--jr-text); }
.service-tile h5 a:hover { color: var(--jr-red); }
.service-tile p { font-size: 0.875rem; color: var(--jr-muted); flex: 1; }
.service-tile .tile-footer { padding: 0 20px 20px; }

/* Homepage what-we-do */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 0.9rem; border-bottom: 1px solid var(--jr-border); }
.checklist li:last-child { border-bottom: none; }
.checklist li i { color: var(--jr-red); font-size: 0.75rem; }

/* Customer car mini cards */
.mini-car { border: 1px solid var(--jr-border); border-radius: 8px; padding: 12px; text-align: center; background: #fff; transition: box-shadow 0.2s; }
.mini-car:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.mini-car img { height: 70px; width: 100%; object-fit: contain; margin-bottom: 8px; }
.mini-car .car-name { font-size: 0.8rem; font-weight: 600; color: var(--jr-text); }
.mini-car .car-gain { font-size: 0.75rem; color: var(--jr-red); font-weight: 600; }

/* ========== VEHICLE SEARCH ========== */
.search-header { background: var(--jr-dark); padding: 40px 0 36px; }
.search-header h1 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; margin: 6px 0 8px; line-height: 1.2; }
.search-header p { color: rgba(255,255,255,0.5); font-size: 0.875rem; margin: 0; }

/* Breadcrumb */
.hero-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    font-size: 0.8rem;
    margin-bottom: 2px;
}
.hero-breadcrumb a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.15s;
    padding: 2px 0;
}
.hero-breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.hero-breadcrumb .bc-sep {
    color: rgba(255,255,255,0.2);
    margin: 0 7px;
    font-size: 0.7rem;
}
.hero-breadcrumb .bc-current {
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}
/* Logo in search header */
.search-header-logo-wrap {
    background: #ffffff;
    border-radius: 10px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: flex-start;
}
.search-header-logo {
    max-height: 60px;
    max-width: 150px;
    object-fit: contain;
    display: block;
}

/* Manufacturer grid — uniform */
.make-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 32px;
}
.make-card {
    border: 1px solid var(--jr-border);
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 12px 14px;
    transition: all 0.2s;
    aspect-ratio: 1;
    justify-content: center;
    gap: 10px;
}
.make-card:hover {
    border-color: var(--jr-red);
    box-shadow: 0 4px 16px rgba(232,52,31,0.12);
    transform: translateY(-3px);
    text-decoration: none;
}
.make-card .make-logo { height: 60px; width: 90px; object-fit: contain; }
.make-card .make-name { font-size: 0.78rem; font-weight: 600; color: var(--jr-text); text-align: center; line-height: 1.2; }
.make-card:hover .make-name { color: var(--jr-red); }

/* Model / year grid — uniform cards */
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    margin-top: 24px;
}
.model-btn {
    background: #fff;
    border: 1px solid var(--jr-border);
    border-radius: 8px;
    padding: 14px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--jr-text);
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    line-height: 1.3;
}
.model-btn:hover {
    background: var(--jr-red);
    border-color: var(--jr-red);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232,52,31,0.2);
}

/* Fuel sections */
.fuel-section { border-radius: 10px; overflow: hidden; border: 1px solid var(--jr-border); margin-bottom: 20px; }
.fuel-head { padding: 12px 20px; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; }
.fuel-head.petrol { background: #15803d; }
.fuel-head.diesel { background: #1c1c1e; }
.fuel-head.hybrid { background: #1d4ed8; }
.fuel-body { padding: 20px; background: #fff; }
.engine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}
.engine-btn {
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 48px;
    line-height: 1.3;
}
.engine-btn.petrol { border-color: #bbf7d0; background: #f0fdf4; color: #15803d; }
.engine-btn.petrol:hover { background: #15803d; color: #fff; border-color: #15803d; text-decoration: none; }
.engine-btn.diesel { border-color: #d1d5db; background: #f9fafb; color: #1c1c1e; }
.engine-btn.diesel:hover { background: #1c1c1e; color: #fff; border-color: #1c1c1e; text-decoration: none; }
.engine-btn.hybrid { border-color: #bfdbfe; background: #eff6ff; color: #1d4ed8; }
.engine-btn.hybrid:hover { background: #1d4ed8; color: #fff; border-color: #1d4ed8; text-decoration: none; }

/* ========== VIEWDETAILS — POWER BARS ========== */
.perf-hero {
    background: var(--jr-dark);
    padding: 48px 0 40px;
    position: relative;
    border-bottom: 3px solid var(--jr-red);
}
.perf-hero h1 { color: #fff; font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; margin: 0; }
.perf-hero .perf-sub { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-top: 6px; }

.power-card {
    background: #fff;
    border: 1px solid var(--jr-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}
.power-card-head {
    background: var(--jr-dark);
    color: #fff;
    padding: 14px 24px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.power-card-head i { color: var(--jr-red); }

.power-metric { padding: 22px 24px; border-bottom: 1px solid var(--jr-border); }
.power-metric:last-child { border-bottom: none; }
.power-metric-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.power-metric-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--jr-muted); }
.power-gain-badge {
    background: rgba(22,163,74,0.1);
    color: var(--jr-green);
    border: 1px solid rgba(22,163,74,0.2);
    border-radius: 100px;
    padding: 2px 10px;
    font-size: 0.8rem;
    font-weight: 700;
}

.bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.bar-row-label { font-size: 0.78rem; color: var(--jr-muted); width: 52px; flex-shrink: 0; font-weight: 500; }
.bar-track { flex: 1; height: 28px; background: var(--jr-grey); border-radius: 6px; overflow: hidden; position: relative; }
.bar-fill {
    height: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    transition: width 1s cubic-bezier(0.4,0,0.2,1);
    min-width: 40px;
}
.bar-fill.stock { background: #9ca3af; }
.bar-fill.tuned { background: var(--jr-red); }
.bar-value { position: absolute; right: -44px; font-size: 0.85rem; font-weight: 700; color: var(--jr-text); white-space: nowrap; }
.bar-value.tuned-val { color: var(--jr-red); }
.bar-value.gain-val { color: var(--jr-green); font-size: 0.8rem; }

/* Summary numbers */
.perf-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--jr-border); border-radius: 10px; overflow: hidden; margin-bottom: 24px; }
.perf-summary-item { padding: 20px; text-align: center; background: #fff; border-right: 1px solid var(--jr-border); }
.perf-summary-item:last-child { border-right: none; }
.perf-summary-item .ps-label { font-size: 0.75rem; color: var(--jr-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.perf-summary-item .ps-value { font-size: 1.6rem; font-weight: 800; color: var(--jr-text); line-height: 1; }
.perf-summary-item .ps-value.red { color: var(--jr-red); }
.perf-summary-item .ps-value.green { color: var(--jr-green); }

/* ========== CUSTOMER CARS ========== */
.car-card { background: #fff; border: 1px solid var(--jr-border); border-radius: 12px; overflow: hidden; margin-bottom: 20px; display: flex; }
.car-card-body { padding: 24px; flex: 1; }
.car-card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.car-card-body p { font-size: 0.875rem; color: var(--jr-muted); margin-bottom: 16px; }
.car-stats { display: flex; flex-direction: column; gap: 6px; }
.car-stat { display: flex; gap: 8px; align-items: center; font-size: 0.875rem; }
.car-stat-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--jr-red); flex-shrink: 0; }
.car-card-img { width: 220px; flex-shrink: 0; }
.car-card-img img { width: 100%; height: 100%; object-fit: cover; }

/* ========== CONTACT PAGE ========== */
.contact-block { background: #fff; border: 1px solid var(--jr-border); border-radius: 10px; padding: 28px; height: 100%; }
.contact-block h3 { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--jr-text); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--jr-red); display: flex; align-items: center; gap: 8px; }
.contact-block h3 i { color: var(--jr-red); }
.contact-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--jr-border); font-size: 0.875rem; }
.contact-row:last-child { border-bottom: none; }
.contact-block address { font-style: normal; font-size: 0.9rem; line-height: 2.2; color: #444; }

/* ========== FAQ ========== */
.faq-item { border: 1px solid var(--jr-border); border-radius: 8px; margin-bottom: 8px; overflow: hidden; background: #fff; }
.faq-q { padding: 18px 50px 18px 20px; cursor: pointer; font-size: 0.92rem; font-weight: 600; color: var(--jr-text); position: relative; user-select: none; transition: background 0.15s; }
.faq-q:hover { background: var(--jr-grey); }
.faq-q::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--jr-red); font-weight: 700; }
.faq-q.open::after { content: '−'; }
.faq-a { max-height: 0; overflow: hidden; transition: all 0.3s; }
.faq-a.open { max-height: 800px; }
.faq-a-inner { padding: 4px 20px 20px; font-size: 0.875rem; color: #555; line-height: 1.7; border-top: 1px solid var(--jr-border); }
.faq-a-inner a { color: var(--jr-red); font-weight: 500; }

/* ========== ARTICLES ========== */
.article-card { background: #fff; border: 1px solid var(--jr-border); border-radius: 10px; overflow: hidden; display: flex; margin-bottom: 16px; transition: box-shadow 0.2s; }
.article-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.article-img { width: 140px; flex-shrink: 0; overflow: hidden; }
.article-img img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 20px 24px; flex: 1; }
.article-body h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.article-body h3 a { color: var(--jr-text); }
.article-body h3 a:hover { color: var(--jr-red); }
.article-body p { font-size: 0.875rem; color: var(--jr-muted); margin-bottom: 10px; }
.article-body .read-more { font-size: 0.85rem; font-weight: 600; color: var(--jr-red); }

/* ========== MOBILE AREAS ========== */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 20px; }
.area-pill { display: block; text-align: center; padding: 9px 12px; border: 1px solid var(--jr-border); border-radius: 6px; font-size: 0.85rem; font-weight: 500; color: var(--jr-text); transition: all 0.2s; background: #fff; }
.area-pill:hover { background: var(--jr-red); color: #fff; border-color: var(--jr-red); text-decoration: none; transform: translateY(-1px); }

/* ========== FOOTER ========== */
.site-footer { background: var(--jr-dark); color: rgba(255,255,255,0.55); padding: 56px 0 32px; }
.site-footer h5 { color: rgba(255,255,255,0.9); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,0.5); font-size: 0.875rem; line-height: 2; text-decoration: none; display: block; }
.site-footer a:hover { color: var(--jr-red); }
.site-footer p { font-size: 0.875rem; line-height: 1.7; }
.site-footer .contact-link { color: var(--jr-red) !important; font-weight: 600; font-size: 0.95rem !important; display: inline !important; }
.footer-divider { border-color: rgba(255,255,255,0.07); margin: 32px 0 24px; }
.footer-bottom { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-bottom span { margin: 0 8px; color: rgba(255,255,255,0.15); }

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .car-card { flex-direction: column; }
    .car-card-img { width: 100%; height: 200px; }
    .sidebar { position: static; }
}
@media (max-width: 768px) {
    .hero-home { padding: 48px 0; min-height: auto; }
    .page-hero { padding: 40px 0 36px; }
    .make-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
    .make-card { padding: 14px 8px 10px; }
    .make-card .make-logo { height: 44px; width: 70px; }
    .perf-summary { grid-template-columns: repeat(3, 1fr); }
    .perf-summary-item .ps-value { font-size: 1.2rem; }
    .article-card { flex-direction: column; }
    .article-img { width: 100%; height: 160px; }
    .content-wrap { padding: 32px 0 40px; }
    .make-card { aspect-ratio: auto; min-height: 100px; }
}
@media (max-width: 480px) {
    .perf-summary { grid-template-columns: repeat(3, 1fr); }
    .bar-row-label { width: 38px; font-size: 0.7rem; }
    .bar-fill { font-size: 0.72rem; }
}
