/* ======================================================
ROOT VARIABLES
====================================================== */

:root{

--primary:#673de6;
--primary-dark:#5025d1;
--primary-light:#ebe4ff;

--accent:#d6a75c;
--accent-dark:#c0954f;

--dark:#1d1e20;
--gray:#727586;
--light:#ffffff;
--gray-light:#f2f3f6;

--border:#e4e6eb;

--max-width:1200px;

}


/* ======================================================
RESET
====================================================== */

*{
box-sizing:border-box;
margin:0;
padding:0;
}

body{
font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
color:var(--dark);
background:#fff;
line-height:1.6;
}


/* ======================================================
GLOBAL LAYOUT SYSTEM
====================================================== */

.container{
max-width:var(--max-width);
margin:auto;
padding:0 20px;
}

.band{
padding:80px 0;
}

/* Locations page hero (scoped) */
.band-hero.locations-hero{
    position:relative;
    background: url('/assets/images/toolboard.jpg') center/cover no-repeat;
    color:#fff;
}
.band-hero.locations-hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
    z-index:1;
}
.band-hero.locations-hero .container{
    position:relative;
    z-index:2;
}

.band-alt{
background:var(--gray-light);
}


/* ======================================================
GRID SYSTEM
====================================================== */

.grid{
display:grid;
gap:30px;
}

.grid-2{
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}

.grid-3{
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}

.grid-4{
grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
}


/* ======================================================
CARD SYSTEM
====================================================== */

.card{
display:block;
text-decoration:none;
background:#fff;
border-radius:10px;
padding:20px;
box-shadow:0 6px 18px rgba(0,0,0,.08);
transition:.25s;
color:var(--dark);
}

.card:hover{
transform:translateY(-5px);
box-shadow:0 12px 30px rgba(0,0,0,.12);
}

.card h3{
margin-bottom:10px;
}

.card p{
color:var(--gray);
font-size:14px;
}

.card-link{
display:inline-block;
margin-top:10px;
font-weight:600;
color:var(--primary);
}


/* ======================================================
HEADER
====================================================== */

.site-header{
position:sticky;
top:0;
z-index:1000;
background:#fff;
border-bottom:1px solid var(--border);
/* needed so mobile nav dropdown positions relative to header */
overflow:visible;
}

.header-container{
display:flex;
align-items:center;
justify-content:space-between;
max-width:var(--max-width);
margin:auto;
padding:15px 20px;
}

.logo img{
height:60px;
}

.main-nav{
display:flex;
gap:20px;
}

.main-nav a{
text-decoration:none;
color:var(--dark);
font-weight:500;
}

.main-nav a:hover{
color:var(--primary);
}

/* hamburger button — hidden on desktop */
.menu-toggle{
display:none;
flex-direction:column;
justify-content:center;
gap:5px;
width:40px;
height:40px;
padding:8px;
background:none;
border:none;
cursor:pointer;
border-radius:6px;
}

.menu-toggle span{
display:block;
width:100%;
height:2px;
background:var(--dark);
border-radius:2px;
transition:transform 0.2s, opacity 0.2s;
}

.header-phone a{
background:var(--primary);
color:#fff;
padding:10px 18px;
border-radius:6px;
text-decoration:none;
font-weight:600;
}

.header-phone a:hover{
background:var(--primary-dark);
}


/* ======================================================
HERO (CLEAN + FIXED)
====================================================== */

.hero-section{
    position: relative;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 140px 20px;

    color: #fff;
}

/* overlay */
.hero-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

/* content wrapper */
.hero-content{
    position: relative;
    z-index: 2;

    max-width: 800px;
    margin: 0 auto;

    text-align: center;
}

/* heading */
.hero-content h1{
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 15px;
}

/* sub */
.hero-sub{
    font-size: 20px;
    margin-bottom: 10px;
    color: #e0e0e0;
}

/* intro */
.hero-intro{
    font-size: 18px;
    margin-bottom: 25px;
    color: #ccc;
}

