/* ==========================================================================
   BRUTUS AUTO SERVICE PAGE ADDITIONS
   Loads AFTER /assets/css/site.css

   Matches the current Brutus Auto homepage:
   Navy / blue / yellow / cream
   Inter typography
   Rounded cards
   Soft shadows
   Same responsive visual language
   ========================================================================== */


/* ==========================================================================
   SERVICE HERO
   ========================================================================== */

.service-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #f8f9fb 0%,
            #eef3f8 100%
        );
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.service-hero::after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 34%;
    background:
        linear-gradient(
            135deg,
            rgba(35,75,125,.08),
            rgba(18,39,70,.04)
        );
    clip-path: polygon(24% 0,100% 0,100% 100%,0 100%);
    pointer-events: none;
}

.service-hero-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns:
        minmax(0,1.12fr)
        minmax(320px,.88fr);

    gap: clamp(35px,5vw,65px);
    align-items: center;

    padding-top: clamp(54px,7vw,80px);
    padding-bottom: clamp(54px,7vw,80px);
}

.service-hero h1 {
    max-width: 980px;
    margin: 10px 0 22px;

    color: var(--ink);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: clamp(44px,6vw,76px);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.045em;

    text-transform: none;
}

.service-hero .lead {
    max-width: 820px;

    color: #465467;

    font-size: clamp(17px,2vw,20px);
    line-height: 1.65;
}


/* ==========================================================================
   SERVICE HERO IMAGE
   ========================================================================== */

.service-hero-media {
    position: relative;
    z-index: 3;

    min-height: 420px;

    padding: 12px;

    background: #fff;

    border: 0;
    border-radius: 20px;

    box-shadow:
        0 25px 70px
        rgba(16,24,40,.16);

    transform: rotate(1deg);
}

.service-hero-media img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 396px;

    object-fit: cover;

    border-radius: 14px;
}

.service-hero-media .service-image-fallback {
    min-height: 396px;

    display: grid;
    place-items: center;

    padding: 40px;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            var(--blue)
        );

    color: #fff;

    border-radius: 14px;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        sans-serif;

    font-size: clamp(30px,4vw,52px);
    font-weight: 900;
    line-height: 1;

    text-align: center;
}


