/**
 * Ghars Home — الصفحة الرئيسية الجديدة
 * Hero سينمائي + خدمات تحريرية + Band نحاسي + مقالات + تواصل
 */

/* ===== غلاف الرئيسية ===== */
.gh-home {
    background: var(--gh-charcoal-950);
    color: var(--gh-ink-hi);
    overflow-x: clip;
}

.gh-home .gh-section {
    padding-block: var(--gh-section);
}

/* ===== Hero ===== */
.gh-hero {
    position: relative;
    min-height: min(92vh, 900px);
    display: flex;
    align-items: center;
    isolation: isolate;
}

.gh-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center right;
}

/* تعتيم فحمي من اليمين (اتجاه النص) يذوب يساراً */
.gh-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(to left, rgba(14, 16, 19, 0.92) 0%, rgba(14, 16, 19, 0.72) 42%, rgba(14, 16, 19, 0.28) 100%),
        linear-gradient(to top, var(--gh-charcoal-950) 0%, rgba(14, 16, 19, 0) 32%);
}

.gh-hero__inner {
    padding-block: clamp(6rem, 14vh, 9rem) clamp(4rem, 10vh, 6rem);
}

.gh-hero__content {
    max-width: 640px;
}

.gh-hero__kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--gh-copper-300);
    font-family: var(--gh-font-display);
    font-weight: 600;
    font-size: 1.02rem;
    margin-bottom: var(--gh-space-3);
}

.gh-hero__kicker::before {
    content: "";
    width: 44px;
    height: 2px;
    background: var(--gh-copper-500);
    flex-shrink: 0;
}

.gh-hero h1 {
    font-size: var(--gh-fs-display);
    font-weight: 900;
    line-height: 1.22;
    margin: 0 0 var(--gh-space-3);
}

.gh-hero__sub {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--gh-ink-mid);
    max-width: 52ch;
    margin: 0 0 var(--gh-space-4);
}

.gh-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gh-space-2);
    margin-bottom: clamp(2.5rem, 6vh, 4rem);
}

/* شريط الثقة أسفل الـ Hero */
.gh-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gh-space-2) var(--gh-space-4);
    padding-top: var(--gh-space-3);
    border-top: 1px solid var(--gh-line);
}

.gh-hero__trust li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gh-ink-mid);
    font-size: 0.98rem;
}

.gh-hero__trust ul { margin: 0; padding: 0; display: contents; }

.gh-hero__trust svg {
    color: var(--gh-copper-400);
    flex-shrink: 0;
}

/* افتتاحية سطر-سطر (مرة واحدة عند التحميل) */
@keyframes gh-rise {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

.gh-hero__kicker,
.gh-hero h1,
.gh-hero__sub,
.gh-hero__ctas,
.gh-hero__trust {
    animation: gh-rise 700ms var(--gh-ease-out) both;
}

.gh-hero h1 { animation-delay: 90ms; }
.gh-hero__sub { animation-delay: 180ms; }
.gh-hero__ctas { animation-delay: 270ms; }
.gh-hero__trust { animation-delay: 380ms; }

@media (prefers-reduced-motion: reduce) {
    .gh-hero__kicker,
    .gh-hero h1,
    .gh-hero__sub,
    .gh-hero__ctas,
    .gh-hero__trust {
        animation: none;
    }
}

/* ===== الخدمات — تخطيط تحريري ===== */
.gh-services__grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}

@media (max-width: 960px) {
    .gh-services__grid {
        grid-template-columns: 1fr;
    }
}

.gh-services__aside {
    position: sticky;
    top: 110px;
}

@media (max-width: 960px) {
    .gh-services__aside { position: static; }
}

.gh-services__aside h2 {
    font-size: var(--gh-fs-h2);
    margin: 0 0 var(--gh-space-2);
}

.gh-services__aside p {
    color: var(--gh-ink-mid);
    margin: 0 0 var(--gh-space-3);
}

/* صفوف الخدمات */
.gh-service-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--gh-space-3);
    padding-block: clamp(1.4rem, 3vw, 2rem);
    border-top: 1px solid var(--gh-line);
    text-decoration: none;
    transition: background-color var(--gh-t-fast);
}