/* CTA */
.hero-cta{
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

/* buttons */
.btn-primary{
    background: #d6a75c;
    color: #000;
    padding: 14px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary:hover{
    opacity: 0.9;
}

/* trust list */
.hero-trust{
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;

    font-size: 14px;
    color: #ccc;
}


/* ======================================================
SECTIONS
====================================================== */

h2{
font-size:32px;
margin-bottom:20px;
text-align:center;
}

p{
margin-bottom:10px;
}


/* ======================================================
CTA
====================================================== */

.call-to-action{
text-align:center;
padding:60px 20px;
}

.call-to-action strong{
color:var(--primary);
}


/* ======================================================
FOOTER
====================================================== */

.site-footer{
background:var(--gray-light);
margin-top:80px;
}

.footer-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:30px;
max-width:var(--max-width);
margin:auto;
padding:40px 20px;
}

.footer-container a{
text-decoration:none;
color:var(--dark);
}

.footer-container a:hover{
color:var(--primary);
}

.footer-mechanic-bar{
    background:var(--primary);
    color:#fff;
    text-align:center;
    padding:14px 20px;
    font-size:15px;
}

.footer-mechanic-bar a{
    color:#fff;
    font-weight:700;
    text-decoration:underline;
}

.footer-bottom{
text-align:center;
border-top:1px solid var(--border);
padding:20px;
}

/* ======================================================
FOOTER CTA BUTTON
====================================================== */
.footer-request{
    display:inline-block;
    background:linear-gradient(90deg,var(--accent),var(--accent-dark));
    color:#000;
    padding:10px 18px;
    border-radius:8px;
    text-decoration:none;
    font-weight:700;
    box-shadow:0 6px 20px rgba(214,167,92,0.18);
    transition:transform .12s ease,box-shadow .12s ease,opacity .12s ease;
}
.footer-request:hover,
.footer-request:focus{
    transform:translateY(-3px);
    box-shadow:0 12px 30px rgba(192,149,79,0.18);
    opacity:0.98;
}
.footer-request:active{
    transform:translateY(-1px);
}


/* ======================================================
MOBILE
====================================================== */

@media(max-width:768px){

    .hero-container{
        grid-template-columns:1fr;
        text-align:center;
    }

    .hero h1{
        font-size:32px;
    }

    /* show hamburger, hide nav by default */
    .menu-toggle{
        display:flex;
    }

    .header-cta{
        display:none;
    }

    .main-nav{
        display:none;
        position:absolute;
        top:100%;
        left:0;
        right:0;
        background:#fff;
        border-bottom:1px solid var(--border);
        flex-direction:column;
        gap:0;
        padding:8px 0;
        box-shadow:0 4px 12px rgba(0,0,0,0.08);
        z-index:999;
    }

    .main-nav.nav-open{
        display:flex;
    }

    .main-nav a{
        padding:14px 24px;
        border-bottom:1px solid var(--border);
    }

    .main-nav a:last-child{
        border-bottom:none;
    }

    /* hero font + padding reductions */
    .home-hero h1{
        font-size:32px;
    }

    .hero-section{
        padding:80px 20px;
    }

    .hero-section h1{
        font-size:30px;
    }

}


/* ======================================================
MOBILE CALL BAR
====================================================== */

.mobile-call-bar{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    display:none;
    z-index:999;
    background:#fff;
    border-top:1px solid var(--border);
}

.mobile-call-bar a{
    flex:1;
    text-align:center;
    padding:16px;
    text-decoration:none;
    font-weight:600;
}

.mobile-call-btn{
    background:var(--primary);
    color:#fff;
}

.mobile-request-btn{
    background:var(--dark);
    color:#fff;
}

@media(max-width:768px){

    .mobile-call-bar{
        display:flex;
    }

    body{
        padding-bottom:70px;
    }

}


/* ======================================================
DEBUG PAGE
====================================================== */

.debug-page{
    background:#111;
}

.debug-block{
    border-top:2px solid #444;
    padding:40px 0;
}

.debug-block h2{
    margin-bottom:20px;
    color:#d6a75c;
    font-size:22px;
}

.debug-block pre{
    background:#000;
    padding:15px;
    color:#0f0;
    overflow-x:auto;
}


/* ================= HERO ================= */

.home-hero{
    position:relative;
    background:url('/assets/images/mainhero.jpg') center/cover no-repeat;
    padding:160px 20px 120px;
    color:#fff;
    text-align:center;
}

/* Services page specific hero */
.services-hero{
    background:url('/assets/images/mechanic.jpg') center/cover no-repeat;
}

.home-hero::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.55);
}

.home-hero-inner{
    position:relative;
    z-index:2;
    max-width:900px;
    margin:auto;
}

.home-hero h1{
    font-size:56px;
    margin-bottom:20px;
}

.home-hero p{
    color:#ddd;
}


/* hero nav */

.hero-nav{
    margin-top:40px;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
}

.hero-pill{
    border:1px solid rgba(255,255,255,0.6);
    padding:10px 18px;
    border-radius:999px;
    color:#fff;
    text-decoration:none;
    font-size:14px;
}

.hero-pill:hover{
    background:#d6a75c;
    color:#000;
}


/* ================= SERVICES ================= */

.service-card{
    display:block;
    text-decoration:none;
    color:var(--dark);
    background:#fff;
    border-radius:12px;
    padding:20px;
    border:1px solid #eee;
    transition:.2s;
}

/* Popular services — accented cards with stronger CTAs */
#popular .service-card{
    background:linear-gradient(180deg,#fff,#fbfbfb);
    border-left:4px solid var(--accent);
    padding:22px;
    transition:transform .18s ease,box-shadow .18s ease;
}
#popular .service-card h3{
    margin-bottom:8px;
    color:var(--dark);
}
#popular .service-card p{
    color:var(--gray);
    font-size:14px;
}
#popular .service-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,0.08);
}
#popular .service-card .card-link{
    color:var(--accent);
    font-weight:700;
}

