/* Services page styles scoped to main.services-page */

.services-page {
    --services-text: #111827;
    --services-muted: #4b5563;
    --services-navy: #162435;
    --services-gold: #ab874b;
    --services-bg: #f3f4f6;
    --services-surface: #ffffff;
    --services-line: #e5e7eb;
    --services-shadow-soft: 0 14px 38px rgba(15, 23, 42, 0.08);
    --services-shadow-strong: 0 18px 40px rgba(15, 23, 42, 0.28);
    background-color: var(--services-bg);
    background-image:
        radial-gradient(circle at 12% 10%, rgba(171, 135, 75, 0.12), transparent 52%),
        radial-gradient(circle at 88% 14%, rgba(22, 36, 53, 0.08), transparent 45%),
        repeating-linear-gradient(135deg, rgba(22, 36, 53, 0.03), rgba(22, 36, 53, 0.03) 1px, transparent 1px, transparent 12px);
    background-size: auto, auto, 240px 240px;
    color: var(--services-text);
}

.services-page p {
    margin: 0;
}

.services-page .section-header {
    text-align: center;
    margin-bottom: 32px;
}

.services-page .section-header--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.services-page .section-subtitle {
    max-width: 760px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.8;
    color: var(--services-muted);
}

/* Heading pattern used by sections */
.services-page .ov-heading {
    display: flex;
    align-items: center;
    gap: 16px;
}

.services-page .ov-heading--center {
    justify-content: center;
    width: 100%;
}

.services-page .ov-heading-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--services-navy);
    white-space: nowrap;
}

.services-page .ov-heading-line {
    flex: 1;
    height: 2px;
    border-radius: 999px;
    background-color: var(--services-gold);
    opacity: 0.9;
}

/* Hero */
.services-page .services-hero {
    padding-block: 80px 56px;
    background: #ffffff;
}

.services-page .services-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: start;
}

.services-page .services-hero-title {
    font-size: clamp(30px, 3.2vw, 48px);
    font-weight: 700;
    line-height: 1.4;
    color: var(--services-navy);
    margin: 0;
}

.services-page .services-hero-subtitle {
    font-size: 18px;
    line-height: 1.9;
    color: #717171;
}

/* Valuation intro */
.services-page .valuation-intro {
    padding-block: 64px;
    background: #ffffff;
}

.services-page .valuation-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: flex-start;
}

.services-page .valuation-text p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--services-muted);
}

.services-page .valuation-text p + p {
    margin-top: 10px;
}

.services-page .valuation-points-block {
    margin-top: 18px;
}

.services-page .valuation-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--services-navy);
    margin-bottom: 10px;
}

.services-page .valuation-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.services-page .valuation-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    background-color: #f9fafb;
}

.services-page .valuation-point-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(171, 135, 75, 0.18), rgba(22, 36, 53, 0.06));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--services-navy);
    flex-shrink: 0;
}

.services-page .valuation-point-icon i {
    font-size: 16px;
}

.services-page .valuation-goal {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(171, 135, 75, 0.08), rgba(255, 255, 255, 0.9));
    border-inline-start: 3px solid var(--services-gold);
    color: #374151;
}

.services-page .valuation-visual {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.services-page .valuation-image {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    height: 240px;
    background-image: url("https://images.unsplash.com/photo-1505843513577-22bb7d21e455?auto=format&fit=crop&w=1100&q=80");
    background-image: image-set(
        url("../img/webp/services-image.avif") type("image/avif"),
        url("https://images.unsplash.com/photo-1505843513577-22bb7d21e455?auto=format&fit=crop&w=1100&q=80") type("image/jpeg")
    );
    background-size: cover;
    background-position: center;
    box-shadow: var(--services-shadow-strong);
}

.services-page .valuation-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.15));
}

.services-page .valuation-stat-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f9fafb;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.services-page .valuation-stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: radial-gradient(circle at 0 0, #ab874b, #162435);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.services-page .valuation-stat-icon i {
    font-size: 18px;
}

.services-page .valuation-stat-text {
    flex: 1;
}

.services-page .valuation-stat-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--services-text);
    margin-bottom: 2px;
}

