
    .locksmith-modern {
    --lm-red: #ed0808;
    --lm-dark: #151515;
    --lm-text: #515b69;
    --lm-light: #f4f6f9;

    padding: 65px 20px;
    background:
        radial-gradient(ellipse at top left, #ffffff 0%, #f5f7fa 65%);
    color: var(--lm-dark);
    font-family: Arial, Helvetica, sans-serif;
}

.locksmith-modern *,
.locksmith-modern *::before,
.locksmith-modern *::after {
    box-sizing: border-box;
}

.lm-container {
    max-width: 1200px;
    width: 100%;
    margin: auto;
}

/* Main heading */

.lm-heading {
    text-align: center;
    margin: 0 auto 38px;
}

.lm-pill {
    display: inline-block;
    padding: 8px 24px;
    background: var(--lm-red);
    color: white;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.lm-heading h2 {
    margin: 17px 0 10px;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    color: #141923;
}

.lm-heading h2 span {
    color: var(--lm-red);
}

.lm-heading p {
    margin: 0;
    color: #535b67;
    font-size: 16px;
    line-height: 1.7;
}

.lm-line {
    width: 65px;
    height: 4px;
    margin: 17px auto 0;
    border-radius: 5px;
    background: var(--lm-red);
}

/* Three service cards */

.lm-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.lm-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7e9ed;
    border-radius: 12px;
    box-shadow: 0 7px 24px rgba(20, 30, 45, .07);
    transition: transform .3s ease, box-shadow .3s ease;
}

.lm-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(20, 30, 45, .13);
}

/* Card image/header panels */

.lm-card-image {
    position: relative;
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #202020;
    background-image: linear-gradient(
        120deg, #282828 0%, #0b0b0b 65%, #b90000 65%, #ed0808 100%
    );
}

.lm-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg, rgba(0,0,0,.55), transparent 70%
    );
}

.lm-card-image > i {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--lm-red);
    border: 5px solid rgba(255,255,255,.18);
    color: white;
    font-size: 29px;
    box-shadow: 0 5px 20px rgba(0,0,0,.2);
}

.lm-image-title {
    position: absolute;
    z-index: 2;
    bottom: 13px;
    left: 18px;
    color: white;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

/* Individual header variations */

.lm-car-image {
    background-image:
        linear-gradient(125deg, rgba(0,0,0,.30), rgba(0,0,0,.75)),
        linear-gradient(135deg, #737c88, #15191e 55%, #ed0808 55%);
}

.lm-business-image {
    background-image:
        linear-gradient(125deg, rgba(0,0,0,.15), rgba(0,0,0,.70)),
        linear-gradient(135deg, #b9c3cf, #34485a 55%, #ed0808 55%);
}

.lm-smart-image {
    background-image:
        linear-gradient(125deg, rgba(0,0,0,.20), rgba(0,0,0,.72)),
        linear-gradient(135deg, #6e655c, #242424 55%, #ed0808 55%);
}

/* Service card body */

.lm-card-body {
    padding: 25px 24px 27px;
}

.lm-card-body h3 {
    color: #151922;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 800;
    margin: 0 0 19px;
}

.lm-card-body p {
    color: var(--lm-text);
    font-size: 13px;
    line-height: 1.85;
    margin: 0 0 14px;
    overflow-wrap: anywhere;
}

.lm-card-body p strong {
    color: #191919;
    font-size: 14px;
}

.lm-list {
    list-style: none;
    padding: 0;
    margin: 13px 0 19px;
}

.lm-list li {
    position: relative;
    padding-left: 25px;
    margin: 0 0 9px;
    color: #303744;
    font-size: 13px;
    line-height: 1.6;
}

.lm-list li::before {
    content: "\f058";
    position: absolute;
    left: 0;
    top: 1px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--lm-red);
    font-size: 15px;
}

/* Buttons */

.lm-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    padding: 13px 17px;
    border: 1px solid var(--lm-red);
    border-radius: 6px;
    background: var(--lm-red);
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    text-decoration: none !important;
    text-align: center;
    transition: background .25s ease, transform .25s ease;
}

.lm-btn:hover {
    background: #bd0000;
    border-color: #bd0000;
    color: #fff !important;
    transform: translateY(-2px);
}

.lm-btn-full {
    display: flex;
    width: 100%;
}

.lm-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid #eceef1;
    color: var(--lm-red);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
}

.lm-link i {
    transition: transform .25s ease;
}

.lm-link:hover {
    color: #a90000;
}

.lm-link:hover i {
    transform: translateX(5px);
}

/* International City panel */

.lm-location {
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
    padding: 32px;
    border: 1px solid #e4e8ed;
    border-left: 5px solid var(--lm-red);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(20, 30, 45, .06);
}

.lm-location-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--lm-red);
    color: white;
    font-size: 25px;
}

.lm-location-content {
    min-width: 0;
}

.lm-eyebrow {
    display: block;
    color: var(--lm-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 8px;
}

.lm-location-content h3 {
    margin: 0 0 14px;
    color: #151922;
    font-size: 23px;
    line-height: 1.4;
    font-weight: 800;
}

.lm-location-content p {
    margin: 0 0 12px;
    color: var(--lm-text);
    font-size: 13px;
    line-height: 1.85;
}

.lm-location-content p:last-child {
    margin-bottom: 0;
}

.lm-location-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 17px;
    min-width: 200px;
    padding-left: 25px;
    border-left: 1px solid #e3e6eb;
}

.lm-location-action > span {
    color: #606975;
    font-size: 11px;
    text-align: center;
}

/* Why Choose Us */

