/* style-clean.css - FINAL VERSION (SEO, AI & MOBILE OPTIMIZED) */

:root {
    --bg-color: #ffffff;
    --bg-secondary: #F4F4F6;
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --accent: #FF4F00; /* Safety Orange - Цвет "Осторожно/Ремонт" */
    --accent-hover: #e04500;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; }

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
a:hover { color: var(--accent); }
.text-center { text-align: center; }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
}
.btn-primary {
    background: var(--accent);
    color: white !important; 
    border: none;
    box-shadow: 0 4px 15px rgba(255, 79, 0, 0.4);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }

.btn-outline-white {
    border: 2px solid rgba(255,255,255,0.8);
    color: white !important;
    margin-left: 10px;
}
.btn-outline-white:hover {
    background: white;
    color: var(--text-main) !important;
    border-color: white;
}

.btn-header {
    border: 2px solid #ddd;
    color: var(--text-main);
    padding: 10px 24px;
}
.btn-header:hover { border-color: var(--accent); color: var(--accent); }

/* --- HEADER --- */
.header { 
    padding: 15px 0; 
    position: sticky; 
    top: 0; 
    background: rgba(255,255,255,0.98); 
    z-index: 1000; 
    border-bottom: 1px solid #f0f0f0; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-row { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; font-size: 1.2rem; line-height: 1.1; text-transform: uppercase; color: #111; }
.dot { color: var(--accent); }
.sub-logo { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; display: block; margin-top: 2px; }
.nav-menu a { margin: 0 15px; font-weight: 700; font-size: 0.95rem; color: #333; }
.nav-menu a:hover { color: var(--accent); }

/* MOBILE HAMBURGER ICON */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    z-index: 2001;
    background: none;
    border: none;
    outline: none;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: 0.3s;
}

/* MOBILE MENU OVERLAY */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}
.mobile-nav-overlay.open {
    display: flex !important;
}
.mobile-nav-overlay a:not(.close-btn):not(.mobile-nav-btn) {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-transform: uppercase;
}
.mobile-nav-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
}
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem !important;
    font-weight: 300;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-main);
    line-height: 1;
    padding: 0;
    width: auto;
}

/* HAMBURGER ANIMATION */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (min-width: 993px) {
    .mobile-nav-overlay,
    .mobile-nav-overlay.open {
        display: none !important;
    }
}

/* =========================================
   HERO BACKGROUNDS (ПК ВЕРСИЯ - JPG)
   Все фоновые картинки собраны здесь
   ========================================= */

/* Базовые стили для всех шапок */
.hero, .hero-about, .hero-brakes, .hero-oil {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

/* 1. Главная страница (index.html) */
.hero { 
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.6)), url('../img/hero-bg.jpg');
    padding: 140px 0 160px 0;
    text-align: center;
}

/* 2. Страница О Нас (about.html) */
.hero-about { 
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/about-bg.jpg');
    padding: 120px 0;
}

/* 3. Страница Тормоза (services/brakes.html) */
.hero-brakes {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/brakes-bg.jpg');
    padding: 120px 0 140px 0;
    text-align: center;
}

/* 4. Страница Масло (services/oil-change.html) */
.hero-oil {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/oil-bg.jpg');
    padding: 120px 0 140px 0;
    text-align: center;
}

/* 5. AC Service Page */
.hero-ac {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/ac-bg.jpg');
    padding: 120px 0 140px 0;
    text-align: center;
}

/* 6. Diagnostics Page */
.hero-diagnostics {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/diag-bg.jpg');
    padding: 120px 0 140px 0;
    text-align: center;
}

/* 7. Engine Repair Page */
.hero-engine {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/engine-bg.jpg');
    padding: 120px 0 140px 0;
    text-align: center;
}

/* 8. Suspension Page */
.hero-suspension {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/suspension-bg.jpg');
    padding: 120px 0 140px 0;
    text-align: center;
}

