/* achievements.css — أنماط صفحة "إنجازات مصنع الأدهم".
   المرحلة 3: كانت مكتوبة داخل <style> فى حقل content بملف pages.json.
   وجود CSS داخل المحتوى كان يجبرنا على السماح بوسم <style> فى المنقّى
   وعلى إبقاء 'unsafe-inline' فى سياسة الأمان — وهما أضعف نقطتين فيها.
   الملف يُحمَّل تلقائيًا حسب الـ slug (انظر SystemPage.cshtml). */

/* ========================================================
       ACHIEVEMENTS PAGE — Professional Layout (ach-*)
       متناسق مع نظام ألوان الموقع: --green / --yellow / --soft
       ======================================================== */

    .ach-hero {
        position: relative;
        padding: 110px 0 90px;
        background:
            linear-gradient(135deg, rgba(10,10,10,.94), rgba(10,10,10,.78)),
            radial-gradient(1200px 600px at 80% -10%, rgba(212,160,23,.35), transparent 60%),
            linear-gradient(135deg, #0a0a0a, #000);
        color: #fff;
        overflow: hidden;
    }

        .ach-hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image:
                radial-gradient(circle at 20% 30%, rgba(212,160,23,.18), transparent 35%),
                radial-gradient(circle at 85% 80%, rgba(240,199,94,.12), transparent 40%);
            pointer-events: none;
        }

        .ach-hero .container {
            position: relative;
            z-index: 2;
        }

    .ach-crumbs {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: .92rem;
        color: rgba(255,255,255,.7);
        margin-bottom: 22px;
    }

        .ach-crumbs a {
            color: rgba(255,255,255,.85);
            font-weight: 700;
            transition: color .2s;
        }

            .ach-crumbs a:hover {
                color: var(--yellow);
            }

        .ach-crumbs span[aria-hidden] {
            opacity: .5;
        }

    .ach-crumbs__current {
        color: var(--yellow);
        font-weight: 800;
    }

    .ach-chip {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(212,160,23,.18);
        border: 1px solid rgba(212,160,23,.45);
        color: var(--yellow);
        padding: 7px 16px;
        border-radius: 999px;
        font-size: .85rem;
        font-weight: 800;
        margin-bottom: 18px;
        backdrop-filter: blur(8px);
    }

    .ach-hero__title {
        font-size: clamp(2.2rem, 4.6vw, 4rem);
        font-weight: 900;
        line-height: 1.2;
        margin: 0 0 18px;
        text-shadow: 0 8px 28px rgba(0,0,0,.35);
    }

        .ach-hero__title span {
            color: var(--yellow);
        }

    .ach-hero__lead {
        font-size: 1.15rem;
        line-height: 1.9;
        max-width: 760px;
        color: rgba(255,255,255,.88);
        margin: 0;
    }

    /* ===== Stats Strip ===== */
    .ach-stats {
        margin-top: -50px;
        position: relative;
        z-index: 5;
        padding: 0 0 60px;
    }

    .ach-stats__grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
        background: #fff;
        border-radius: 22px;
        padding: 28px 22px;
        box-shadow: 0 30px 70px rgba(0,0,0,.12), 0 8px 22px rgba(0,0,0,.06);
        border: 1px solid var(--border);
    }

    .ach-stat {
        text-align: center;
        padding: 14px 10px;
        border-right: 1px dashed var(--border);
    }

        .ach-stat:last-child {
            border-right: 0;
        }

    .ach-stat__icon {
        width: 54px;
        height: 54px;
        margin: 0 auto 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--yellow), #f0c75e);
        color: #0a0a0a;
        border-radius: 14px;
        font-size: 1.4rem;
        box-shadow: 0 10px 22px rgba(212,160,23,.3);
    }

    .ach-stat__num {
        font-size: clamp(1.8rem, 3.2vw, 2.6rem);
        font-weight: 900;
        color: var(--green);
        line-height: 1;
        margin-bottom: 6px;
    }

    .ach-stat__label {
        font-size: .95rem;
        font-weight: 700;
        color: var(--muted);
    }

    /* ===== Section Base ===== */
    .ach-section {
        padding: 70px 0;
    }

    .ach-section.soft {
        background: var(--soft);
    }

    .ach-section__head {
        text-align: center;
        margin-bottom: 50px;
    }

    .ach-section__kicker {
        display: inline-block;
        background: rgba(212,160,23,.13);
        color: var(--yellow);
        font-weight: 800;
        font-size: .85rem;
        padding: 6px 16px;
        border-radius: 999px;
        margin-bottom: 14px;
    }

    .ach-section__title {
        font-size: clamp(1.8rem, 3.4vw, 2.6rem);
        font-weight: 900;
        color: var(--green);
        margin: 0 0 12px;
    }

    .ach-section__sub {
        font-size: 1.05rem;
        color: var(--muted);
        max-width: 720px;
        margin: 0 auto;
        line-height: 1.9;
    }

    /* ===== Journey / Timeline ===== */
    .ach-journey {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }

    .ach-journey__card {
        position: relative;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 30px 26px;
        box-shadow: 0 12px 30px rgba(0,0,0,.04);
        transition: transform .25s, box-shadow .25s, border-color .25s;
        overflow: hidden;
    }

        .ach-journey__card::before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            left: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--yellow), #f0c75e);
            transform: scaleX(0);
            transform-origin: right;
            transition: transform .3s ease;
        }

        .ach-journey__card:hover {
            transform: translateY(-6px);
            box-shadow: 0 22px 50px rgba(0,0,0,.1);
            border-color: rgba(212,160,23,.4);
        }

            .ach-journey__card:hover::before {
                transform: scaleX(1);
            }

    .ach-journey__year {
        display: inline-block;
        background: var(--green);
        color: var(--yellow);
        font-weight: 900;
        font-size: .95rem;
        padding: 6px 16px;
        border-radius: 8px;
        margin-bottom: 16px;
        letter-spacing: .5px;
    }

    .ach-journey__icon {
        width: 56px;
        height: 56px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--yellow), #f0c75e);
        color: #0a0a0a;
        border-radius: 14px;
        font-size: 1.5rem;
        margin-bottom: 18px;
        box-shadow: 0 10px 22px rgba(212,160,23,.25);
    }

    .ach-journey__title {
        font-size: 1.25rem;
        font-weight: 900;
        color: var(--green);
        margin: 0 0 12px;
        line-height: 1.4;
    }

    .ach-journey__text {
        font-size: 1rem;
        line-height: 1.9;
        color: var(--muted);
        margin: 0;
    }

    /* ===== Values Grid ===== */
    .ach-values {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .ach-value {
        display: flex;
        gap: 20px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 18px;
        padding: 26px 24px;
        transition: transform .25s, box-shadow .25s;
    }

        .ach-value:hover {
            transform: translateY(-4px);
            box-shadow: 0 18px 40px rgba(0,0,0,.08);
        }

    .ach-value__icon {
        flex: 0 0 58px;
        height: 58px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, rgba(212,160,23,.15), rgba(240,199,94,.1));
        color: var(--yellow);
        border-radius: 14px;
        font-size: 1.45rem;
        border: 1px solid rgba(212,160,23,.25);
    }

    .ach-value__body h3 {
        font-size: 1.15rem;
        font-weight: 900;
        color: var(--green);
        margin: 0 0 8px;
    }

    .ach-value__body p {
        font-size: .98rem;
        line-height: 1.85;
        color: var(--muted);
        margin: 0;
    }

    /* ===== Why Us ===== */
    .ach-why {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }

    .ach-why__card {
        text-align: center;
        background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 36px 26px;
        transition: transform .25s, box-shadow .25s;
    }

        .ach-why__card:hover {
            transform: translateY(-6px);
            box-shadow: 0 22px 50px rgba(0,0,0,.08);
        }

    .ach-why__icon {
        width: 72px;
        height: 72px;
        margin: 0 auto 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--green);
        color: var(--yellow);
        border-radius: 50%;
        font-size: 1.8rem;
        box-shadow: 0 12px 28px rgba(10,10,10,.2);
    }

    .ach-why__title {
        font-size: 1.2rem;
        font-weight: 900;
        color: var(--green);
        margin: 0 0 10px;
    }

    .ach-why__text {
        font-size: .98rem;
        line-height: 1.85;
        color: var(--muted);
        margin: 0;
    }

    /* ===== Vision Box ===== */
    .ach-vision {
        position: relative;
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
        color: #fff;
        border-radius: 26px;
        padding: 58px 50px;
        overflow: hidden;
        box-shadow: 0 30px 70px rgba(0,0,0,.18);
    }

        .ach-vision::before {
            content: "";
            position: absolute;
            top: -80px;
            left: -80px;
            width: 280px;
            height: 280px;
            background: radial-gradient(circle, rgba(212,160,23,.3), transparent 70%);
            pointer-events: none;
        }

        .ach-vision::after {
            content: "";
            position: absolute;
            bottom: -100px;
            right: -100px;
            width: 320px;
            height: 320px;
            background: radial-gradient(circle, rgba(240,199,94,.2), transparent 70%);
            pointer-events: none;
        }

    .ach-vision__inner {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: 1fr 1.4fr;
        gap: 40px;
        align-items: center;
    }

    .ach-vision__icon-wrap {
        text-align: center;
    }

    .ach-vision__big-icon {
        width: 130px;
        height: 130px;
        margin: 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--yellow), #f0c75e);
        color: #0a0a0a;
        border-radius: 28px;
        font-size: 3.4rem;
        box-shadow: 0 22px 50px rgba(212,160,23,.35);
        transform: rotate(-6deg);
    }

    .ach-vision__kicker {
        display: inline-block;
        background: rgba(212,160,23,.2);
        color: var(--yellow);
        font-weight: 800;
        font-size: .85rem;
        padding: 6px 16px;
        border-radius: 999px;
        margin-bottom: 16px;
        border: 1px solid rgba(212,160,23,.4);
    }

    .ach-vision__title {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        font-weight: 900;
        margin: 0 0 16px;
        line-height: 1.35;
    }

        .ach-vision__title span {
            color: var(--yellow);
        }

    .ach-vision__text {
        font-size: 1.05rem;
        line-height: 1.95;
        color: rgba(255,255,255,.88);
        margin: 0 0 20px;
    }

    .ach-vision__tags {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 18px;
    }

    .ach-vision__tag {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(255,255,255,.07);
        border: 1px solid rgba(255,255,255,.15);
        color: #fff;
        font-weight: 700;
        font-size: .9rem;
        padding: 8px 16px;
        border-radius: 999px;
    }

        .ach-vision__tag i {
            color: var(--yellow);
        }

    /* ===== CTA ===== */
    .ach-cta {
        text-align: center;
        background: var(--soft);
        border: 1px solid var(--border);
        border-radius: 24px;
        padding: 50px 30px;
        margin-top: 40px;
    }

    .ach-cta h3 {
        font-size: clamp(1.5rem, 2.6vw, 2rem);
        font-weight: 900;
        color: var(--green);
        margin: 0 0 12px;
    }

    .ach-cta p {
        font-size: 1.05rem;
        color: var(--muted);
        margin: 0 0 26px;
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.85;
    }

    .ach-cta__actions {
        display: inline-flex;
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .ach-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 13px 28px;
        border-radius: 999px;
        font-weight: 800;
        font-size: 1rem;
        transition: transform .2s, box-shadow .2s, background .2s;
        border: 0;
        cursor: pointer;
    }

    .ach-btn--primary {
        background: linear-gradient(135deg, var(--yellow), #d4a017);
        color: #0a0a0a;
        box-shadow: 0 12px 26px rgba(212,160,23,.3);
    }

        .ach-btn--primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 18px 36px rgba(212,160,23,.4);
            color: #0a0a0a;
        }

    .ach-btn--wa {
        background: #25D366;
        color: #fff;
        box-shadow: 0 12px 26px rgba(37,211,102,.3);
    }

        .ach-btn--wa:hover {
            transform: translateY(-2px);
            box-shadow: 0 18px 36px rgba(37,211,102,.4);
            color: #fff;
        }

    /* ===== Responsive ===== */
    @media (max-width: 991.98px) {
        .ach-stats__grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .ach-stat {
            border-right: 0;
            border-bottom: 1px dashed var(--border);
            padding-bottom: 22px;
        }

            .ach-stat:nth-last-child(-n+2) {
                border-bottom: 0;
                padding-bottom: 14px;
            }

        .ach-journey, .ach-why {
            grid-template-columns: 1fr;
        }

        .ach-values {
            grid-template-columns: 1fr;
        }

        .ach-vision {
            padding: 40px 28px;
        }

        .ach-vision__inner {
            grid-template-columns: 1fr;
            text-align: center;
            gap: 28px;
        }

        .ach-vision__big-icon {
            transform: none;
            width: 110px;
            height: 110px;
            font-size: 2.8rem;
        }
    }

    @media (max-width: 575.98px) {
        .ach-hero {
            padding: 80px 0 70px;
        }

        .ach-stats__grid {
            grid-template-columns: 1fr;
            padding: 18px 14px;
        }

        .ach-stat {
            border-bottom: 1px dashed var(--border);
        }

            .ach-stat:last-child {
                border-bottom: 0;
            }

        .ach-section {
            padding: 50px 0;
        }

        .ach-value {
            flex-direction: column;
            text-align: center;
        }

        .ach-value__icon {
            margin: 0 auto;
        }

        .ach-cta {
            padding: 36px 20px;
        }
    }
