﻿/* Services hub (index) */
.svc-section__hub-link {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
}

.svc-section__hub-link a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.svc-section__hub-link a:hover {
    text-decoration: underline;
}

.service-hub-hero .fade-in {
    opacity: 1;
    transform: none;
}

.service-hub-hero {
    position: relative;
    padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
    background: var(--gradient-dark);
    color: #fff;
    overflow: hidden;
}

.service-hub-hero__glow-a,
.service-hub-hero__glow-b {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    opacity: 0.45;
}

.service-hub-hero__glow-a {
    width: 320px;
    height: 320px;
    top: -80px;
    inset-inline-end: -60px;
    background: rgba(var(--accent-rgb), 0.35);
}

.service-hub-hero__glow-b {
    width: 260px;
    height: 260px;
    bottom: -40px;
    inset-inline-start: -40px;
    background: rgba(249, 115, 22, 0.2);
}

.service-hub-hero__breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
}

.service-hub-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.service-hub-hero__breadcrumb a:hover {
    color: var(--accent-light);
}

.service-hub-hero__title {
    margin: 0 0 1rem;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.28);
    word-break: break-word;
}

.service-hub-hero__lead {
    margin: 0;
    max-width: 42rem;
    font-size: clamp(1rem, 1.9vw, 1.125rem);
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.service-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 1.25rem;
}

.service-hub-card {
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    border-radius: var(--r-lg);
    background: var(--card-bg, #fff);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-hub-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.service-hub-card__link {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.35rem 1.35rem 1.15rem;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.service-hub-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    border-radius: 0.75rem;
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--accent);
    font-size: 1.25rem;
}

.service-hub-card__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

.service-hub-card__desc {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-muted);
    flex-grow: 1;
}

.service-hub-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-hub-card__tags li {
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--surface-2, #edf2f7);
    color: var(--text-2);
}

.service-hub-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 0.25rem;
}


/* â”€â”€ Service detail â€” premium layout â”€â”€ */

.svc-page--premium {
    background: #fff;
}

.svc-page--premium .fade-in {
    opacity: 1;
    transform: none;
}

.hero-fold::before,
.svc-page--premium::before,
.svc-page--premium::after,
.svc-page--premium .sp-hero::before,
.svc-page--premium .sp-hero::after {
    display: none !important;
    content: none !important;
    background: none !important;
    background-image: none !important;
}

/* Hero */
.sp-hero {
    position: relative;
    padding: clamp(2rem, 5vw, 3rem) 0 clamp(2.5rem, 5vw, 3.5rem);
    color: #fff;
    overflow: hidden;
}

.sp-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 70% at 100% -10%, rgba(var(--accent-rgb), 0.5) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(249, 115, 22, 0.12) 0%, transparent 50%),
        linear-gradient(160deg, #081525 0%, var(--primary) 42%, #1a3352 100%);
}

.sp-hero__grid-lines {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.sp-hero__inner {
    position: relative;
    z-index: 1;
}

.sp-crumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 clamp(2rem, 4vw, 3rem);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.sp-crumb a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.sp-crumb a:hover {
    color: var(--accent-light);
}

.sp-crumb li[aria-current="page"] {
    color: #fff;
    font-weight: 600;
}

.sp-crumb .bi {
    font-size: 0.55rem;
    opacity: 0.4;
}

.sp-hero__stack {
    max-width: 44rem;
}

.sp-hero__banner {
    margin: 1.75rem 0 0;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.sp-hero__banner img {
    display: block;
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
}

.sp-detail-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.sp-prose + .sp-detail-highlights {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
    .sp-detail-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 2.5rem;
    }
}

.sp-detail-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.65;
    color: var(--primary);
}

.sp-detail-highlights .bi {
    flex-shrink: 0;
    margin-top: 0.3rem;
    font-size: 0.875rem;
    color: var(--accent);
}

.sp-hero__kicker {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-light);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.sp-hero__title {
    margin: 0 0 1rem;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: clamp(2.1rem, 5.5vw, 3.35rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #fff;
}

.sp-hero__lead {
    margin: 0 0 1.75rem;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
    max-width: 38rem;
}

.sp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.sp-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.sp-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

/* Trust bar */
.sp-trust-bar {
    padding: 1.25rem 0;
    background: var(--bg-light, #f8fafc);
    border-bottom: 1px solid var(--border);
}

.sp-trust-bar__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-2);
}