/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.service-breadcrumbs {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.service-breadcrumbs .wrap {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    padding-top: 13px;
    padding-bottom: 13px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;

    text-transform: uppercase;
}

.service-breadcrumbs a {
    color: var(--blue);
    text-decoration: none;
}

.service-breadcrumbs a:hover {
    text-decoration: underline;
}

.service-breadcrumbs span {
    color: var(--muted);
}


/* ==========================================================================
   MAIN SERVICE LAYOUT
   ========================================================================== */

.service-layout {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        320px;

    gap: clamp(36px,5vw,70px);

    align-items: start;
}

.service-content {
    min-width: 0;
}

.service-content > :first-child {
    margin-top: 0;
}

.service-content h2,
.service-content h3 {
    color: var(--ink);
    text-wrap: balance;
}

.service-content h2 {
    margin-top: 44px;
    margin-bottom: 16px;

    font-size: clamp(32px,4vw,52px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.service-content h3 {
    margin-top: 30px;
    margin-bottom: 12px;

    font-size: clamp(23px,3vw,32px);
    line-height: 1.15;
    letter-spacing: -.02em;
}

.service-content p,
.service-content li {
    color: #566273;

    font-size: 17px;
    line-height: 1.75;
}

.service-content strong {
    color: var(--ink);
}

.service-content a {
    color: var(--blue);
    font-weight: 800;
}

.service-content a:hover {
    text-decoration: underline;
}

.service-content ul,
.service-content ol {
    padding-left: 22px;
}


/* ==========================================================================
   SERVICE SIDEBAR
   ========================================================================== */

.service-sidebar {
    position: sticky;
    top: 112px;

    display: grid;
    gap: 18px;
}

.service-side-card {
    padding: 25px;

    background: #fff;
    color: var(--ink);

    border: 1px solid var(--line);
    border-top: 5px solid var(--yellow);
    border-radius: 14px;

    box-shadow:
        0 14px 35px
        rgba(16,24,40,.08);
}

.service-side-card:first-child {
    background: var(--navy);
    color: #fff;

    border-color: var(--navy);
    border-top-color: var(--yellow);
}

.service-side-card h2,
.service-side-card h3 {
    margin: 0 0 12px;

    color: var(--ink);

    font-size: 23px;
    line-height: 1.15;
}

.service-side-card:first-child h2,
.service-side-card:first-child h3 {
    color: #fff;
}

.service-side-card p {
    margin: 0 0 16px;

    color: var(--muted);

    line-height: 1.6;
}

.service-side-card:first-child p {
    color: #dbe6f6;
}

.service-side-card a:not(.btn) {
    color: var(--blue);
    font-weight: 800;
}

.service-side-card:first-child a:not(.btn) {
    color: #fff;
}


/* ==========================================================================
   SERVICE AREA LIST
   ========================================================================== */

.service-area-list {
    display: grid;

    gap: 0;

    margin: 0;
    padding: 0;

    list-style: none;
}

.service-area-list li {
    padding: 10px 0;

    color: var(--ink);

    border-bottom: 1px solid var(--line);

    font-weight: 800;
}

.service-side-card:first-child .service-area-list li {
    color: #fff;

    border-bottom-color:
        rgba(255,255,255,.13);
}

.service-area-list li:last-child {
    border-bottom: 0;
}


/* ==========================================================================
   SERVICE GRIDS
   ========================================================================== */

.service-signal-grid,
.service-process-grid,
.service-related-grid,
.service-city-grid,
.services-directory-grid {
    display: grid;

    gap: 14px;

    background: transparent;
    border: 0;
}

.service-signal-grid,
.service-process-grid {
    grid-template-columns:
        repeat(2,minmax(0,1fr));
}


/* ==========================================================================
   SIGNAL / WARNING CARDS
   ========================================================================== */

.service-signal {
    padding: 26px;

    background: #fff;

    border: 1px solid var(--line);
    border-radius: 14px;

    min-height: 145px;
}

.service-signal strong {
    display: block;

    margin-bottom: 8px;

    color: var(--ink);

    font-size: 18px;
}

.service-signal p {
    margin: 0;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.6;
}


/* ==========================================================================
   SERVICE PROCESS
   ========================================================================== */

.service-process-step {
    padding: 26px;

    background: #fff;

    border: 1px solid var(--line);
    border-radius: 14px;

    min-height: 180px;
}

.service-process-step span {
    display: inline-grid;
    place-items: center;

    width: 38px;
    height: 38px;

    margin-bottom: 18px;

    background: var(--yellow);
    color: var(--navy);

    border-radius: 8px;

    font-weight: 1000;
}

.service-process-step strong {
    display: block;

    margin-bottom: 8px;

    color: var(--ink);

    font-size: 18px;
}

.service-process-step p {
    margin: 0;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.6;
}


/* ==========================================================================
   LOCAL SEO SECTION
   ========================================================================== */

.service-local {
    background: var(--navy);
    color: #fff;
}

.service-local .eyebrow {
    color: var(--yellow);
}

.service-local h2,
.service-local h3 {
    color: #fff;
}

.service-local p {
    color: #dbe6f6;
}

.service-local strong {
    color: #fff;
}


/* ==========================================================================
   CITY GRID
   ========================================================================== */

.service-city-grid {
    grid-template-columns:
        repeat(4,minmax(0,1fr));

    gap: 14px;

    margin-top: 30px;
}

.service-city-card {
    min-height: 180px;

    padding: 25px;

    background: #1b3558;
    color: #fff;

    border: 1px solid #2b4668;
    border-radius: 14px;
}

.service-city-card strong {
    display: block;

    margin-bottom: 8px;

    color: #fff;

    font-size: 20px;
}

.service-city-card p {
    margin: 0;

    color: #c9d5e5;

    font-size: 14px;
    line-height: 1.6;
}


/* ==========================================================================
   RELATED SERVICES
   ========================================================================== */

.service-related-grid {
    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 14px;
}

.service-related-card {
    display: flex;
    flex-direction: column;

    min-height: 170px;

    padding: 25px;

    background: #fff;

    color: inherit;

    border: 1px solid var(--line);
    border-radius: 14px;

    text-decoration: none;

    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.service-related-card strong {
    display: block;

    margin-bottom: 8px;

    color: var(--ink);

    font-size: 18px;
}

.service-related-card p {
    color: var(--muted);
}

.service-related-card:hover {
    position: relative;
    z-index: 2;

    background: var(--navy);
    color: #fff;

    border-color: var(--navy);

    box-shadow:
        0 16px 40px
        rgba(16,24,40,.14);

    transform: translateY(-3px);

    text-decoration: none;
}

.service-related-card:hover strong {
    color: #fff;
}

.service-related-card:hover p,
.service-related-card:hover small {
    color: #dbe6f6;
}


/* ==========================================================================
   FAQ
   CENTERED ON DESKTOP
   ========================================================================== */

.service-faq {
    width: 100%;
    max-width: 920px;

    margin-left: auto;
    margin-right: auto;
}

.service-faq .eyebrow {
    text-align: center;
}

.service-faq h2 {
    max-width: 820px;

    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.service-faq details {
    width: 100%;

    margin-bottom: 10px;

    background: #fff;

    border: 1px solid var(--line);
    border-radius: 12px;

    overflow: hidden;
}

.service-faq details:last-child {
    border-bottom: 1px solid var(--line);
}

.service-faq summary {
    position: relative;

    cursor: pointer;

    padding:
        20px
        58px
        20px
        22px;

    color: var(--ink);

    font-size: 18px;
    font-weight: 900;

    list-style: none;

    text-align: left;
}

.service-faq summary::-webkit-details-marker {
    display: none;
}

.service-faq summary::after {
    content: "+";

    position: absolute;

    top: 50%;
    right: 20px;

    display: grid;
    place-items: center;

    width: 30px;
    height: 30px;

    transform: translateY(-50%);

    background: var(--yellow);
    color: var(--navy);

    border-radius: 7px;

    font-size: 20px;
    font-weight: 1000;
}

.service-faq details[open] summary::after {
    content: "−";
}

.service-faq details > div {
    padding:
        0
        22px
        22px;

    color: #566273;

    line-height: 1.7;

    text-align: left;
}

.service-faq details > div p {
    color: #566273;
}

.service-faq details > div p:first-child {
    margin-top: 0;
}


/* ==========================================================================
   SERVICES DIRECTORY
   ========================================================================== */

.services-directory-grid {
    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 14px;
}

.service-directory-card {
    min-height: 165px;

    padding: 25px;

    background: #fff;

    color: inherit;

    border: 1px solid var(--line);
    border-radius: 14px;

    text-decoration: none;

    transition:
        background .18s ease,
        color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.service-directory-card strong {
    display: block;

    margin-bottom: 8px;

    color: var(--ink);

    font-size: 18px;
}

.service-directory-card small {
    display: block;

    margin-top: 8px;

    color: var(--muted);

    line-height: 1.5;
}

.service-directory-card:hover {
    background: var(--navy);
    color: #fff;

    border-color: var(--navy);

    box-shadow:
        0 16px 40px
        rgba(16,24,40,.14);

    transform: translateY(-3px);

    text-decoration: none;
}

.service-directory-card:hover strong {
    color: #fff;
}

.service-directory-card:hover small {
    color: #dbe6f6;
}


/* ==========================================================================
   SEO NOTE / CALLOUT
   ========================================================================== */

.service-seo-note {
    padding: 22px 25px;

    background: var(--cream);

    border-left: 5px solid var(--yellow);
    border-radius: 0 10px 10px 0;

    color: #566273;
}

.service-seo-note strong {
    color: var(--ink);
}


/* ==========================================================================
   BUTTON CONSISTENCY INSIDE SERVICE PAGES
   ========================================================================== */

.service-hero .btn,
.service-side-card .btn,
.service-content .btn {
    text-decoration: none;
}

.service-hero .btn {
    background: var(--yellow);
    color: #17223a;
}

.service-hero .btn:hover {
    filter: brightness(.97);
}

.service-hero .btn-ghost {
    background: #fff;
    color: var(--navy);

    border: 1px solid var(--line);
}


/* ==========================================================================
   RESPONSIVE — TABLET
   ========================================================================== */

@media (max-width: 1000px) {

    .service-hero-grid,
    .service-layout {
        grid-template-columns: 1fr;
    }

    .service-hero::after {
        width: 46%;
        opacity: .45;
    }

    .service-hero-media {
        max-width: 760px;
    }

    .service-sidebar {
        position: static;

        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .service-city-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .service-related-grid,
    .services-directory-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

}


/* ==========================================================================
   RESPONSIVE — MOBILE
   ========================================================================== */

@media (max-width: 700px) {

    .service-hero-grid {
        padding-top: 45px;
        padding-bottom: 50px;
    }

    .service-hero h1 {
        font-size: 48px;
    }

    .service-hero::after {
        width: 70%;
        opacity: .3;
    }

    .service-hero-media {
        min-height: 280px;

        padding: 8px;

        border-radius: 15px;

        box-shadow:
            0 18px 45px
            rgba(16,24,40,.15);

        transform: none;
    }

    .service-hero-media img,
    .service-hero-media .service-image-fallback {
        min-height: 270px;

        border-radius: 10px;
    }

    .service-signal-grid,
    .service-process-grid,
    .service-city-grid,
    .service-related-grid,
    .services-directory-grid,
    .service-sidebar {
        grid-template-columns: 1fr;
    }

    .service-content p,
    .service-content li {
        font-size: 16px;
    }

    .service-content h2 {
        margin-top: 38px;
    }

    .service-signal,
    .service-process-step,
    .service-city-card,
    .service-related-card,
    .service-directory-card {
        min-height: auto;
    }

    .service-faq {
        max-width: none;
    }

    .service-faq .eyebrow,
    .service-faq h2 {
        text-align: left;
    }

}


/* ==========================================================================
   VERY SMALL MOBILE
   ========================================================================== */

@media (max-width: 430px) {

    .service-hero h1 {
        font-size: 42px;
    }

}