/* ==========================================================================
   Home Page - Al-Tawajud Modern Engineering Design
   ========================================================================== */

.home-page {
    background: var(--bg-secondary);
    --home-eyebrow-size: clamp(1.0625rem, 1.8vw, 1.3125rem);
}

/* Homepage — small titles / eyebrows aligned with main headings */
.home-page .section-header__subtitle,
.home-page .section__subtitle {
    font-size: var(--home-eyebrow-size);
    letter-spacing: 0.04em;
    line-height: 1.5;
    margin-bottom: var(--space-4);
}

.home-page .section__subtitle {
    display: inline-block;
    color: var(--accent-500);
    font-weight: 700;
}

.home-page .agencies-section__eyebrow,
.home-page .sp-section__eyebrow {
    font-size: clamp(1rem, 1.6vw, 1.1875rem);
    padding: 0.5rem 1.25rem;
}

.home-page .hero-slide__eyebrow {
    font-size: clamp(1.0625rem, 2vw, 1.375rem);
}

.home-page .home-faq-section .section-tag {
    font-size: var(--home-eyebrow-size);
    letter-spacing: 0.04em;
}

.home-page .testimonials-intro p {
    font-size: clamp(1rem, 1.6vw, 1.1875rem);
    line-height: 1.6;
}

/* ===== HERO - Corporate Full-Width Slider ===== */
.hero-banners {
    position: relative;
    background: var(--bg-primary);
}

.hero-banners__inner {
    position: relative;
    min-height: clamp(480px, 78vh, 720px);
    overflow: hidden;
    background: var(--primary-900);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    pointer-events: none;
    transition:
        opacity 1.15s cubic-bezier(0.65, 0, 0.35, 1),
        visibility 1.15s cubic-bezier(0.65, 0, 0.35, 1);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    pointer-events: auto;
}

.hero-slide.is-leaving {
    opacity: 0;
    visibility: visible;
    z-index: 3;
    pointer-events: none;
}

.hero-slide.is-leaving .hero-slide__img {
    animation: none !important;
    transition: transform 1.15s cubic-bezier(0.65, 0, 0.35, 1);
    transform: scale(1.1);
}

.hero-slide.is-leaving .hero-slide__scrim {
    opacity: 0;
    transition: opacity 0.7s ease;
}

.hero-slide__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slide__media-link {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.14);
    transition: transform 1.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.hero-slide.active .hero-slide__img {
    transform: scale(1.06);
}

.hero-slide.active:not(.is-leaving) .hero-slide__img {
    animation: heroKenBurns 14s cubic-bezier(0.25, 0.1, 0.25, 1) 0.55s forwards;
}

.hero-slide.dir-next.active:not(.is-leaving) .hero-slide__img {
    animation-name: heroKenBurnsNext;
}

.hero-slide.dir-prev.active:not(.is-leaving) .hero-slide__img {
    animation-name: heroKenBurnsPrev;
}

@keyframes heroKenBurns {
    from { transform: scale(1.06) translate3d(0, 0, 0); }
    to   { transform: scale(1.12) translate3d(-0.4%, -0.25%, 0); }
}

@keyframes heroKenBurnsNext {
    from { transform: scale(1.06) translate3d(0.6%, 0, 0); }
    to   { transform: scale(1.12) translate3d(-0.5%, -0.3%, 0); }
}

@keyframes heroKenBurnsPrev {
    from { transform: scale(1.06) translate3d(-0.6%, 0, 0); }
    to   { transform: scale(1.12) translate3d(0.4%, -0.3%, 0); }
}

.hero-slide__scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.65, 0, 0.35, 1);
    background:
        radial-gradient(ellipse 85% 75% at 50% 45%, rgba(8, 33, 44, 0.72) 0%, rgba(8, 33, 44, 0.35) 50%, transparent 72%),
        linear-gradient(0deg, rgba(8, 33, 44, 0.55) 0%, transparent 42%),
        linear-gradient(180deg, rgba(8, 33, 44, 0.25) 0%, transparent 30%);
}

.hero-slide.active .hero-slide__scrim {
    opacity: 1;
}

.hero-slide:not(.hero-slide--has-content) .hero-slide__scrim {
    background:
        linear-gradient(0deg, rgba(8, 33, 44, 0.45) 0%, transparent 40%),
        linear-gradient(180deg, rgba(8, 33, 44, 0.2) 0%, transparent 25%);
}

/* Content panel */
.hero-slide__content {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.hero-slide__content .container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-inline: calc(52px + var(--space-6));
}

.hero-slide__panel {
    width: 100%;
    max-width: 720px;
    padding: var(--space-8) 0;
    text-align: center;
    pointer-events: auto;
}

