.mechanic-gate-hero {
    min-height: 510px;
    padding: 85px 0 60px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: center;
    gap: 80px;
}

.mechanic-gate-hero h1,
.mechanic-profile-intro h1,
.mechanic-not-found h1 {
    margin: 0;
    color: #113453;
    font-family: "Conthrax", Montserrat, sans-serif;
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.04;
}

.mechanic-gate-hero > div > p:not(.company-eyebrow),
.mechanic-not-found > p:not(.company-eyebrow) {
    max-width: 720px;
    margin: 22px 0 0;
    color: #607581;
    font-size: 16px;
    line-height: 1.75;
}

.mechanic-gate-hero aside {
    padding: 36px;
    border-radius: 26px;
    background: #113453;
    color: #fff;
}

.mechanic-gate-hero aside > span {
    font-size: 30px;
}

.mechanic-gate-hero aside strong {
    margin-top: 22px;
    display: block;
    font-family: "Conthrax", Montserrat, sans-serif;
    font-size: 23px;
    font-weight: 500;
}

.mechanic-gate-hero aside p {
    color: #cadce6;
    line-height: 1.65;
}

.mechanic-profile-hero {
    padding: 70px 0 45px;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    align-items: center;
    gap: 55px;
}

.mechanic-profile-photo {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 30px;
    background: #dff2f8;
    box-shadow: 0 24px 60px rgba(17, 52, 83, 0.16);
}

.mechanic-profile-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.mechanic-profile-photo > span {
    color: #113453;
    font-family: "Conthrax", Montserrat, sans-serif;
    font-size: 58px;
}

.mechanic-profile-intro h1 {
    max-width: 820px;
}

.mechanic-profile-location {
    margin: 18px 0;
    color: #607581;
    font-size: 17px;
}

.mechanic-certified-badge {
    padding: 10px 14px;
    display: inline-flex;
    border-radius: 999px;
    background: #e2f6fb;
    color: #14789d;
    font-size: 11px;
    font-weight: 850;
}

.mechanic-profile-grid {
    padding: 30px 0 100px;
    display: grid;
    grid-template-columns: minmax(310px, 0.7fr) minmax(0, 1.3fr);
    gap: 24px;
}

.mechanic-profile-card {
    padding: 34px;
    border: 1px solid #d7e4ea;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(17, 52, 83, 0.06);
}

.mechanic-profile-card h2 {
    margin: 0;
    color: #113453;
    font-family: "Conthrax", Montserrat, sans-serif;
    font-size: 28px;
    font-weight: 500;
}

.mechanic-contact-list {
    margin: 28px 0 0;
}

.mechanic-contact-list > div {
    padding: 15px 0;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 20px;
    border-bottom: 1px solid #e5edf1;
}

.mechanic-contact-list dt {
    color: #607581;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.mechanic-contact-list dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: #113453;
    font-size: 13px;
}

.mechanic-contact-list a {
    color: #1598c7;
    font-weight: 750;
    text-decoration: none;
}

.mechanic-courses {
    margin-top: 28px;
    display: grid;
    gap: 13px;
}

.mechanic-courses article {
    padding: 18px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    border-radius: 15px;
    background: #eef7fa;
}

.mechanic-courses article > span {
    padding: 7px 9px;
    border-radius: 999px;
    background: #d9f2e7;
    color: #176b49;
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
}

.mechanic-courses strong {
    color: #113453;
    font-size: 14px;
}

.mechanic-courses small,
.mechanic-empty {
    color: #607581;
    font-size: 11px;
}

.mechanic-not-found {
    min-height: 600px;
    padding: 110px 0;
}

.mechanic-not-found a {
    margin-top: 28px;
    padding: 14px 18px;
    display: inline-block;
    border-radius: 999px;
    background: #20afe1;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 850px) {
    .mechanic-gate-hero,
    .mechanic-profile-hero,
    .mechanic-profile-grid {
        grid-template-columns: 1fr;
    }

    .mechanic-profile-photo {
        width: min(100%, 360px);
    }
}

@media (max-width: 620px) {
    .mechanic-gate-hero {
        padding: 60px 0 30px;
        gap: 40px;
    }

    .mechanic-gate-hero h1,
    .mechanic-profile-intro h1,
    .mechanic-not-found h1 {
        font-size: 36px;
    }

    .mechanic-profile-hero {
        padding-top: 45px;
        gap: 32px;
    }

    .mechanic-profile-card {
        padding: 24px;
    }

    .mechanic-contact-list > div {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .mechanic-courses article {
        grid-template-columns: 1fr;
    }
}
