/* public/css/site/services-operations.css */

.svc-hero {
    position: relative;
    color: #fff;
    background: #000;
    padding-block: clamp(32px, 12vh, 92px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.svc-hero--soft {
    background: #2c3e4a;
}
.svc-hero__inner {
    text-align: center;
}
.svc-hero__title {
    margin: 0 0 6px;
    font-weight: 900;
    font-size: clamp(24px, 5.2vw, 40px);
    letter-spacing: 0.2px;
}
.svc-hero__lead {
    margin: 6px auto 12px;
    max-width: 62ch;
    color: #ebeff3;
    font-weight: 700;
    line-height: 1.9;
}
.svc-hero__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
@media (max-width: 640px) {
    .svc-hero__lead {
        max-width: 46ch;
    }
}

/* ===== Compact hero stats ===== */
.svc-hero__stats {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px auto 0;
}

.svc-stat {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.12s ease, border-color 0.12s ease,
        background 0.12s ease;
}
.svc-stat__value {
    margin: 0;
    font-weight: 900;
    font-size: 16px;
    line-height: 1;
    color: #fff;
    letter-spacing: 0.2px;
}
.svc-stat__label {
    margin: 0;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.2;
    color: #dbe3ea;
    opacity: 0.95;
}
.svc-stat:hover,
.svc-stat:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.32);
    outline: none;
}

@media (max-width: 480px) {
    .svc-hero__stats {
        gap: 6px;
    }
    .svc-stat {
        padding: 6px 9px;
    }
    .svc-stat__value {
        font-size: 15px;
    }
    .svc-stat__label {
        font-size: 11px;
    }
}

/* ===== Feature split (text right + image left) ===== */
.svc-feature {
    padding-block: clamp(26px, 8vh, 72px);
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.svc-feature__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(14px, 3vw, 24px);
    align-items: center;
}
[dir="rtl"] .svc-feature__grid {
    grid-template-areas: "text media";
}
.svc-feature__text {
    grid-area: text;
}
.svc-feature__media {
    grid-area: media;
    margin: 0;
}

.svc-feature__eyebrow {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.svc-feature__title {
    margin: 0 0 6px;
    font-size: clamp(20px, 4.2vw, 30px);
    font-weight: 900;
    color: var(--black);
    letter-spacing: 0.2px;
}
.svc-feature__lead {
    margin: 6px 0 8px;
    max-width: 62ch;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.9;
}
.svc-feature__lead--soft {
    font-weight: 600;
    opacity: 0.95;
}

/* Bullets */
.svc-bullets {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.svc-bullet {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 10px;
    align-items: start;
    padding: 12px;
    border-radius: 14px;
    background: #f8f8f9;
    border: 1px solid var(--line);
}
.svc-bullet__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        180deg,
        rgba(201, 165, 82, 0.16),
        rgba(201, 165, 82, 0.06)
    );
    border: 1px solid #efe5c6;
    color: var(--accent-ink);
}
.svc-bullet__icon svg {
    width: 22px;
    height: 22px;
}
.svc-bullet__title {
    margin: 0 0 2px;
    font-size: 15px;
    font-weight: 900;
    color: var(--black);
}
.svc-bullet__desc {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.85;
}

/* Media (image) */
.svc-feature__frame {
    position: relative;
    border-radius: 16px;
    overflow: clip;
    border: 1px solid var(--line);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    background: #000;
}
.svc-feature__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
    transform: scale(1.015);
    transition: transform 0.4s ease;
}
.svc-feature__frame:hover .svc-feature__img {
    transform: scale(1.03);
}