.gh-service-row:last-child {
    border-bottom: 1px solid var(--gh-line);
}

.gh-service-row:hover {
    background: linear-gradient(to left, rgba(243, 127, 33, 0.04), transparent 60%);
}

.gh-service-row__icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gh-line-strong);
    border-radius: var(--gh-radius);
    color: var(--gh-copper-400);
    flex-shrink: 0;
    transition: border-color var(--gh-t-fast), background-color var(--gh-t-fast);
}

.gh-service-row:hover .gh-service-row__icon {
    border-color: var(--gh-copper-600);
    background: rgba(243, 127, 33, 0.08);
}

.gh-service-row__body h3 {
    font-size: 1.22rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--gh-ink-hi);
    transition: color var(--gh-t-fast);
}

.gh-service-row:hover .gh-service-row__body h3 {
    color: var(--gh-copper-300);
}

.gh-service-row__body p {
    color: var(--gh-ink-low);
    font-size: 0.96rem;
    margin: 0;
}

.gh-service-row__badge {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 10px;
    font-size: 0.78rem;
    font-family: var(--gh-font-body);
    font-weight: 700;
    color: var(--gh-copper-300);
    border: 1px solid var(--gh-copper-700);
    border-radius: 999px;
}

.gh-service-row__arrow {
    color: var(--gh-ink-low);
    transition: transform var(--gh-t-med), color var(--gh-t-fast);
}

.gh-service-row:hover .gh-service-row__arrow {
    transform: translateX(-6px);
    color: var(--gh-copper-400);
}

/* صف الاستشارة (CTA) */
.gh-service-row--cta {
    background: var(--gh-charcoal-900);
    border: 1px solid var(--gh-line);
    border-radius: var(--gh-radius-lg);
    padding-inline: clamp(1.2rem, 3vw, 2rem);
    margin-top: var(--gh-space-3);
}

.gh-service-row--cta:hover {
    background: var(--gh-charcoal-800);
}

/* ===== Band الإحصائيات النحاسي ===== */
.gh-band {
    background: var(--gh-copper-500);
    color: var(--gh-charcoal-950);
}

.gh-band__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gh-space-3);
    padding-block: clamp(3rem, 6vw, 4.5rem);
}

@media (max-width: 820px) {
    .gh-band__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gh-band__item {
    text-align: center;
    padding-inline: var(--gh-space-2);
}

.gh-band__item + .gh-band__item {
    border-inline-start: 1px solid rgba(20, 23, 27, 0.18);
}

@media (max-width: 820px) {
    .gh-band__item:nth-child(3) {
        border-inline-start: none;
    }
}

.gh-band__number {
    display: block;
    font-family: var(--gh-font-display);
    font-weight: 900;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.gh-band__label {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 6px;
    opacity: 0.85;
}

/* ===== من نحن / المحتوى ===== */
.gh-about {
    background: var(--gh-charcoal-950);
}

.gh-about__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}

@media (max-width: 960px) {
    .gh-about__grid {
        grid-template-columns: 1fr;
    }
}

.gh-about__text h2 {
    font-size: var(--gh-fs-h2);
    margin: 0 0 var(--gh-space-3);
}

.gh-about__text h3 {
    font-size: var(--gh-fs-h3);
    margin: var(--gh-space-4) 0 var(--gh-space-2);
}

.gh-about__text h2 a,
.gh-about__text h3 a {
    color: inherit;
    text-decoration: none;
    transition: color var(--gh-t-fast);
}

.gh-about__text h2 a:hover,
.gh-about__text h3 a:hover {
    color: var(--gh-copper-300);
}

.gh-about__text p {
    color: var(--gh-ink-mid);
    margin: 0 0 var(--gh-space-3);
}

.gh-about__text a:not(.gh-btn) {
    color: var(--gh-copper-300);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid var(--gh-copper-700);
    transition: color var(--gh-t-fast), border-color var(--gh-t-fast);
}

.gh-about__text a:not(.gh-btn):hover {
    color: var(--gh-copper-400);
    border-color: var(--gh-copper-400);
}

.gh-about__list {
    list-style: none;
    margin: 0 0 var(--gh-space-3);
    padding: 0;
    display: grid;
    gap: 10px;
}

.gh-about__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gh-ink-mid);
}