.hero-slide.active .hero-slide__panel > * {
    opacity: 0;
    animation: heroElIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-slide.dir-next.active .hero-slide__panel > * {
    animation-name: heroElInNext;
}

.hero-slide.dir-prev.active .hero-slide__panel > * {
    animation-name: heroElInPrev;
}

.hero-slide.is-leaving .hero-slide__panel > * {
    animation: heroElOut 0.55s cubic-bezier(0.55, 0, 0.1, 1) forwards !important;
}

.hero-slide.active .hero-slide__eyebrow { animation-delay: 0.2s; }
.hero-slide.active .hero-slide__title { animation-delay: 0.38s; }
.hero-slide.active .hero-slide__desc { animation-delay: 0.54s; }
.hero-slide.active .hero-slide__actions { animation-delay: 0.7s; }

.hero-slide.active .hero-slide__eyebrow-line {
    transform: scaleX(0);
    animation: heroLineGrow 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.28s forwards;
}

@keyframes heroElIn {
    from {
        opacity: 0;
        transform: translate3d(0, 36px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes heroElInNext {
    from {
        opacity: 0;
        transform: translate3d(32px, 36px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes heroElInPrev {
    from {
        opacity: 0;
        transform: translate3d(-32px, 36px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes heroElOut {
    to {
        opacity: 0;
        transform: translate3d(0, -20px, 0);
    }
}

@keyframes heroLineGrow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

@keyframes heroContentIn {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HOMEPAGE — scroll reveals (native IntersectionObserver) ===== */
html.scroll-reveal-active .home-page [data-aos] {
    transition-property: opacity, transform;
    will-change: opacity, transform;
}

html.scroll-reveal-active .home-page [data-aos]:not(.is-revealed) {
    opacity: 0;
}

/* حركات أساسية */
html.scroll-reveal-active .home-page [data-aos="fade-in"]:not(.is-revealed) { transform: none; }
html.scroll-reveal-active .home-page [data-aos="fade-up"]:not(.is-revealed) { transform: translate3d(0, 32px, 0); }
html.scroll-reveal-active .home-page [data-aos="fade-down"]:not(.is-revealed) { transform: translate3d(0, -24px, 0); }
html.scroll-reveal-active .home-page [data-aos="fade-right"]:not(.is-revealed) { transform: translate3d(-36px, 0, 0); }
html.scroll-reveal-active .home-page [data-aos="fade-left"]:not(.is-revealed) { transform: translate3d(36px, 0, 0); }

/* تكبير — للمنتجات والإحصائيات */
html.scroll-reveal-active .home-page [data-aos="zoom-in"]:not(.is-revealed) { transform: scale(0.9); }
html.scroll-reveal-active .home-page [data-aos="zoom-in-up"]:not(.is-revealed) { transform: translate3d(0, 24px, 0) scale(0.94); }

/* ارتفاع — للمشاريع */
html.scroll-reveal-active .home-page [data-aos="slide-up"]:not(.is-revealed) { transform: translate3d(0, 56px, 0); }

/* قديمة — للتوافق */
html.scroll-reveal-active .home-page [data-aos="flip-up"]:not(.is-revealed) { transform: perspective(1600px) rotateX(-14deg); }
html.scroll-reveal-active .home-page [data-aos="flip-left"]:not(.is-revealed) { transform: perspective(1600px) rotateY(14deg); }

/* ضبط خاص لأقسام محددة */
html.scroll-reveal-active .home-page .stats-section [data-aos="zoom-in"]:not(.is-revealed) {
    transform: scale(0.82);
}

html.scroll-reveal-active .home-page .cta-section [data-aos="zoom-in"]:not(.is-revealed) {
    transform: scale(0.92);
}

html.scroll-reveal-active .home-page .locations-section__map-wrap[data-aos="zoom-in"]:not(.is-revealed) {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    html.scroll-reveal-active .home-page [data-aos="fade-right"]:not(.is-revealed),
    html.scroll-reveal-active .home-page [data-aos="fade-left"]:not(.is-revealed),
    html.scroll-reveal-active .home-page [data-aos="flip-left"]:not(.is-revealed) {
        transform: translate3d(0, 24px, 0);
    }

    html.scroll-reveal-active .home-page [data-aos="flip-up"]:not(.is-revealed),
    html.scroll-reveal-active .home-page [data-aos="slide-up"]:not(.is-revealed) {
        transform: translate3d(0, 28px, 0);
    }

    html.scroll-reveal-active .home-page [data-aos="zoom-in"]:not(.is-revealed),
    html.scroll-reveal-active .home-page [data-aos="zoom-in-up"]:not(.is-revealed) {
        transform: translate3d(0, 24px, 0) scale(0.96);
    }
}

@media (prefers-reduced-motion: reduce) {
    html.scroll-reveal-active .home-page [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slide__img {
        transition: none !important;
    }

    .hero-slide.active .hero-slide__img,
    .hero-slide.active:not(.is-leaving) .hero-slide__img {
        animation: none !important;
        transform: scale(1) !important;
    }

    .hero-slide.active .hero-slide__panel > *,
    .hero-slide.is-leaving .hero-slide__panel > * {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-slide.active .hero-slide__eyebrow-line {
        animation: none !important;
        transform: scaleX(1) !important;
    }
}

.hero-slide__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: clamp(1.0625rem, 2vw, 1.375rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary-300);
}

.hero-slide__eyebrow-line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
    border-radius: var(--radius-full);
    transform-origin: right center;
    flex-shrink: 0;
}

.hero-slide__title {
    font-size: clamp(1.875rem, 4.2vw, 3.25rem);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

.hero-slide__desc {
    font-size: clamp(1rem, 1.6vw, 1.1875rem);
    line-height: var(--leading-relaxed);
    color: rgba(255, 255, 255, 0.88);
    margin: 0 auto var(--space-6);
    max-width: 620px;
}

.hero-slide__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
}

.hero-slide__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.9rem 1.75rem;
    font-size: var(--text-base);
    font-weight: 700;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 28px rgba(37, 169, 224, 0.35);
}

.hero-slide__cta svg {
    transition: transform 0.25s ease;
}

.hero-slide__cta:hover svg {
    transform: translateX(-4px);
}

/* Counter */
.hero-banners__counter {
    position: absolute;
    top: var(--space-6);
    left: var(--space-6);
    z-index: 10;
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    font-family: var(--font-en, sans-serif);
    color: #fff;
    padding: 0.5rem 0.85rem;
    background: rgba(8, 33, 44, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    pointer-events: none;
}

.hero-banners__counter-current {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-400);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-banners__counter-current.is-changing {
    transform: translateY(-8px);
    opacity: 0;
}

.hero-banners__counter-sep {
    font-size: 0.8125rem;
    opacity: 0.45;
}

.hero-banners__counter-total {
    font-size: 0.8125rem;
    font-weight: 600;
    opacity: 0.65;
}

/* Side navigation */
.hero-slider__nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 10;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 var(--space-4);
    pointer-events: none;
}

.hero-slider__prev,
.hero-slider__next {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(37, 169, 224, 0.15);
    color: var(--primary-700);
    border-radius: var(--radius-lg);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 8px 24px rgba(8, 33, 44, 0.18);
    transition: all 0.28s ease;
}

.hero-slider__prev:hover,
.hero-slider__next:hover {
    background: var(--primary-500);
    border-color: var(--primary-500);
    color: #fff;
    transform: scale(1.04);
    box-shadow: 0 10px 28px rgba(37, 169, 224, 0.38);
}

/* Progress dots */
.hero-slider__dots {
    position: absolute;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.65rem;
    background: rgba(8, 33, 44, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
}

.hero-slider__dot {
    position: relative;
    width: 40px;
    height: 3px;
    padding: 0;
    border: none;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    overflow: hidden;
    transition: width 0.3s ease, background 0.3s ease;
}

.hero-slider__dot.active {
    width: 56px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-slider__dot-progress {
    position: absolute;
    inset: 0;
    width: 0;
    background: linear-gradient(90deg, var(--primary-400), var(--secondary-500));
    border-radius: inherit;
    transform-origin: right center;
}

.hero-slider__dot.active .hero-slider__dot-progress {
    animation: heroDotProgress var(--hero-slide-duration, 6s) linear forwards;
}

@keyframes heroDotProgress {
    from { width: 0; }
    to { width: 100%; }
}

.hero-slider__dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.45);
}

/* Brand stripe */
.hero-banners__stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 11;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.hero-banners__stripe-primary {
    display: block;
    height: 3px;
    background: var(--primary-500);
}

.hero-banners__stripe-secondary {
    display: block;
    height: 1px;
    background: var(--secondary-500);
}

/* Legacy — hidden */
.hero-banners--gallery,
.hero-banners__frame,
.hero-banners__accent,
.hero-banners__ui,
.hero-banners__geo,
.hero-slide__veil,
.hero-slide__shine,
.hero-slide__link,
.hero-slide__layout,
.hero-slide__visual,
.hero-slide__bg,
.hero-slide__overlay {
    display: none;
}

/* ===== INTRO — Premium Corporate ===== */
.intro-premium {
    position: relative;
    background: #ffffff;
    padding: clamp(2rem, 4vw, 3rem) 0 clamp(1.25rem, 2.5vw, 2rem);
    overflow: hidden;
}

.intro-premium__blueprint {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.intro-premium__blueprint-svg {
    width: 100%;
    height: 100%;
}

.intro-premium__inner {
    position: relative;
    z-index: 1;
}

.intro-premium__layout {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(0, 820px) minmax(120px, 1fr);
    align-items: center;
    gap: clamp(1rem, 2vw, 1.75rem);
}

.intro-premium__main {
    grid-column: 2;
    grid-row: 1;
    max-width: 820px;
    width: 100%;
    margin-inline: auto;
    text-align: center;
    justify-self: center;
}

.intro-premium__label {
    margin-bottom: 0.65rem;
}

.intro-premium__company {
    font-size: clamp(2rem, 4.8vw, 3.25rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
    color: #25A9E0;
}

.intro-premium__title {
    font-size: clamp(1.25rem, 2.4vw, 1.875rem);
    font-weight: 700;
    line-height: 1.45;
    color: var(--accent-500);
    margin: 0 auto 1rem;
    max-width: 28ch;
}

.intro-premium__description {
    font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
    line-height: 1.85;
    color: #4a6272;
    margin: 0 auto;
    max-width: 62ch;
}

.intro-premium__accent {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    position: relative;
    width: clamp(140px, 14vw, 200px);
    height: clamp(140px, 14vw, 200px);
    flex-shrink: 0;
}

html[dir="ltr"] .intro-premium__accent {
    grid-column: 3;
}

.intro-premium__accent-ring {
    position: absolute;
    inset: 0;
    border: 1.5px dashed rgba(37, 169, 224, 0.22);
    border-radius: 20px;
    transform: rotate(8deg);
}

.intro-premium__accent-block {
    position: absolute;
    inset: 18%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 169, 224, 0.1), rgba(178, 43, 143, 0.06));
    border: 1px solid rgba(37, 169, 224, 0.15);
    border-radius: 20px;
    color: #25A9E0;
    box-shadow: 0 12px 40px rgba(37, 169, 224, 0.1);
}

.intro-premium__accent-block--image {
    padding: 0.35rem;
    overflow: hidden;
    background: #fff;
}

.intro-premium__accent-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
}

.intro-premium__divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: clamp(1rem, 2vw, 1.5rem);
}

.intro-premium__divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 169, 224, 0.18), transparent);
}

.intro-premium__divider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25A9E0;
    box-shadow: 0 0 0 4px rgba(37, 169, 224, 0.12);
}

/* ===== SERVICE CARDS - Home grid ===== */
.service-categories-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: var(--space-16) 0;
}

.service-categories-section .section-header {
    text-align: center;
    margin-bottom: var(--space-10);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 0;
}

.service-categories-section .section-header::before {
    right: 0;
}

.service-categories-section .section-header__subtitle {
    display: inline-block;
    color: var(--primary-600);
    font-family: var(--font-arabic);
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    line-height: 1.5;
    margin-bottom: var(--space-3);
}

.service-categories-section .section-header__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--color-heading);
    margin-bottom: var(--space-4);
    line-height: 1.3;
}

.service-categories-section .section-header__description {
    color: var(--text-secondary);
    font-size: clamp(1.0625rem, 1.8vw, 1.3125rem);
    line-height: 1.85;
    margin: 0;
    max-width: 680px;
    margin-inline: auto;
}

.service-categories-grid,
.service-categories-grid--home,
.service-categories-grid--3cols {
    --grid-gap: var(--space-5);
    --grid-cols: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--grid-gap);
}

.service-categories-grid--home,
.service-categories-grid--3cols {
    --grid-cols: 3;
}

.service-categories-grid > .category-card,
.service-categories-grid--home > .category-card,
.service-categories-grid--3cols > .category-card {
    flex: 0 0 calc((100% - (var(--grid-cols) - 1) * var(--grid-gap)) / var(--grid-cols));
    max-width: calc((100% - (var(--grid-cols) - 1) * var(--grid-gap)) / var(--grid-cols));
}

.service-categories-section .category-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(18, 37, 65, 0.07);
    border: 1px solid rgba(37, 169, 224, 0.08);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    height: 100%;
}

.service-categories-section .category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(18, 37, 65, 0.14);
    border-color: rgba(37, 169, 224, 0.3);
}

.service-categories-section .category-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.service-categories-section .category-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--secondary-100);
    flex-shrink: 0;
}