.service-card:hover{
    transform:translateY(-4px);
    box-shadow:0 8px 20px rgba(0,0,0,0.1);
}


/* ================= PROCESS ================= */

.process-section{
    background:#f7f4ee;
}

.process-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.process-card{
    background:#fff;
    padding:25px;
    border-radius:12px;
    text-align:center;
}

.process-card span{
    font-size:28px;
    font-weight:bold;
    color:#d6a75c;
}


/* ================= STATES ================= */

.state-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(80px,1fr));
    gap:10px;
    max-width:600px;
    margin:auto;
}

/* States grid: tiles that reveal cities on hover/click */
.states-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-top:20px;
}
.state-tile{
    background:#fff;
    padding:18px;
    border-radius:12px;
    border:1px solid #eee;
    box-shadow:0 6px 18px rgba(0,0,0,0.04);
    position:relative;
}
.state-name{
    display:block;
    width:100%;
    text-align:left;
    background:none;
    border:none;
    padding:0;
    margin:0;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
    color:var(--dark);
}
.city-list{
    list-style:none;
    margin:10px 0 0 0;
    padding:0;
    max-height:0;
    overflow:hidden;
    opacity:0;
    transition:max-height .28s ease,opacity .18s ease;
}
.city-item{
    padding:6px 0;
}
.city-list a{
    text-decoration:none;
    color:var(--gray);
}
.city-list a:hover{color:var(--primary);}

/* reveal on hover or when tile has .open */
.state-tile:hover .city-list,
.state-tile.open .city-list,
.state-tile .state-name[aria-expanded="true"] + .city-list{
    max-height:500px;
    opacity:1;
}

.state-pill{
    background:#f7f4ee;
    padding:8px;
    border-radius:6px;
    text-align:center;
}


/* ================= MAKES ================= */

.make-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(100px,1fr));
    gap:20px;
}

.make-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:var(--dark);
    text-align:center;
    padding:15px;
    background:#fff;
    border-radius:10px;
    border:1px solid #eee;
    transition:.2s ease;
}

.make-card img{
    max-width:60px;
    height:auto;
    margin-bottom:10px;
}

.make-card span{
    font-size:14px;
    font-weight:500;
}

.make-card:hover{
    transform:translateY(-3px);
    border-color:var(--accent);
    box-shadow:0 6px 15px rgba(0,0,0,0.1);
}

/* Makes page hero */
.makes-hero{
    background-image:url('/assets/images/mechanic.jpg');
}

.mechanic-join-hero{
    background-image:url('/assets/images/brand.jpg');
}

/* For Mechanics nav link */
.nav-mechanic-link{
    color:var(--primary) !important;
    font-weight:700;
}

/* Audience split section */
.audience-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:32px;
}

.audience-card{
    padding:48px 40px;
    border-radius:12px;
    display:flex;
    flex-direction:column;
    gap:16px;
}

.audience-consumer{
    background:var(--gray-light);
    border:2px solid var(--border);
}

.audience-mechanic{
    background:var(--primary);
    color:#fff;
}

.audience-mechanic h2,
.audience-mechanic p{
    color:#fff;
}

.audience-card h2{
    font-size:26px;
    margin:0;
}

.audience-card p{
    font-size:16px;
    line-height:1.7;
    margin:0;
    flex:1;
}

.btn-secondary{
    display:inline-block;
    padding:14px 28px;
    border-radius:8px;
    font-weight:700;
    font-size:15px;
    text-decoration:none;
    background:#fff;
    color:var(--primary);
    align-self:flex-start;
    transition:opacity .15s;
}

.btn-secondary:hover{
    opacity:0.9;
}

@media(max-width:768px){
    .audience-grid{
        grid-template-columns:1fr;
    }
}


/* ================= TRUST ================= */

