* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 92%;
    max-width: 1150px;
    margin: auto;
}


/* ==============================
   HEADER
   ============================== */

.header {
    background: #080808;
    color: white;
    border-bottom: 4px solid #e21d2a;
}

.header-inner {
    min-height: 105px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 2px;
    color: white;
}

.logo span {
    color: #e21d2a;
}

.header-phone {
    background: #e21d2a;
    color: white;
    padding: 14px 22px;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 900;
}


/* ==============================
   NAVIGATION
   ============================== */

.navbar {
    background: #151515;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    height: 55px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 32px;
}

.nav-inner a {
    font-size: 15px;
    font-weight: 800;
}

.nav-inner a:hover {
    color: #e21d2a;
}


/* ==============================
   HERO
   ============================== */

.hero {
    min-height: 700px;

    display: flex;
    align-items: center;

    color: white;

    background-image: url("./auto-repair.jpg") !important;

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    position: relative;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.58);
}

.hero-content {
    position: relative;

    z-index: 2;

    max-width: 780px;

    padding: 100px 0;
}

.eyebrow {
    color: #ff2834;

    font-size: 15px;

    font-weight: 900;

    letter-spacing: 3px;

    margin-bottom: 15px;
}

.hero h1 {
    font-size: 78px;

    line-height: 0.98;

    font-weight: 900;

    margin-bottom: 25px;
}

.hero h1 span {
    color: #ff2935;
}

.hero-description {
    max-width: 650px;

    font-size: 20px;

    color: #f3f3f3;

    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;

    margin-bottom: 30px;
}

.btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 14px 25px;

    border-radius: 6px;

    font-size: 15px;

    font-weight: 900;
}

.btn-red {
    background: #e21d2a;

    color: white;
}

.btn-red:hover {
    background: #ff2935;
}

.btn-outline {
    border: 2px solid white;

    color: white;
}

.btn-outline:hover {
    background: white;

    color: #111;
}

.hero-info {
    display: flex;

    gap: 30px;

    flex-wrap: wrap;

    font-size: 15px;

    font-weight: 600;
}


/* ==============================
   GENERAL SECTIONS
   ============================== */

.section {
    padding: 90px 0;
}

.section-title {
    text-align: center;

    max-width: 750px;

    margin: 0 auto 50px;
}

.section-title h2 {
    font-size: 43px;

    line-height: 1.1;

    margin: 10px 0 15px;

    font-weight: 900;
}

.section-title p:last-child {
    color: #70747a;

    font-size: 17px;
}


/* ==============================
   SERVICES
   ============================== */

.services-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}

.service-card {
    background: white;

    border: 1px solid #ddd;

    border-radius: 10px;

    padding: 30px 25px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.06);

    transition: 0.2s;
}

.service-card:hover {
    transform: translateY(-5px);

    border-color: #e21d2a;
}

.service-icon {
    font-size: 35px;

    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 20px;

    margin-bottom: 8px;
}

.service-card p {
    color: #70747a;

    font-size: 14px;
}


/* ==============================
   WHY CHOOSE US
   ============================== */

.why-us {
    background: #101010;

    color: white;

    padding: 95px 0;
}

.why-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.why-grid h2 {
    font-size: 48px;

    line-height: 1.05;

    margin: 10px 0 20px;
}

.why-grid h2 span {
    color: #e21d2a;
}

.why-grid > div:first-child > p:not(.eyebrow) {
    color: #c2c2c2;

    max-width: 550px;

    margin-bottom: 28px;
}

.benefits {
    display: grid;

    gap: 15px;
}

.benefit {
    background: #1c1c1c;

    border-left: 4px solid #e21d2a;

    padding: 20px;

    border-radius: 7px;
}

.benefit strong {
    display: block;

    font-size: 17px;
}

.benefit span {
    color: #aaa;
}


/* ==============================
   APPOINTMENT
   ============================== */

.appointment {
    background: #f3f4f5;
}

.appointment-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: start;
}

.appointment-info h2 {
    font-size: 48px;

    line-height: 1.05;

    margin: 10px 0 20px;
}

.appointment-info h2 span {
    color: #e21d2a;
}

.appointment-info > p:not(.eyebrow) {
    color: #6d7178;

    margin-bottom: 28px;

    font-size: 17px;
}

.appointment-form {
    background: white;

    padding: 32px;

    border-radius: 10px;

    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.appointment-form label {
    display: block;

    font-size: 14px;

    font-weight: 800;

    margin-bottom: 16px;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    width: 100%;

    margin-top: 6px;

    padding: 13px;

    border: 1px solid #d5d7da;

    border-radius: 6px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    outline: none;

    border-color: #e21d2a;
}

.submit-btn {
    width: 100%;

    border: none;

    cursor: pointer;
}

#formMessage {
    margin-top: 12px;

    font-weight: 700;

    font-size: 14px;
}


/* ==============================
   CONTACT
   ============================== */

.contact {
    padding: 90px 0;
}

.contact-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;
}

.contact-grid h2 {
    font-size: 43px;

    margin: 10px 0 25px;
}

.contact-item {
    margin: 20px 0;

    font-weight: 700;
}

.contact-item a:hover {
    color: #e21d2a;
}

.map {
    overflow: hidden;

    border-radius: 10px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.map iframe {
    width: 100%;

    height: 400px;

    border: none;

    display: block;
}


/* ==============================
   FOOTER
   ============================== */

footer {
    background: #080808;

    color: white;

    padding-top: 40px;
}

.footer-inner {
    display: flex;

    justify-content: space-between;

    gap: 30px;

    flex-wrap: wrap;
}

.footer-inner strong {
    font-size: 20px;
}

.footer-inner p {
    color: #999;

    margin-top: 7px;
}

.copyright {
    text-align: center;

    color: #777;

    border-top: 1px solid #292929;

    margin-top: 30px;

    padding: 16px;
}


/* ==============================
   TABLET
   ============================== */

@media (max-width: 900px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid,
    .appointment-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}


/* ==============================
   MOBILE
   ============================== */

@media (max-width: 600px) {

    .header-inner {
        padding: 18px 0;

        flex-direction: column;

        align-items: flex-start;
    }

    .logo {
        font-size: 28px;
    }

    .header-phone {
        font-size: 15px;
    }

    .nav-inner {
        justify-content: flex-start;

        overflow-x: auto;

        gap: 20px;
    }

    .hero {
        min-height: 680px;

        background-position: center;
    }

    .hero h1 {
        font-size: 50px;
    }

    .hero-description {
        font-size: 17px;
    }

    .hero-info {
        flex-direction: column;

        gap: 10px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .why-grid h2,
    .appointment-info h2 {
        font-size: 38px;
    }

    .appointment-form {
        padding: 23px;
    }
}