.service-categories-section .category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-categories-section .category-card:hover .category-card__image img {
    transform: scale(1.07);
}

.service-categories-section .category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(9, 19, 33, 0.45) 0%, transparent 55%);
    opacity: 0.85;
    transition: opacity 0.35s ease;
}

.service-categories-section .category-card:hover .category-card__overlay {
    opacity: 1;
}

.service-categories-section .category-card__badge {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    padding: 0.3rem 0.75rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-heading);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.service-categories-section .category-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--space-4) var(--space-5) var(--space-5);
    text-align: right;
    border-top: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.service-categories-section .category-card:hover .category-card__body {
    border-top-color: var(--color-accent);
}

.service-categories-section .category-card__title {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0 0 var(--space-2);
}

.service-categories-section .category-card__title .title-ar {
    font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
    font-weight: 800;
    color: var(--color-heading);
    line-height: 1.45;
}

.service-categories-section .category-card__title .title-en {
    font-family: var(--font-en, sans-serif);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary-600);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.service-categories-section .category-card__excerpt {
    font-size: clamp(0.9375rem, 1.25vw, 1.0625rem);
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0 0 var(--space-3);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-categories-section .category-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--primary-600);
    margin-top: auto;
    transition: gap 0.25s ease, color 0.25s ease;
}

.service-categories-section .category-card:hover .category-card__cta {
    color: var(--color-heading);
    gap: 0.55rem;
}

.service-categories-section__footer {
    text-align: center;
    margin-top: var(--space-10);
}

.service-categories-section__footer .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Shared category-card base (other pages) */
.category-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(37, 169, 224, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: none;
    animation: none;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 169, 224, 0.25);
}

.category-card__link {
    display: flex;
    flex-direction: column-reverse;
    height: 100%;
}

.category-card__image {
    width: 100%;
    margin: 0;
    aspect-ratio: 16 / 10;
    border-radius: 0;
    box-shadow: none;
}

.category-card__image img {
    transition: transform 0.6s ease;
}

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

.category-card__body {
    background: var(--bg-primary);
    padding: var(--space-5) var(--space-6);
    text-align: right;
    flex-grow: 0;
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.category-card:hover .category-card__body {
    background: var(--bg-primary);
    padding-bottom: var(--space-5);
    border-bottom-color: var(--color-accent);
}

.category-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-heading);
    text-shadow: none;
}

.category-card__title .title-ar {
    font-size: 1.15rem;
    color: var(--color-heading);
}

.category-card__title .title-en {
    font-family: var(--font-en);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== PROJECTS - Offset grid ===== */
.projects-section {
    background: var(--bg-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-5);
}

.projects-grid--static .project-card:nth-child(1),
.projects-grid--static .project-card:nth-child(4) {
    grid-column: span 7;
}

.projects-grid--static .project-card:nth-child(2),
.projects-grid--static .project-card:nth-child(3),
.projects-grid--static .project-card:nth-child(5) {
    grid-column: span 5;
}

.project-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(37, 169, 224, 0.08);
    background: var(--bg-primary);
    transition: all 0.35s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.project-card__image {
    height: 220px;
    overflow: hidden;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.project-card__body {
    padding: var(--space-5);
}

.project-card__category {
    background: var(--primary-50);
    color: var(--primary-700);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== STATS - Cards on light bg ===== */
.stats-section {
    background: var(--bg-secondary);
    padding: var(--space-16) 0;
}

.stats-section::before {
    display: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

.stat-item {
    background: var(--bg-primary);
    padding: var(--space-8) var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(37, 169, 224, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-200);
}

.stat-icon {
    color: var(--primary-500);
    margin-bottom: var(--space-3);
}

.stat-number {
    color: var(--color-heading);
    font-size: var(--text-4xl);
    text-shadow: none;
}

.stat-label {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

/* ===== PRODUCTS CATALOG ===== */
.products-section {
    background: var(--bg-secondary);
}

.product-showcase-grid {
    --grid-gap: 1.25rem;
    --grid-cols: 4;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--grid-gap);
}

.product-showcase-grid > .product-showcase-card {
    flex: 0 0 calc((100% - (var(--grid-cols) - 1) * var(--grid-gap)) / var(--grid-cols));
    max-width: calc((100% - (var(--grid-cols) - 1) * var(--grid-gap)) / var(--grid-cols));
}

.product-showcase-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(37, 169, 224, 0.12);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(18, 37, 65, 0.05);
    transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
    height: 100%;
}

.product-showcase-card:hover {
    border-color: var(--primary-300);
    box-shadow: 0 10px 28px rgba(37, 169, 224, 0.14);
    transform: translateY(-4px);
}

.product-showcase-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.product-showcase-card__media {
    position: relative;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    background: linear-gradient(145deg, var(--primary-50) 0%, var(--bg-secondary) 100%);
}

.product-showcase-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.product-showcase-card:hover .product-showcase-card__media img {
    transform: scale(1.04);
}

.product-showcase-card__count {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    z-index: 2;
    padding: 0.28rem 0.7rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(37, 169, 224, 0.18);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-700);
    line-height: 1.2;
}

.product-showcase-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 1rem 1.15rem 1.15rem;
    border-top: 2px solid var(--primary-100);
    transition: border-color 0.28s ease;
}

.product-showcase-card:hover .product-showcase-card__body {
    border-top-color: var(--primary-500);
}

.product-showcase-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text-primary);
    transition: color 0.25s ease;
}

.product-showcase-card:hover .product-showcase-card__title {
    color: var(--primary-700);
}

.product-showcase-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-600);
    transition: color 0.25s ease, gap 0.25s ease;
}

.product-showcase-card:hover .product-showcase-card__cta {
    color: var(--secondary-600);
    gap: 0.5rem;
}

.product-showcase-card__cta svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.product-showcase-card:hover .product-showcase-card__cta svg {
    transform: translateX(-3px);
}

/* ===== ABOUT — Premium Corporate ===== */
.about-premium {
    position: relative;
    background: #ffffff;
    padding: clamp(2rem, 4vw, 3.5rem) 0;
    overflow: hidden;
}

.about-premium.section {
    padding: clamp(2rem, 4vw, 3.5rem) 0;
}

.intro-premium + .about-premium.section {
    padding-top: clamp(1.25rem, 2.5vw, 2rem);
}

.about-premium__blueprint {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.about-premium__blueprint-svg {
    width: 100%;
    height: 100%;
}

.about-premium__inner {
    position: relative;
    z-index: 1;
}

.about-premium__hero {
    text-align: center;
    max-width: 820px;
    margin: 0 auto clamp(1.25rem, 2.5vw, 1.75rem);
}

.about-premium__company {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.25;
    color: #25A9E0;
    margin: 0 0 0.75rem;
}

.about-premium__tagline {
    font-size: clamp(1.15rem, 2.2vw, 1.65rem);
    font-weight: 700;
    line-height: 1.45;
    color: var(--accent-500);
    margin: 0 auto 0.75rem;
    max-width: 32ch;
}

.about-premium__intro-desc {
    font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
    line-height: 1.85;
    color: #4a6272;
    margin: 0 auto 1.25rem;
    max-width: 62ch;
}

.about-premium__logo {
    position: relative;
    width: clamp(100px, 12vw, 140px);
    height: clamp(100px, 12vw, 140px);
    margin: 0 auto;
}

.about-premium__logo-ring {
    position: absolute;
    inset: 0;
    border: 1.5px dashed rgba(37, 169, 224, 0.22);
    border-radius: 18px;
    transform: rotate(8deg);
}

.about-premium__logo-frame {
    position: absolute;
    inset: 14%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem;
    background: #fff;
    border: 1px solid rgba(37, 169, 224, 0.15);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(37, 169, 224, 0.1);
    overflow: hidden;
}

.about-premium__logo-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.about-premium__divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 480px;
    margin: 0 auto clamp(1.5rem, 3vw, 2rem);
}

.about-premium__divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 169, 224, 0.18), transparent);
}

.about-premium__divider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25A9E0;
    box-shadow: 0 0 0 4px rgba(37, 169, 224, 0.12);
    flex-shrink: 0;
}

.about-premium__header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto clamp(1.75rem, 3.5vw, 2.5rem);
}

.about-premium__eyebrow {
    display: inline-block;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #25A9E0;
    margin-bottom: 0.85rem;
    padding: 0.5rem 1.25rem;
    background: rgba(37, 169, 224, 0.08);
    border: 1px solid rgba(37, 169, 224, 0.14);
    border-radius: 999px;
}

.about-premium__title {
    font-size: clamp(1.85rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.3;
    color: #0f2d3d;
    margin: 0;
}

.about-premium__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.about-premium__content {
    order: 1;
}

.about-premium__visual {
    position: relative;
    order: 2;
}

.about-premium__visual .about-premium__video-card--featured {
    box-shadow:
        0 4px 24px rgba(15, 45, 61, 0.08),
        0 20px 60px rgba(37, 169, 224, 0.12);
}

.about-premium__visual .about-premium__video-card--featured .about-premium__video-player {
    aspect-ratio: 4 / 5;
}

.about-premium__visual .about-premium__video-card--featured .about-premium__video-embed {
    aspect-ratio: 4 / 5;
}

.about-premium__visual .about-premium__video-card--featured .about-premium__video-thumb {
    height: 100%;
}

.about-premium__image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 4px 24px rgba(15, 45, 61, 0.08),
        0 20px 60px rgba(37, 169, 224, 0.12);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.about-premium__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-premium__image-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(to top, rgba(15, 45, 61, 0.35), transparent);
    pointer-events: none;
}