.services-page .valuation-stat-sub {
    font-size: 13px;
    color: var(--services-muted);
    line-height: 1.7;
}

/* Services list */
.services-page .services-list-section {
    padding-block: 64px;
    background: #f9fafb;
}

.services-page .services-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.services-page .service-card {
    border-radius: 18px;
    overflow: hidden;
    background-color: var(--services-surface);
    box-shadow: var(--services-shadow-soft);
    display: flex;
    flex-direction: column;
}

.services-page .service-card-media {
    width: 100%;
    height: 190px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-page .service-card-media--valuation {
    background-image: url("../img/raw/cc874ae3a5007d43143b6d6f6b44a059(1).jpg");
    background-image: image-set(
        url("../img/webp/cc874ae3a5007d43143b6d6f6b44a059(1).webp") type("image/webp"),
        url("../img/raw/cc874ae3a5007d43143b6d6f6b44a059(1).jpg") type("image/jpeg")
    );
}

.services-page .service-card-media--under-construction {
    background-image: url("../img/raw/KAFD_1_0-1(1).jpg");
    background-image: image-set(
        url("../img/webp/KAFD_1_0-1(1).webp") type("image/webp"),
        url("../img/raw/KAFD_1_0-1(1).jpg") type("image/jpeg")
    );
}

.services-page .service-card-media--market-studies {
    background-image: url("../img/raw/Data-Privacy-Security-Safeguarding-the-Digital-Future-of-the-UAE(1).jpg");
    background-image: image-set(
        url("../img/webp/Data-Privacy-Security-Safeguarding-the-Digital-Future-of-the-UAE(1).webp") type("image/webp"),
        url("../img/raw/Data-Privacy-Security-Safeguarding-the-Digital-Future-of-the-UAE(1).jpg") type("image/jpeg")
    );
}

.services-page .service-card-media--data-platform {
    background-image: url("../img/raw/riyadh(1).jpg");
    background-image: image-set(
        url("../img/webp/riyadh(1).webp") type("image/webp"),
        url("../img/raw/riyadh(1).jpg") type("image/jpeg")
    );
}

.services-page .service-card-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.services-page .service-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(171, 135, 75, 0.2), rgba(22, 36, 53, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--services-navy);
}

.services-page .service-card-icon i {
    font-size: 20px;
}

.services-page .service-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--services-navy);
}

.services-page .service-card-text {
    font-size: 14px;
    line-height: 1.9;
    color: var(--services-muted);
}

/* Who we serve */
.services-page .about-clients {
    padding-block: 80px;
    background: url("../img/raw/light-pattern.png") repeat;
    background: image-set(
        url("../img/webp/light-pattern.webp") type("image/webp"),
        url("../img/raw/light-pattern.png") type("image/png")
    ) repeat;
}

.services-page .clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.services-page .client-card {
    padding: 18px 18px 20px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.services-page .client-media {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    background-image: url("../img/raw/heighten_527_crop_3000_1532_0_0_q90_3111611_ce8aa03a0a85ad1e3a1a36bd7(1).jpeg");
    background-image: image-set(
        url("../img/webp/heighten_527_crop_3000_1532_0_0_q90_3111611_ce8aa03a0a85ad1e3a1a36bd7(1).webp") type("image/webp"),
        url("../img/raw/heighten_527_crop_3000_1532_0_0_q90_3111611_ce8aa03a0a85ad1e3a1a36bd7(1).jpeg") type("image/jpeg")
    );
}

.services-page .client-media--banks {
    background-image: url("../img/raw/hero-how-saudi-banks-can-be-resilient-and-grow(1).avif");
    background-image: image-set(
        url("../img/webp/hero-how-saudi-banks-can-be-resilient-and-grow(1).webp") type("image/webp"),
        url("../img/raw/hero-how-saudi-banks-can-be-resilient-and-grow(1).avif") type("image/avif")
    );
}

.services-page .client-media--companies {
    background-image: url("../img/raw/saudi-employee(1).jpg");
    background-image: image-set(
        url("../img/webp/saudi-employee(1).webp") type("image/webp"),
        url("../img/raw/saudi-employee(1).jpg") type("image/jpeg")
    );
}

.services-page .client-media--gov {
    background-image: url("../img/raw/104468(1).jpg");
    background-image: image-set(
        url("../img/webp/104468(1).webp") type("image/webp"),
        url("../img/raw/104468(1).jpg") type("image/jpeg")
    );
}

.services-page .client-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--services-navy);
}