.gh-about__list svg {
    color: var(--gh-copper-400);
    flex-shrink: 0;
    margin-top: 7px;
}

.gh-about__figure {
    position: relative;
    margin: 0;
}

.gh-about__figure img {
    width: 100%;
    height: auto;
    border-radius: var(--gh-radius-lg);
    border: 1px solid var(--gh-line);
    display: block;
}

.gh-about__badge {
    position: absolute;
    bottom: 22px;
    right: 22px;
    background: var(--gh-charcoal-950);
    border: 1px solid var(--gh-copper-700);
    border-radius: var(--gh-radius-lg);
    padding: 16px 24px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.gh-about__badge strong {
    display: block;
    font-family: var(--gh-font-display);
    font-weight: 900;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--gh-copper-400);
}

.gh-about__badge span {
    display: block;
    font-size: 0.92rem;
    color: var(--gh-ink-mid);
    margin-top: 4px;
}

/* ===== المقالات ===== */
.gh-blog__featured {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding-bottom: var(--gh-space-4);
    border-bottom: 1px solid var(--gh-line);
    margin-bottom: var(--gh-space-2);
    text-decoration: none;
}

@media (max-width: 820px) {
    .gh-blog__featured {
        grid-template-columns: 1fr;
    }
}

.gh-blog__featured-img {
    aspect-ratio: 16 / 9;
    border-radius: var(--gh-radius-lg);
    overflow: hidden;
    border: 1px solid var(--gh-line);
}

.gh-blog__featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms var(--gh-ease-out);
}

.gh-blog__featured:hover .gh-blog__featured-img img {
    transform: scale(1.03);
}

.gh-blog__cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gh-copper-300);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: var(--gh-space-2);
}

.gh-blog__cat::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gh-copper-500);
}

.gh-blog__featured h3 {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    margin: 0 0 var(--gh-space-2);
    color: var(--gh-ink-hi);
    transition: color var(--gh-t-fast);
}

.gh-blog__featured:hover h3 {
    color: var(--gh-copper-300);
}

.gh-blog__featured p {
    color: var(--gh-ink-mid);
    margin: 0 0 var(--gh-space-2);
}

.gh-blog__meta {
    color: var(--gh-ink-low);
    font-size: 0.88rem;
    display: flex;
    gap: 16px;
}

.gh-blog__rows {
    display: grid;
}

.gh-blog__row {
    display: grid;
    grid-template-columns: 128px 1fr auto;
    align-items: center;
    gap: var(--gh-space-3);
    padding-block: var(--gh-space-2);
    border-bottom: 1px solid var(--gh-line);
    text-decoration: none;
}

@media (max-width: 560px) {
    .gh-blog__row {
        grid-template-columns: 96px 1fr;
    }
    .gh-blog__row .gh-blog__row-arrow { display: none; }
}

.gh-blog__row-img {
    aspect-ratio: 4 / 3;
    border-radius: var(--gh-radius);
    overflow: hidden;
    border: 1px solid var(--gh-line);
}

.gh-blog__row-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms var(--gh-ease-out);
}

.gh-blog__row:hover .gh-blog__row-img img {
    transform: scale(1.05);
}

.gh-blog__row h4 {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--gh-ink-hi);
    transition: color var(--gh-t-fast);
}

.gh-blog__row:hover h4 {
    color: var(--gh-copper-300);
}

.gh-blog__row-arrow {
    color: var(--gh-ink-low);
    transition: transform var(--gh-t-med), color var(--gh-t-fast);
}

.gh-blog__row:hover .gh-blog__row-arrow {
    transform: translateX(-6px);
    color: var(--gh-copper-400);
}

.gh-blog__more {
    margin-top: var(--gh-space-4);
    text-align: center;
}

/* ===== التواصل ===== */
.gh-contact {
    border-top: 1px solid var(--gh-line);
}

.gh-contact .gh-contact__map {
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.gh-contact .gh-contact__map iframe {
    height: 380px;
}

.gh-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

@media (max-width: 960px) {
    .gh-contact__grid {
        grid-template-columns: 1fr;
    }
}

/* بطاقة المعلومات → الأساس (foundation.css) */

/* النموذج → الأساس (foundation.css) */
