:root {
    --navy: #004274;
    --navy-dark: #022f51;
    --red: #e31b23;
    --ink: #152331;
    --muted: #657486;
    --line: #dfe7ef;
    --soft: #f5f8fb;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(2, 47, 81, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--soft);
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 5%;
    background: var(--navy);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 800;
}

.top-bar span,
.top-bar a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
}

.top-bar svg {
    width: 15px;
    height: 15px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
    padding: 14px 5%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(223, 231, 239, 0.9);
    box-shadow: 0 8px 24px rgba(2, 47, 81, 0.06);
}

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

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    padding: 10px 12px;
    color: var(--navy);
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

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

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 18px;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-red {
    color: var(--white) !important;
    background: var(--red);
}

.btn-navy {
    color: var(--white);
    background: var(--navy);
}

.hero {
    min-height: 430px;
    display: grid;
    align-items: center;
    padding: 72px 5%;
    color: var(--white);
    background: linear-gradient(90deg, rgba(0, 66, 116, 0.9), rgba(0, 66, 116, 0.6)), var(--hero-image) center/cover;
}

.home-hero {
    --hero-image: url("https://cdn-ildagmn.nitrocdn.com/ENLEJAfNAUCXQdrmdOiEcVROSSsehhEi/assets/images/optimized/rev-1a256d4/car-craft.com.au/wp-content/uploads/2021/07/b39b9a03c0b55051dd89733dc5b50329.banner-scaled.jpg");
    min-height: 560px;
}

.page-hero {
    min-height: 360px;
}

.about-hero {
    --hero-image: url("https://cdn-ildagmn.nitrocdn.com/ENLEJAfNAUCXQdrmdOiEcVROSSsehhEi/assets/images/optimized/rev-1a256d4/car-craft.com.au/wp-content/uploads/2016/07/aboutus-video-2-4-min-1-2.jpg");
}

.services-hero {
    --hero-image: url("https://cdn-ildagmn.nitrocdn.com/ENLEJAfNAUCXQdrmdOiEcVROSSsehhEi/assets/images/optimized/rev-1a256d4/car-craft.com.au/wp-content/uploads/2021/08/img_service.jpg");
}

.faq-hero {
    --hero-image: url("https://cdn-ildagmn.nitrocdn.com/ENLEJAfNAUCXQdrmdOiEcVROSSsehhEi/assets/images/optimized/rev-1a256d4/car-craft.com.au/wp-content/uploads/2021/08/img_1.jpg");
}

.contact-hero {
    --hero-image: url("https://staging1.car-craft.com.au/wp-content/uploads/2018/10/Contact-1265-244.png");
}

.hero-content {
    width: min(760px, 100%);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--white);
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--navy);
    font-family: "Outfit", Arial, sans-serif;
    line-height: 1.05;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.4rem, 6vw, 5rem);
    max-width: 900px;
}

.hero p {
    max-width: 680px;
    margin: 20px 0 0;
    font-size: clamp(1rem, 2vw, 1.22rem);
    color: rgba(255, 255, 255, 0.92);
}

.repair-search {
    position: relative;
    z-index: 2;
    padding: 0 5%;
}