.trust-section{
    background:linear-gradient(135deg,#1f2937,#3b4a5a);
    color:#fff;
}

.trust-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.trust-card{
    background:linear-gradient(135deg,#374151,#6b7280);
    padding:20px;
    border-radius:12px;
}


/* ================= CTA ================= */

.cta-modern{
    padding:80px 20px;
    background:#f7f4ee;
}

.cta-box{
    max-width:800px;
    margin:auto;
    padding:50px;
    text-align:center;
    border-radius:16px;
    background:linear-gradient(135deg,#2c2c2c,#4a4a4a);
    color:#fff;
}

.cta-btn{
    display:inline-block;
    padding:14px 28px;
    border-radius:999px;
    background:#d6a75c;
    color:#000;
    text-decoration:none;
}

.cta-btn:hover{
    background:#c0954f;
}


/* ======================================================
SECTION BASE
====================================================== */

.section{
    padding:80px 0;
}

.section.alt{
    background:var(--gray-light);
}

.section-intro{
    font-size:17px;
    color:var(--gray);
    text-align:center;
    max-width:700px;
    margin:0 auto 40px;
    line-height:1.7;
}

.section-image{
    margin:30px 0;
    text-align:center;
}

.section-image img{
    width:100%;
    max-height:400px;
    object-fit:cover;
    border-radius:12px;
}


/* ======================================================
HERO (internal classes)
====================================================== */

.hero-title{
    font-size:48px;
    line-height:1.2;
    margin-bottom:16px;
}

.hero-description{
    font-size:18px;
    color:rgba(255,255,255,0.85);
    max-width:680px;
    margin:0 auto 28px;
    line-height:1.7;
}

.hero-pills{
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
    margin-top:22px;
}

.hero-pills span{
    background:rgba(255,255,255,0.12);
    border:1px solid rgba(255,255,255,0.3);
    color:#fff;
    padding:6px 16px;
    border-radius:999px;
    font-size:13px;
}


/* ======================================================
CONTENT BLOCK
====================================================== */

.content-section{
    padding:80px 0;
}

.content-image{
    margin:30px 0;
}

.content-image img{
    width:100%;
    max-height:420px;
    object-fit:cover;
    border-radius:12px;
}

.content-block{
    max-width:820px;
    margin:0 auto;
}

.content-block h3{
    font-size:20px;
    margin:32px 0 12px;
    color:var(--dark);
}

/* Two-column content layout */
.content-columns{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:48px;
    margin-top:32px;
}

.content-col h3{
    font-size:20px;
    color:var(--dark);
    margin:0 0 14px;
}

.content-col p{
    font-size:16px;
    color:var(--gray);
    line-height:1.75;
    margin:0 0 16px;
}

@media(max-width:768px){
    .content-columns{
        grid-template-columns:1fr;
        gap:32px;
    }
}

.content-list{
    list-style:none;
    padding:0;
    margin:0 0 24px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:10px;
}

.content-list li{
    padding:10px 14px 10px 38px;
    background:var(--gray-light);
    border-radius:8px;
    position:relative;
    font-size:15px;
}

.content-list li::before{
    content:"✓";
    position:absolute;
    left:12px;
    color:var(--primary);
    font-weight:700;
}

.steps{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
    gap:16px;
    margin:20px 0;
}

.step{
    background:#fff;
    border:1px solid var(--border);
    border-radius:10px;
    padding:18px;
}

.step strong{
    display:block;
    margin-bottom:6px;
    color:var(--primary);
    font-size:14px;
}

.step p{
    font-size:14px;
    color:var(--gray);
    margin:0;
}

.content-cta{
    margin-top:32px;
    text-align:center;
}


/* ======================================================
SYMPTOMS
====================================================== */

.symptoms-section{
    padding:80px 0;
    background:var(--gray-light);
}

.symptoms-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:14px;
    margin:30px 0;
}

.symptom-item{
    background:#fff;
    border-radius:10px;
    padding:16px 16px 16px 48px;
    position:relative;
    box-shadow:0 2px 8px rgba(0,0,0,0.05);
    font-size:15px;
    font-weight:500;
}

.symptom-icon{
    position:absolute;
    left:14px;
    top:50%;
    transform:translateY(-50%);
    font-size:18px;
}

.symptom-item p{
    margin:0;
}

.symptoms-context{
    max-width:760px;
    margin:0 auto;
}

.symptoms-context h3{
    font-size:20px;
    margin:28px 0 10px;
}

.symptoms-cta{
    text-align:center;
    margin-top:36px;
}


/* ======================================================
CAUSES
====================================================== */

.causes-section{
    padding:80px 0;
}

.causes-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:20px;
    margin:30px 0;
}

.cause-item{
    background:#fff;
    border-radius:12px;
    padding:22px;
    border:1px solid var(--border);
    border-top:3px solid var(--primary-light);
}

.cause-item h3{
    font-size:16px;
    margin-bottom:8px;
    color:var(--dark);
}

.cause-item p{
    font-size:14px;
    color:var(--gray);
    margin:0;
}

.causes-note{
    background:var(--primary-light);
    border-left:4px solid var(--primary);
    border-radius:8px;
    padding:20px 24px;
    margin-top:30px;
    max-width:820px;
    margin-left:auto;
    margin-right:auto;
}

.causes-note p{
    margin:0;
    font-size:15px;
}


/* ======================================================
DIAGNOSTIC
====================================================== */

.diagnostic-section{
    padding:80px 0;
    background:var(--gray-light);
}

.diagnostic-steps{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:20px;
    margin:30px 0;
    counter-reset:diag-counter;
}

.diagnostic-step{
    background:#fff;
    border-radius:12px;
    padding:22px 22px 22px 62px;
    position:relative;
    border:1px solid var(--border);
    counter-increment:diag-counter;
}

.diagnostic-step::before{
    content:counter(diag-counter);
    position:absolute;
    left:18px;
    top:22px;
    width:28px;
    height:28px;
    background:var(--primary);
    color:#fff;
    border-radius:50%;
    font-weight:700;
    font-size:13px;
    line-height:28px;
    text-align:center;
}

.diagnostic-step h3{
    font-size:16px;
    margin-bottom:8px;
}

.diagnostic-step p{
    font-size:14px;
    color:var(--gray);
    margin:0;
}

.diagnostic-note{
    background:#fff;
    border-radius:8px;
    padding:20px 24px;
    border-left:4px solid var(--primary);
    max-width:820px;
    margin:0 auto;
}

.diagnostic-note p{
    margin:0;
    font-size:15px;
}


/* ======================================================
FAQ
====================================================== */

.faq-section{
    padding:80px 0;
}

.faq-list{
    max-width:820px;
    margin:0 auto 36px;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.faq-item{
    background:#fff;
    border:1px solid var(--border);
    border-radius:10px;
    padding:22px 24px;
}

.faq-question{
    font-size:16px;
    font-weight:700;
    margin-bottom:10px;
    color:var(--dark);
}

.faq-answer{
    font-size:15px;
    color:var(--gray);
    margin:0;
    line-height:1.7;
}

.faq-cta{
    text-align:center;
}


/* ======================================================
BRAND
====================================================== */

.brand-section{
    padding:80px 0;
    background:var(--gray-light);
}

.brand-grid{
    display:grid;
    grid-template-columns:1fr 1.4fr;
    gap:50px;
    align-items:start;
}

.brand-image img{
    width:100%;
    border-radius:12px;
    object-fit:cover;
}

.brand-intro{
    font-size:16px;
    color:var(--gray);
    margin-bottom:28px;
    line-height:1.7;
}

.brand-points{
    display:flex;
    flex-direction:column;
    gap:18px;
    margin-bottom:28px;
}

.brand-point{
    display:grid;
    grid-template-columns:24px 1fr;
    grid-template-rows:auto auto;
    column-gap:14px;
    align-items:start;
}

.brand-point::before{
    content:"✓";
    grid-column:1;
    grid-row:1 / 3;
    width:24px;
    height:24px;
    background:var(--primary);
    color:#fff;
    border-radius:50%;
    font-weight:700;
    font-size:13px;
    line-height:24px;
    text-align:center;
    margin-top:2px;
}

.brand-point h3{
    grid-column:2;
    grid-row:1;
    font-size:16px;
    margin-bottom:4px;
    text-align:left;
}

.brand-point p{
    grid-column:2;
    grid-row:2;
    font-size:14px;
    color:var(--gray);
    margin:0;
}

@media(max-width:768px){
    .brand-grid{ grid-template-columns:1fr; }
    .brand-image{ display:none; }
}


/* ======================================================
TESTIMONIALS
====================================================== */

.testimonials-section{
    padding:80px 0;
}

.testimonials{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:20px;
    margin-top:30px;
}

.testimonials > div{
    background:#fff;
    border-radius:12px;
    padding:28px 24px 24px;
    border:1px solid var(--border);
    border-left:4px solid var(--accent);
    font-size:15px;
    color:var(--dark);
    line-height:1.7;
    position:relative;
}

.testimonials > div::before{
    content:"\201C";
    font-size:52px;
    line-height:1;
    color:var(--accent);
    position:absolute;
    top:8px;
    left:16px;
    font-family:Georgia,serif;
    opacity:0.4;
}


/* ======================================================
TRUST SECTION (overrides plain ul)
====================================================== */

.trust-section{
    padding:80px 0;
}

.trust-section ul{
    list-style:none;
    padding:0;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:14px;
    margin-top:20px;
}

.trust-section li{
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.15);
    border-radius:8px;
    padding:14px 16px 14px 44px;
    position:relative;
    font-size:15px;
    color:#fff;
}

.trust-section li::before{
    content:"✓";
    position:absolute;
    left:14px;
    color:var(--accent);
    font-weight:700;
}


/* ======================================================
REPAIR PROCESS
====================================================== */

.repair-process-section{
    padding:80px 0;
    background:var(--gray-light);
}

.repair-process-section .steps{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:0;
    counter-reset:step-counter;
}

.repair-process-section .steps > div{
    background:#fff;
    padding:24px 20px;
    text-align:center;
    border:1px solid var(--border);
    counter-increment:step-counter;
}

.repair-process-section .steps > div::before{
    content:counter(step-counter);
    display:block;
    width:36px;
    height:36px;
    background:var(--primary);
    color:#fff;
    border-radius:50%;
    font-weight:700;
    font-size:15px;
    line-height:36px;
    margin:0 auto 12px;
}

.repair-process-section .steps > div strong{
    display:block;
    font-size:14px;
    margin-bottom:6px;
}

.repair-process-section .steps > div p{
    font-size:13px;
    color:var(--gray);
    margin:0;
}


/* ======================================================
PRICING
====================================================== */

.pricing-section{
    padding:80px 0;
}

.pricing-section ul{
    list-style:none;
    padding:0;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:12px;
    margin-top:20px;
}

.pricing-section li{
    background:var(--gray-light);
    border-radius:8px;
    padding:14px 16px 14px 42px;
    position:relative;
    font-size:15px;
}

.pricing-section li::before{
    content:"✓";
    position:absolute;
    left:14px;
    color:var(--primary);
    font-weight:700;
}


/* ======================================================
LOCATION / MAKE SPECIFIC
====================================================== */

.location-specific-section,
.make-specific-section{
    padding:60px 0;
    background:var(--primary-light);
}

.location-specific-section h2,
.make-specific-section h2{
    color:var(--primary-dark);
}

.location-specific-section ul,
.make-specific-section ul{
    list-style:none;
    padding:0;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:12px;
    margin-top:20px;
}

.location-specific-section li,
.make-specific-section li{
    background:#fff;
    border-radius:8px;
    padding:12px 16px 12px 42px;
    position:relative;
    font-size:15px;
    box-shadow:0 2px 6px rgba(0,0,0,0.04);
}

.location-specific-section li::before,
.make-specific-section li::before{
    content:"✓";
    position:absolute;
    left:14px;
    color:var(--primary);
    font-weight:700;
}


/* ======================================================
CITY PROBLEMS
====================================================== */

.city-problems-section{
    padding:80px 0;
}

.city-problems-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:20px;
    margin-top:30px;
}

