/* production-lines-index.css — أنماط خاصة بهذه الصفحة وحدها.
   المرحلة 3: كانت مكتوبة داخل <style> فى الـ View، تنزل مع كل
   طلب ولا يستطيع المتصفح تخزينها. الآن ملف مستقل قابل للتخزين. */

.production-lines-page {
    --pl-primary: #0a0a0a;
    --pl-dark: #1a1a1a;
    --pl-accent: #d4a017;
    --pl-accent-bright: #f0c75e;
    --pl-soft: #faf6ec;
    --pl-border: #e8dfc4;
    direction: rtl;
}

/* ============ HERO ============ */
.production-lines-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 22%, rgba(212,160,23,.22), transparent 30%),
        linear-gradient(135deg, #0a0a0a 0%, #000000 58%, #1a1a1a 100%);
    color: #fff;
    padding: 92px 0 74px;
    text-align: center;
}

    .production-lines-hero::after {
        content: "";
        position: absolute;
        left: -120px;
        bottom: -180px;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: rgba(255,255,255,.07);
    }

    .production-lines-hero .container {
        position: relative;
        z-index: 2;
    }

.production-lines-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
    color: #f0c75e;
    font-weight: 800;
    margin-bottom: 18px;
}

.production-lines-hero h1 {
    font-size: clamp(2.2rem, 4vw, 4.25rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 18px;
}

.production-lines-hero p {
    max-width: 820px;
    margin: 0 auto;
    color: rgba(255,255,255,.84);
    font-size: 1.15rem;
    line-height: 1.9;
}

/* ============ QUICK COMPARE BAR ============ */
.pl-compare-bar {
    background: #fff;
    border: 1px solid var(--pl-border);
    border-radius: 22px;
    padding: 14px 18px;
    margin-top: -40px;
    position: relative;
    z-index: 3;
    box-shadow: 0 24px 50px rgba(26,26,26,.10);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

    .pl-compare-bar .pl-compare-label {
        font-weight: 800;
        color: var(--pl-dark);
        font-size: .95rem;
        margin-inline-end: 8px;
    }

    .pl-compare-bar .pl-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 9px 16px;
        border-radius: 999px;
        background: var(--pl-soft);
        border: 1.5px solid var(--pl-border);
        color: var(--pl-dark);
        font-weight: 800;
        font-size: .92rem;
        text-decoration: none;
        transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
        cursor: pointer;
    }

        .pl-compare-bar .pl-pill i {
            font-size: .82rem;
            opacity: .8;
        }

        .pl-compare-bar .pl-pill:hover {
            transform: translateY(-2px);
            background: var(--pl-accent);
            border-color: var(--pl-accent);
            color: #fff;
        }

/* ============ SECTION ============ */
.production-lines-section {
    padding: 56px 0 72px;
    background: linear-gradient(180deg, #fff 0%, #fffaf3 100%);
}

.production-lines-title {
    text-align: center;
    margin-bottom: 38px;
}

    .production-lines-title span {
        color: var(--pl-accent);
        font-weight: 900;
    }

    .production-lines-title h2 {
        margin-top: 8px;
        color: var(--pl-dark);
        font-weight: 900;
    }

/* ============ CARD ============ */
.production-line-card {
    height: 100%;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid var(--pl-border);
    background: #fff;
    box-shadow: 0 18px 44px rgba(26,26,26,.09);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex;
    flex-direction: column;
    scroll-margin-top: 90px;
    position: relative;
}

    .production-line-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 26px 58px rgba(26,26,26,.14);
        border-color: rgba(212,160,23,.55);
    }

.production-line-image {
    height: 240px;
    background: #f8f8f8;
    overflow: hidden;
    position: relative;
}

    .production-line-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .45s ease;
    }

    .production-line-card:hover .production-line-image img {
        transform: scale(1.06);
    }

.pl-capacity-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    font-size: .88rem;
    letter-spacing: .3px;
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

    .pl-capacity-badge i { font-size: .75rem; }