/* Responsive feature */
.svc-feature__grid {
    grid-template-areas: "text media";
}
@media (max-width: 980px) {
    .svc-feature {
        padding-block: clamp(22px, 7vh, 40px);
    }
    .svc-feature__grid {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "media"
            "text" !important;
        gap: 14px !important;
    }
    .svc-feature__media {
        order: -1;
    }
}
@media (max-width: 640px) {
    .svc-feature__grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
    .svc-feature__media,
    .svc-feature__text {
        width: 100%;
    }

    .svc-feature__frame {
        border-radius: 12px;
    }
    .svc-feature__img {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        object-fit: cover;
        transform: none;
    }

    .svc-feature__title {
        font-size: clamp(18px, 6vw, 22px);
    }
    .svc-feature__lead {
        font-size: 14px;
        line-height: 1.9;
        margin-top: 4px;
    }

    .svc-bullets {
        gap: 8px;
    }
    .svc-bullet {
        grid-template-columns: 34px 1fr;
        padding: 10px;
        border-radius: 10px;
    }
    .svc-bullet__icon {
        width: 34px;
        height: 34px;
        border-radius: 9px;
    }
    .svc-bullet__icon svg {
        width: 20px;
        height: 20px;
    }
    .svc-bullet__title {
        font-size: 14px;
    }
    .svc-bullet__desc {
        font-size: 13px;
    }
}

/* ===== Body / services grid ===== */
.svc-body {
    padding-block: clamp(28px, 10vh, 80px);
    background: var(--section-background-color);
}
.svc-head {
    text-align: center;
    margin-bottom: clamp(16px, 4vw, 26px);
}
.svc-title {
    margin: 0;
    font-size: clamp(20px, 4.2vw, 32px);
    font-weight: 900;
    color: var(--black);
}
.svc-sub {
    margin: 6px auto 0;
    max-width: 58ch;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.9;
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 18px);
    margin-top: clamp(12px, 3vw, 20px);
}
.svc-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease,
        border-color 0.18s ease;
}
.svc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.07);
    border-color: transparent;
}
.svc-card__title {
    margin: 0 0 6px;
    font-weight: 900;
    font-size: 16px;
}
.svc-card__desc {
    margin: 0;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.9;
}

/* Rich service cards */
.svc-card--rich {
    display: grid;
    grid-template-rows: auto auto auto 1fr;
    gap: 8px;
    padding: 16px 16px 14px;
}
.svc-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        180deg,
        rgba(201, 165, 82, 0.16),
        rgba(201, 165, 82, 0.06)
    );
    border: 1px solid #efe5c6;
    color: var(--accent-ink);
}
.svc-card__icon svg {
    width: 24px;
    height: 24px;
}

/* Bullet points داخل البطاقات */
.svc-points {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: grid;
    gap: 6px;
}
.svc-points li {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.7;
    text-align: start;
}
.svc-points li::before {
    content: "✔";
    font-size: 12px;
    line-height: 1;
    transform: translateY(2px);
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    flex: 0 0 auto;
}

@media (max-width: 1024px) {
    .svc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .svc-card__icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }
    .svc-card__icon svg {
        width: 22px;
        height: 22px;
    }
}
@media (max-width: 640px) {
    .svc-grid {
        grid-template-columns: 1fr;
    }
    .svc-card__title {
        font-size: 15px;
    }
    .svc-card__desc {
        font-size: 14px;
    }
    .svc-points li {
        font-size: 13px;
    }
}

/* ===== Process section ===== */
.svc-process {
    padding-block: clamp(28px, 10vh, 80px);
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.svc-eyebrow {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.process-grid {
    list-style: none;
    margin: clamp(12px, 3vw, 20px) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 18px);
    justify-items: center;
    align-items: center;
}
.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-height: 180px;
}
.process-step__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-ink);
}
.process-step__icon svg {
    width: 22px;
    height: 22px;
}
.process-step__title {
    margin: 2px 0 0;
    font-size: 16px;
    font-weight: 900;
    color: var(--black);
    text-align: center;
}
.process-step__desc {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.85;
    text-align: center;
    max-width: 42ch;
}

@media (max-width: 1200px) {
    .process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 980px) {
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
    .process-step {
        min-height: 160px;
    }
    .process-step__title {
        font-size: 15px;
    }
    .process-step__desc {
        font-size: 14px;
    }
}

/* ===== Why us (FIX: Arabic text on RIGHT, highlight on LEFT) ===== */
.svc-why {
    padding-block: clamp(26px, 9vh, 72px);
    background: #020617;
    border-top: 1px solid rgba(15, 23, 42, 0.7);
    border-bottom: 1px solid rgba(15, 23, 42, 0.7);
    color: #e5e7eb;
}