.search-panel {
    width: min(1040px, 100%);
    margin: -66px auto 0;
    display: grid;
    grid-template-columns: 1fr 240px 190px;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.field label {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

.search-submit {
    align-self: end;
}

.section {
    width: min(1160px, 100%);
    margin: 0 auto;
    padding: 86px 5%;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 32px;
}

.section-heading.center {
    margin-inline: auto;
    text-align: center;
}

.section-heading h2,
.split-copy h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.section-heading p,
.split-copy p,
.feature-card p,
.service-card p,
.faq-item p,
.contact-card p,
.stat p {
    color: var(--muted);
}

.feature-grid,
.service-grid,
.contact-grid,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.service-card,
.contact-card,
.faq-item,
.stat {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(2, 47, 81, 0.05);
}

.feature-card,
.service-card,
.contact-card,
.stat {
    padding: 28px;
}

.feature-card svg,
.service-card svg,
.contact-card svg {
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
    color: var(--red);
}

.feature-card h3,
.service-card h3,
.contact-card h3 {
    font-size: 1.35rem;
}

.audience-section {
    width: min(1160px, 100%);
    margin: 0 auto;
    padding: 20px 5% 86px;
}

.audience-grid,
.testimonial-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.audience-card,
.blog-card {
    overflow: hidden;
    color: inherit;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(2, 47, 81, 0.05);
}

.audience-card img,
.blog-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.audience-card div,
.blog-card div {
    padding: 24px;
}

.audience-card svg {
    width: 30px;
    height: 30px;
    margin-bottom: 14px;
    color: var(--red);
}

.audience-card h3,
.blog-card h3 {
    font-size: 1.35rem;
}

.audience-card p,
.blog-card p {
    color: var(--muted);
}

.testimonial-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.testimonial-card {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(2, 47, 81, 0.05);
}

.testimonial-card img {
    width: 130px;
    margin-bottom: 18px;
}

.testimonial-card p {
    color: var(--ink);
    font-size: 0.94rem;
}

.testimonial-card strong,
.testimonial-card span {
    display: block;
}

.testimonial-card strong {
    color: var(--navy);
    font-weight: 900;
}

.testimonial-card span {
    color: var(--muted);
    font-size: 0.84rem;
}

.blog-section {
    padding: 76px 5%;
    background: var(--white);
}

.blog-section > * {
    width: min(1160px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.blog-card {
    background: var(--soft);
}

.contact-band {
    padding: 72px 5%;
    color: var(--white);
    background: linear-gradient(90deg, rgba(0, 66, 116, 0.95), rgba(0, 66, 116, 0.82)), url("https://cdn-ildagmn.nitrocdn.com/ENLEJAfNAUCXQdrmdOiEcVROSSsehhEi/assets/images/optimized/rev-1a256d4/car-craft.com.au/wp-content/uploads/2018/10/Menu-Bg.jpg") center/cover;
}

.contact-band-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    gap: 42px;
    align-items: center;
}

.contact-band h2,
.contact-band p {
    color: var(--white);
}

.contact-details {
    display: grid;
    gap: 12px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.contact-details svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: var(--red);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
    align-items: center;
    gap: 48px;
    padding: 76px 5%;
    background: var(--white);
}

.split-media img {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
    border-radius: 8px;
}

.split-copy {
    max-width: 560px;
}

.split-copy p {
    margin: 18px 0 24px;
}

.stats-grid {
    margin-top: -58px;
    position: relative;
    z-index: 3;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    color: var(--red);
    font-family: "Outfit", Arial, sans-serif;
    font-size: 2.7rem;
    line-height: 1;
}

.band {
    padding: 74px 5%;
    color: var(--white);
    background: var(--navy-dark);
}

.band-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    gap: 40px;
    align-items: center;
}

.band h2,
.band p {
    color: var(--white);
}

.badge-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.badge-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    color: var(--navy);
    background: var(--white);
    border: 0;
    font: inherit;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
}

.faq-question svg {
    flex: 0 0 auto;
    color: var(--red);
}

.faq-answer {
    display: none;
    padding: 0 24px 22px;
}

.faq-item.open .faq-answer {
    display: block;
}

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

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

.contact-form {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) 1fr 1fr;
    gap: 36px;
    padding: 54px 5%;
    color: rgba(255, 255, 255, 0.82);
    background: #022742;
}

.site-footer img {
    width: 190px;
    margin-bottom: 18px;
}

.site-footer h3 {
    margin-bottom: 12px;
    color: var(--white);
    font-size: 1rem;
}

.site-footer a {
    display: block;
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.results-body {
    min-height: 100vh;
}

.results-layout {
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr);
    min-height: 690px;
}

.results-sidebar {
    padding: 24px;
    background: var(--white);
    border-right: 1px solid var(--line);
    overflow-y: auto;
}

.shop-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.shop-card {
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
}

.shop-card.active {
    border-color: var(--red);
    box-shadow: 0 10px 26px rgba(227, 27, 35, 0.12);
}

.shop-card h3 {
    font-size: 1.08rem;
}

.shop-card p {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.shop-card svg {
    width: 15px;
    height: 15px;
    color: var(--red);
}

.map-container {
    min-height: 690px;
}

#map {
    width: 100%;
    height: 100%;
}

@media (max-width: 920px) {
    .menu-toggle {
        display: grid;
    }

    .site-nav {
        position: absolute;
        inset: 100% 5% auto 5%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    .site-header.nav-open .site-nav {
        display: flex;
    }

    .search-panel,
    .split-section,
    .band-inner,
    .results-layout {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .service-grid,
    .contact-grid,
    .audience-grid,
    .blog-grid,
    .stats-grid,
    .site-footer {
        grid-template-columns: 1fr;
    }

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

    .contact-band-inner {
        grid-template-columns: 1fr;
    }

    .results-sidebar {
        order: 2;
        border-right: 0;
        border-top: 1px solid var(--line);
    }

    .map-container {
        min-height: 430px;
        order: 1;
    }
}

@media (max-width: 620px) {
    .top-bar {
        display: none;
    }

    .site-header {
        min-height: 68px;
    }

    .logo img {
        width: 142px;
    }

    .hero,
    .page-hero {
        min-height: 360px;
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .home-hero {
        min-height: 480px;
    }

    .search-panel {
        margin-top: -44px;
        padding: 18px;
    }

    .section,
    .split-section,
    .audience-section,
    .blog-section,
    .contact-band,
    .band {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}