.services-page .client-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--services-muted);
}

/* Valuation methods */
.services-page .valuation-methods {
    padding-block: 64px;
    background: #f9fafb;
}

.services-page .methods-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.services-page .method-card {
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.services-page .method-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(171, 135, 75, 0.22), rgba(22, 36, 53, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--services-navy);
}

.services-page .method-icon i {
    font-size: 20px;
}

.services-page .method-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--services-navy);
}

.services-page .method-text {
    font-size: 14px;
    line-height: 1.9;
    color: var(--services-muted);
}

.services-page .method-usage {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    background-color: #f9fafb;
}

.services-page .method-usage-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--services-navy);
    margin-bottom: 6px;
}

.services-page .method-usage-label i {
    font-size: 16px;
    color: #16a34a;
}

.services-page .method-usage ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.services-page .method-usage li {
    font-size: 13px;
    color: var(--services-muted);
}

.services-page .method-card--market .method-icon {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), rgba(15, 23, 42, 0.06));
}

.services-page .method-card--cost .method-icon {
    background: radial-gradient(circle, rgba(234, 179, 8, 0.22), rgba(15, 23, 42, 0.06));
}

.services-page .method-card--income .method-icon {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.22), rgba(15, 23, 42, 0.06));
}

/* Resources / CTA */
.services-page .resources-cta {
    padding-block: 80px;
    background:
        radial-gradient(circle at top, rgba(171, 135, 75, 0.14), transparent 60%),
        #f9fafb;
}

.services-page .resources-cta-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 32px;
}

.services-page .resources-cta-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--services-navy);
    margin-bottom: 12px;
}

.services-page .resources-cta-subtitle {
    font-size: 16px;
    line-height: 1.8;
    color: var(--services-muted);
}

.services-page .resources-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.services-page .resources-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 20px 18px;
    border-radius: 20px;
    background: var(--services-surface);
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
    text-align: start;
}

.services-page .resources-card-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.services-page .resources-icon {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: radial-gradient(circle at 0 0, #ab874b, #162435);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.services-page .resources-icon i {
    font-size: 22px;
}

.services-page .resources-badge {
    position: absolute;
    bottom: -4px;
    inset-inline-start: -4px;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: #ffffff;
    color: #ab874b;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
}

.services-page .resources-badge--en {
    color: #1d4ed8;
}

.services-page .resources-icon--whatsapp {
    background: radial-gradient(circle at 0 0, #22c55e, #15803d);
}

.services-page .resources-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--services-navy);
}

.services-page .resources-card-text {
    font-size: 14px;
    line-height: 1.9;
    color: var(--services-muted);
}

.services-page .resources-card-actions {
    margin-top: 16px;
}

.services-page .resources-card--whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff;
    border: none;
    box-shadow: 0 20px 40px rgba(18, 140, 126, 0.35);
}

.services-page .resources-card--whatsapp .resources-card-title,
.services-page .resources-card--whatsapp .resources-card-text {
    color: #ffffff;
}

.services-page .resources-card--whatsapp .resources-icon--whatsapp {
    background: #ffffff;
    color: #128c7e;
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.25);
}

.services-page .w-100 {
    width: 100%;
}

/* Responsive tweaks */
@media (max-width: 992px) {
    .services-page .valuation-intro-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .services-page .valuation-visual {
        order: -1;
    }

    .services-page .services-hero {
        padding-block: 64px 48px;
    }
}

@media (max-width: 720px) {
    .services-page .ov-heading-text {
        font-size: 24px;
        white-space: normal;
        text-align: center;
    }

    .services-page .services-hero {
        padding-block: 56px 40px;
    }
}

@media (max-width: 600px) {
    .services-page .services-hero-title {
        font-size: 32px;
    }
}

@media (min-width: 768px) {
    .services-page .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-page .methods-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