.sp-trust-bar__list li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.sp-trust-bar__list .bi {
    color: var(--accent);
}

/* Sections */
.sp-section {
    padding-top: var(--flow-space, clamp(3.25rem, 5.5vw, 4.5rem));
    padding-bottom: var(--flow-space, clamp(3.25rem, 5.5vw, 4.5rem));
}

.sp-section--muted {
    background: var(--bg-light, #f8fafc);
}

.sp-prose {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--text-2);
}

.sp-prose p {
    margin: 0 0 1.25rem;
}

.sp-prose p:last-child {
    margin-bottom: 0;
}

.sp-side-label {
    margin: 0 0 0.35rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.sp-side-title {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
}

.sp-side-lead {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.sp-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sp-benefits__item {
    display: flex;
    gap: 0.85rem;
    padding: 1.1rem 1rem;
    border-radius: var(--r-lg);
    background: #fff;
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    box-shadow: var(--shadow-sm);
}

.sp-section--muted .sp-benefits__item,
.sp-section .sp-benefits__item {
    background: var(--bg-light, #f8fafc);
}

.sp-section .sp-benefits__item {
    background: #fff;
}

.sp-benefits__mark {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.1);
}

.sp-benefits__name {
    margin: 0 0 0.25rem;
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.35;
}

.sp-benefits__text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.sp-process {
    max-width: 52rem;
    margin: 0 auto;
}

/* CTA */
.sp-cta {
    padding: clamp(2rem, 5vw, 3.5rem) 0;
    background: #fff;
}

.sp-cta__panel {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(2rem, 5vw, 2.75rem) clamp(1.75rem, 4vw, 3rem);
    border-radius: 1.5rem;
    overflow: hidden;
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-xl);
}

.sp-cta__glow {
    position: absolute;
    width: 280px;
    height: 280px;
    top: -40%;
    inset-inline-end: -5%;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), 0.45);
    filter: blur(60px);
    pointer-events: none;
}

.sp-cta__copy {
    position: relative;
    z-index: 1;
}

.sp-cta__title {
    margin: 0 0 0.5rem;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-size: clamp(1.35rem, 3.5vw, 1.9rem);
    font-weight: 800;
    line-height: 1.25;
}

.sp-cta__sub {
    margin: 0;
    max-width: 30rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
}

.sp-cta__btn {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.sp-contact {
    border-top: 1px solid var(--border);
}

.sp-contact .contact-section {
    padding-top: var(--flow-space, clamp(3rem, 5vw, 4rem));
}

.svc-page--premium #svc-faq.faq-section {
    background: #fff;
}

/* Related */
.sp-related-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    height: 100%;
    padding: 1.35rem;
    border-radius: var(--r-lg);
    background: #fff;
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.sp-related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--accent-rgb), 0.25);
    box-shadow: var(--shadow-md);
}

.sp-related-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    border-radius: 0.75rem;
    font-size: 1.2rem;
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.1);
}

.sp-related-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.4;
    flex-grow: 1;
}

.sp-related-card__arrow {
    font-size: 1.1rem;
    color: var(--accent);
    transition: transform 0.2s ease;
}

.sp-related-card:hover .sp-related-card__arrow {
    transform: translateX(4px);
}

[dir="rtl"] .sp-related-card:hover .sp-related-card__arrow {
    transform: translateX(-4px);
}

.sp-related-more {
    margin: 1.5rem 0 0;
    text-align: center;
}

.sp-related-more a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.sp-related-more a:hover {
    text-decoration: underline;
}

/* Sticky */
.sp-sticky {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 1040;
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 28px rgba(15, 31, 53, 0.1);
    backdrop-filter: blur(10px);
}

.sp-sticky[hidden] {
    display: none !important;
}

.sp-sticky__btn {
    width: 100%;
    justify-content: center;
}

@media (min-width: 992px) {
    .sp-sticky {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .svc-page--premium {
        padding-bottom: 4.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sp-related-card:hover {
        transform: none;
    }

    .sp-related-card:hover .sp-related-card__arrow {
        transform: none;
    }
}