/* 9. Services Hub Page */
.hero-services-hub {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/services-bg.jpg');
    padding: 120px 0 140px 0;
    text-align: center;
}

/* 10. Blog Hub Page */
.hero-blog {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/blog-bg.jpg');
    padding: 120px 0 140px 0;
    text-align: center;
}

/* Общие стили текста внутри Hero */
.hero-content { display: flex; justify-content: center; }
.hero-text { max-width: 850px; }
.hero h1, .hero-about h1 { font-size: 3.8rem; line-height: 1.1; margin: 0 0 25px 0; letter-spacing: -0.03em; font-weight: 800; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.hero-sub { font-size: 1.25rem; color: rgba(255,255,255,0.95); margin-bottom: 40px; line-height: 1.6; font-weight: 500; }
.hero strong, .hero-about strong { color: white; font-weight: 700; border-bottom: 1px solid var(--accent); }

.serving-badge { margin-top: 50px; display: inline-block; }
.serving-badge span { background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 10px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; backdrop-filter: blur(5px); }


/* --- SECTIONS --- */
.features { background: white; padding: 60px 0; border-bottom: 1px solid #eee; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.3rem; color: var(--text-main); }
.feature-card p { font-size: 1rem; color: var(--text-muted); margin: 0; }

.services { padding: 100px 0; background: var(--bg-secondary); }
.section-header { text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto;}
.section-header h2 { font-size: 2.8rem; margin-bottom: 15px; line-height: 1.1; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 25px; }
.service-item { padding: 40px 30px; background: white; border-radius: var(--radius); transition: 0.3s; border: 1px solid transparent; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
.service-item:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-5px); }
.icon { font-size: 2.5rem; margin-bottom: 20px; }
.service-item h4 { font-size: 1.3rem; margin-bottom: 10px; }

/* Location & Blog */
.location-section, .blog-preview { background: white; padding: 100px 0; }
.location-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.map-frame { height: 450px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid #eee; }
.address-box { background: var(--bg-secondary); padding: 35px; border-radius: var(--radius); margin-top: 30px; border-left: 5px solid var(--accent); }
.big-addr { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; color: #000; }
.map-buttons { margin-top: 20px; display: flex; gap: 15px; align-items: center; }
.call-link { font-weight: 700; text-decoration: underline; font-size: 0.95rem; }

/* Blog */
.blog-preview { background: var(--bg-secondary); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.blog-card { background: white; padding: 30px; border-radius: var(--radius); box-shadow: 0 5px 15px rgba(0,0,0,0.03); transition: 0.2s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tag { font-size: 0.75rem; font-weight: 800; color: var(--accent); text-transform: uppercase; margin-bottom: 15px; letter-spacing: 0.05em; }
.blog-card h4 { margin: 0 0 15px 0; font-size: 1.4rem; line-height: 1.3; font-weight: 700; }
.blog-card p { color: var(--text-muted); margin-bottom: 25px; flex-grow: 1; }
.blog-card a { font-weight: 800; font-size: 0.9rem; color: var(--text-main); margin-top: auto; text-transform: uppercase; letter-spacing: 0.05em;}

/* Footer */
footer { padding: 80px 0 40px 0; border-top: 1px solid #ddd; background: #111; color: white; }
.footer-content { display: flex; justify-content: space-between; border-bottom: 1px solid #333; padding-bottom: 40px; margin-bottom: 30px;}
.footer-col h3 { color: white; margin-bottom: 10px; font-size: 1.5rem; }
.footer-col p, .footer-col a { color: #aaa; margin-bottom: 10px; display: block;}
.copyright { font-size: 0.85rem; color: #555; text-align: center; }

/* --- AI / SERVICE PAGES SPECIFIC (Tables, FAQ) --- */
.content-block h2 { font-size: 2rem; border-bottom: 3px solid var(--accent); padding-bottom: 10px; margin: 40px 0 25px 0; display: inline-block; color: var(--text-main); }
.content-block p { font-size: 1.15rem; margin-bottom: 20px; line-height: 1.8; color: #333; }
.content-block ul { margin-left: 20px; margin-bottom: 30px; }
.content-block li { margin-bottom: 12px; font-size: 1.1rem; }

.table-wrapper { overflow-x: auto; margin-bottom: 40px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.geo-table { width: 100%; border-collapse: collapse; background: white; min-width: 600px; } 
.geo-table th { background: #111; color: white; padding: 18px 25px; text-align: left; font-weight: 700; font-size: 1rem; text-transform: uppercase; }
.geo-table td { padding: 18px 25px; border-bottom: 1px solid #eee; font-size: 1rem; color: #333; }
.geo-table tr:last-child td { border-bottom: none; }
.geo-table tr:nth-child(even) { background: #f9f9f9; }

.faq-section { background: white; padding: 40px; border-radius: var(--radius); border: 1px solid #eaeaea; margin-top: 40px; }
.faq-item { margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.faq-item:last-child { border: none; padding-bottom: 0; margin-bottom: 0; }
.faq-item h3 { font-size: 1.25rem; color: var(--accent); margin-bottom: 10px; font-weight: 800; }
.faq-item p { font-size: 1.05rem; color: #444; margin: 0; line-height: 1.7; }


/* =========================================
   MOBILE ADAPTATION (ТЕЛЕФОНЫ И ПЛАНШЕТЫ)
   ========================================= */

.mobile-sticky-bar { display: none; }

@media (max-width: 992px) {
    .nav-menu { display: none; } 
    .header-contact { display: none; }
    .hide-mobile { display: none; }
    
    /* ⚡ ТУТ МЕНЯЕМ ВСЕ КАРТИНКИ НА ЛЕГКИЙ WEBP ДЛЯ ТЕЛЕФОНОВ ⚡ */
    .hero { 
        background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.6)), url('../img/hero-mobile.webp');
        padding: 100px 0; 
    }
    .hero-about { 
        background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/about-mobile.webp');
        padding: 100px 0; 
    }
    .hero-brakes { 
        background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/brakes-mobile.webp');
        padding: 100px 0; 
    }
    .hero-oil { 
        background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/oil-mobile.webp');
        padding: 100px 0; 
    }

    .hero-ac { 
        background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/ac-mobile.webp');
        padding: 100px 0; 
    }
    .hero-diagnostics { 
        background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/diag-mobile.webp');
        padding: 100px 0; 
    }
    .hero-engine { 
        background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/engine-mobile.webp');
        padding: 100px 0; 
    }
    .hero-suspension { 
        background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/suspension-mobile.webp');
        padding: 100px 0; 
    }
    .hero-services-hub { 
        background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/services-mobile.webp');
        padding: 100px 0; 
    }
    .hero-blog { 
        background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/blog-mobile.webp');
        padding: 100px 0; 
    }

    .hamburger { display: flex; }
    
    .hero h1, .hero-about h1 { font-size: 2.8rem; } 
    .hero-sub { font-size: 1.1rem; }
    
    .feature-grid, .location-layout, .footer-content { grid-template-columns: 1fr; display: grid; gap: 40px; }
    .hero-buttons { display: flex; flex-direction: column; gap: 15px; }
    .btn-outline-white { margin-left: 0; }
    
    /* Mobile: Make Schedule Repair button match Get Quote style */
    .hero-buttons .btn-primary {
        background: transparent;
        border: 2px solid rgba(255,255,255,0.8);
        color: white !important;
        box-shadow: none;
        margin-left: 0;
    }
    .hero-buttons .btn-primary:hover {
        background: white;
        color: var(--text-main) !important;
        border-color: white;
    }
    
    .mobile-sticky-bar { 
        display: block; position: fixed; bottom: 0; left: 0; width: 100%; 
        background: white; padding: 15px; box-shadow: 0 -5px 15px rgba(0,0,0,0.1); z-index: 9999; 
    }
    .mobile-call-btn { 
        display: block; background: var(--accent); color: white !important; 
        text-align: center; padding: 14px; border-radius: 50px; font-weight: 800; 
        text-transform: uppercase; font-size: 1.1rem; box-shadow: 0 4px 10px rgba(255, 79, 0, 0.3);
    }
    
    body { padding-bottom: 90px; } 
    .serving-badge { display: none; } 
}

/* Hometown Heroes Page Styles */
.hero-heroes {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 140px 0;
    text-align: center;
    color: white;
}

.heroes-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid #FFD700;
    color: #FFD700;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.branches-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.branch-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.benefit-card {
    background: var(--bg-secondary);
    padding: 35px;
    border-radius: var(--radius);
    text-align: center;
    transition: 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.heroes-quote {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 50px;
    border-radius: var(--radius);
    margin: 50px 0;
    position: relative;
    border-left: 5px solid #FFD700;
}

.heroes-quote p {
    font-size: 1.15rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.heroes-quote .attribution {
    color: #FFD700;
    font-weight: 700;
    font-size: 1rem;
}

.heroes-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.heroes-table th {
    background: #1a1a2e;
    color: white;
    padding: 18px 25px;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
}

.heroes-table td {
    padding: 18px 25px;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    color: #333;
}

.heroes-table tr:last-child td {
    border-bottom: none;
}

.heroes-table tr:nth-child(even) {
    background: #f9f9f9;
}

.heroes-info-box {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border-left: 5px solid #FFD700;
    padding: 25px 30px;
    border-radius: var(--radius);
    margin: 30px 0;
}

.heroes-info-box strong {
    color: #1a1a2e;
    display: block;
    margin-bottom: 10px;
}

.heroes-info-box p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.step-card {
    background: white;
    padding: 35px;
    border-radius: var(--radius);
    text-align: center;
    border: 2px solid var(--bg-secondary);
    transition: 0.3s;
}

.step-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.step-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.heroes-faq {
    margin-top: 30px;
}

.heroes-faq details {
    background: white;
    border: 1px solid #eaeaea;
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
}

.heroes-faq summary {
    padding: 20px 25px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    cursor: pointer;
    list-style: none;
    position: relative;
}

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

.heroes-faq summary::after {
    content: '+';
    position: absolute;
    right: 25px;
    font-size: 1.5rem;
    color: var(--accent);
    transition: 0.3s;
}

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

.faq-answer {
    padding: 0 25px 20px;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.cta-heroes {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 60px 40px;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 60px;
}

.cta-heroes h2 {
    color: white;
    margin-bottom: 15px;
    font-size: 2rem;
}

.btn-gold {
    background: #FFD700;
    color: #1a1a2e !important;
    font-weight: 800;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-gold:hover {
    background: #e6c200;
    transform: translateY(-2px);
    color: #1a1a2e !important;
}

.btn-ghost-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white !important;
}

.btn-ghost-light:hover {
    background: white;
    color: #1a1a2e !important;
    border-color: white;
}

.gold {
    color: #FFD700;
}

/* Mobile Styles for Heroes */
@media (max-width: 992px) {
    .hero-heroes {
        background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/hero-bg.jpg');
        padding: 100px 0;
    }
    
    .branches-bar {
        gap: 8px;
    }
    
    .branch-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .heroes-quote {
        padding: 30px;
    }
    
    .cta-heroes {
        padding: 40px 25px;
    }

    /* About page responsive */
    .story-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item--large {
        grid-column: span 2;
    }
}

/* =========================================
   ABOUT PAGE — Family Story & Gallery
   ========================================= */

/* Hero badge */
.family-badge {
    display: inline-block;
    background: rgba(255, 79, 0, 0.15);
    border: 1px solid rgba(255, 79, 0, 0.45);
    color: #FF4F00;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 18px;
}

/* Section eyebrow labels */
.section-eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

/* Our Story two-column layout */
.story-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.story-text h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    line-height: 1.15;
}

.story-text p {
    color: #555;
    line-height: 1.75;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

/* Stat row under story text */
.story-stats {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 2px solid #eee;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-num {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* Right-side callout card */
.callout-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 40px;
    border-left: 5px solid var(--accent);
}

.callout-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.callout-card h3 {
    font-size: 1.35rem;
    margin-bottom: 24px;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.why-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.93rem;
    line-height: 1.6;
    color: #444;
}

.why-list .check {
    flex-shrink: 0;
    margin-top: 1px;
}

/* Photo gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 14px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    background: #e0e0e0;
}

.gallery-item--large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-item--large {
        grid-column: span 1;
    }

    .callout-card {
        padding: 28px 24px;
    }
}

/* Visual consistency for new heading levels - maintains original appearance */

/* Feature cards: H2 should look like old H3 (1.3rem) */
.feature-card h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Service items: H3 should look like old H4 (1.3rem) */
.service-item h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

/* Blog cards: H2 should look like old H4 (1.4rem) */
.blog-card h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

/* Blog index hero: H2 should look like old H3 size */
.blog-hero h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

/* ── Area-Landing Pages (auto-repair-ladson-sc, mechanic-summerville-sc, etc.) ── */

/* Hero: dark charcoal with subtle diagonal stripe */
.hero-area {
    background: var(--charcoal, #1c1c1e);
    color: var(--white, #fff);
    padding: 72px 24px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg, transparent, transparent 22px,
        rgba(255,255,255,0.025) 22px, rgba(255,255,255,0.025) 23px
    );
}
.hero-area .hero-content {
    position: relative;
    z-index: 1;
}
.hero-area .hero-eyebrow {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent, #FF4F00);
    margin-bottom: 18px;
}
.hero-area h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(36px, 7vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    max-width: 800px;
    margin: 0 auto 24px;
}
.hero-area h1 em {
    color: var(--accent, #FF4F00);
    font-style: normal;
}
.hero-area .hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.72);
    max-width: 560px;
    margin: 0 auto 36px;
    font-family: 'Lora', serif;
    font-style: italic;
}
.hero-area .hero-cta {
    display: inline-flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-area .btn-primary {
    background: var(--accent, #FF4F00);
    color: var(--white, #fff);
}
.hero-area .btn-outline-white {
    border: 1.5px solid rgba(255,255,255,0.45);
    color: var(--white, #fff);
    background: transparent;
}
.hero-area .btn-outline-white:hover {
    background: rgba(255,255,255,0.12);
}

/* Trust bar */
.trust-bar {
    background: var(--bg-secondary, #f4f4f6);
    border-bottom: 1px solid var(--line, #ddd);
    padding: 18px 24px;
}
.trust-bar ul {
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    justify-content: center;
}
.trust-bar li {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted, #555);
    display: flex;
    align-items: center;
    gap: 8px;
}
.trust-bar li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent, #FF4F00);
    flex-shrink: 0;
}

/* Pull quote */
.pullquote {
    border-left: 4px solid var(--accent, #FF4F00);
    padding: 12px 24px;
    margin: 36px 0;
    background: #fff5f0;
    border-radius: 0 6px 6px 0;
}
.pullquote p {
    font-size: 20px;
    color: var(--accent, #FF4F00);
    font-style: italic;
    margin: 0;
    font-family: 'Lora', serif;
}

/* Services grid (3-col cards with emoji icons) */
.area-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin: 28px 0 36px;
}
.area-service-card {
    border: 1.5px solid var(--line, #ddd);
    border-radius: 8px;
    padding: 20px 18px;
    background: var(--white, #fff);
    transition: box-shadow .15s;
}
.area-service-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.area-service-card-icon {
    font-size: 22px;
    margin-bottom: 10px;
}
.area-service-card h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    margin: 0 0 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.area-service-card p {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: var(--text-muted, #555);
    line-height: 1.5;
    margin: 0;
}

/* Comparison table */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0 36px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
}
.compare-table th {
    background: var(--charcoal, #1c1c1e);
    color: var(--white, #fff);
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.compare-table th:first-child { border-radius: 6px 0 0 0; }
.compare-table th:last-child { border-radius: 0 6px 0 0; }
.compare-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line, #ddd);
    color: var(--ink, #2d2d2d);
    vertical-align: top;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--bg-secondary, #f4f4f6); }
.tag-yes {
    display: inline-block;
    background: #d5f5e3;
    color: #1e8449;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}
.tag-no {
    display: inline-block;
    background: #fadbd8;
    color: #c0392b;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

/* Vehicle checklist */
.checklist {
    list-style: none;
    margin: 16px 0 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
}
.checklist li {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    color: var(--ink, #2d2d2d);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--bg-secondary, #f4f4f6);
    border-radius: 6px;
    padding: 10px 14px;
}
.checklist li::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent, #FF4F00);
    flex-shrink: 0;
    margin-top: 1px;
}

/* Info box (dark) */
.info-box {
    background: var(--charcoal, #1c1c1e);
    color: var(--white, #fff);
    border-radius: 8px;
    padding: 32px 36px;
    margin: 40px 0;
}
.info-box h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white, #fff);
    margin: 0 0 18px;
}
.info-table {
    width: 100%;
    border-collapse: collapse;
}
.info-table td {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    vertical-align: top;
}
.info-table td:first-child {
    color: rgba(255,255,255,0.55);
    width: 38%;
    font-weight: 500;
}
.info-table td:last-child {
    color: var(--white, #fff);
}
.info-table tr:last-child td { border-bottom: none; }
.info-box a {
    color: var(--white, #fff);
    text-decoration: underline;
}

/* Areas grid (pills) */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin: 20px 0 36px;
}
.area-pill {
    background: var(--bg-secondary, #f4f4f6);
    border: 1px solid var(--line, #ddd);
    border-radius: 6px;
    padding: 12px 16px;
    text-align: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--charcoal, #1c1c1e);
    text-decoration: none;
    display: block;
    transition: background .15s, border-color .15s;
}
.area-pill:hover {
    background: #fff5f0;
    color: var(--accent, #FF4F00);
    border-color: var(--accent, #FF4F00);
}
.area-pill span {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-muted, #555);
    margin-top: 3px;
}

/* CTA banner */
.cta-area {
    background: var(--accent, #FF4F00);
    color: var(--white, #fff);
    text-align: center;
    padding: 56px 24px;
}
.cta-area h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--white, #fff);
    margin: 0 0 12px;
}
.cta-area p {
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}
.cta-area .btn-white {
    background: var(--white, #fff);
    color: var(--accent, #FF4F00);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 34px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin: 4px 8px;
    transition: opacity .15s;
}
.cta-area .btn-white:hover { opacity: .9; }
.cta-area .btn-ghost {
    border: 2px solid rgba(255,255,255,0.6);
    color: var(--white, #fff);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 13px 34px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin: 4px 8px;
    transition: background .15s;
}
.cta-area .btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* FAQ area page */
.faq-area .faq-item {
    border-bottom: 1px solid var(--line, #ddd);
    padding: 20px 0;
}
.faq-area .faq-item:last-child { border-bottom: none; }
.faq-area .faq-q {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--charcoal, #1c1c1e);
    margin-bottom: 10px;
}
.faq-area .faq-a {
    font-family: 'Lora', serif;
    font-size: 16px;
    color: var(--text-muted, #555);
    line-height: 1.75;
    margin: 0;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .area-services-grid { grid-template-columns: 1fr 1fr; }
    .info-box { padding: 24px 20px; }
    .compare-table { font-size: 13px; }
    .compare-table td, .compare-table th { padding: 10px 10px; }
    .hero-area { padding: 48px 16px 40px; }
}