.about-premium__badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(15, 45, 61, 0.12);
    z-index: 2;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.about-premium__badge--year {
    top: 1.5rem;
    right: -1.25rem;
    color: #0f2d3d;
}

.about-premium__badge--projects {
    bottom: 2rem;
    left: -1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    background: linear-gradient(135deg, #25A9E0, #1a8fc4);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.about-premium__badge-icon {
    display: flex;
    color: #25A9E0;
}

.about-premium__badge-text {
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.about-premium__badge-number {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-en);
}

.about-premium__badge-label {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.92;
}

.about-premium__glass {
    padding: clamp(1.5rem, 3vw, 2rem);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(37, 169, 224, 0.12);
    border-radius: 20px;
    box-shadow:
        0 4px 24px rgba(15, 45, 61, 0.06),
        0 16px 48px rgba(37, 169, 224, 0.08);
    margin-bottom: 1.75rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-premium__lead {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 700;
    line-height: 1.65;
    color: #0f2d3d;
    margin: 0 0 1rem;
}

.about-premium__text {
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    line-height: 1.9;
    color: #4a6272;
    margin: 0;
}

.about-premium__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.about-premium__feature-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.15rem 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(37, 169, 224, 0.1);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(15, 45, 61, 0.04);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.about-premium__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(37, 169, 224, 0.1);
    color: #25A9E0;
    transition: background 0.3s ease, color 0.3s ease;
}

.about-premium__feature-text {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.55;
    color: #0f2d3d;
}

.about-premium__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 20px;
    padding: 0.95rem 1.75rem;
}

.about-premium__cta svg {
    transition: transform 0.3s ease;
}

/* Video player */
.about-premium__video-card {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 4px 24px rgba(15, 45, 61, 0.08),
        0 24px 64px rgba(37, 169, 224, 0.14);
    transition: box-shadow 0.4s ease;
}

.about-premium__video-card.is-playing {
    box-shadow:
        0 8px 32px rgba(15, 45, 61, 0.12),
        0 32px 80px rgba(37, 169, 224, 0.18);
}

.about-premium__video-player {
    position: relative;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    overflow: hidden;
}

.about-premium__video-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-premium__video-thumb--fallback {
    background: linear-gradient(135deg, #0f2d3d 0%, #1a4a5e 50%, #25A9E0 100%);
}

.about-premium__video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 45, 61, 0.35), rgba(37, 169, 224, 0.2));
    transition: opacity 0.35s ease;
}

.about-premium__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(72px, 10vw, 96px);
    height: clamp(72px, 10vw, 96px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #25A9E0;
    box-shadow: 0 12px 40px rgba(15, 45, 61, 0.25);
    cursor: pointer;
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.35s ease,
        color 0.35s ease,
        box-shadow 0.35s ease;
    z-index: 2;
}

.about-premium__play-btn svg {
    width: 36%;
    height: 36%;
    margin-right: -3px;
}

.about-premium__video-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0f2d3d;
}

.about-premium__video-embed iframe,
.about-premium__video-embed video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.about-premium__mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.about-premium__mini-stat {
    text-align: center;
    padding: 1.35rem 1rem;
    background: rgba(37, 169, 224, 0.04);
    border: 1px solid rgba(37, 169, 224, 0.1);
    border-radius: 20px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-premium__mini-stat-number {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #25A9E0;
    font-family: var(--font-en);
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.about-premium__mini-stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a6272;
}

/* ===== NEWS - Three-column cards ===== */
.news-section {
    background: var(--bg-secondary);
}

.news-grid,
.news-grid--three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.news-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(37, 169, 224, 0.08);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.news-card__image {
    display: block;
    height: auto;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    flex-shrink: 0;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-card__image.placeholder {
    background: var(--bg-secondary);
}

.news-card__body {
    padding: var(--space-5);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card__date {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--accent-500);
    font-size: 0.75rem;
    font-family: var(--font-en);
    margin-bottom: var(--space-3);
}

.news-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-heading);
    margin: 0 0 var(--space-3);
    line-height: 1.5;
    transition: color 0.25s ease;
}

.news-card__title:hover {
    color: var(--primary-600);
}

.news-card__excerpt {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 0 0 var(--space-4);
    flex-grow: 1;
}

.news-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--primary-600);
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: auto;
}

/* ===== PARTNERS MARQUEE ===== */
.partners-section {
    background: var(--bg-primary);
    padding: var(--space-16) 0;
}

.partners-marquee-wrapper {
    mask-image: linear-gradient(to left, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to left, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
    gap: var(--space-8);
    animation: tawajudMarquee 35s linear infinite;
}

@keyframes tawajudMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

.partner-item {
    background: var(--bg-secondary);
    padding: var(--space-5) var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(37, 169, 224, 0.08);
    min-width: 160px;
}

.partner-item img {
    max-height: 64px;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
}

.partner-name {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* ===== AGENCIES FEATURED GRID ===== */
.agencies-section {
    position: relative;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: clamp(var(--space-12), 6vw, var(--space-20)) 0;
    overflow: hidden;
}

.agencies-section__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 20%, rgba(37, 169, 224, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(178, 43, 143, 0.06) 0%, transparent 40%);
}

.agencies-section__decor::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(680px, 90%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 169, 224, 0.2), transparent);
}

.agencies-section .container {
    position: relative;
    z-index: 1;
}

.agencies-section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-12);
}

.agencies-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    margin-bottom: var(--space-4);
    background: rgba(37, 169, 224, 0.1);
    border: 1px solid rgba(37, 169, 224, 0.15);
    border-radius: var(--radius-full);
    color: var(--primary-700);
    font-size: clamp(1rem, 1.6vw, 1.1875rem);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.agencies-section__eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-500), var(--accent-500));
    flex-shrink: 0;
}

.agencies-section__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--color-heading);
    margin: 0 0 var(--space-4);
    line-height: 1.25;
}

.agencies-section__desc {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.85;
    margin: 0 auto;
    max-width: 600px;
}

.agencies-grid,
.agencies-marquee {
    position: relative;
}

.agencies-marquee__track {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--space-3);
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: var(--space-6);
}

.agencies-marquee .agency-card {
    width: 100%;
    padding: var(--space-2) var(--space-2) var(--space-2);
}

.agencies-marquee__group {
    display: contents;
}

.agencies-marquee__group[aria-hidden="true"] {
    display: none;
}

@media (min-width: 769px) {
    .agencies-marquee .agency-card__logo-wrap {
        padding: 0.12rem;
        margin-bottom: 0.35rem;
    }

    .agencies-marquee .agency-card__logo {
        width: 86%;
        height: 86%;
        max-width: 86%;
        max-height: 86%;
    }

    .agencies-marquee .agency-card__name {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .agencies-marquee .agency-card__badge {
        top: var(--space-2);
        left: var(--space-2);
        font-size: 0.625rem;
        padding: 0.15rem 0.45rem;
    }
}

@media (max-width: 768px) {
    .agencies-marquee {
        overflow: hidden;
        mask-image: linear-gradient(to left, transparent, black 6%, black 94%, transparent);
        -webkit-mask-image: linear-gradient(to left, transparent, black 6%, black 94%, transparent);
        padding-inline: var(--space-2);
    }

    .agencies-marquee__track {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        grid-template-columns: unset;
        width: max-content;
        max-width: none;
        margin-inline: 0;
        padding-inline: 0;
        gap: 0;
        animation: agenciesMarquee 42s linear infinite;
        will-change: transform;
    }

    .agencies-marquee__group {
        display: flex;
        flex-shrink: 0;
        gap: var(--space-3);
        padding-inline: var(--space-2);
    }

    .agencies-marquee__group[aria-hidden="true"] {
        display: flex;
    }

    .agencies-marquee:hover .agencies-marquee__track {
        animation-play-state: paused;
    }

    .agencies-marquee .agency-card {
        width: 150px;
        flex: 0 0 150px;
        flex-shrink: 0;
    }

    .agencies-marquee .agency-card__logo-wrap {
        padding: 0.15rem;
    }

    .agencies-marquee .agency-card__name {
        font-size: 0.75rem;
    }

    .agencies-marquee .agency-card__badge {
        top: var(--space-2);
        left: var(--space-2);
        font-size: 0.625rem;
        padding: 0.15rem 0.45rem;
    }
}

@media (max-width: 480px) {
    .agencies-marquee .agency-card {
        width: 132px;
        flex: 0 0 132px;
    }

    .agencies-marquee .agency-card__name {
        font-size: 0.6875rem;
    }

    .agencies-marquee__track {
        animation-duration: 36s;
    }
}

@keyframes agenciesMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

@media (prefers-reduced-motion: reduce) {
    .agencies-marquee {
        mask-image: none;
        -webkit-mask-image: none;
        overflow: visible;
    }

    .agencies-marquee__track {
        animation: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        grid-template-columns: unset;
        width: 100%;
        max-width: 1280px;
        margin-inline: auto;
        padding-inline: var(--space-6);
        gap: var(--space-3);
    }

    .agencies-marquee__group {
        display: contents;
    }

    .agencies-marquee__group[aria-hidden="true"] {
        display: none;
    }

    .agencies-marquee .agency-card {
        width: auto;
    }
}

.agencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-4);
    justify-content: center;
}

