* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-size: 16px;
    line-height: 1.68;
    overflow-x: hidden;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.nav-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    min-height: 86px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--heading);
    font-family: var(--font-heading, Arial, Helvetica, sans-serif);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
}

.logo svg {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.nav-links a {
    color: var(--heading);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    min-height: 42px;
    padding: 8px 12px;
    border: 2px solid var(--primary);
    background: #fff;
    color: var(--primary);
    font-size: 16px;
    font-weight: 800;
}

.btn,
.phone-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 14px 24px;
    border: 2px solid transparent;
    background: var(--primary);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    border-radius: 0;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .55);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
    animation: pulseGlow 2.4s infinite;
}

.btn:hover,
.phone-button:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
    color: #fff;
}

.phone-button svg,
.btn svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    color: #fff;
    background: linear-gradient(90deg, rgba(10, 15, 34, .96) 0%, rgba(18, 24, 56, .86) 47%, rgba(18, 24, 56, .38) 100%), url('../images/hero-technician.jpg') center/cover no-repeat;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .55fr);
    gap: 48px;
    align-items: center;
    padding: 76px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    width: 42px;
    height: 3px;
    background: var(--accent);
}

.hero h1 {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-size: clamp(45px, 5vw, 70px);
    line-height: .98;
    letter-spacing: -.045em;
}

.stars {
    margin: 22px 0 14px;
    color: var(--accent);
    font-size: 27px;
    letter-spacing: 4px;
}

.hero-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 24px;
}

.hero-icons img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    padding: 7px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .45);
}

.hero-lead {
    max-width: 720px;
    margin: 0 0 24px;
    color: #F6F8FF;
    font-size: 20px;
}

.hero-cta-text {
    margin: 0 0 18px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.hero-card {
    padding: 30px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    backdrop-filter: blur(15px);
}

.hero-card h2 {
    margin: 0 0 20px;
    color: #fff;
    font-size: 30px;
    line-height: 1.18;
}

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

.benefit-list li,
.check-item {
    display: flex;
    gap: 13px;
    align-items: flex-start;
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    background: var(--primary);
    color: #fff;
}

.hero .icon-box {
    background: var(--accent);
    color: #111827;
}

.icon-box svg,
.service-icon svg {
    width: 24px;
    height: 24px;
}

section {
    padding: 88px 0;
}

.section-alt {
    background: var(--surface-alt);
}

.section-dark {
    background: var(--surface-dark);
    color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: #fff;
}

.section-title {
    margin: 0 0 18px;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -.03em;
}

.section-title::after {
    content: '';
    display: block;
    width: 78px;
    height: 4px;
    margin-top: 18px;
    background: var(--accent);
}

.section-kicker {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.section-dark .section-kicker {
    color: var(--accent);
}

.intro-grid,
.split-row {
    display: grid;
    grid-template-columns: minmax(0, 65%) minmax(280px, 35%);
    gap: 42px;
    align-items: center;
}

.split-row.image-left {
    grid-template-columns: minmax(280px, 35%) minmax(0, 65%);
}

.photo-panel {
    position: relative;
    min-height: 360px;
    overflow: hidden;
}

.photo-panel img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.photo-panel::after {
    content: '';
    position: absolute;
    inset: 18px;
    border: 2px solid rgba(255, 255, 255, .7);
    pointer-events: none;
}

.content p {
    margin: 0 0 18px;
    font-size: 17px;
}

.services-grid,
.issues-grid,
.why-grid,
.process-grid,
.parts-grid,
.neighborhood-grid,
.payment-grid,
.faq-grid {
    display: grid;
    gap: 22px;
}

.services-grid {
    grid-template-columns: repeat(5, 1fr);
    margin-top: 34px;
}

.service-card,
.issue-card,
.why-card,
.process-card,
.review-card,
.faq-card {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(17, 24, 39, .08);
}

.service-card {
    padding: 26px;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    background: #EEF0FA;
    color: var(--primary);
}

h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.2;
}

h4 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.25;
}

.service-card p,
.issue-card p,
.why-card p,
.process-card p,
.faq-card p,
.review-card p {
    margin: 0;
}