.problem-item{
    background:#fff;
    border-radius:12px;
    padding:22px;
    border:1px solid var(--border);
    border-top:3px solid var(--accent);
}

.problem-item h3{
    font-size:16px;
    margin-bottom:8px;
}

.problem-item p{
    font-size:14px;
    color:var(--gray);
    margin:0;
}


/* ======================================================
DRIVING CONDITIONS
====================================================== */

.driving-conditions-section{
    padding:80px 0;
    background:var(--gray-light);
}

.conditions-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin:30px 0;
}

.condition-item{
    background:#fff;
    border-radius:10px;
    padding:20px;
    border:1px solid var(--border);
}

.condition-item h3{
    font-size:15px;
    margin-bottom:8px;
}

.condition-item p{
    font-size:14px;
    color:var(--gray);
    margin:0;
}

.conditions-note{
    background:#fff;
    border-left:4px solid var(--accent);
    border-radius:8px;
    padding:20px 24px;
    max-width:820px;
    margin:0 auto;
}

.conditions-note p{
    margin:0;
    font-size:15px;
}


/* ======================================================
WHY CITY
====================================================== */

.why-city-section{
    padding:60px 0;
    background:var(--dark);
    color:#fff;
    text-align:center;
}

.why-city-section h2{
    color:#fff;
}

