﻿/* =========================
   SERVICES PAGE
========================= */

.services-carousel-section {
    width: 100%;
    min-height: calc(100vh - 92px);
    padding: clamp(34px, 5vh, 58px) clamp(20px, 4vw, 42px) clamp(44px, 6vh, 70px);
    background: radial-gradient(circle at 16% 18%, rgba(210,22,26,0.11), transparent 30%), radial-gradient(circle at 88% 76%, rgba(210,22,26,0.09), transparent 30%), linear-gradient(rgba(248,248,248,0.9), rgba(248,248,248,0.92)), url('../Images/industrial-texture.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .services-carousel-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
        background-size: 40px 40px;
        pointer-events: none;
    }

    .services-carousel-section::after {
        content: "";
        position: absolute;
        width: 520px;
        height: 520px;
        right: -220px;
        top: 120px;
        border-radius: 50%;
        border: 80px solid rgba(210,22,26,0.045);
        pointer-events: none;
    }

.services-bg-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}

.services-bg-orb-one {
    width: 220px;
    height: 220px;
    left: 8%;
    bottom: 10%;
    background: rgba(210,22,26,0.06);
}

.services-bg-orb-two {
    width: 140px;
    height: 140px;
    right: 18%;
    top: 18%;
    background: rgba(0,0,0,0.045);
}

/* =========================
   PAGE HEADING
========================= */

.services-page-heading {
    position: relative;
    z-index: 3;
    text-align: center;
    margin-bottom: 28px;
    animation: servicesHeadingIn 0.75s ease both;
}

    .services-page-heading p {
        color: #d2161a;
        font-size: 13px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 2.6px;
        margin-bottom: 8px;
    }

    .services-page-heading h1 {
        color: #111111;
        font-size: clamp(38px, 5vw, 64px);
        line-height: 1;
        font-weight: 900;
        letter-spacing: -2px;
        margin: 0;
    }

        .services-page-heading h1::after {
            content: "";
            display: block;
            width: 82px;
            height: 4px;
            background: #d2161a;
            margin: 20px auto 0;
            border-radius: 999px;
        }

/* =========================
   MAIN CARD
========================= */

.services-carousel-frame {
    width: min(1120px, 88vw);
    height: min(570px, calc(100vh - 218px));
    min-height: 510px;
    background: linear-gradient(135deg, rgba(255,255,255,0.99), rgba(255,255,255,0.95)), #ffffff;
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(230,230,230,0.95);
    box-shadow: 0 30px 80px rgba(0,0,0,0.10), 0 10px 30px rgba(210,22,26,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
    border-radius: 26px;
    animation: servicesCardIn 0.85s ease both;
}

    .services-carousel-frame::before {
        content: "";
        position: absolute;
        width: 460px;
        height: 460px;
        right: -170px;
        top: -190px;
        background: radial-gradient(circle, rgba(210,22,26,0.14), transparent 68%);
        z-index: 1;
        pointer-events: none;
    }

    .services-carousel-frame::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 48%;
        height: 100%;
        background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.74), transparent), radial-gradient(circle at 20% 82%, rgba(210,22,26,0.08), transparent 36%);
        z-index: 1;
        pointer-events: none;
    }

.service-panel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

    .service-panel::before {
        content: "";
        position: absolute;
        right: 145px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 220px;
        line-height: 1;
        font-weight: 900;
        color: rgba(210,22,26,0.045);
        z-index: 1;
        pointer-events: none;
    }

/* =========================
   TEXT
========================= */

