/* =========================
   BASIC RESET
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #1f2933;
    line-height: 1.5;
}


/* =========================
   COLORS
   ========================= */

:root {
    --navy: #0f2f4f;
    --blue: #174f7a;
    --orange: #d4a017;
    --orange-text: #8a6500;
    --light-orange: #fff8e7;

    --white: #ffffff;
    --light-gray: #f5f7f9;
    --medium-gray: #6b7280;
    --dark: #1f2933;
}


/* =========================
   GENERAL LAYOUT
   Mobile First
   ========================= */

.container {
    width: 100%;
    max-width: 1200px;

    margin-left: auto;
    margin-right: auto;

    padding-left: 20px;
    padding-right: 20px;
}


/* =========================
   HEADER
   ========================= */

.site-header {
    background-color: var(--white);
    border-bottom: 1px solid #e5e7eb;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    display: block;
    width: 220px;
    height: auto;
    object-fit: contain;
}

.brand-star {
    color: var(--orange);
    font-size: 32px;
    line-height: 1;
}

.brand-name {
    font-weight: 800;
    font-size: 20px;
    color: var(--navy);
}

.brand-subtitle {
    font-size: 12px;
    color: var(--medium-gray);
}

.header-call-button {
    text-decoration: none;

    background-color: var(--orange);
    color: var(--navy);

    padding: 12px 16px;
    border-radius: 8px;

    font-weight: 800;
    font-size: 16px;

    text-transform: uppercase;
    letter-spacing: 0.3px;

    min-height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    white-space: nowrap;
}


/* =========================
   HERO
   ========================= */

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

    padding-top: 48px;
    padding-bottom: 48px;
}

.hero-content {
    display: flex;
    flex-direction: column;

    gap: 32px;
}

.hero .eyebrow {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.eyebrow {
    color: var(--orange);

    font-size: 14px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;

    margin-bottom: 12px;
}

.services .eyebrow,
.booking .eyebrow {
    color: var(--orange-text);
}

.hero h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);

    line-height: 1.05;

    margin-bottom: 20px;

    max-width: 700px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;

    color: #e5edf4;

    max-width: 650px;

    margin-bottom: 28px;
}

.hero-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    width: fit-content;

    padding: 0;
    margin-bottom: 18px;

    background: transparent;
    border: none;
}

.hero-price-main {
    color: var(--orange);

    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;

    text-transform: uppercase;
}

.hero-price-note {
    color: #e5edf4;

    font-size: 13px;
    font-weight: 600;

    margin-top: 4px;
}

.hero-phone {
    display: inline-block;

    color: var(--orange);
    text-decoration: none;

    font-size: 32px;
    font-weight: 800;

    margin-bottom: 10px;
}


/* =========================
   BUTTONS
   ========================= */