.why-city-section p{
    max-width:680px;
    margin:0 auto;
    color:rgba(255,255,255,0.8);
    font-size:16px;
    line-height:1.7;
}


/* ======================================================
SERVICE AREA
====================================================== */

.service-area-section{
    padding:60px 0;
    text-align:center;
}

.service-area-section p{
    max-width:600px;
    margin:0 auto;
    color:var(--gray);
    font-size:16px;
}


/* ======================================================
CTA SECTION (cta.php — image + content layout)
====================================================== */

.cta-section{
    padding:80px 0;
    background:var(--gray-light);
}

.cta-section .cta-box{
    display:grid;
    grid-template-columns:1fr 1.4fr;
    gap:0;
    max-width:1000px;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 8px 30px rgba(0,0,0,0.08);
    padding:0;
    text-align:left;
    color:var(--dark);
}

.cta-image{
    min-height:300px;
}

.cta-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.cta-content{
    padding:36px;
}

.cta-section .cta-box h2{
    text-align:left;
    font-size:26px;
    margin-bottom:12px;
    color:var(--dark);
}

.cta-intro{
    font-size:15px;
    color:var(--gray);
    margin-bottom:20px;
    line-height:1.7;
}

.cta-points{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-bottom:24px;
}

.cta-point{
    font-size:14px;
    font-weight:500;
    padding-left:22px;
    position:relative;
}

.cta-point::before{
    content:"✓";
    position:absolute;
    left:0;
    color:var(--primary);
    font-weight:700;
}

.cta-buttons{
    margin-bottom:14px;
}

.cta-note{
    font-size:13px;
    color:var(--gray);
    margin:0;
}

@media(max-width:768px){
    .cta-section .cta-box{ grid-template-columns:1fr; }
    .cta-image{ min-height:200px; }
    .cta-content{ padding:24px; }
    .cta-section .cta-box h2{ text-align:center; }
}