.svc-why__inner {
    max-width: 1100px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(16px, 3vw, 28px);
    align-items: center;
    justify-content: center;
    direction: ltr;
    grid-template-areas: "text highlight";
}

:where(html, body)[dir="rtl"] .svc-why__inner {
    grid-template-areas: "highlight text";
}

.svc-why__text {
    grid-area: text;
    text-align: start;
}
.svc-why__highlight {
    grid-area: highlight;
}

:where(html, body)[dir="rtl"] .svc-why__text,
:where(html, body)[dir="rtl"] .svc-why__highlight {
    direction: rtl;
}

.svc-why__title {
    margin: 0 0 10px;
    font-size: clamp(20px, 4.2vw, 30px);
    font-weight: 900;
    color: #f9fafb;
}

.svc-why__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
    text-align: start;
}
.svc-why__list li {
    position: relative;
    padding-inline-start: 20px;
    font-size: 14px;
    font-weight: 700;
    color: #d1d5db;
    line-height: 1.9;
}
.svc-why__list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: radial-gradient(
        circle at 30% 30%,
        var(--accent-2, #e2c777),
        var(--accent, #c9a552)
    );
    box-shadow: 0 0 0 3px rgba(201, 165, 82, 0.25);
    transform: translateY(-50%);
}

.svc-why__highlight {
    margin: 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: radial-gradient(
            900px 360px at 50% 0,
            rgba(201, 165, 82, 0.18),
            transparent 65%
        ),
        rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(201, 165, 82, 0.6);
    color: #f9fafb;
    font-weight: 700;
    line-height: 2;
}

@media (max-width: 768px) {
    .svc-why__inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "text"
            "highlight";
    }

    .svc-why__highlight {
        margin-top: 8px;
    }

    .svc-why__list li {
        font-size: 13px;
    }
}

/* ===== Success Stories ===== */
.svc-success {
    padding-block: clamp(28px, 10vh, 80px);
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.success-head {
    text-align: center;
    margin-bottom: clamp(16px, 4vw, 26px);
}
.success-eyebrow {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.success-title {
    margin: 0;
    font-size: clamp(20px, 4.2vw, 32px);
    font-weight: 900;
    color: var(--black);
}
.success-sub {
    margin: 6px auto 0;
    max-width: 58ch;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.9;
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 18px);
    margin-top: clamp(12px, 3vw, 20px);
}
.success-card {
    position: relative;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 8px;
    padding: 18px 16px 16px;
    border-radius: 16px;
    background: radial-gradient(
            600px 220px at 100% -10%,
            rgba(201, 165, 82, 0.08),
            transparent 60%
        ),
        #fcfcfc;
    border: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease,
        border-color 0.18s ease;
}
.success-card:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}
.success-kpi {
    display: grid;
    justify-items: center;
    gap: 4px;
    padding: 10px 8px;
    border-radius: 12px;
    background: linear-gradient(
        180deg,
        rgba(201, 165, 82, 0.14),
        rgba(201, 165, 82, 0.06)
    );
    border: 1px solid #efe5c6;
}
.success-kpi__value {
    font-weight: 900;
    font-size: clamp(20px, 4.6vw, 28px);
    line-height: 1;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.2px;
}
.success-kpi__label {
    font-size: 12px;
    font-weight: 800;
    color: var(--accent-ink);
    opacity: 0.9;
}
.success-card__title {
    margin: 0;
    font-size: 16px;
    font-weight: 900;
    color: var(--black);
}
.success-card__desc {
    margin: 0;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.9;
}
.success-meta {
    margin: 0;
    font-size: 13px;
    font-weight: 800;
    color: var(--accent-ink);
    opacity: 0.9;
    display: inline-flex;
    align-items: center;
    gap: 0.6ch;
    flex-wrap: wrap;
}
.success-meta .meta-sep {
    opacity: 0.45;
}
.success-meta .meta-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4ch;
}
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.icon svg {
    width: 16px;
    height: 16px;
}
.icon--pin,
.icon--calendar {
    color: var(--accent-ink);
    opacity: 0.95;
}

@media (max-width: 1024px) {
    .success-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .success-grid {
        grid-template-columns: 1fr;
    }
    .success-card__title {
        font-size: 15px;
    }
    .success-card__desc {
        font-size: 14px;
    }
}