.hero-buttons {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.button {
    text-decoration: none;

    min-height: 52px;
    padding: 14px 20px;

    border-radius: 10px;

    font-weight: 800;
    font-size: 16px;

    text-transform: uppercase;
    letter-spacing: 0.3px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    width: 100%; transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background-color: var(--orange);
    color: var(--navy);
}

.button-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.button-secondary:hover {
    background-color: #ffffff;
    color: var(--navy);
}


/* =========================
   HERO IMAGE
   ========================= */

.hero-image {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.technician-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* =========================
   TRUST BAR
   ========================= */

.trust-bar {
    background-color: var(--light-gray);

    padding-top: 24px;
    padding-bottom: 24px;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;

    gap: 16px;
}

.trust-item {
    display: flex;
    align-items: center;

    gap: 10px;

    font-weight: 700;
}

.trust-icon {
    color: var(--orange-text);
    font-size: 20px;
}


/* =========================
   SERVICES
   ========================= */

.services {
    padding-top: 48px;
    padding-bottom: 48px;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2,
.booking h2 {
    font-size: 32px;
    color: var(--navy);
}

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

    gap: 12px;
}

.service-card {
    background-color: var(--light-gray);
    border-radius: 14px;

    padding: 14px 12px;
    min-height: 105px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    gap: 8px;

    border: 1px solid #e5e7eb;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 47, 79, 0.08);
}

.service-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 2px;
}

.service-card h3 {
    color: var(--navy);
    font-size: 16px;
    line-height: 1.25;
}

.diagnostic-pricing {
    margin-top: 32px;

    background-color: var(--navy);
    color: var(--white);

    border-radius: 16px;
    padding: 28px;

    text-align: center;
}

.pricing-label {
    color: var(--orange);

    font-size: 14px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;

    margin-bottom: 10px;
}

.diagnostic-pricing h3 {
    font-size: 34px;
    line-height: 1.1;

    color: var(--white);

    margin-bottom: 12px;
}

.diagnostic-pricing p:last-child {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;

    color: #e5edf4;
    font-size: 16px;
    line-height: 1.6;
}


/* =========================
   BOOKING CTA
   ========================= */

.booking {
    padding-top: 28px;
    padding-bottom: 40px;

    background-color: var(--light-gray);
}

.booking-box {
    background-color: var(--white);

    border-radius: 16px;

    padding: 28px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.booking-box p {
    margin-top: 12px;
    margin-bottom: 24px;
}

.booking-text {
    margin-top: 12px;
    margin-bottom: 18px;
    color: var(--medium-gray);
    font-size: 17px;
}

.booking-phone {
    display: block;

    margin-bottom: 18px;

    color: var(--navy);
    text-decoration: none;

    font-size: 28px;
    font-weight: 800;
}

.booking-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 6px;
}

.booking-service-button {
    background-color: var(--orange);
    color: var(--navy);
}

.booking-call-button {
    background-color: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.booking-call-button:hover {
    background-color: var(--navy);
    color: var(--white);
}


/* =========================
   FOOTER
   ========================= */

.site-footer {
    background-color: var(--navy);
    color: var(--white);

    padding-top: 28px;
    padding-bottom: 28px;

    text-align: center;

    font-size: 14px;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 767px) {

    .hero {
        padding-top: 28px;
        padding-bottom: 44px;
    }

    .hero-buttons {
        gap: 18px;
    }

    .services {
        padding-top: 36px; padding-bottom: 36px;
    }

    .booking {
        padding-top: 24px;
        padding-bottom: 36px;
    }

    .diagnostic-pricing {
        margin-top: 20px;
    }

    .hero-image {
        height: 360px;
        margin-top: 8px;
    }

    .technician-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }
}


/* =========================
   LARGE MOBILE
   600px - 767px
   ========================= */

@media (min-width: 600px) and (max-width: 767px) {

    .hero {
        padding-top: 32px;
        padding-bottom: 40px;
    }

    .hero-buttons {
        gap: 18px;
    }

    .hero-image {
        width: 100%;
        height: 340px;
        margin-top: 16px;

        display: flex;
        justify-content: center;
        align-items: center;

        overflow: hidden;
        border-radius: 16px;
    }

    .technician-image {
        width: auto;
        max-width: 100%;
        height: 100%;

        object-fit: contain;
        object-position: center;

        display: block;
    }
}


/* =========================
   TABLET
   ========================= */

@media (min-width: 768px) {

    .container {
        padding-left: 32px;
        padding-right: 32px;
    }

    .hero {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 16px;
    }

    .button {
        width: auto;
        min-width: 170px;
    }

    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

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

    .services-grid .service-card:last-child {
        grid-column: auto;
        width: auto;
        justify-self: stretch;
    }

    .service-card {
        min-height: 110px;
        padding: 14px 12px;
        gap: 8px;
    }

    .service-icon-img {
        width: 48px;
        height: 48px;
        margin-bottom: 2px;
    }

    .service-card h3 {
        font-size: 15px;
    }

    .booking-buttons {
    flex-direction: row;
    gap: 16px;
}

.booking-buttons .button {
    min-width: 170px;
}
}


/* =========================
   TABLET HERO
   768px - 1023px
   ========================= */

@media (min-width: 768px) and (max-width: 1023px) {

    .hero-content {
        display: grid;
        grid-template-columns: 1.05fr 0.95fr;
        align-items: center;
        gap: 32px;
    }

    .hero {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .hero h1 {
        font-size: 2.7rem;
    }

    .hero-description {
        font-size: 17px;
        margin-bottom: 20px;
    }

    .hero-phone {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .hero-image {
        height: auto;
        margin-top: 0;
        overflow: hidden;
        border-radius: 16px;
    }

    .technician-image {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}


/* =========================
   DESKTOP
   ========================= */

@media (min-width: 1024px) {

    .hero-content {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;

        align-items: center;

        gap: 56px;
    }

    .hero-image {
        border-radius: 0;
        overflow: visible;
    }

    .technician-image {
        width: 110%;
        max-width: none;
        margin-left: -5%;
        border-radius: 0;

        -webkit-mask-image: radial-gradient(
            ellipse 78% 80% at center,
            black 52%,
            rgba(0, 0, 0, 0.9) 62%,
            rgba(0, 0, 0, 0.4) 76%,
            transparent 96%
        );

        mask-image: radial-gradient(
            ellipse 78% 80% at center,
            black 52%,
            rgba(0, 0, 0, 0.9) 62%,
            rgba(0, 0, 0, 0.4) 76%,
            transparent 96%
        );
    }

    .service-call-box {
        width: 100%;
        max-width: 720px;
        margin: 32px auto 0;
    }

    .services {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .services-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
    }

    .services-grid .service-card:last-child {
        grid-column: auto; width: auto;
    }
}


/* =========================
   VERY SMALL MOBILE
   ========================= */

@media (max-width: 340px) {

    .brand-logo {
        width: 180px;
    }

    .header-call-button {
        padding: 10px 12px;
        font-size: 13px;
    }

    .hero {
        padding-top: 24px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-phone {
        font-size: 24px;
    }

    .hero-buttons {
        gap: 18px;
    }

    .services-grid {
        gap: 10px;
    }

    .service-card {
        padding: 14px 10px;
        min-height: 120px;
    }

    .service-card h3 {
        font-size: 15px;
    }

    .diagnostic-pricing h3 {
        font-size: 30px;
    }
}


/* =========================
   ACCESSIBILITY
   ========================= */

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;

    background-color: var(--white);
    color: var(--navy);

    padding: 12px 16px;

    border: 3px solid var(--orange);
    border-radius: 6px;

    font-weight: 800;
    text-decoration: none;

    z-index: 9999;
}

.skip-link:focus {
    top: 16px;
}

#main-content:focus {
    outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;

    box-shadow:
        0 0 0 7px var(--navy);
}


/* =========================
   COMPACT GRID FOR TABLET /
   DESKTOP AT HIGH ZOOM
   ========================= */

@media (min-width: 600px) and (max-width: 1023px) {

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .services-grid .service-card:last-child {
        grid-column: auto;
        width: auto;
        justify-self: stretch;
    }
}


/* =========================
   SMALL MOBILE EYEBROW
   ========================= */

@media (max-width: 480px) {

    .hero .eyebrow {
        font-size: 15px;
        letter-spacing: 0.3px;
    }
}