/* ======================================================
LINKS GRID — nearby cities, related services, internal links
====================================================== */

.internal-links-section,
.related-services-section,
.nearby-cities-section,
.other-services-city-section{
    padding:60px 0;
}

.internal-links-section,
.other-services-city-section{
    background:var(--gray-light);
}

.links-grid{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:24px;
}

.links-grid a,
.internal-link{
    display:inline-flex;
    align-items:center;
    gap:6px;
    text-decoration:none;
    color:var(--dark);
    background:#fff;
    border:1px solid var(--border);
    border-radius:999px;
    padding:8px 18px;
    font-size:14px;
    font-weight:500;
    transition:.18s;
    white-space:nowrap;
}

.links-grid a::after,
.internal-link::after{
    content:"→";
    color:var(--primary);
    font-size:13px;
}

.links-grid a:hover,
.internal-link:hover{
    background:var(--primary);
    color:#fff;
    border-color:var(--primary);
}

.links-grid a:hover::after,
.internal-link:hover::after{
    color:#fff;
}

/* ======================================================
   BLOG
====================================================== */

.blog-hero{
    background-image: url('/assets/images/mainhero.jpg');
}

.blog-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
    margin-top:32px;
}

@media(max-width:900px){
    .blog-grid{ grid-template-columns:repeat(2,1fr); }
}

@media(max-width:580px){
    .blog-grid{ grid-template-columns:1fr; }
}

.blog-card{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    text-decoration:none;
    color:var(--dark);
    background:#fff;
    border:1px solid #e8e8e8;
    border-radius:14px;
    overflow:hidden;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.blog-card:hover{
    transform:translateY(-4px);
    box-shadow:0 8px 28px rgba(0,0,0,.1);
    border-color:var(--accent);
}

.blog-card-body{
    padding:22px 22px 16px;
    flex:1;
}

.blog-card-date{
    display:block;
    font-size:.75rem;
    color:#888;
    font-weight:500;
    text-transform:uppercase;
    letter-spacing:.04em;
    margin-bottom:10px;
}

.blog-card h3{
    font-size:1rem;
    font-weight:700;
    line-height:1.45;
    margin:0 0 10px;
    color:var(--dark);
}

.blog-card p{
    font-size:.875rem;
    color:#555;
    line-height:1.6;
    margin:0;
}

.blog-card-link{
    display:block;
    padding:14px 22px;
    font-size:.8rem;
    font-weight:600;
    color:var(--accent);
    border-top:1px solid #f0f0f0;
    letter-spacing:.02em;
}

.blog-card:hover .blog-card-link{
    color:var(--dark);
}

/* Blog post article */
.blog-content{
    padding:48px 0;
}

.blog-content h2{
    font-size:1.4rem;
    font-weight:700;
    margin:36px 0 14px;
    color:var(--dark);
}

.blog-content h3{
    font-size:1.1rem;
    font-weight:600;
    margin:28px 0 10px;
    color:var(--dark);
}

.blog-content p{
    font-size:1rem;
    line-height:1.75;
    color:#333;
    margin:0 0 18px;
}

.blog-content ul,
.blog-content ol{
    padding-left:24px;
    margin:0 0 18px;
}

.blog-content li{
    font-size:1rem;
    line-height:1.7;
    color:#333;
    margin-bottom:6px;
}

.blog-content a{
    color:var(--accent);
    text-decoration:underline;
    text-underline-offset:3px;
}

.blog-content a:hover{
    color:var(--dark);
}

.blog-meta{
    font-size:.85rem;
    color:#888;
    margin-top:8px;
}

.page-hero{
    background:var(--dark);
    color:#fff;
    padding:48px 24px;
    text-align:center;
}

.page-hero h1{
    font-size:2rem;
    color:#fff;
    margin-bottom:10px;
}


/* ======================================================
MECHANIC PROFILE PAGES
====================================================== */

.mechanic-profile-hero{
    background:linear-gradient(135deg,#1a1a2e,#16213e);
    color:#fff;
    padding:64px 20px;
    text-align:center;
}

.mechanic-avatar{
    width:96px;
    height:96px;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    font-size:40px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 24px;
    border:4px solid rgba(255,255,255,0.2);
}

.mechanic-profile-hero h1{
    font-size:2.2rem;
    color:#fff;
    margin-bottom:8px;
}

.mechanic-profile-hero .mechanic-tagline{
    font-size:1.1rem;
    color:#bbb;
    margin-bottom:24px;
}

.mechanic-badges{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    margin-bottom:28px;
}

.mechanic-badge{
    background:rgba(255,255,255,0.1);
    border:1px solid rgba(255,255,255,0.25);
    border-radius:999px;
    padding:6px 16px;
    font-size:13px;
    font-weight:600;
    color:#fff;
}

.mechanic-badge.gold{
    background:rgba(214,167,92,0.2);
    border-color:#d6a75c;
    color:#d6a75c;
}

.mechanic-stats{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:32px;
    padding:40px 20px;
    background:var(--gray-light);
}

.mechanic-stat{
    text-align:center;
}

.mechanic-stat .stat-number{
    font-size:2.2rem;
    font-weight:800;
    color:var(--primary);
    display:block;
    line-height:1;
}

.mechanic-stat .stat-label{
    font-size:13px;
    color:var(--gray);
    margin-top:4px;
}

.mechanic-certs-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.mechanic-cert-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:12px;
    padding:24px;
    display:flex;
    gap:16px;
    align-items:flex-start;
}

.mechanic-cert-icon{
    width:44px;
    height:44px;
    border-radius:8px;
    background:var(--primary);
    color:#fff;
    font-size:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.mechanic-cert-card h3{
    font-size:15px;
    font-weight:700;
    margin-bottom:4px;
}

.mechanic-cert-card p{
    font-size:13px;
    color:var(--gray);
    margin:0;
}

.mechanic-services-list{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:12px;
    list-style:none;
    padding:0;
    margin:0;
}

.mechanic-services-list li{
    background:#fff;
    border:1px solid var(--border);
    border-radius:8px;
    padding:14px 18px;
    font-weight:500;
    display:flex;
    align-items:center;
    gap:10px;
}

.mechanic-services-list li::before{
    content:"✓";
    color:var(--primary);
    font-weight:700;
    flex-shrink:0;
}

.mechanic-area-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:16px;
}

.mechanic-area-tag{
    background:var(--gray-light);
    border:1px solid var(--border);
    border-radius:999px;
    padding:6px 16px;
    font-size:14px;
    color:var(--dark);
    text-decoration:none;
}

.mechanic-area-tag:hover{
    background:var(--primary);
    color:#fff;
    border-color:var(--primary);
}

@media(max-width:768px){
    .mechanic-profile-hero h1{ font-size:1.6rem; }
    .mechanic-stats{ gap:20px; }
    .mechanic-stat .stat-number{ font-size:1.8rem; }
}


/* ======================================================
FEATURED MECHANIC CARDS (mechanics/index.php)
====================================================== */

.featured-mechanics-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(480px,1fr));
    gap:28px;
}