.agency-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-xl);
    padding: var(--space-3) var(--space-3) var(--space-3);
    border: 1px solid rgba(37, 169, 224, 0.1);
    box-shadow: 0 2px 10px rgba(18, 37, 65, 0.06);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
    overflow: hidden;
}

.agency-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}

.agency-card:hover {
    border-color: rgba(37, 169, 224, 0.25);
    box-shadow: 0 16px 40px rgba(18, 37, 65, 0.12);
    transform: translateY(-6px);
}

.agency-card:hover::before {
    transform: scaleX(1);
}

.agency-card__badge {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    padding: 0.2rem 0.6rem;
    background: var(--accent-500);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
    z-index: 1;
}

.agency-card__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.agency-card__logo-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-2);
    padding: 0.25rem;
    background: transparent;
    border-radius: 0;
    border: none;
    overflow: hidden;
}

.agency-card:hover .agency-card__logo-wrap {
    background: transparent;
}

.agency-card__logo {
    display: block;
    width: 94%;
    height: 94%;
    max-width: 94%;
    max-height: 94%;
    object-fit: contain;
    filter: none;
    transition: transform 0.35s ease;
}

.agency-card:hover .agency-card__logo {
    filter: none;
    transform: scale(1.03);
}

.agency-card__logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    border-radius: var(--radius-xl);
    color: var(--primary-500);
}

.agency-card__name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-align: center;
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.agency-card:hover .agency-card__name {
    color: var(--primary-700);
}

.agency-card__external {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(37, 169, 224, 0.1);
    color: var(--primary-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.3s ease;
}

.agency-card:hover .agency-card__external {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SUCCESS PARTNERS MARQUEE ===== */
.sp-section {
    background: var(--bg-secondary);
    padding: var(--space-10) 0;
    overflow: hidden;
}

.sp-section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-5);
}

.sp-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    margin-bottom: var(--space-4);
    background: rgba(178, 43, 143, 0.1);
    border: 1px solid rgba(178, 43, 143, 0.15);
    border-radius: var(--radius-full);
    color: var(--accent-600);
    font-size: clamp(1rem, 1.6vw, 1.1875rem);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.sp-section__eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-500), var(--primary-500));
    flex-shrink: 0;
}

.sp-section__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--accent-500);
    margin: 0 0 var(--space-4);
    line-height: 1.25;
}

.sp-section__desc {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.85;
    margin: 0 auto;
    max-width: 600px;
}

.sp-section__more {
    margin: var(--space-4) 0 0;
}

.sp-section__more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--accent-600);
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.sp-section__more-link:hover {
    color: var(--accent-500);
    gap: 0.55rem;
}

.sp-marquee {
    position: relative;
    overflow: hidden;
    --sp-visible: 5;
    --sp-gap: var(--space-4);
    margin-top: var(--space-2);
    padding-inline: var(--space-6);
    mask-image: linear-gradient(to left, transparent, black 6%, black 94%, transparent);
    -webkit-mask-image: linear-gradient(to left, transparent, black 6%, black 94%, transparent);
}

.sp-marquee__track {
    display: flex;
    width: max-content;
    animation: spMarquee 55s linear infinite;
    will-change: transform;
}

.sp-marquee__group {
    display: flex;
    flex-shrink: 0;
    gap: var(--sp-gap);
}

.sp-marquee:hover .sp-marquee__track {
    animation-play-state: paused;
}

@keyframes spMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

@media (prefers-reduced-motion: reduce) {
    .sp-marquee__track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        gap: var(--space-4);
    }

    .sp-marquee__group[aria-hidden="true"] {
        display: none;
    }

    .sp-marquee {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

.sp-marquee-item {
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(
        252px,
        calc(
            (100vw - (var(--space-6) * 2) - ((var(--sp-visible) - 1) * var(--sp-gap)))
            / var(--sp-visible)
        )
    );
    padding: 0.85rem 0.7rem 0.75rem;
    margin: 0;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 10px rgba(18, 37, 65, 0.07);
    border: 1px solid rgba(178, 43, 143, 0.12);
    transition: all 0.3s ease;
}

.sp-marquee-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(18, 37, 65, 0.1);
    border-color: rgba(178, 43, 143, 0.22);
}

.sp-marquee-item__link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.sp-marquee .sp-marquee-item__name {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-600);
    text-align: center;
    margin: 0.15rem 0 0;
    min-height: auto;
    line-height: 1.35;
}

.sp-marquee-item__badge {
    position: relative;
    align-self: center;
    padding: 0.28rem 0.75rem;
    background: var(--accent-500);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    letter-spacing: 0.01em;
    z-index: 2;
    max-width: calc(100% - 0.5rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.sp-marquee-item__badge--industrial-commercial {
    background: #2563eb;
}

.sp-marquee-item__badge--government-development {
    background: #059669;
}

.sp-marquee-item__badge--medical-service {
    background: #dc2626;
}

.sp-marquee-item__badge--construction-concrete {
    background: #d97706;
}

.sp-marquee-item__badge--default {
    background: var(--accent-500);
}

.sp-marquee-item__logo-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem;
    background: #fff;
    border-radius: var(--radius-md);
    border: none;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.sp-marquee-item:hover .sp-marquee-item__logo-wrap {
    background: #fff;
}

.sp-marquee-item__logo {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(4%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.sp-marquee-item:hover .sp-marquee-item__logo {
    filter: grayscale(0%);
    transform: scale(1.04);
}

.sp-marquee-item__name {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-heading);
    text-align: center;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}

.sp-marquee-item--no-logo .sp-marquee-item__name {
    min-height: auto;
    padding: 0.35rem 0.25rem;
    font-size: 0.78rem;
}

/* ===== OUR PARTNERS HONOR BOARD ===== */
.op-section {
    background: linear-gradient(165deg, #0a1628 0%, #122541 45%, #1a3358 100%);
    padding: var(--space-12) 0;
    position: relative;
    overflow: hidden;
}

.op-section--page {
    padding-top: var(--space-10);
}

.op-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 85% 15%, rgba(178, 43, 143, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 10% 85%, rgba(15, 94, 168, 0.15) 0%, transparent 55%);
    pointer-events: none;
}

.op-section .container {
    position: relative;
    z-index: 1;
}

.op-section__header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto var(--space-8);
}

.op-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.15rem;
    margin-bottom: var(--space-3);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 700;
    letter-spacing: 0.03em;
}

.op-section__eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-400), var(--primary-400));
    flex-shrink: 0;
}

.op-section__title {
    font-size: clamp(1.85rem, 4.2vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 var(--space-4);
    line-height: 1.2;
}

.op-section__desc {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.85;
    margin: 0 auto;
    max-width: 680px;
}

.op-honor-board {
    display: flex;
    flex-direction: column;
    gap: var(--space-7);
}

.op-sector {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    backdrop-filter: blur(6px);
}

.op-sector__header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.op-sector__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(178, 43, 143, 0.25), rgba(15, 94, 168, 0.25));
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
    position: relative;
}

.op-sector__icon::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 22px;
    height: 22px;
    background-color: rgba(255, 255, 255, 0.92);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.op-sector__icon--industry::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M22 21H2V3h2v12h16V3h2v18zM6 8h2v2H6V8zm0 4h2v2H6v-2zm0-8h2v2H6V4zm4 4h2v2h-2V8zm0 4h2v2h-2v-2zm0-8h2v2h-2V4zm4 4h2v2h-2V8zm0 4h2v2h-2v-2zm0-8h2v2h-2V4z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M22 21H2V3h2v12h16V3h2v18zM6 8h2v2H6V8zm0 4h2v2H6v-2zm0-8h2v2H6V4zm4 4h2v2h-2V8zm0 4h2v2h-2v-2zm0-8h2v2h-2V4zm4 4h2v2h-2V8zm0 4h2v2h-2v-2zm0-8h2v2h-2V4z'/%3E%3C/svg%3E");
}

.op-sector__icon--government::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 3L1 9l11 6 9-4.91V17h2V9L12 3zm0 12.68L5 11.53V15l7 3.82 7-3.82v-3.47L12 15.68z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 3L1 9l11 6 9-4.91V17h2V9L12 3zm0 12.68L5 11.53V15l7 3.82 7-3.82v-3.47L12 15.68z'/%3E%3C/svg%3E");
}

.op-sector__icon--medical::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 11h-4v4h-4v-4H6v-4h4V6h4v4h4v4z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 11h-4v4h-4v-4H6v-4h4V6h4v4h4v4z'/%3E%3C/svg%3E");
}