.lm-why {
    padding: 75px 0 60px;
}

.lm-why-intro {
    max-width: 790px;
    margin-bottom: 28px;
}

.lm-why-intro h2 {
    margin: 15px 0;
    color: #151922;
    font-size: clamp(28px, 3.3vw, 38px);
    line-height: 1.25;
    font-weight: 800;
}

.lm-why-intro p {
    margin: 0;
    color: var(--lm-text);
    font-size: 14px;
    line-height: 1.9;
}

.lm-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.lm-benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 21px 18px;
    background: white;
    border: 1px solid #e7eaf0;
    border-radius: 8px;
    box-shadow: 0 5px 18px rgba(20, 30, 45, .045);
    transition: transform .25s ease, border-color .25s ease;
}

.lm-benefit:hover {
    transform: translateY(-4px);
    border-color: #f3aaaa;
}

.lm-benefit-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff0f0;
    color: var(--lm-red);
    border-radius: 50%;
    font-size: 18px;
}

.lm-benefit h4 {
    margin: 1px 0 8px;
    color: #171b23;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 800;
}

.lm-benefit p {
    margin: 0;
    color: #68717d;
    font-size: 12px;
    line-height: 1.75;
}

.lm-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 18px;
    padding: 17px 20px;
    background: #eaf0f5;
    border-radius: 7px;
}

.lm-note i {
    color: var(--lm-red);
    font-size: 18px;
    margin-top: 2px;
}

.lm-note p {
    margin: 0;
    color: #495463;
    font-size: 12px;
    line-height: 1.8;
}

/* Contact banner */

.lm-contact {
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 34px;
    border-radius: 12px;
    background: linear-gradient(110deg, #120000 0%, #760000 55%, #ed0808 100%);
    box-shadow: 0 12px 30px rgba(140, 0, 0, .14);
}

.lm-contact-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.12);
    color: white;
    font-size: 27px;
}

.lm-contact-text > span {
    display: block;
    color: #ffcccc;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
    margin-bottom: 8px;
}

.lm-contact-text h2 {
    color: white;
    margin: 0 0 13px;
    font-size: 25px;
    line-height: 1.35;
    font-weight: 800;
}

.lm-contact-text p {
    margin: 0 0 10px;
    color: #f8e8e8;
    font-size: 13px;
    line-height: 1.8;
}

.lm-contact-text p:last-child {
    margin-bottom: 0;
}

.lm-contact-text a {
    color: white;
    text-decoration: underline;
}

.lm-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 23px;
    border-radius: 40px;
    background: white;
    color: #c90000 !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .25s ease, transform .25s ease;
}

.lm-contact-btn:hover {
    background: #f2f2f2;
    color: #a00000 !important;
    transform: translateY(-2px);
}

/* Tablet */

@media (max-width: 1000px) {
    .lm-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lm-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lm-location {
        grid-template-columns: 55px minmax(0, 1fr);
    }

    .lm-location-icon {
        width: 52px;
        height: 52px;
    }

    .lm-location-action {
        grid-column: 2;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        border-left: 0;
        padding-left: 0;
        min-width: 0;
    }

    .lm-contact {
        grid-template-columns: 55px minmax(0, 1fr);
    }

    .lm-contact-icon {
        width: 52px;
        height: 52px;
    }

    .lm-contact-btn {
        grid-column: 2;
        justify-self: start;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .locksmith-modern {
        padding: 42px 15px;
    }

    .lm-heading {
        margin-bottom: 28px;
    }

    .lm-heading h2 {
        font-size: 29px;
    }

    .lm-heading p {
        font-size: 14px;
    }

    .lm-services,
    .lm-benefits {
        grid-template-columns: minmax(0, 1fr);
        gap: 17px;
    }

    .lm-card-image {
        height: 125px;
    }

    .lm-card-body {
        padding: 23px 19px;
    }

    .lm-card-body h3 {
        font-size: 21px;
    }

    .lm-location {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 24px 20px;
    }

    .lm-location-action {
        grid-column: 1;
        align-items: flex-start;
        flex-direction: column;
    }

    .lm-location-action .lm-btn {
        width: 100%;
    }

    .lm-location-content h3 {
        font-size: 21px;
    }

    .lm-why {
        padding: 52px 0 42px;
    }

    .lm-why-intro h2 {
        font-size: 29px;
    }

    .lm-contact {
        grid-template-columns: minmax(0, 1fr);
        gap: 17px;
        padding: 27px 21px;
    }

    .lm-contact-btn {
        grid-column: 1;
        width: 100%;
        white-space: normal;
    }

    .lm-contact-text h2 {
        font-size: 23px;
    }

    .lm-benefit {
        padding: 20px;
    }
}


/* Center align icons inside all service cards */
.lm-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Keep icons perfectly centered */
.lm-card-image > i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

/* Keep the small title at the bottom-left */
.lm-image-title {
    position: absolute;
    left: 18px;
    bottom: 13px;
}



/* Center titles at the bottom of each card */
.lm-card-image {
    position: relative;
}

.lm-image-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 13px;
    width: 100%;
    text-align: center;
    padding: 0 8px;
    box-sizing: border-box;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    z-index: 2;
}

/* Keep icons centered */
.lm-card-image > i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}


/* Mobile card header spacing */
@media (max-width: 600px) {
    .lm-card-image {
        height: 125px;
        position: relative;
    }

    .lm-card-image > i {
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .lm-image-title {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 12px;
        width: 100%;
        text-align: center;
        padding: 0 8px;
        font-size: 10px;
        letter-spacing: 1px;
        line-height: 1.5;
    }
}
