﻿.ghe {
    --ghe-accent: var(--primary-color, #d4a017);
}

/* ===== سربرگ ===== */
.ghe-hero {
    padding: 56px 0 40px;
    background: #12132C;
    color: #fff;
}

.ghe-kicker {
    display: inline-block;
    padding: 4px 16px;
    margin-bottom: 12px;
    font-size: 13px;
    border-radius: 999px;
    border: 1px solid var(--primary-color, #d4a017);
    color: var(--primary-color, #d4a017);
}

.ghe-hero h1 {
    color: #fff;
    margin-bottom: 10px;
}

.ghe-line {
    display: block;
    width: 56px;
    height: 3px;
    margin: 0 auto 14px;
    border-radius: 3px;
    background: var(--primary-color, #d4a017);
}

.ghe-hero p {
    max-width: 620px;
    margin: 0 auto 32px;
    opacity: .8;
    line-height: 2;
}

.ghe-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.ghe-stat {
    padding: 18px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
}

    .ghe-stat b {
        display: block;
        font-size: 22px;
        color: var(--primary-color, #d4a017);
    }

    .ghe-stat span {
        font-size: 12.5px;
        opacity: .8;
    }

/* ===== بخش‌ها ===== */
.ghe-sec {
    padding: 64px 0;
    background: #fff;
}

.ghe-alt {
    background: #f4f6f8;
}

.ghe-row {
    display: flex;
    align-items: center;
    gap: 48px;
}

.ghe-rev {
    flex-direction: row-reverse;
}

.ghe-media {
    position: relative;
    flex: 0 0 42%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .18);
}

    .ghe-media img {
        display: block;
        width: 100%;
        height: 440px;
        object-fit: cover;
        transition: transform .6s ease;
    }

    .ghe-media:hover img {
        transform: scale(1.05);
    }

.ghe-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    background: var(--primary-color, #d4a017);
    color: #111;
}

.ghe-text {
    flex: 1;
}

    .ghe-text h2 {
        margin-bottom: 16px;
        padding-right: 14px;
        border-right: 4px solid var(--primary-color, #d4a017);
    }

    .ghe-text p, .ghe-more p {
        line-height: 2.1;
        text-align: justify;
        color: #3a3a3f;
    }

.ghe-lead {
    font-size: 1.05em;
}

.ghe-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 16px 0 0;
}

    .ghe-chips li {
        padding: 6px 14px;
        font-size: 13px;
        border-radius: 999px;
        background: #fff;
        border: 1px solid #dfe3e8;
        color: #333;
    }

.ghe-alt .ghe-chips li {
    background: #fff;
}

.ghe-more {
    max-width: 920px;
    margin: 32px auto 0;
}

/* ===== کارت ویژگی‌ها ===== */
.ghe-subtitle {
    text-align: center;
    margin: 48px 0 24px;
}

.ghe-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ghe-feature {
    padding: 24px 18px;
    border-radius: 16px;
    background: #f4f6f8;
    border: 1px solid #e6e9ee;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

    .ghe-feature:hover {
        transform: translateY(-5px);
        border-color: var(--primary-color, #d4a017);
        box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
    }

.ghe-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    font-size: 20px;
    border-radius: 12px;
    background: var(--primary-color, #d4a017);
    color: #111;
}

.ghe-feature h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.ghe-feature p {
    margin: 0;
    font-size: 13.5px;
    line-height: 2;
    color: #555;
}

.ghe-quote {
    margin: 40px auto 0;
    max-width: 820px;
    padding: 22px 28px;
    text-align: center;
    font-size: 1.1em;
    line-height: 2;
    border-radius: 16px;
    background: #12132C;
    color: #fff;
    border-right: 5px solid var(--primary-color, #d4a017);
}

/* ===== ویدیو ===== */
.ghe-video video {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== تبلت و موبایل ===== */
@media (max-width: 991px) {
    .ghe-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .ghe-row, .ghe-rev {
        flex-direction: column;
        gap: 24px;
    }

    .ghe-media {
        flex: none;
        width: 100%;
    }

        .ghe-media img {
            height: 260px;
        }

    .ghe-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .ghe-sec {
        padding: 44px 0;
    }
}

@media (max-width: 575px) {
    .ghe-features {
        grid-template-columns: 1fr;
    }

    .ghe-video video {
        max-height: none;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ghe-media img, .ghe-feature {
        transition: none;
    }
}
