/* ===== HOME PAGE SPECIFIC ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
    background-image: url('https://images.unsplash.com/photo-1604719312566-8912e9227c6a?w=1600&q=80');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(10, 20, 16, 0.80) 0%, rgba(26, 45, 62, 0.60) 50%, rgba(10, 20, 16, 0.80) 100%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    z-index: 1;
}

.hero-content {
    max-width: 850px;
    z-index: 2;
    padding: 20px;
    animation: fadeUp 1s ease forwards;
    will-change: transform, opacity;
}

.hero-content .label {
    color: var(--color-gold-light);
    font-weight: 600;
    font-size: clamp(0.8rem, 1vw, 1rem);
    letter-spacing: 0.2em;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    padding: 6px 24px;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 9vw, 5.8rem);
    font-weight: 700;
    line-height: 1.05;
    margin: 0 0 20px;
    color: #fff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hero-content h1 .highlight {
    color: var(--color-gold);
}

.hero-content p {
    font-size: clamp(1rem, 1.6vw, 1.4rem);
    opacity: 0.92;
    max-width: 600px;
    margin: 0 auto 45px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.90);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.hero-buttons .btn {
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    padding: 16px 42px;
    min-width: 180px;
    letter-spacing: 0.02em;
}

.hero-buttons .btn i {
    font-size: 1.2rem;
}

/* ===== PROMO BANNER ===== */
.promo-banner {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    padding: 64px 48px;
    min-height: 320px;
    display: flex;
    align-items: center;
    background-image: url('https://images.unsplash.com/photo-1607083206968-13611e3d76db?w=1400&q=80');
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
}

.promo-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.30) 100%);
    z-index: 1;
}

.promo-banner .promo-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    text-align: right;
    color: #fff;
}

.promo-banner .promo-content .label {
    color: var(--color-gold-light);
    font-weight: 700;
}

.promo-banner .promo-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    margin: 8px 0 16px;
    color: #fff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.promo-banner .promo-content p {
    opacity: 0.9;
    margin-bottom: 24px;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.promo-banner .btn-gold {
    background: var(--color-gold);
    color: #1a1a1a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.promo-banner .btn-gold:hover {
    background: #e2c066;
    transform: translateY(-3px);
}

/* ===== STATS ===== */
#stats {
    background: #85ff89;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    text-align: center;
}

.stat-item .number {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 700;
    color: var(--color-emerald-dark);
    display: block;
    line-height: 1.1;
}

.stat-item .number .suffix {
    font-size: 0.7em;
    color: var(--color-gold);
}

.stat-item .label-stat {
    font-size: clamp(0.85rem, 0.9vw, 0.95rem);
    color: var(--color-charcoal);
    margin-top: 4px;
    font-weight: 500;
}

/* ===== ABOUT PREVIEW ===== */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-preview .about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 16 / 9;
    background: var(--color-gray-light);
}

.about-preview .about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
    will-change: transform;
}

.about-preview .about-image:hover img {
    transform: scale(1.02);
}

.about-preview .about-text .label {
    margin-bottom: 4px;
}

.about-preview .about-text h2 {
    margin-bottom: 16px;
}

.about-preview .about-text p {
    margin-bottom: 24px;
}

.about-preview .about-text .badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.about-preview .about-text .badge-list span {
    background: var(--color-cream);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-emerald);
}

/* ===== FAQ ===== */
.faq-section {
    background: var(--color-emerald-dark);
    color: #fff;
}

.faq-section .section-header .label {
    color: var(--color-gold-light);
}

.faq-section .section-header .heading-lg {
    color: #fff;
}

.faq-section .section-header p {
    color: rgba(255, 255, 255, 0.75);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.12);
}

.faq-item .faq-question {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    font-size: clamp(0.95rem, 1vw, 1rem);
    background: none;
    border: none;
    width: 100%;
    text-align: right;
    color: #fff;
    font-family: var(--font-body);
    transition: color 0.3s;
    gap: 16px;
    touch-action: manipulation;
    min-height: var(--touch-min);
}

.faq-item .faq-question:hover {
    color: var(--color-gold-light);
}

.faq-item .faq-question .icon {
    font-size: 1.2rem;
    color: var(--color-gold);
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-question .icon {
    transform: rotate(180deg);
}

.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s ease;
    padding: 0 24px;
    color: rgba(255, 255, 255, 0.80);
    font-size: clamp(0.9rem, 0.95vw, 0.95rem);
    line-height: 1.7;
    text-align: right;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-preview {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-preview .about-image img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 600px;
        padding: 80px 16px 40px;
        background-attachment: scroll;
        background-position: center 20%;
    }
    .hero-content h1 {
        font-size: clamp(2rem, 6vw, 2.6rem);
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .hero-buttons .btn {
        width: 100%;
        min-width: unset;
        justify-content: center;
        padding: 14px 24px;
    }
    .promo-banner {
        padding: 40px 24px;
        min-height: 240px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
        padding: 60px 16px 30px;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content .label {
        font-size: 0.7rem;
        padding: 4px 16px;
    }
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .hero-buttons {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .hero-buttons .btn {
        padding: 10px 12px;
        font-size: 0.75rem;
        min-width: unset;
        width: 100%;
        flex: 1;
        justify-content: center;
        white-space: nowrap;
    }
    .hero-buttons .btn i {
        font-size: 0.7rem;
    }
    .promo-banner {
        padding: 30px 16px;
        min-height: 200px;
    }
    .promo-banner .promo-content h2 {
        font-size: 1.4rem;
    }
    .promo-banner .promo-content p {
        font-size: 0.9rem;
    }
    .promo-banner .btn {
        padding: 8px 16px;
        font-size: 0.75rem;
        min-width: unset;
        width: auto;
        gap: 6px;
    }
    .promo-banner .btn i {
        font-size: 0.65rem;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .about-preview .about-text .badge-list {
        justify-content: center;
    }
    .categories-cta {
        text-align: center;
        margin-top: 24px;
    }
    .categories-cta .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        min-width: unset;
        width: auto;
    }
    .categories-cta .btn i {
        font-size: 0.7rem;
    }
}

@media (max-width: 360px) {
    .hero {
        min-height: 420px;
        padding: 50px 12px 20px;
    }
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .hero-content p {
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    .hero-buttons {
        gap: 6px;
    }
    .hero-buttons .btn {
        font-size: 0.65rem;
        padding: 8px 8px;
    }
    .promo-banner .promo-content h2 {
        font-size: 1.2rem;
    }
    .promo-banner .promo-content p {
        font-size: 0.8rem;
    }
}
/* توسيط زر "عرض جميع الأقسام" على جميع الشاشات */
.categories-cta {
    text-align: center;
    margin-top: 40px;
}