.service-text {
    position: absolute;
    left: 0;
    top: 0;
    width: 45%;
    height: 100%;
    padding: 58px 54px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 18;
    background: transparent;
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.service-line {
    position: absolute;
    left: 30px;
    top: 50%;
    width: 4px;
    height: 132px;
    background: linear-gradient(to bottom, #d2161a, #ff6a6d);
    border-radius: 999px;
    transform: translateY(-96px);
    box-shadow: 0 0 18px rgba(210,22,26,0.26);
}

.service-eyebrow {
    width: fit-content;
    color: #d2161a;
    background: rgba(210,22,26,0.08);
    border: 1px solid rgba(210,22,26,0.13);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.service-count {
    color: #d2161a;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2.2px;
    margin-bottom: 16px;
}

.service-text h1 {
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(42px, 4.4vw, 58px);
    line-height: 0.95;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 26px;
    letter-spacing: -2.4px;
    text-shadow: none;
}

.service-short {
    color: #333333;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 350px;
}

/* =========================
   BUTTONS
========================= */

.service-details-btn,
.service-back-btn {
    width: fit-content;
    border: 2px solid rgba(210,22,26,0.22);
    background: #ffffff;
    color: #d2161a;
    padding: 13px 32px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(210,22,26,0.13), inset 0 1px 0 rgba(255,255,255,0.9);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .service-details-btn:hover,
    .service-back-btn:hover {
        background: #d2161a;
        color: #ffffff;
        border-color: #d2161a;
        transform: translateY(-3px);
        box-shadow: 0 18px 34px rgba(210,22,26,0.24);
    }

/* =========================
   IMAGE
========================= */

.service-image {
    position: absolute;
    top: 50%;
    left: 72%;
    width: 410px;
    height: min(430px, calc(100% - 96px));
    background: linear-gradient(135deg, #eeeeee, #d5d5d5);
    overflow: hidden;
    z-index: 8;
    transform: translate(-50%, -50%);
    box-shadow: 0 26px 52px rgba(0,0,0,0.16), 18px 18px 0 rgba(210,22,26,0.08);
    border-radius: 24px;
    transition: left 0.9s cubic-bezier(0.22, 1, 0.36, 1), width 0.9s cubic-bezier(0.22, 1, 0.36, 1), height 0.9s cubic-bezier(0.22, 1, 0.36, 1), top 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease, box-shadow 0.3s ease;
}

    .service-image::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.22)), linear-gradient(135deg, rgba(255,255,255,0.22), transparent 42%);
        z-index: 2;
        pointer-events: none;
    }

    .service-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.28), transparent 46%);
        z-index: 2;
        pointer-events: none;
    }

    .service-image:hover {
        transform: translate(-50%, -50%) scale(1.015);
        box-shadow: 0 30px 60px rgba(0,0,0,0.18), 20px 20px 0 rgba(210,22,26,0.1);
    }

    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        transition: transform 0.6s ease;
    }

    .service-image:hover img {
        transform: scale(1.055);
    }

.service-image-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 4;
    background: rgba(255,255,255,0.92);
    color: #d2161a;
    border: 1px solid rgba(210,22,26,0.16);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.4px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

/* =========================
   DESKTOP ANIMATIONS
========================= */

.services-carousel-frame.is-leaving-up .service-text {
    animation: textLeaveUp 0.28s ease forwards;
}

.services-carousel-frame.is-leaving-up .service-image {
    animation: imageLeaveUp 0.28s ease forwards;
}