.pl-accent-gold .pl-capacity-badge { background: linear-gradient(135deg, #d4a017, #a07906); }
.pl-accent-blue .pl-capacity-badge { background: linear-gradient(135deg, #1d6fb8, #144a7d); }
.pl-accent-emerald .pl-capacity-badge { background: linear-gradient(135deg, #2d8e5f, #1c5e3f); }
.pl-accent-amber .pl-capacity-badge { background: linear-gradient(135deg, #d4691a, #9c4811); }

.production-line-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .production-line-body h3 {
        color: var(--pl-primary);
        font-weight: 900;
        font-size: 1.2rem;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .production-line-body > p {
        color: #5b5f6a;
        line-height: 1.7;
        margin-bottom: 14px;
        font-size: .93rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.pl-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.pl-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--pl-soft);
    border: 1px solid var(--pl-border);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--pl-dark);
    line-height: 1.3;
}

    .pl-chip i {
        color: var(--pl-accent);
        font-size: .72rem;
    }

.pl-components {
    background: var(--pl-soft);
    border: 1px dashed var(--pl-border);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
}

    .pl-components-title {
        font-size: .78rem;
        font-weight: 900;
        color: var(--pl-accent);
        letter-spacing: .5px;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .pl-components-title i { font-size: .72rem; }

    .pl-components ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .pl-components li {
        font-size: .84rem;
        color: var(--pl-dark);
        font-weight: 600;
        line-height: 1.5;
        display: flex;
        align-items: flex-start;
        gap: 7px;
    }

        .pl-components li::before {
            content: "\f00c";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            color: var(--pl-accent);
            font-size: .7rem;
            margin-top: 4px;
            flex-shrink: 0;
        }

.production-line-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

    .production-line-actions .btn {
        flex: 1;
        padding: 9px 12px;
        font-size: .88rem;
        font-weight: 800;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-width: 0;
    }

    .production-line-actions .btn-warning {
        background: var(--pl-accent);
        border-color: var(--pl-accent);
        color: #111;
    }

        .production-line-actions .btn-warning:hover {
            background: #b88712;
            border-color: #b88712;
            color: #fff;
        }

/* ============ TRUST SECTION ============ */
.pl-trust-section {
    padding: 64px 0 80px;
    background: #fff;
    border-top: 1px solid var(--pl-border);
}

.pl-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 36px;
}

.pl-trust-card {
    background: linear-gradient(135deg, #fbfbfb 0%, var(--pl-soft) 100%);
    border: 1px solid var(--pl-border);
    border-radius: 18px;
    padding: 24px 20px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .pl-trust-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 32px rgba(26,26,26,.08);
    }

    .pl-trust-card .pl-trust-icon {
        width: 58px;
        height: 58px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--pl-accent), var(--pl-accent-bright));
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 1.3rem;
        margin-bottom: 14px;
        box-shadow: 0 8px 18px rgba(212,160,23,.30);
    }

    .pl-trust-card h3,
.pl-trust-card h4 {
        color: var(--pl-dark);
        font-weight: 900;
        font-size: 1.02rem;
        margin-bottom: 8px;
    }

    .pl-trust-card p {
        color: #6a6a6a;
        font-size: .87rem;
        line-height: 1.7;
        margin: 0;
    }

/* ============ CTA STRIP ============ */
.pl-cta-strip {
    margin-top: 56px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-radius: 26px;
    padding: 36px 32px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .pl-cta-strip::before {
        content: "";
        position: absolute;
        top: -80px;
        right: -80px;
        width: 240px;
        height: 240px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(212,160,23,.25), transparent 70%);
    }

    .pl-cta-strip h3 {
        font-weight: 900;
        font-size: 1.4rem;
        margin-bottom: 8px;
        position: relative;
    }

    .pl-cta-strip p {
        color: rgba(255,255,255,.8);
        margin-bottom: 18px;
        position: relative;
    }

    .pl-cta-strip .btn {
        position: relative;
        background: var(--pl-accent);
        border: none;
        color: #111;
        font-weight: 900;
        padding: 12px 28px;
        border-radius: 10px;
        transition: transform .2s ease, box-shadow .2s ease;
    }

        .pl-cta-strip .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 24px rgba(212,160,23,.4);
            background: var(--pl-accent-bright);
        }

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
    .production-line-image { height: 220px; }
    .pl-compare-bar { margin-top: -20px; }
}

@media (max-width: 767px) {
    .production-lines-hero { padding: 70px 0 54px; }
    .production-line-image { height: 200px; }
    .pl-compare-bar { gap: 8px; padding: 12px; }
    .pl-compare-bar .pl-pill { padding: 7px 12px; font-size: .85rem; }
    .pl-compare-bar .pl-compare-label { width: 100%; text-align: center; margin: 0 0 4px; }
    .production-line-body { padding: 18px 18px 20px; }
    .production-line-actions .btn { padding: 8px 10px; font-size: .82rem; }
}