.op-sector__icon--construction::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M22 19V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2zM8 7h2v2H8V7zm0 4h2v2H8v-2zm4-4h2v2h-2V7zm0 4h2v2h-2v-2zm4-4h2v2h-2V7zm0 4h2v2h-2v-2z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M22 19V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2zM8 7h2v2H8V7zm0 4h2v2H8v-2zm4-4h2v2h-2V7zm0 4h2v2h-2v-2zm4-4h2v2h-2V7zm0 4h2v2h-2v-2z'/%3E%3C/svg%3E");
}

.op-sector__icon--default::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
}

.op-sector__title {
    flex: 1;
    margin: 0;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
}

.op-sector__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 0.65rem;
    border-radius: var(--radius-full);
    background: rgba(178, 43, 143, 0.22);
    border: 1px solid rgba(178, 43, 143, 0.35);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 700;
}

.op-sector__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
}

.op-partner-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    width: 200px;
    max-width: 100%;
    flex: 0 0 200px;
    padding: 0.65rem 0.75rem 0.75rem;
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    min-height: 0;
}

.op-partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    border-color: rgba(178, 43, 143, 0.35);
}

.op-partner-card__badges {
    position: absolute;
    top: var(--space-3);
    inset-inline-start: var(--space-3);
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    z-index: 1;
    max-width: calc(100% - (var(--space-3) * 2));
}

.op-partner-card__badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--accent-500);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.op-partner-card--has-badges .op-partner-card__logo-wrap {
    margin-top: 1.35rem;
}

.op-partner-card--has-badges.op-partner-card--no-logo {
    padding-top: 2rem;
}

.op-partner-card__logo-wrap {
    width: 100%;
    height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(18, 37, 65, 0.06);
}

.op-partner-card__logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(10%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.op-partner-card:hover .op-partner-card__logo {
    filter: grayscale(0%);
    transform: scale(1.04);
}

.op-partner-card__name {
    margin: 0;
    padding-top: 0.15rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-heading);
    text-align: center;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.op-partner-card--no-logo {
    justify-content: center;
    min-height: auto;
    padding: 0.75rem;
}

.op-partner-card--no-logo .op-partner-card__name {
    font-size: 0.92rem;
    -webkit-line-clamp: 4;
}

/* ===== TESTIMONIALS ===== */
.home-testimonials-section {
    background: var(--primary-700);
    padding: var(--space-16) 0;
}

.testimonials-intro {
    text-align: right;
    margin-bottom: var(--space-10);
    padding-right: var(--space-5);
    border-right: 4px solid var(--color-accent);
}

.testimonials-intro h2 {
    color: #fff;
    font-size: var(--text-3xl);
    margin-bottom: var(--space-3);
}

.testimonials-intro p {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1rem, 1.6vw, 1.1875rem);
    line-height: 1.6;
}

.testimonials-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.home-testimonials-section .testimonials-marquee {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-8);
    mask-image: linear-gradient(to left, transparent, black 6%, black 94%, transparent);
    -webkit-mask-image: linear-gradient(to left, transparent, black 6%, black 94%, transparent);
}

.home-testimonials-section .testimonials-marquee__track {
    display: flex;
    width: max-content;
    animation: testimonialsMarquee 50s linear infinite;
    will-change: transform;
}

.home-testimonials-section .testimonials-marquee__group {
    display: flex;
    flex-shrink: 0;
    gap: var(--space-4);
    padding-inline: var(--space-2);
}

.home-testimonials-section .testimonials-marquee:hover .testimonials-marquee__track {
    animation-play-state: paused;
}

@keyframes testimonialsMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

.home-testimonials-section .testimonial-card-enhanced--marquee {
    width: 340px;
    flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
    .home-testimonials-section .testimonials-marquee__track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        gap: var(--space-4);
    }

    .home-testimonials-section .testimonials-marquee__group[aria-hidden="true"] {
        display: none;
    }

    .home-testimonials-section .testimonials-marquee {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .home-testimonials-section .testimonial-card-enhanced--marquee {
        width: min(100%, 340px);
    }
}

.testimonial-card-enhanced {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.testimonial-card-enhanced:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

/* ===== FAQ HOME ===== */
.home-faq-section {
    background: var(--bg-secondary);
    padding: var(--space-16) 0;
}

.home-faq-section .section-tag {
    color: var(--accent-500);
    font-family: var(--font-en);
    font-size: var(--home-eyebrow-size, clamp(1.0625rem, 1.8vw, 1.3125rem));
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-faq-section .section-title {
    color: var(--color-heading);
    font-size: var(--text-3xl);
}

.faq-list-home .faq-item {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(37, 169, 224, 0.08);
    margin-bottom: var(--space-3);
    overflow: hidden;
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* ===== CTA ===== */
.cta-section {
    padding: var(--space-16) 0;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
}

.cta__bg {
    background: none;
    opacity: 0.05;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.cta-content .btn--white {
    border-radius: var(--radius-lg);
    background: var(--color-main);
    color: white;
}

.cta-content .btn--white:hover {
    background: var(--primary-700);
}

/* ===== AGENT SECTION ===== */
.agent-section {
    background: var(--bg-primary);
}

/* ===== GENERAL SERVICES ===== */
.general-services-section {
    background: var(--bg-secondary) !important;
}

.general-services-section .section-header {
    text-align: center;
    max-width: 820px;
    margin-inline: auto;
    padding-right: 0;
}

.general-services-section .section-header__subtitle {
    display: inline-block;
    font-family: var(--font-arabic);
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--primary-600);
}

.general-services-section .section-header__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.3;
}

.general-services-section .category-card--general-service .category-card__title {
    font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
}

.category-card--general-service {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(18, 37, 65, 0.07);
    border: 1px solid rgba(37, 169, 224, 0.08);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
    height: 100%;
}

.category-card--general-service:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(18, 37, 65, 0.14);
    border-color: rgba(37, 169, 224, 0.25);
}

.category-card--general-service .category-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.category-card--general-service .category-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-50) 0%, #e8eef5 100%);
    flex-shrink: 0;
}

.category-card--general-service .category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-card--general-service .category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 33, 44, 0.05) 0%, rgba(8, 33, 44, 0.42) 100%);
    opacity: 0.78;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.category-card--general-service:hover .category-card__overlay {
    opacity: 0.92;
}

.category-card--general-service:hover .category-card__image img {
    transform: scale(1.06);
}

.category-card--general-service .category-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--space-5) var(--space-6);
    background: var(--bg-primary);
    text-align: right;
    border-top: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.category-card--general-service:hover .category-card__body {
    border-top-color: var(--accent-500);
}

.category-card--general-service .category-card__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-heading);
    line-height: 1.5;
}

.category-card--general-service .category-card__title .title-ar {
    display: block;
}

.general-services-archive .category-card__body,
.general-services-page .category-card__body {
    background: transparent;
}

