.psfm-services-page {
            padding: 76px 0;
            background:
                radial-gradient(circle at top left, rgba(226, 31, 38, 0.06), transparent 30%),
                linear-gradient(180deg, #f7f9fc 0%, #ffffff 42%, #f8fafc 100%);
            overflow-x: hidden;
        }

        .psfm-service-grid {
            row-gap: 26px;
            margin-top: 34px;
        }

        .psfm-service-group {
            margin-top: 46px;
        }

        .psfm-service-group:first-of-type {
            margin-top: 30px;
        }

        .psfm-service-group-head {
            max-width: 760px;
            padding: 22px 24px;
            border-radius: 22px;
            background: #fff;
            border: 1px solid rgba(16, 32, 56, 0.1);
            box-shadow: 0 18px 52px rgba(9, 21, 38, 0.07);
        }

        .psfm-service-group-head span {
            display: inline-flex;
            margin-bottom: 8px;
            color: #e21f26;
            font-size: 0.74rem;
            font-weight: 800;
            letter-spacing: 0.16em;
            text-transform: uppercase;
        }

        .psfm-service-group-head h2 {
            margin: 0 0 8px;
            color: #0a1628;
            font-size: clamp(1.45rem, 2.4vw, 2rem);
            line-height: 1.18;
        }

        .psfm-service-group-head p {
            margin: 0;
            color: #5d6a7c;
            line-height: 1.65;
        }

        .psfm-service-grid > [class*="col-"] {
            min-width: 0;
        }

        .psfm-services-page .site-heading {
            max-width: 900px;
            margin-inline: auto;
        }

        .psfm-services-page .site-heading p,
        .psfm-service-card h3,
        .psfm-service-card p {
            overflow-wrap: anywhere;
        }

        .psfm-service-card {
            position: relative;
            height: 100%;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            border-radius: 24px;
            background: #fff;
            border: 1px solid rgba(16, 32, 56, 0.1);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
        }

        .psfm-service-card:hover {
            transform: translateY(-5px);
            border-color: rgba(226, 31, 38, 0.2);
            box-shadow: 0 24px 64px rgba(9, 21, 38, 0.14);
        }

        .psfm-service-media {
            position: relative;
            aspect-ratio: 1 / 1;
            overflow: hidden;
            background: linear-gradient(135deg, #0a1628, #10233f);
            border-radius: 0;
        }

        .psfm-service-media::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(10, 22, 40, 0.25), rgba(10, 22, 40, 0.86));
            pointer-events: none;
        }

        .psfm-service-media img,
        .psfm-service-media picture {
            width: 100%;
            height: 100%;
            display: block;
        }

        .psfm-service-media img {
            object-fit: cover;
            object-position: center;
            transition: transform 0.35s ease;
        }

        .psfm-service-card:hover .psfm-service-media img {
            transform: scale(1.045);
        }

        .psfm-service-badge {
            position: absolute;
            left: 18px;
            bottom: 18px;
            z-index: 1;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            max-width: calc(100% - 36px);
            padding: 8px 12px;
            border-radius: 999px;
            color: #fff;
            background: rgba(8, 20, 38, 0.78);
            border: 1px solid rgba(255, 255, 255, 0.16);
            backdrop-filter: blur(8px);
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.03em;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .psfm-service-body {
            display: flex;
            flex: 1 1 auto;
            flex-direction: column;
            padding: 22px 22px 22px;
        }

        .psfm-service-icon {
            width: 54px;
            height: 54px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 14px;
            border-radius: 17px;
            color: #e21f26;
            background: linear-gradient(145deg, rgba(226, 31, 38, 0.1), rgba(16, 35, 63, 0.08));
            font-size: 1.22rem;
        }

        .psfm-service-card h3 {
            margin: 0 0 12px;
            color: #0a1628;
            font-size: clamp(1.16rem, 1.6vw, 1.35rem);
            line-height: 1.28;
        }

        .psfm-service-card h3 a {
            color: inherit;
        }

        .psfm-service-card h3 a:hover {
            color: #e21f26;
        }

        .psfm-service-card p {
            color: #5d6a7c;
            line-height: 1.65;
            margin-bottom: 18px;
            display: -webkit-box;
            overflow: hidden;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .psfm-service-actions {
            margin-top: auto;
            display: grid;
            grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
            gap: 9px;
        }

        .psfm-service-actions .theme-btn,
        .psfm-service-actions .theme-btn-white {
            width: 100%;
            min-width: 0;
            min-height: 44px;
            padding: 11px 14px;
            justify-content: center;
            font-size: 0.82rem;
            box-shadow: none;
        }

        html[dir="rtl"] .psfm-service-badge {
            right: 18px;
            left: auto;
        }

        html[dir="rtl"] .psfm-service-card,
        html[dir="rtl"] .psfm-service-body {
            text-align: right;
        }

        @media (max-width: 767px) {
            .psfm-services-page {
                padding: 48px 0;
            }

            .psfm-service-grid {
                --bs-gutter-x: 0;
                margin-top: 26px;
                row-gap: 20px;
            }

            .psfm-service-group {
                margin-top: 34px;
            }

            .psfm-service-group-head {
                padding: 20px 18px;
            }

            .psfm-services-page .site-heading {
                text-align: center;
            }

            .psfm-services-page .site-heading h2 {
                font-size: clamp(2rem, 8.5vw, 2.35rem);
                line-height: 1.12;
                max-width: 100%;
                overflow-wrap: break-word;
            }

            .psfm-services-page .site-heading p {
                font-size: 0.98rem;
                line-height: 1.65;
                max-width: 100%;
            }

            .psfm-services-page .site-heading .d-flex {
                flex-direction: column;
                align-items: stretch;
                width: 100%;
            }

            .psfm-services-page .site-heading .theme-btn,
            .psfm-services-page .site-heading .theme-btn-white {
                width: 100%;
                justify-content: space-between;
            }

            .psfm-service-body {
                padding: 20px 18px 18px;
            }

            .psfm-service-actions {
                grid-template-columns: 1fr;
            }

            .psfm-service-card h3 {
                font-size: 1.12rem;
            }
        }

        /* Final service grid polish: calmer cards, tighter copy, balanced mobile CTAs. */
        .psfm-services-page {
            padding: clamp(58px, 5.8vw, 70px) 0;
        }

        .psfm-service-grid {
            row-gap: 22px;
            margin-top: 30px;
        }

        .psfm-service-card {
            border-radius: 22px;
            box-shadow: 0 16px 38px rgba(9, 21, 38, 0.08);
        }

        .psfm-service-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 22px 54px rgba(9, 21, 38, 0.12);
        }

        .psfm-service-media {
            aspect-ratio: 1 / 1;
        }

        .psfm-service-media img {
            object-position: center;
        }

        .psfm-service-body {
            padding: 20px 20px 20px;
        }

        .psfm-service-icon {
            width: 48px;
            height: 48px;
            margin-bottom: 12px;
            border-radius: 15px;
        }

        .psfm-service-card h3 {
            font-size: clamp(1.08rem, 1.35vw, 1.24rem);
            line-height: 1.28;
            margin-bottom: 10px;
        }

        .psfm-service-card p {
            line-height: 1.58;
            margin-bottom: 16px;
        }

        .psfm-service-actions {
            gap: 8px;
        }

        .psfm-service-actions .theme-btn,
        .psfm-service-actions .theme-btn-white {
            min-height: 42px;
            padding: 10px 13px;
            font-size: 0.8rem;
        }

        @media (max-width: 767px) {
            .psfm-services-page {
                padding: 40px 0;
            }

            .psfm-service-grid {
                margin-top: 22px;
                row-gap: 18px;
            }

            .psfm-services-page .site-heading h2 {
                font-size: clamp(1.62rem, 7.2vw, 2.05rem);
                line-height: 1.12;
                letter-spacing: -0.015em;
            }

            .psfm-services-page .site-heading p {
                font-size: 0.95rem;
                line-height: 1.6;
            }

            .psfm-services-page .site-heading .theme-btn,
            .psfm-services-page .site-heading .theme-btn-white {
                justify-content: center;
            }

            .psfm-service-media {
                aspect-ratio: 1 / 1;
            }

            .psfm-service-body {
                padding: 18px;
            }

            .psfm-service-actions {
                grid-template-columns: 1fr;
                gap: 8px;
            }

            .psfm-service-actions .theme-btn,
            .psfm-service-actions .theme-btn-white {
                min-height: 41px;
            }
        }

        /* Generic service-grid/card support for simple CMS sections. */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .service-card {
            width: 100%;
            aspect-ratio: 1 / 1;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        }

        .service-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
            transition: 0.3s ease;
        }

        .service-card:hover img {
            transform: scale(1.05);
        }

        /* Premium KSA service card polish: visible benefit line, stable card height, CTA clarity. */
        .psfm-service-benefit {
            display: inline-flex;
            align-items: flex-start;
            gap: 9px;
            margin: 0 0 16px;
            padding: 10px 12px;
            border-radius: 14px;
            background: #f8fafc;
            border: 1px solid rgba(16, 32, 56, 0.08);
            color: #0a1628;
            font-size: 0.86rem;
            font-weight: 800;
            line-height: 1.45;
        }

        .psfm-service-benefit i {
            color: #e21f26;
            margin-top: 2px;
            flex: 0 0 auto;
        }

        .psfm-service-card p {
            min-height: 3.12em;
        }

        .psfm-service-actions .theme-btn {
            background: #e21f26;
            color: #fff;
        }

        .psfm-service-actions .theme-btn:hover {
            background: #c91b22;
            color: #fff;
        }

        .psfm-service-actions .theme-btn-white {
            background: #f8fafc;
            color: #0a1628;
            border-color: #e6eaf0;
        }

        .psfm-service-actions .theme-btn-white:hover {
            background: #0a1628;
            color: #fff;
            border-color: #0a1628;
        }

        @media (max-width: 767px) {
            .psfm-service-card p {
                min-height: 0;
            }

            .psfm-service-benefit {
                margin-bottom: 14px;
            }
        }