.services-carousel-frame.is-entering-down .service-text {
    animation: textEnterDown 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.services-carousel-frame.is-entering-down .service-image {
    animation: imageEnterDown 0.52s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.services-carousel-frame.is-leaving-down .service-text {
    animation: textLeaveDown 0.28s ease forwards;
}

.services-carousel-frame.is-leaving-down .service-image {
    animation: imageLeaveDown 0.28s ease forwards;
}

.services-carousel-frame.is-entering-up .service-text {
    animation: textEnterUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.services-carousel-frame.is-entering-up .service-image {
    animation: imageEnterUp 0.52s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes textLeaveUp {
    to {
        opacity: 0;
        transform: translateY(-34px);
        filter: blur(3px);
    }
}

@keyframes imageLeaveUp {
    to {
        opacity: 0;
        transform: translate(-50%, calc(-50% - 34px)) scale(1.015);
        filter: blur(4px);
    }
}

@keyframes textEnterDown {
    from {
        opacity: 0;
        transform: translateY(34px);
        filter: blur(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes imageEnterDown {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 34px)) scale(1.015);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        filter: blur(0);
    }
}

@keyframes textLeaveDown {
    to {
        opacity: 0;
        transform: translateY(34px);
        filter: blur(3px);
    }
}

@keyframes imageLeaveDown {
    to {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 34px)) scale(1.015);
        filter: blur(4px);
    }
}

@keyframes textEnterUp {
    from {
        opacity: 0;
        transform: translateY(-34px);
        filter: blur(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes imageEnterUp {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% - 34px)) scale(1.015);
        filter: blur(4px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        filter: blur(0);
    }
}

/* =========================
   DETAILS PANEL
========================= */

.service-description {
    position: absolute;
    top: 50%;
    right: 42px;
    width: 43%;
    height: min(412px, calc(100% - 96px));
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(250,250,250,0.96));
    padding: 40px 44px;
    z-index: 25;
    transform: translate(118%, -50%);
    opacity: 0;
    box-shadow: 0 22px 46px rgba(0,0,0,0.13);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 20px;
    border: 1px solid rgba(230,230,230,0.9);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
}

    .service-description::before {
        content: "";
        position: absolute;
        left: 0;
        top: 22px;
        bottom: 22px;
        width: 5px;
        background: linear-gradient(to bottom, #d2161a, #ff6a6d);
        border-radius: 999px;
    }

.service-description-label {
    color: #d2161a;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.service-description h2 {
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 34px;
    line-height: 1.05;
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 0;
    max-width: 420px;
    letter-spacing: -1.4px;
    text-shadow: none;
}

.service-description span {
    display: block;
    width: 74px;
    height: 3px;
    background: #d2161a;
    margin: 22px 0 24px;
    flex-shrink: 0;
}

.service-description-scroll {
    max-height: 145px;
    overflow-y: auto;
    padding-right: 12px;
}

    .service-description-scroll p {
        color: #333333;
        font-size: 15px;
        line-height: 1.8;
        margin: 0;
    }

/* =========================
   EXPANDED / CLOSING
========================= */

.services-carousel-frame.is-expanded .service-image {
    left: 41%;
    width: 270px;
    height: min(360px, calc(100% - 110px));
    transform: translate(-50%, -50%);
    opacity: 0.65;
}

.services-carousel-frame.is-expanded .service-description {
    transform: translate(0, -50%);
    opacity: 1;
}

.services-carousel-frame.is-expanded .service-text {
    transform: translateX(-6px);
}

.services-carousel-frame.is-closing .service-description {
    transform: translate(118%, -50%);
    opacity: 0;
}

.services-carousel-frame.is-closing .service-image {
    left: 72%;
    width: 410px;
    height: min(430px, calc(100% - 96px));
    transform: translate(-50%, -50%);
    opacity: 1;
}

.services-carousel-frame.is-closing .service-text {
    transform: translateX(0);
}

/* =========================
   BACK BUTTON
========================= */

.service-back-btn {
    position: absolute;
    left: -104px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
}

    .service-back-btn:hover {
        transform: translateY(-50%) rotate(-90deg) scale(1.04);
    }

/* =========================
   DOTS
========================= */

.service-dots {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 40;
    background: rgba(255,255,255,0.82);
    padding: 12px 9px;
    border-radius: 999px;
    box-shadow: 0 12px 26px rgba(0,0,0,0.08);
}

.service-dot {
    width: 11px;
    height: 11px;
    border: 1.5px solid #d2161a;
    background: rgba(255,255,255,0.72);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.25s ease;
}

    .service-dot.is-active,
    .service-dot:hover {
        background: #d2161a;
        transform: scale(1.35);
        box-shadow: 0 0 0 5px rgba(210,22,26,0.12);
    }

/* =========================
   MOBILE ARROWS
========================= */

.service-mobile-arrows {
    display: none;
}

.service-arrow {
    width: 48px;
    height: 48px;
    border: 2px solid #f2b7b7;
    background: rgba(255,255,255,0.96);
    color: #d2161a;
    border-radius: 50%;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(0,0,0,0.16);
    transition: 0.25s ease;
}

    .service-arrow:hover {
        background: #d2161a;
        color: #ffffff;
        transform: translateY(-2px);
    }

/* =========================
   CONTACT SECTION
========================= */

.services-contact-section {
    width: 100%;
    padding: 90px 40px 110px;
    background: radial-gradient(circle at 18% 30%, rgba(210,22,26,0.08), transparent 26%), #f5f5f5;
}

.services-contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    background: radial-gradient(circle at 85% 20%, rgba(210,22,26,0.22), transparent 30%), linear-gradient(135deg, #111111, #222222);
    border-radius: 28px;
    padding: 62px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    box-shadow: 0 24px 54px rgba(0,0,0,0.16);
    position: relative;
    overflow: hidden;
}

.services-contact-label {
    color: #ff3c3f;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.services-contact-inner h2 {
    color: #ffffff;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 800;
}

.services-contact-btn {
    padding: 14px 32px;
    border-radius: 999px;
    background: #d2161a;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.25s ease;
    box-shadow: 0 12px 26px rgba(210,22,26,0.24);
}

    .services-contact-btn:hover {
        background: #ffffff;
        color: #d2161a;
        transform: translateY(-2px);
    }

/* =========================
   ENTRANCE KEYFRAMES
========================= */

@keyframes servicesHeadingIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes servicesCardIn {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================
   TABLET
========================= */

@media (max-width: 1200px) {
    .services-carousel-frame {
        width: min(960px, 90vw);
        height: min(540px, calc(100vh - 210px));
        min-height: 490px;
    }

    .service-text h1 {
        font-size: 44px;
    }

    .service-image {
        width: 360px;
        height: min(400px, calc(100% - 92px));
    }
}

/* =========================
   FIXED MOBILE / SMALL SCREEN
========================= */

@media (max-width: 900px) {
    .services-carousel-section {
        min-height: auto;
        padding: 28px 16px 58px;
        justify-content: flex-start;
    }

        .services-carousel-section::after {
            width: 360px;
            height: 360px;
            right: -180px;
            top: 40px;
            border-width: 56px;
        }

    .services-page-heading {
        margin-bottom: 22px;
    }

        .services-page-heading p {
            font-size: 11px;
            margin-bottom: 6px;
        }

        .services-page-heading h1 {
            font-size: 34px;
        }

    .services-carousel-frame {
        width: 100%;
        max-width: 620px;
        height: auto;
        min-height: 0;
        border-radius: 24px;
        overflow: hidden;
    }

        .services-carousel-frame::after {
            width: 100%;
            background: radial-gradient(circle at 18% 75%, rgba(210,22,26,0.08), transparent 32%), linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.92));
        }

    .service-panel {
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        padding: 16px 16px 34px;
        overflow: hidden;
    }

        .service-panel::before {
            display: none;
        }

    .service-image {
        position: relative;
        order: 1;
        top: auto;
        left: auto;
        width: 100%;
        height: 330px;
        margin: 0 auto;
        transform: none;
        border-radius: 22px;
        box-shadow: 0 20px 38px rgba(0,0,0,0.16), 0 14px 0 rgba(210,22,26,0.08);
    }

        .service-image:hover {
            transform: none;
        }

        .service-image img {
            object-fit: cover;
        }

    .service-text {
        position: relative;
        order: 2;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 42px 26px 0 34px;
        background: transparent;
        justify-content: flex-start;
    }

    .service-line {
        left: 14px;
        top: 42px;
        height: 118px;
        transform: none;
    }

    .service-eyebrow,
    .service-count,
    .service-text h1,
    .service-short,
    .service-details-btn {
        margin-left: 0;
    }

    .service-text h1 {
        font-size: clamp(34px, 8vw, 52px);
        line-height: 1.02;
        margin-bottom: 22px;
        max-width: 100%;
        letter-spacing: -1.5px;
    }

    .service-short {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 26px;
    }

    .service-details-btn {
        padding: 13px 28px;
        font-size: 15px;
    }

    .service-dots {
        display: none;
    }

    .service-mobile-arrows {
        position: absolute;
        left: 28px;
        right: 28px;
        top: 181px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 80;
        pointer-events: none;
    }

    .service-arrow {
        pointer-events: auto;
        width: 48px;
        height: 48px;
        font-size: 36px;
    }

    .service-description {
        position: absolute;
        top: 32px;
        left: 22px;
        right: 22px;
        width: auto;
        height: auto;
        min-height: 430px;
        padding: 34px 28px;
        transform: translateX(120%);
        justify-content: flex-start;
        border-radius: 20px;
    }

        .service-description h2 {
            font-size: clamp(25px, 6vw, 34px);
        }

    .service-description-scroll {
        max-height: 180px;
    }

    .service-back-btn {
        position: static;
        transform: none;
        margin-bottom: 18px;
    }

        .service-back-btn:hover {
            transform: translateY(-2px);
        }

    .services-carousel-frame.is-expanded .service-image {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: 330px;
        margin: 0 auto;
        transform: none;
        opacity: 0.2;
    }

    .services-carousel-frame.is-expanded .service-text {
        opacity: 0.08;
        pointer-events: none;
        transform: translateX(-20px);
    }

    .services-carousel-frame.is-expanded .service-description {
        transform: translateX(0);
        opacity: 1;
    }

    .services-carousel-frame.is-expanded .service-mobile-arrows {
        display: none;
    }

    .services-carousel-frame.is-closing .service-image {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: 330px;
        margin: 0 auto;
        transform: none;
        opacity: 1;
    }

    .services-carousel-frame.is-closing .service-text {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0);
    }

    .services-carousel-frame.is-closing .service-description {
        transform: translateX(120%);
        opacity: 0;
    }

    .services-contact-section {
        padding: 54px 16px 76px;
    }

    .services-contact-inner {
        flex-direction: column;
        text-align: center;
        padding: 40px 26px;
        border-radius: 22px;
    }

        .services-contact-inner h2 {
            font-size: 28px;
        }
}

@media (max-width: 520px) {
    .services-carousel-section {
        padding: 24px 12px 50px;
    }

    .services-page-heading h1 {
        font-size: 30px;
    }

    .service-panel {
        padding: 12px 12px 30px;
    }

    .service-image {
        height: 285px;
        border-radius: 20px;
    }

    .service-mobile-arrows {
        left: 22px;
        right: 22px;
        top: 149px;
    }

    .service-arrow {
        width: 44px;
        height: 44px;
        font-size: 32px;
    }

    .service-text {
        padding: 36px 18px 0 28px;
    }

    .service-line {
        left: 10px;
        top: 36px;
        height: 108px;
    }

    .service-eyebrow {
        font-size: 10px;
        padding: 7px 11px;
    }

    .service-count {
        font-size: 12px;
    }

    .service-text h1 {
        font-size: 37px;
    }

    .service-short {
        font-size: 15px;
    }

    .service-description {
        top: 24px;
        left: 16px;
        right: 16px;
        min-height: 410px;
        padding: 32px 22px;
    }

    .services-carousel-frame.is-expanded .service-image,
    .services-carousel-frame.is-closing .service-image {
        height: 285px;
    }
}

@media (max-width: 380px) {
    .service-image {
        height: 245px;
    }

    .service-mobile-arrows {
        top: 129px;
    }

    .service-text h1 {
        font-size: 32px;
    }

    .service-text {
        padding-left: 24px;
    }

    .service-line {
        left: 8px;
    }

    .services-carousel-frame.is-expanded .service-image,
    .services-carousel-frame.is-closing .service-image {
        height: 245px;
    }
}

/* =========================
   MOBILE ANIMATIONS
========================= */

@media (max-width: 900px) {
    .services-carousel-frame.is-leaving-left .service-text,
    .services-carousel-frame.is-leaving-left .service-image {
        animation: mobileLeaveLeft 0.28s ease forwards;
    }

    .services-carousel-frame.is-entering-right .service-text,
    .services-carousel-frame.is-entering-right .service-image {
        animation: mobileEnterRight 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    .services-carousel-frame.is-leaving-right .service-text,
    .services-carousel-frame.is-leaving-right .service-image {
        animation: mobileLeaveRight 0.28s ease forwards;
    }

    .services-carousel-frame.is-entering-left .service-text,
    .services-carousel-frame.is-entering-left .service-image {
        animation: mobileEnterLeft 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    @keyframes mobileLeaveLeft {
        to {
            opacity: 0;
            transform: translateX(-36px);
            filter: blur(3px);
        }
    }

    @keyframes mobileEnterRight {
        from {
            opacity: 0;
            transform: translateX(36px);
            filter: blur(3px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
            filter: blur(0);
        }
    }

    @keyframes mobileLeaveRight {
        to {
            opacity: 0;
            transform: translateX(36px);
            filter: blur(3px);
        }
    }

    @keyframes mobileEnterLeft {
        from {
            opacity: 0;
            transform: translateX(-36px);
            filter: blur(3px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
            filter: blur(0);
        }
    }
}

/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* =========================
   FOOTER FIX FOR SERVICES PAGE
========================= */

.site-footer {
    margin-top: 0 !important;
    background: #ffffff !important;
}

.footer-stats {
    width: 100% !important;
    padding: 26px 6% !important;
    background: #f4f4f4 !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 !important;
    border-top: 1px solid #dddddd !important;
    border-bottom: 1px solid #dddddd !important;
    box-shadow: none !important;
}

    .footer-stats .stat-box {
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        text-align: center !important;
        padding: 18px 20px !important;
        border-right: 1px solid #d8d8d8 !important;
        display: block !important;
    }

        .footer-stats .stat-box:last-child {
            border-right: none !important;
        }

        .footer-stats .stat-box h2 {
            color: #d71920 !important;
            font-size: 34px !important;
            line-height: 1 !important;
            font-weight: 900 !important;
            margin: 0 0 4px !important;
        }

        .footer-stats .stat-box p {
            color: #000000 !important;
            font-size: 15px !important;
            font-weight: 800 !important;
            margin: 0 !important;
        }

.footer-main {
    background: #ffffff !important;
}

.footer-bottom {
    background: #d71920 !important;
}

@media (max-width: 700px) {
    .footer-stats {
        grid-template-columns: 1fr !important;
    }

        .footer-stats .stat-box {
            border-right: none !important;
            border-bottom: 1px solid #d8d8d8 !important;
        }

            .footer-stats .stat-box:last-child {
                border-bottom: none !important;
            }
}

/* =========================
   SERVICE POSTERS SECTION
========================= */

.service-posters-section {
    width: 100%;
    padding: 110px 40px 50px;
    background: radial-gradient(circle at 12% 18%, rgba(210,22,26,0.08), transparent 28%), linear-gradient(#f7f7f7, #ffffff);
    position: relative;
    overflow: hidden;
}

.service-posters-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.service-posters-heading {
    text-align: center;
    margin-bottom: 54px;
}

    .service-posters-heading p {
        color: #d2161a;
        font-size: 13px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 2.5px;
        margin-bottom: 10px;
    }

    .service-posters-heading h2 {
        color: #111111;
        font-size: clamp(38px, 5vw, 62px);
        line-height: 1;
        font-weight: 900;
        letter-spacing: -2px;
        margin: 0;
    }

    .service-posters-heading span {
        display: block;
        width: 82px;
        height: 4px;
        background: #d2161a;
        border-radius: 999px;
        margin: 22px auto 0;
    }

/* full poster layout */
.service-posters-grid {
    display: flex;
    flex-direction: column;
    gap: 46px;
    max-width: 1080px;
    margin: 0 auto;
}

.service-poster-card,
.service-poster-large {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    grid-row: auto;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    padding: 18px;
    box-shadow: 0 24px 58px rgba(0,0,0,0.10), 0 10px 26px rgba(210,22,26,0.07);
    transition: 0.35s ease;
}

    .service-poster-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 30px 70px rgba(0,0,0,0.14), 0 14px 30px rgba(210,22,26,0.10);
    }

    .service-poster-card img {
        width: 100%;
        height: auto;
        min-height: 0;
        object-fit: contain;
        display: block;
        border-radius: 16px;
        transition: 0.35s ease;
    }

    .service-poster-card:hover img {
        transform: scale(1.01);
    }

/* remove overlay so poster is not blocked */
.service-poster-overlay {
    display: none;
}

/* =========================
   POSTERS RESPONSIVE
========================= */

@media (max-width: 900px) {
    .service-posters-section {
        padding: 76px 16px 36px;
    }

    .service-posters-grid {
        gap: 34px;
    }

    .service-poster-card,
    .service-poster-large {
        border-radius: 20px;
        padding: 12px;
    }

        .service-poster-card img {
            border-radius: 14px;
        }
}

@media (max-width: 520px) {
    .service-posters-section {
        padding: 60px 12px 28px;
    }

    .service-posters-heading {
        margin-bottom: 34px;
    }

        .service-posters-heading h2 {
            font-size: 34px;
        }

    .service-posters-grid {
        gap: 26px;
    }

    .service-poster-card,
    .service-poster-large {
        border-radius: 16px;
        padding: 8px;
    }

        .service-poster-card img {
            border-radius: 12px;
        }
}