.featured-mechanic-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:16px;
    padding:32px;
    display:flex;
    gap:24px;
    align-items:flex-start;
    box-shadow:0 2px 12px rgba(0,0,0,0.05);
    transition:box-shadow 0.2s, transform 0.2s;
}

.featured-mechanic-card:hover{
    box-shadow:0 6px 24px rgba(0,0,0,0.1);
    transform:translateY(-2px);
}

.fmc-avatar{
    width:72px;
    height:72px;
    border-radius:50%;
    background:linear-gradient(135deg,var(--primary),#c0954f);
    color:#fff;
    font-size:28px;
    font-weight:800;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.fmc-body{
    flex:1;
    min-width:0;
}

.fmc-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom:12px;
}

.fmc-name{
    font-size:1.4rem;
    font-weight:800;
    margin:0 0 2px;
}

.fmc-title{
    font-size:13px;
    color:var(--gray);
    margin:0;
}

.fmc-badge{
    background:var(--primary);
    color:#fff;
    border-radius:999px;
    padding:4px 12px;
    font-size:12px;
    font-weight:700;
    white-space:nowrap;
    flex-shrink:0;
}

.fmc-credentials{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:14px;
}

.fmc-cred{
    font-size:12px;
    font-weight:600;
    color:var(--dark);
    background:var(--gray-light);
    border-radius:6px;
    padding:4px 10px;
}

.fmc-bio{
    font-size:14px;
    color:var(--gray);
    line-height:1.7;
    margin-bottom:14px;
}

.fmc-specialties{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-bottom:20px;
}

.fmc-specialties span{
    font-size:12px;
    border:1px solid var(--border);
    border-radius:999px;
    padding:3px 10px;
    color:var(--dark);
}

.fmc-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.fmc-profile-btn{
    padding:10px 20px;
    border-radius:8px;
    border:2px solid var(--dark);
    color:var(--dark);
    text-decoration:none;
    font-weight:600;
    font-size:14px;
    transition:background 0.15s, color 0.15s;
}

.fmc-profile-btn:hover{
    background:var(--dark);
    color:#fff;
}

.fmc-book-btn{
    padding:10px 20px;
    border-radius:8px;
    background:var(--primary);
    color:#fff;
    text-decoration:none;
    font-weight:600;
    font-size:14px;
    transition:background 0.15s;
}

.fmc-book-btn:hover{
    background:var(--primary-dark);
}

@media(max-width:768px){
    .featured-mechanics-grid{
        grid-template-columns:1fr;
    }
    .featured-mechanic-card{
        flex-direction:column;
        gap:16px;
    }
    .fmc-header{
        flex-direction:column;
        gap:8px;
    }
}