.general-services-archive .category-card__title,
.general-services-page .category-card__title {
    color: var(--color-heading);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-banners__inner {
        min-height: clamp(400px, 68vh, 620px);
    }

    .hero-slide__content .container {
        padding-inline: calc(46px + var(--space-5));
    }

    .hero-slide__panel {
        max-width: 620px;
    }

    .hero-slider__prev,
    .hero-slider__next {
        width: 46px;
        height: 46px;
    }

    .service-categories-grid--home {
        --grid-cols: 2;
    }

    .service-categories-grid--3cols,
    .product-showcase-grid {
        --grid-cols: 2;
    }

    .news-grid,
    .news-grid--three {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-testimonials-section .testimonial-card-enhanced--marquee {
        width: 280px;
        padding: var(--space-5);
    }

    .home-testimonials-section .testimonial-avatar {
        width: 48px;
        height: 48px;
    }

    .home-testimonials-section .testimonial-info h3 {
        font-size: 0.9375rem;
    }

    .home-testimonials-section .testimonial-entity-name {
        font-size: 0.75rem;
    }

    .home-testimonials-section .testimonial-text-content {
        font-size: 0.8125rem;
        line-height: 1.65;
    }

    .home-testimonials-section .testimonial-rating svg {
        width: 14px;
        height: 14px;
    }

    .home-testimonials-section .testimonials-marquee__track {
        animation-duration: 38s;
    }

    .projects-grid--static .project-card {
        grid-column: span 6 !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-banners__inner {
        min-height: clamp(420px, 72vw, 560px);
    }

    .hero-slide__scrim {
        background:
            linear-gradient(0deg, rgba(8, 33, 44, 0.82) 0%, rgba(8, 33, 44, 0.35) 45%, transparent 70%),
            linear-gradient(180deg, rgba(8, 33, 44, 0.3) 0%, transparent 30%);
    }

    .hero-slide__content {
        align-items: center;
        padding-bottom: 5.5rem;
    }

    .hero-slide__content .container {
        padding-inline: var(--space-4);
    }

    .hero-slide__panel {
        max-width: 100%;
        padding: var(--space-4) 0 var(--space-2);
        text-align: center;
    }

    .hero-slide__title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .hero-slide__desc {
        font-size: var(--text-sm);
        margin-bottom: var(--space-4);
    }

    .hero-banners__counter {
        top: var(--space-4);
        left: var(--space-4);
        padding: 0.35rem 0.65rem;
    }

    .hero-banners__counter-current {
        font-size: 1.25rem;
    }

    .hero-slider__nav {
        display: none;
    }

    .hero-slider__dots {
        bottom: var(--space-4);
    }

    .hero-slider__dot {
        width: 28px;
    }

    .hero-slider__dot.active {
        width: 40px;
    }

    .service-categories-grid,
    .service-categories-grid--home,
    .service-categories-grid--3cols,
    .product-showcase-grid {
        --grid-cols: 1;
    }

    .news-grid,
    .news-grid--three,
    .testimonials-grid-enhanced {
        grid-template-columns: 1fr;
    }

    .home-testimonials-section .testimonial-card-enhanced--marquee {
        width: 230px;
        padding: var(--space-4);
    }

    .home-testimonials-section .testimonial-header {
        gap: var(--space-3);
        margin-bottom: var(--space-3);
    }

    .home-testimonials-section .testimonial-avatar {
        width: 40px;
        height: 40px;
    }

    .home-testimonials-section .testimonial-info h3 {
        font-size: 0.875rem;
    }

    .home-testimonials-section .testimonial-entity-name {
        font-size: 0.6875rem;
    }

    .home-testimonials-section .testimonial-text-content {
        font-size: 0.75rem;
        line-height: 1.6;
    }

    .home-testimonials-section .testimonial-text-content p {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home-testimonials-section .testimonial-rating svg {
        width: 12px;
        height: 12px;
    }

    .home-testimonials-section .testimonials-marquee__group {
        gap: var(--space-3);
    }

    .home-testimonials-section .testimonials-marquee__track {
        animation-duration: 32s;
    }

    .home-testimonials-section .testimonials-intro {
        margin-bottom: var(--space-6);
        padding-right: var(--space-4);
    }

    .home-testimonials-section .testimonials-intro h2 {
        font-size: var(--text-2xl);
    }

    .projects-grid--static .project-card {
        grid-column: span 12 !important;
    }

    .about-premium__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-premium__visual {
        order: -1;
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .about-premium__badge--year {
        right: 1rem;
    }

    .about-premium__badge--projects {
        left: 1rem;
    }

    .about-premium__mini-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .intro-premium__layout {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .intro-premium__main {
        grid-column: unset;
        grid-row: unset;
    }

    .intro-premium__accent {
        display: none;
    }

    .sp-marquee {
        --sp-visible: 4;
    }
}

/* ===== TESTIMONIALS - Detail styles ===== */
.testimonials-grid-enhanced {
    margin-bottom: var(--space-8);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid rgba(37, 169, 224, 0.3);
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.25rem;
}

.testimonial-entity-name {
    font-size: 0.8125rem;
    color: var(--primary-300);
}

.testimonial-rating svg {
    width: 16px;
    height: 16px;
    fill: var(--primary-400);
    color: var(--primary-400);
}

.testimonial-text-content {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    line-height: 1.75;
}

.home-testimonials-section .btn--outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

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

/* ===== FAQ HOME - Detail ===== */
.faq-list-home {
    max-width: 100%;
    margin-top: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.home-faq-section .faq-question {
    padding: var(--space-5) var(--space-6);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--color-heading);
    font-size: 1rem;
    gap: var(--space-4);
}

.home-faq-section .faq-item.active .faq-question {
    background: var(--primary-50);
    color: var(--primary-700);
}

.home-faq-section .faq-icon {
    width: 32px;
    height: 32px;
    position: relative;
    flex-shrink: 0;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid rgba(37, 169, 224, 0.1);
}

.home-faq-section .faq-icon::before,
.home-faq-section .faq-icon::after {
    content: '';
    position: absolute;
    background: var(--primary-500);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.home-faq-section .faq-icon::before { width: 2px; height: 12px; }
.home-faq-section .faq-icon::after { width: 12px; height: 2px; }

.home-faq-section .faq-item.active .faq-icon {
    background: var(--primary-500);
}

.home-faq-section .faq-item.active .faq-icon::before,
.home-faq-section .faq-item.active .faq-icon::after {
    background: #fff;
}

.home-faq-section .faq-answer {
    display: none;
}

.home-faq-section .faq-answer-content {
    padding: var(--space-5) var(--space-6);
    color: var(--text-secondary);
    line-height: 1.85;
    background: var(--bg-secondary);
}

.section-footer {
    margin-top: var(--space-10);
    text-align: center;
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-intro__agent-card {
        flex-direction: column;
        text-align: center;
    }

    .sp-marquee {
        --sp-visible: 2;
        --sp-gap: var(--space-3);
    }

    .home-faq-section .faq-question {
        padding: var(--space-4);
        font-size: 0.9375rem;
    }

    .partners-section,
    .agencies-section,
    .sp-section,
    .op-section {
        padding: var(--space-10) 0;
    }

    .agencies-section__header,
    .sp-section__header,
    .op-section__header {
        margin-bottom: var(--space-8);
    }

    .agencies-section__title,
    .sp-section__title,
    .op-section__title {
        font-size: var(--text-2xl);
    }

    .agencies-section__desc,
    .sp-section__desc,
    .op-section__desc {
        font-size: var(--text-base);
    }

    .op-sector {
        padding: var(--space-4);
    }

    .op-sector__grid {
        gap: var(--space-3);
    }

    .op-partner-card {
        width: 168px;
        flex: 0 0 168px;
        min-height: 0;
        padding: 0.55rem 0.6rem 0.65rem;
    }

    .op-partner-card__logo-wrap {
        height: 96px;
        padding: 0.15rem;
    }
}

/* ==========================================================================
   LOCATIONS SECTION - أماكن التواجد
   ========================================================================== */
.locations-section {
    position: relative;
    padding: var(--space-8) 0 var(--space-5);
    background: linear-gradient(160deg, #0a1628 0%, #122033 35%, #1a3a5c 70%, #0d2847 100%);
    overflow: visible;
    color: #fff;
}

.locations-section__glow {
    position: absolute;
    top: -80px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(37, 169, 224, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.locations-section__grid-floor {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 70px;
    background:
        linear-gradient(rgba(37, 169, 224, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 169, 224, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to top, black, transparent);
    -webkit-mask-image: linear-gradient(to top, black, transparent);
    pointer-events: none;
}

.locations-section__container {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.locations-section__header {
    text-align: center;
    max-width: 480px;
    margin: 0 auto var(--space-4);
}

.locations-section__logo {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-2);
}

.locations-section__logo img {
    max-height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
}

.locations-section__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-1);
    width: 100%;
}

.locations-section__title-part1 {
    display: block;
    width: fit-content;
    text-align: center;
    color: #fff;
}

.locations-section__title-part2 {
    display: block;
    width: fit-content;
    text-align: center;
    color: var(--primary-500);
    text-shadow: 0 0 30px rgba(37, 169, 224, 0.35);
}

.locations-section__divider {
    width: 100%;
    max-width: 160px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-500), transparent);
    margin: var(--space-1) auto;
    position: relative;
}

.locations-section__divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary-500);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(37, 169, 224, 0.8);
}

.locations-section__tagline {
    text-align: center;
    font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

.locations-section__map-wrap {
    position: relative;
    width: 100%;
    margin-bottom: var(--space-3);
    overflow: visible;
}

.locations-map {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    overflow: visible;
}

.locations-map__stage {
    position: relative;
    width: 100%;
}

.locations-map__image {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 16px rgba(37, 169, 224, 0.35));
}

.locations-map__pin {
    --pin-anchor: 11px;
    position: absolute;
    left: var(--pin-x);
    top: var(--pin-y);
    transform: translate(-50%, calc(-1 * var(--pin-anchor)));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.25s ease;
}

.locations-map__pin:hover,
.locations-map__pin.is-active {
    transform: translate(-50%, calc(-1 * var(--pin-anchor))) scale(1.08);
    z-index: 10;
}

.locations-map__pin:focus-visible {
    outline: 2px solid rgba(37, 169, 224, 0.85);
    outline-offset: 3px;
}

.locations-map__pin-icon {
    width: 22px;
    height: 22px;
    background: #B22B8F;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 2px rgba(178, 43, 143, 0.35),
        0 3px 12px rgba(178, 43, 143, 0.5);
    animation: pinPulse 2.5s ease-in-out infinite;
}

.locations-map__pin-icon svg {
    width: 12px;
    height: 12px;
}

.locations-map__pin-label {
    font-family: var(--font-arabic);
    font-size: 0.625rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    background: rgba(8, 18, 34, 0.88);
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

/* Branch quick preview popup */
.locations-map__preview {
    position: absolute;
    bottom: calc(100% + 0.65rem);
    left: 50%;
    transform: translateX(-50%) translateY(6px) scale(0.96);
    width: min(240px, 72vw);
    padding: 0.65rem;
    background: #fff;
    border-radius: 0.85rem;
    border: 1px solid rgba(37, 169, 224, 0.12);
    box-shadow:
        0 4px 6px rgba(18, 37, 65, 0.06),
        0 18px 40px rgba(18, 37, 65, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        visibility 0.22s ease;
    z-index: 20;
    text-align: right;
}

.locations-map__preview::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: #fff;
    filter: drop-shadow(0 2px 2px rgba(18, 37, 65, 0.08));
}

.locations-map__preview.is-below {
    bottom: auto;
    top: calc(100% + 0.65rem);
    transform: translateX(-50%) translateY(-6px) scale(0.96);
}

.locations-map__preview.is-below::after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: #fff;
}

.locations-map__preview.is-left {
    left: auto;
    right: -0.35rem;
    transform: translateX(0) translateY(6px) scale(0.96);
}

.locations-map__preview.is-left::after {
    left: auto;
    right: 1.1rem;
    transform: none;
}

.locations-map__preview.is-right {
    left: -0.35rem;
    right: auto;
    transform: translateX(0) translateY(6px) scale(0.96);
}

.locations-map__preview.is-right::after {
    left: 1.1rem;
    transform: none;
}

.locations-map__preview.is-below.is-left,
.locations-map__preview.is-below.is-right {
    transform: translateX(0) translateY(-6px) scale(0.96);
}

.locations-map__pin.is-active .locations-map__preview {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

.locations-map__pin.is-active .locations-map__preview.is-below {
    transform: translateX(-50%) translateY(0) scale(1);
}

.locations-map__pin.is-active .locations-map__preview.is-left,
.locations-map__pin.is-active .locations-map__preview.is-right {
    transform: translateX(0) translateY(0) scale(1);
}

.locations-map__pin.is-active .locations-map__preview.is-below.is-left,
.locations-map__pin.is-active .locations-map__preview.is-below.is-right {
    transform: translateX(0) translateY(0) scale(1);
}

.locations-map__preview-close {
    position: absolute;
    top: 0.35rem;
    left: 0.35rem;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(18, 37, 65, 0.06);
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.locations-map__preview-close:hover {
    background: rgba(178, 43, 143, 0.12);
    color: #B22B8F;
}

.locations-map__preview-inner {
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
}

.locations-map__preview-media {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 0.55rem;
    overflow: hidden;
    background: linear-gradient(145deg, #0f2840, #1a3a5c);
}

.locations-map__preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.locations-map__preview-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.15rem;
}

.locations-map__preview-title {
    margin: 0;
    padding-left: 1.35rem;
    color: var(--color-heading);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.35;
}

.locations-map__preview-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
}

.locations-map__preview-phone svg {
    flex-shrink: 0;
    color: #25A9E0;
}

.locations-map__preview-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto;
    color: #B22B8F;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.locations-map__preview-link:hover {
    color: #8e2272;
    gap: 0.45rem;
}

.locations-map__preview-link svg {
    flex-shrink: 0;
}

@keyframes pinPulse {
    0%, 100% { box-shadow: 0 0 0 2px rgba(178, 43, 143, 0.35), 0 3px 12px rgba(178, 43, 143, 0.45); }
    50% { box-shadow: 0 0 0 4px rgba(178, 43, 143, 0.25), 0 4px 22px rgba(178, 43, 143, 0.65); }
}

.locations-section__branches {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    max-width: 580px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(37, 169, 224, 0.15);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.locations-branch-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-2) var(--space-1);
    text-decoration: none;
    color: #fff;
    border-left: 1px solid rgba(37, 169, 224, 0.25);
    transition: all 0.3s ease;
    position: relative;
}

.locations-branch-card:first-child {
    border-left: none;
}

.locations-branch-card:hover {
    background: rgba(37, 169, 224, 0.12);
    transform: translateY(-3px);
}

.locations-branch-card__pin {
    color: #B22B8F;
    margin-bottom: 0.25rem;
    transition: transform 0.3s ease;
}

.locations-branch-card__pin svg {
    width: 15px;
    height: 15px;
}

.locations-branch-card:hover .locations-branch-card__pin {
    transform: scale(1.15);
}

.locations-branch-card__city {
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.locations-branch-card__phone {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-500);
    margin-bottom: 0.25rem;
    font-family: var(--font-en);
}

.locations-branch-card__cta {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: var(--font-en);
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.3s ease;
}

.locations-branch-card:hover .locations-branch-card__cta {
    opacity: 1;
    transform: translateY(0);
    color: var(--primary-500);
}

@media (max-width: 1100px) {
    .locations-section__branches {
        grid-template-columns: repeat(3, 1fr);
    }

    .locations-branch-card:nth-child(4) {
        border-left: none;
    }

    .locations-branch-card {
        border-bottom: 1px solid rgba(255, 140, 66, 0.15);
    }
}

@media (max-width: 900px) {
    .locations-section__header {
        margin-bottom: var(--space-3);
    }

    .locations-section__container {
        max-width: 100%;
    }

    .locations-map {
        max-width: 520px;
    }
}

@media (max-width: 640px) {
    .locations-section__branches {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }

    .locations-branch-card:nth-child(odd) {
        border-left: 1px solid rgba(37, 169, 224, 0.25);
    }

    .locations-branch-card:nth-child(3n + 1) {
        border-left: none;
    }

    .locations-branch-card {
        padding: var(--space-2) 0.35rem;
    }

    .locations-branch-card__pin svg {
        width: 13px;
        height: 13px;
    }

    .locations-branch-card__city {
        font-size: 0.75rem;
    }

    .locations-branch-card__phone {
        font-size: 0.625rem;
    }

    .locations-branch-card__cta {
        display: none;
    }

    .locations-map__pin-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 420px) {
    .locations-branch-card__city {
        font-size: 0.6875rem;
    }

    .locations-branch-card__phone {
        font-size: 0.5625rem;
    }

    .locations-branch-card__pin svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 576px) {
    .home-page {
        --home-eyebrow-size: 1rem;
    }
}

/* ===== HOMEPAGE HOVER INTERACTIONS ===== */
@media (hover: hover) and (pointer: fine) {
    .home-page .news-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: rgba(37, 169, 224, 0.22);
    }

    .home-page .news-card:hover .news-card__image img {
        transform: scale(1.05);
    }

    .home-page .news-card__link {
        transition: gap 0.25s ease, color 0.25s ease;
    }

    .home-page .news-card:hover .news-card__link {
        color: var(--primary-700);
    }

    .home-page .about-premium__image-frame:hover {
        transform: translateY(-6px);
        box-shadow:
            0 8px 32px rgba(15, 45, 61, 0.1),
            0 28px 72px rgba(37, 169, 224, 0.16);
    }

    .home-page .about-premium__image-frame:hover .about-premium__image {
        transform: scale(1.04);
    }

    .home-page .about-premium__badge:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 40px rgba(15, 45, 61, 0.16);
    }

    .home-page .about-premium__glass:hover {
        transform: translateY(-3px);
        box-shadow:
            0 8px 32px rgba(15, 45, 61, 0.08),
            0 24px 56px rgba(37, 169, 224, 0.12);
    }

    .home-page .about-premium__feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 36px rgba(37, 169, 224, 0.14);
        border-color: rgba(37, 169, 224, 0.22);
    }

    .home-page .about-premium__feature-card:hover .about-premium__feature-icon {
        background: #25A9E0;
        color: #fff;
    }

    .home-page .about-premium__cta:hover svg {
        transform: translateX(-4px);
    }

    .home-page .about-premium__video-player:hover .about-premium__video-thumb {
        transform: scale(1.04);
    }

    .home-page .about-premium__video-player:hover .about-premium__play-btn {
        transform: translate(-50%, -50%) scale(1.08);
        background: #25A9E0;
        color: #fff;
        box-shadow: 0 16px 48px rgba(37, 169, 224, 0.35);
    }

    .home-page .about-premium__mini-stat:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 28px rgba(37, 169, 224, 0.12);
        border-color: rgba(37, 169, 224, 0.22);
    }

    .home-page .faq-list-home .faq-item:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
        border-color: rgba(37, 169, 224, 0.18);
    }

    .home-page .faq-list-home .faq-item:hover .faq-question {
        color: var(--primary-700);
    }

    .home-page .testimonial-card-enhanced {
        transition:
            transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
            background 0.35s ease,
            box-shadow 0.35s ease;
    }

    .home-page .testimonial-card-enhanced:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    }

    .home-page .agency-card {
        transition:
            transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.35s ease,
            border-color 0.35s ease;
    }

    .home-page .product-showcase-card,
    .home-page .category-card--general-service,
    .home-page .project-card {
        will-change: transform;
    }

    .home-page .home-videos-section .video-card {
        transition:
            transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.35s ease;
    }

    .home-page .home-videos-section .video-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(18, 37, 65, 0.14);
    }

    .home-page .cta-content .btn,
    .home-page .section-footer .btn,
    .home-page .service-categories-section__footer .btn {
        transition:
            transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.28s ease,
            background 0.28s ease,
            border-color 0.28s ease;
    }

    .home-page .cta-content .btn:hover,
    .home-page .section-footer .btn:hover,
    .home-page .service-categories-section__footer .btn:hover {
        transform: translateY(-2px);
    }

    .home-page .agent-image img {
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .home-page .agent-image:hover img {
        transform: scale(1.04);
    }
}