.reviews-shell {
    margin-top: 34px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.review-card {
    padding: 28px;
}

.review-name {
    margin-top: 18px;
    color: var(--heading);
    font-weight: 900;
}

.review-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.review-controls button {
    width: 48px;
    height: 48px;
    border: 2px solid var(--primary);
    background: #fff;
    color: var(--primary);
    font-size: 22px;
    font-weight: 900;
    cursor: pointer;
}

.parts-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 28px;
}

.part-pill,
.payment-pill,
.zip-pill {
    padding: 16px 18px;
    background: #fff;
    border-left: 5px solid var(--primary);
    color: var(--heading);
    font-weight: 800;
}

.issues-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 34px;
}

.issue-card,
.why-card,
.process-card,
.faq-card {
    padding: 28px;
}

.cta-band {
    padding: 54px;
    background: linear-gradient(135deg, var(--primary) 0%, #10183E 100%);
    color: #fff;
}

.cta-band h2,
.cta-band p {
    color: #fff;
}

.cta-band .btn {
    background: #fff;
    color: #111827;
}

.cta-band .btn:hover {
    background: var(--accent);
    color: #111827;
}

.local-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 32px;
}

.local-box {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border);
}

.zip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 0;
}

.zip-pill {
    border-left-color: var(--accent);
}

.neighborhood-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 26px;
}

.neighborhood-grid li {
    padding: 11px 13px;
    background: rgba(36, 47, 128, .07);
    color: var(--heading);
    font-weight: 700;
    list-style: none;
}

.why-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 34px;
}

.process-grid {
    grid-template-columns: repeat(5, 1fr);
    margin-top: 34px;
}

.process-card {
    position: relative;
    padding-top: 62px;
}

.step-number {
    position: absolute;
    top: 20px;
    left: 28px;
    color: rgba(36, 47, 128, .18);
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
}

.payment-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 26px;
}

.brand-models {
    margin-top: 28px;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--border);
}

.faq-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 34px;
}

.site-footer {
    padding: 52px 0 92px;
    background: #080C18;
    color: #D8DEEC;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr .8fr 1.2fr;
    gap: 34px;
}

.site-footer .logo,
.site-footer h3,
.site-footer a {
    color: #fff;
}

.footer-links {
    display: grid;
    gap: 7px;
}

.footer-disclaimer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.mobile-call {
    display: none;
}

.animate-rise {
    animation: riseIn .7s ease both;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); }
    70% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@keyframes riseIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) {
    .nav-wrap {
        grid-template-columns: 1fr auto;
        gap: 12px;
        padding: 10px 0;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .header-phone {
        grid-column: 1 / 2;
        grid-row: 2;
        width: min(310px, 100%);
    }

    .nav-links {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
        padding: 12px 0 8px;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 14px 20px;
    }

    .nav-links.is-open {
        display: flex;
    }

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

    .why-grid,
    .parts-grid,
    .neighborhood-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .logo {
        font-size: 24px;
        white-space: normal;
    }

    .logo span {
        display: inline-block;
        max-width: 210px;
    }

    .phone-button {
        min-height: 48px;
        padding: 12px 14px;
        font-size: 16px;
    }

    .hero {
        min-height: 680px;
    }

    .hero-grid,
    .intro-grid,
    .split-row,
    .split-row.image-left,
    .local-panel,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 26px;
        padding: 44px 0 54px;
    }

    .hero h1 {
        font-size: clamp(32px, 10vw, 49px);
    }

    .section-title {
        font-size: clamp(24px, 8vw, 34px);
    }

    .reviews-grid,
    .issues-grid,
    .faq-grid,
    .payment-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .why-grid,
    .parts-grid,
    .process-grid,
    .neighborhood-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 58px 0;
    }

    .cta-band {
        padding: 32px 22px;
    }

    .site-footer {
        padding-bottom: 112px;
    }

    .mobile-call {
        position: fixed;
        left: max(12px, env(safe-area-inset-left));
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        z-index: 70;
        display: flex;
        width: auto;
    }
}

@media (max-width: 520px) {
    .nav-wrap {
        min-height: 118px;
    }

    .logo svg {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .header-phone {
        width: 100%;
    }

    .menu-toggle {
        padding: 8px 10px;
    }

    .hero-card {
        padding: 22px;
    }

    .hero-icons img {
        width: 50px;
        height: 50px;
    }
}
