/* Buddy's Auto homepage redesign. Page-specific only: shared nav/footer and review styling live elsewhere. */
.home-modern {
    background: #ffffff;
    color: #333333;
}

.home-modern main,
.home-modern main * {
    box-sizing: border-box;
}

.home-modern main h1,
.home-modern main h2,
.home-modern main h3,
.home-modern main p {
    margin-top: 0;
}

.home-modern main h1,
.home-modern main h2,
.home-modern main h3,
.home-modern main a,
.home-modern main button,
.home-modern main label,
.home-modern main strong,
.home-modern main .home-eyebrow,
.home-modern main .home-kicker {
    font-family: 'Open Sans', sans-serif;
}

.home-modern main p,
.home-modern main input,
.home-modern main .home-partner-strip span,
.home-modern main .home-trust-band span {
    font-family: 'Roboto', sans-serif;
}

.home-section-shell {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.home-hero {
    overflow: hidden;
    background: #fbfaf7;
    border-bottom: 1px solid #e5e5e2;
}

.home-hero-inner {
    width: 90%;
    max-width: 1400px;
    min-height: 690px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(460px, 0.9fr) minmax(560px, 1.1fr);
    align-items: center;
    gap: 28px;
}

.home-hero-copy {
    position: relative;
    z-index: 2;
    padding: 68px 0 72px;
}

.home-eyebrow,
.home-kicker {
    margin-bottom: 18px;
    color: #666a6c;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-hero h1 {
    max-width: 680px;
    margin-bottom: 22px;
    color: #26292b;
    font-size: clamp(48px, 5.2vw, 76px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.home-hero-intro {
    max-width: 620px;
    margin-bottom: 30px;
    color: #55595b;
    font-size: 18px;
    line-height: 1.65;
}

.home-start-form {
    width: min(100%, 650px);
    padding: 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #d9dcdd;
    border-radius: 5px;
}

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

.home-start-form label {
    display: block;
    color: #626669;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.home-start-form label span {
    display: block;
    margin-bottom: 7px;
}

.home-start-form input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    background: #ffffff;
    color: #333333;
    border: 1px solid #d0d3d4;
    border-radius: 3px;
    outline: none;
    font-size: 15px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.home-start-form input:focus {
    border-color: #05dda6;
    box-shadow: 0 0 0 2px rgba(5, 221, 166, 0.12);
}

.home-primary-button {
    width: 100%;
    min-height: 48px;
    margin-top: 16px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #05dda6;
    color: #17372f;
    border: 1px solid #05dda6;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 150ms ease, border-color 150ms ease;
}

.home-primary-button:hover,
.home-primary-button:focus-visible {
    background: #04c997;
    border-color: #04c997;
}

.home-hero-links {
    width: min(100%, 650px);
    margin-top: 17px;
    display: flex;
    align-items: center;
    gap: 0;
}

.home-hero-links a {
    color: #555a5d;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 150ms ease;
}

.home-hero-links a + a {
    margin-left: 22px;
    padding-left: 22px;
    border-left: 1px solid #d8d9d8;
}

.home-hero-links a:hover,
.home-hero-links a:focus-visible {
    color: #008959;
}

.home-hero-art {
    height: 100%;
    min-height: 690px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero-art img {
    width: min(820px, 125%);
    max-width: none;
    height: auto;
    display: block;
    object-fit: contain;
    transform: translateX(4%);
}

.home-drafting-note {
    position: absolute;
    z-index: 2;
    color: #7a7e80;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-drafting-note::before {
    content: '';
    width: 28px;
    height: 1px;
    margin-right: 9px;
    display: inline-block;
    vertical-align: middle;
    background: #05dda6;
}

.home-drafting-note-top {
    top: 48px;
    right: 0;
}

.home-drafting-note-bottom {
    right: 15px;
    bottom: 45px;
}

.home-service-paths {
    padding: 96px 0 100px;
    background: #ffffff;
}

.home-section-heading {
    margin-bottom: 38px;
    display: grid;
    grid-template-columns: 1fr minmax(340px, 0.7fr);
    align-items: end;
    gap: 50px;
}

.home-section-heading h2,
.home-diagnostics h2 {
    margin-bottom: 0;
    color: #2d3032;
    font-size: clamp(32px, 3.2vw, 48px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.home-section-heading > p {
    margin-bottom: 2px;
    color: #666b6e;
    font-size: 16px;
    line-height: 1.65;
}

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

.home-path-card {
    min-height: 300px;
    padding: 26px;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    color: #333333;
    border: 1px solid #e1e3e4;
    border-radius: 5px;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.home-path-card:hover,
.home-path-card:focus-visible {
    transform: translateY(-3px);
    border-color: #cfd3d4;
    box-shadow: 0 10px 28px rgba(27, 37, 34, 0.08);
}

.home-path-card-featured {
    border-top: 3px solid #05dda6;
    padding-top: 24px;
}

.home-path-number {
    position: absolute;
    top: 22px;
    right: 24px;
    color: #a1a5a6;
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.home-path-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dfe2e2;
    border-radius: 50%;
}

.home-path-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #464b4d;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-path-card-featured .home-path-icon {
    border-color: #05dda6;
}

.home-path-card h3 {
    margin-bottom: 10px;
    color: #2f3335;
    font-size: 20px;
    font-weight: 600;
}

.home-path-card p {
    margin-bottom: 28px;
    color: #696e70;
    font-size: 15px;
    line-height: 1.62;
}

.home-path-action {
    margin-top: auto;
    color: #4a4f51;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.home-path-card:hover .home-path-action,
.home-path-card:focus-visible .home-path-action {
    color: #008959;
}

.home-partner-strip {
    margin-top: 18px;
    padding: 21px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fafafa;
    border: 1px solid #e2e4e5;
    border-radius: 5px;
}

.home-partner-mark {
    padding-right: 20px;
    color: #245272;
    border-right: 1px solid #d5d7d8;
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    font-style: italic;
}

.home-partner-strip strong,
.home-partner-strip span {
    display: block;
}

.home-partner-strip strong {
    margin-bottom: 3px;
    color: #3d4143;
    font-size: 14px;
}

.home-partner-strip span {
    color: #74787a;
    font-size: 14px;
}

.home-diagnostics {
    padding: 100px 0;
    background: #fbfaf7;
    border-top: 1px solid #e8e7e3;
    border-bottom: 1px solid #e8e7e3;
}

.home-diagnostics-grid {
    display: grid;
    grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
    align-items: center;
    gap: 70px;
}

.home-diagnostics-copy {
    max-width: 620px;
}

.home-diagnostics-lead {
    margin: 23px 0 32px;
    color: #606567;
    font-size: 17px;
    line-height: 1.72;
}

.home-process-list {
    border-top: 1px solid #dcdeda;
}

.home-process-step {
    padding: 17px 0;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    border-bottom: 1px solid #dcdeda;
}

.home-process-step > span {
    padding-top: 3px;
    color: #008959;
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.home-process-step h3 {
    margin-bottom: 4px;
    color: #34383a;
    font-size: 16px;
    font-weight: 600;
}

.home-process-step p {
    margin-bottom: 0;
    color: #6c7173;
    font-size: 14px;
    line-height: 1.55;
}

.home-outline-button {
    margin-top: 28px;
    padding: 13px 17px;
    display: inline-flex;
    align-items: center;
    gap: 22px;
    color: #3d4244;
    border: 1px solid #aeb2b3;
    border-radius: 3px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: border-color 150ms ease, color 150ms ease;
}

.home-outline-button:hover,
.home-outline-button:focus-visible {
    color: #008959;
    border-color: #05dda6;
}

.home-precision-art {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-precision-art img {
    width: 100%;
    max-width: 760px;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
}

.home-trust-band {
    background: #ffffff;
    border-bottom: 1px solid #e5e6e6;
}

.home-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.home-trust-grid > div {
    min-height: 118px;
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #e3e5e5;
}

.home-trust-grid > div:first-child {
    border-left: 1px solid #e3e5e5;
}

.home-trust-grid strong {
    margin-bottom: 6px;
    color: #404547;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-trust-grid span {
    color: #777c7e;
    font-size: 13px;
}

@media (max-width: 1120px) {
    .home-hero-inner {
        grid-template-columns: minmax(420px, 0.95fr) minmax(420px, 1.05fr);
        min-height: 630px;
    }

    .home-hero-art {
        min-height: 630px;
    }

    .home-hero-art img {
        width: 130%;
        transform: translateX(8%);
    }

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

    .home-diagnostics-grid {
        grid-template-columns: 0.95fr 1.05fr;
        gap: 40px;
    }
}

@media (max-width: 860px) {
    .home-hero-inner {
        width: 90%;
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .home-hero-copy {
        padding: 58px 0 26px;
    }

    .home-hero h1 {
        font-size: clamp(45px, 10vw, 66px);
    }

    .home-hero-art {
        min-height: 0;
        padding: 0 0 30px;
    }

    .home-hero-art img {
        width: 100%;
        max-width: 720px;
        transform: none;
    }

    .home-drafting-note {
        display: none;
    }

    .home-section-heading {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .home-section-heading > p {
        max-width: 680px;
    }

    .home-diagnostics-grid {
        grid-template-columns: 1fr;
    }

    .home-diagnostics-copy {
        max-width: none;
    }

    .home-precision-art {
        min-height: 0;
    }

    .home-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-trust-grid > div:nth-child(3) {
        border-left: 1px solid #e3e5e5;
    }

    .home-trust-grid > div:nth-child(-n+2) {
        border-bottom: 1px solid #e3e5e5;
    }
}

@media (max-width: 580px) {
    .home-hero-copy {
        padding-top: 44px;
    }

    .home-hero h1 {
        font-size: 43px;
        line-height: 1.04;
    }

    .home-hero-intro {
        font-size: 16px;
    }

    .home-start-form {
        padding: 15px;
    }

    .home-start-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .home-hero-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .home-hero-links a + a {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }

    .home-service-paths,
    .home-diagnostics {
        padding: 72px 0;
    }

    .home-path-grid {
        grid-template-columns: 1fr;
    }

    .home-path-card {
        min-height: 250px;
    }

    .home-partner-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-partner-mark {
        padding-right: 0;
        padding-bottom: 12px;
        border-right: 0;
        border-bottom: 1px solid #d5d7d8;
    }

    .home-trust-grid {
        grid-template-columns: 1fr;
    }

    .home-trust-grid > div,
    .home-trust-grid > div:first-child,
    .home-trust-grid > div:nth-child(3) {
        min-height: 95px;
        padding: 22px 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 1px solid #e3e5e5;
    }
}
