/**
 * Ghars Foundation — النظام البصري الجديد
 * الخطوط + التوكنز + الأساس + الهيدر/الفوتر/المكونات العامة
 * المرجع: DESIGN.md
 */

/* ===== الخطوط المحلية ===== */
@font-face {
    font-family: 'Alexandria';
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url('../fonts/alexandria-var-arabic.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
    font-family: 'Alexandria';
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url('../fonts/alexandria-var-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Almarai';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/almarai-400-arabic.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
    font-family: 'Almarai';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/almarai-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Almarai';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/almarai-700-arabic.woff2') format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
    font-family: 'Almarai';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/almarai-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== التوكنز ===== */
:root {
    /* الفحمي */
    --gh-void: #0e1013;
    --gh-charcoal-950: #14171b;
    --gh-charcoal-900: #1b1f24;
    --gh-charcoal-800: #23282e;
    --gh-charcoal-750: #2c323a;
    --gh-charcoal-700: #333b43;
    --gh-line: rgba(244, 241, 235, 0.09);
    --gh-line-strong: rgba(244, 241, 235, 0.16);

    /* النصوص */
    --gh-ink-hi: #f4f1eb;
    --gh-ink-mid: #c9c3ba;
    --gh-ink-low: #98928a;

    /* النحاسي */
    --gh-copper-300: #ffb37a;
    --gh-copper-400: #fb9a4b;
    --gh-copper-500: #f37f21;
    --gh-copper-600: #db6410;
    --gh-copper-700: #b54e0a;

    /* وظيفية */
    --gh-success: #55c97a;
    --gh-danger: #f0655a;
    --gh-info: #8ab4f8;

    /* الطباعة */
    --gh-font-display: 'Alexandria', 'Tajawal', sans-serif;
    --gh-font-body: 'Almarai', 'Tajawal', sans-serif;
    --gh-fs-display: clamp(2.75rem, 5vw + 1rem, 4.5rem);
    --gh-fs-h2: clamp(1.9rem, 3vw, 2.75rem);
    --gh-fs-h3: clamp(1.4rem, 2vw, 1.75rem);

    /* المسافات والشكل */
    --gh-space-1: 0.5rem;
    --gh-space-2: 1rem;
    --gh-space-3: 1.5rem;
    --gh-space-4: 2rem;
    --gh-space-5: 3rem;
    --gh-section: clamp(4.5rem, 10vw, 8rem);
    --gh-radius-sm: 4px;
    --gh-radius: 6px;
    --gh-radius-lg: 14px;
    --gh-container: 1200px;
    --gh-container-wide: 1360px;

    /* الحركة */
    --gh-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --gh-t-fast: 160ms var(--gh-ease-out);
    --gh-t-med: 320ms var(--gh-ease-out);

    /* z-index دلالي */
    --gh-z-dropdown: 100;
    --gh-z-sticky: 200;
    --gh-z-drawer: 300;
    --gh-z-backdrop: 400;
    --gh-z-modal: 500;
    --gh-z-toast: 600;
    --gh-z-tooltip: 700;
}

/* ===== الأساس ===== */
html,
body {
    margin: 0;
    padding: 0;
}

/* شريط تمرير داكن (المتصفح يرسمه على حسب اتجاه الصفحة) */
html {
    scrollbar-color: var(--gh-charcoal-700) var(--gh-charcoal-950);
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
    background: var(--gh-charcoal-950);
}

::-webkit-scrollbar-thumb {
    background: var(--gh-charcoal-700);
    border-radius: 6px;
    border: 3px solid var(--gh-charcoal-950);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gh-charcoal-750);
}

body {
    font-family: var(--gh-font-body);
    font-size: 17px;
    line-height: 1.9;
    color: var(--gh-ink-hi);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background: var(--gh-charcoal-950) !important;
}

/* الهيدر الجديد لاصق (داخل التدفق) — نلغي حشو وهامش CSS القديم وGP
   (!important لتتغلب على .separate-containers .site-main من GP) */
.site-main,
body .site-main {
    margin: 0 !important;
    padding-top: 0;
}

/* خصوصية أعلى (body h1) لتتغلب على main.min.css الخاص بـ GP حتى لو حُمّل بعنا */
body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    font-family: var(--gh-font-display);
    font-weight: 800;
    line-height: 1.35;
    text-wrap: balance;
}

p { text-wrap: pretty; }

::selection {
    background: var(--gh-copper-500);
    color: var(--gh-charcoal-950);
}

:focus-visible {
    outline: 2px solid var(--gh-copper-400);
    outline-offset: 3px;
    border-radius: var(--gh-radius-sm);
}

/* رابط تخطي للمحتوى */
.gh-skip-link {
    position: absolute;
    top: -48px;
    right: 12px;
    z-index: var(--gh-z-toast);
    background: var(--gh-copper-500);
    color: var(--gh-charcoal-950);
    font-family: var(--gh-font-body);
    font-weight: 700;
    padding: 10px 18px;
    border-radius: var(--gh-radius);
    text-decoration: none;
    transition: top var(--gh-t-fast);
}

.gh-skip-link:focus {
    top: 12px;
}

/* الحاوية */
.gh-container {
    max-width: var(--gh-container);
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 32px);
}

/* شريط تقدم القراءة (RTL) */
#gh-progress {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    z-index: calc(var(--gh-z-sticky) + 10);
    background: transparent;
    pointer-events: none;
}

#gh-progress::before {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(to left, var(--gh-copper-600), var(--gh-copper-400));
    transform: scaleX(var(--gh-progress, 0));
    transform-origin: right center;
    transition: transform 80ms linear;
}

/* ===== الأزرار ===== */
.gh-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--gh-font-display);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    padding: 14px 26px;
    border-radius: var(--gh-radius);
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--gh-t-fast), border-color var(--gh-t-fast),
        color var(--gh-t-fast), transform var(--gh-t-fast);
}

.gh-btn:active { transform: translateY(1px); }

.gh-btn--copper {
    background: var(--gh-copper-500);
    color: var(--gh-charcoal-950);
}

.gh-btn--copper:hover {
    background: var(--gh-copper-600);
    color: var(--gh-charcoal-950);
}

.gh-btn--ghost {
    background: transparent;
    color: var(--gh-ink-hi);
    border-color: var(--gh-line-strong);
}

.gh-btn--ghost:hover {
    border-color: var(--gh-copper-400);
    color: var(--gh-copper-300);
}

.gh-btn--sm {
    padding: 10px 18px;
    font-size: 0.92rem;
}

/* ===== الهيدر ===== */
.gh-header {
    position: sticky;
    top: 0;
    z-index: var(--gh-z-sticky);
    background: rgba(20, 23, 27, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gh-line);
    transition: box-shadow var(--gh-t-med);
}

.gh-header--scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.gh-header__inner {
    display: flex;
    align-items: center;
    gap: var(--gh-space-3);
    min-height: 84px;
    transition: min-height var(--gh-t-med);
}

.gh-header--scrolled .gh-header__inner {
    min-height: 68px;
}

.gh-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.gh-brand img {
    display: block;
    height: 52px;
    width: auto;
    transition: height var(--gh-t-med);
}

.gh-header--scrolled .gh-brand img {
    height: 44px;
}

.gh-nav {
    margin-inline-start: auto;
}

.gh-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(4px, 1.2vw, 12px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.gh-nav__list > li { position: relative; }

.gh-nav__list a:not(.gh-btn) {
    display: block;
    padding: 10px 14px;
    color: var(--gh-ink-mid);
    font-family: var(--gh-font-display);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: var(--gh-radius-sm);
    transition: color var(--gh-t-fast);
}

.gh-nav__list a:not(.gh-btn):hover,
.gh-nav__list .current-menu-item > a:not(.gh-btn),
.gh-nav__list .current_page_item > a:not(.gh-btn) {
    color: var(--gh-ink-hi);
}

/* خط سفلي نحاسي يُرسم عند التحويم */
.gh-nav__list > li > a:not(.gh-btn) {
    position: relative;
}

.gh-nav__list > li > a:not(.gh-btn)::after {
    content: "";
    position: absolute;
    bottom: 4px;
    right: 14px;
    left: 14px;
    height: 2px;
    background: var(--gh-copper-500);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform var(--gh-t-med);
}

.gh-nav__list > li > a:not(.gh-btn):hover::after,
.gh-nav__list > li.current-menu-item > a:not(.gh-btn)::after,
.gh-nav__list > li.current_page_item > a:not(.gh-btn)::after {
    transform: scaleX(1);
}

/* القائمة المنسدلة */
.gh-nav__list .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 260px;
    background: var(--gh-charcoal-900);
    border: 1px solid var(--gh-line);
    border-radius: var(--gh-radius-lg);
    padding: 8px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--gh-t-fast), transform var(--gh-t-fast), visibility 0s var(--gh-t-fast);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.gh-nav__list li:hover > .sub-menu,
.gh-nav__list li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}

.gh-nav__list .sub-menu li { position: relative; }

.gh-nav__list .sub-menu a {
    display: block;
    padding: 11px 14px;
    color: var(--gh-ink-mid);
    font-family: var(--gh-font-body);
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
    text-decoration: none;
    border-radius: var(--gh-radius-sm);
    transition: background-color var(--gh-t-fast), color var(--gh-t-fast);
}

.gh-nav__list .sub-menu a:hover,
.gh-nav__list .sub-menu a:focus {
    background: var(--gh-charcoal-750);
    color: var(--gh-ink-hi);
}

.gh-actions {
    display: flex;
    align-items: center;
    gap: var(--gh-space-2);
    flex-shrink: 0;
}

/* زر القائمة للجوال */
.gh-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 46px;
    height: 46px;
    padding: 12px 10px;
    background: transparent;
    border: 1px solid var(--gh-line-strong);
    border-radius: var(--gh-radius);
    cursor: pointer;
}

.gh-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--gh-ink-hi);
    border-radius: 2px;
    transition: transform var(--gh-t-med), opacity var(--gh-t-fast);
}

.gh-burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.gh-burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.gh-burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* درج الجوال */
.gh-drawer {
    position: fixed;
    inset: 0;
    z-index: var(--gh-z-drawer);
    background: rgba(14, 16, 19, 0.985);
    display: flex;
    flex-direction: column;
    padding: clamp(20px, 5vw, 40px);
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity var(--gh-t-med), transform var(--gh-t-med), visibility 0s var(--gh-t-med);
    visibility: hidden;
}

.gh-drawer.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
}

.gh-drawer[hidden] {
    display: none;
}

.gh-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--gh-space-4);
}

.gh-drawer__close {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid var(--gh-line-strong);
    border-radius: var(--gh-radius);
    color: var(--gh-ink-hi);
    cursor: pointer;
}

.gh-drawer__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gh-drawer__nav a {
    display: block;
    padding: 16px 4px;
    color: var(--gh-ink-hi);
    font-family: var(--gh-font-display);
    font-weight: 600;
    font-size: clamp(1.35rem, 4.5vw, 1.75rem);
    text-decoration: none;
    border-bottom: 1px solid var(--gh-line);
    transition: color var(--gh-t-fast), padding-inline-start var(--gh-t-fast);
}

.gh-drawer__nav a:hover,
.gh-drawer__nav a:focus {
    color: var(--gh-copper-400);
    padding-inline-start: 10px;
}

.gh-drawer__nav .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 16px 8px 0;
}

.gh-drawer__nav .sub-menu a {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--gh-ink-mid);
    padding-block: 12px;
}

.gh-drawer__footer {
    margin-top: auto;
    padding-top: var(--gh-space-4);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--gh-space-3);
}

.gh-drawer__phone {
    color: var(--gh-ink-mid);
    font-size: 1.05rem;
    text-decoration: none;
}

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

/* ===== الفوتر ===== */
.gh-footer {
    background: var(--gh-void);
    border-top: 1px solid var(--gh-line);
    margin-top: 0;
}

.gh-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: clamp(28px, 5vw, 64px);
    padding-block: clamp(48px, 8vw, 80px);
}

@media (max-width: 820px) {
    .gh-footer__grid {
        grid-template-columns: 1fr;
        gap: var(--gh-space-4);
    }
}

.gh-footer__brand img {
    height: 56px;
    width: auto;
    margin-bottom: var(--gh-space-2);
}

.gh-footer__brand p {
    color: var(--gh-ink-low);
    font-size: 0.95rem;
    max-width: 42ch;
    margin: 0;
}

.gh-footer__title {
    font-family: var(--gh-font-display);
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--gh-ink-hi);
    margin: 0 0 var(--gh-space-2);
}

.gh-footer__links ul,
.gh-footer__contact ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.gh-footer__links a,
.gh-footer__contact a,
.gh-footer__contact span {
    color: var(--gh-ink-low);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--gh-t-fast);
}

.gh-footer__links a:hover,
.gh-footer__contact a:hover {
    color: var(--gh-copper-300);
}

.gh-footer__contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.gh-footer__bottom {
    border-top: 1px solid var(--gh-line);
}

.gh-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--gh-space-2);
    padding-block: 22px;
    color: var(--gh-ink-low);
    font-size: 0.88rem;
}

.gh-footer__bottom p { margin: 0; }

/* ===== زر واتساب العائم ===== */
.gh-whatsapp {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: var(--gh-z-sticky);
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    background: var(--gh-success);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform var(--gh-t-fast), box-shadow var(--gh-t-fast);
}

.gh-whatsapp:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
    color: #fff;
}

/* ===== استجابة الهيدر ===== */
@media (max-width: 960px) {
    .gh-nav { display: none; }
    .gh-burger { display: flex; }
    .gh-header__cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== CTA النحاسي (مكوّن مشترك) ===== */
.gh-cta {
    background: var(--gh-copper-500);
    color: var(--gh-charcoal-950);
}

.gh-cta__inner {
    padding-block: clamp(3rem, 6vw, 4.5rem);
    text-align: center;
}

.gh-cta h3 {
    font-size: var(--gh-fs-h3);
    margin: 0 0 10px;
}

.gh-cta p {
    margin: 0 auto var(--gh-space-3);
    max-width: 56ch;
    font-weight: 500;
}

.gh-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.gh-cta__note {
    margin-top: var(--gh-space-3) !important;
    font-size: 0.92rem;
    opacity: 0.85;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

/* أزرار على خلفية نحاسية */
.gh-btn--charcoal {
    background: var(--gh-charcoal-950);
    color: #fff;
}

.gh-btn--charcoal:hover {
    background: var(--gh-charcoal-800);
    color: #fff;
}

.gh-btn--outline-charcoal {
    background: transparent;
    color: var(--gh-charcoal-950);
    border-color: rgba(20, 23, 27, 0.45);
}

.gh-btn--outline-charcoal:hover {
    background: rgba(20, 23, 27, 0.08);
    border-color: var(--gh-charcoal-950);
    color: var(--gh-charcoal-950);
}


/* ============================================================
   مكونات مشتركة (تُستخدم في أكثر من نوع صفحة)
   ============================================================ */

/* مسار التنقل */
.gh-breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    font-size: 0.88rem;
}

.gh-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gh-ink-low);
}

.gh-breadcrumb li + li::before {
    content: "\2039";
    color: var(--gh-ink-low);
    opacity: 0.6;
}

.gh-breadcrumb a {
    color: var(--gh-ink-mid);
    text-decoration: none;
    transition: color var(--gh-t-fast);
}

.gh-breadcrumb a:hover {
    color: var(--gh-copper-300);
}

.gh-breadcrumb [aria-current],
.gh-breadcrumb__current {
    color: var(--gh-ink-low);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 320px;
}

/* رأس قسم موحد */
.gh-section-head {
    max-width: 720px;
    margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

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

.gh-section-head p {
    color: var(--gh-ink-mid);
    font-size: 1.08rem;
    margin: 0;
}

/* شريط البحث */
.gh-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gh-charcoal-800);
    border: 1px solid var(--gh-line-strong);
    border-radius: var(--gh-radius);
    padding: 4px 14px;
    min-width: min(320px, 100%);
    color: var(--gh-ink-low);
}

.gh-search input[type="search"] {
    flex: 1;
    background: none;
    border: 0;
    color: var(--gh-ink-hi);
    font-family: var(--gh-font-body);
    font-size: 0.98rem;
    padding: 10px 0;
}

.gh-search input[type="search"]:focus {
    outline: none;
}

.gh-search:focus-within {
    border-color: var(--gh-copper-500);
}

.gh-search button {
    background: var(--gh-copper-500);
    color: var(--gh-charcoal-950);
    border: 0;
    border-radius: var(--gh-radius-sm);
    font-family: var(--gh-font-display);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color var(--gh-t-fast);
}

.gh-search button:hover {
    background: var(--gh-copper-400);
}

/* بطاقة معلومات */
.gh-info-card {
    background: var(--gh-charcoal-900);
    border: 1px solid var(--gh-line);
    border-radius: var(--gh-radius-lg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.gh-info-card h3 {
    margin: 0 0 var(--gh-space-3);
    font-size: 1.3rem;
}

.gh-info-item {
    display: flex;
    gap: 14px;
    padding-block: 14px;
    border-top: 1px solid var(--gh-line);
}

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

.gh-info-item h4 {
    margin: 0 0 2px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gh-ink-low);
}

.gh-info-item p {
    margin: 0;
    color: var(--gh-ink-hi);
}

.gh-info-item a {
    color: var(--gh-ink-hi);
    text-decoration: none;
    transition: color var(--gh-t-fast);
}

.gh-info-item a:hover {
    color: var(--gh-copper-300);
}

.gh-social {
    display: flex;
    gap: 10px;
    padding-top: var(--gh-space-3);
    margin-top: var(--gh-space-2);
    border-top: 1px solid var(--gh-line);
}

.gh-social a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gh-line-strong);
    border-radius: var(--gh-radius);
    color: var(--gh-ink-mid);
    transition: color var(--gh-t-fast), border-color var(--gh-t-fast), transform var(--gh-t-fast);
}

.gh-social a:hover {
    color: var(--gh-copper-300);
    border-color: var(--gh-copper-600);
    transform: translateY(-2px);
}

/* خريطة */
.gh-contact__map {
    border-radius: var(--gh-radius-lg);
    overflow: hidden;
    border: 1px solid var(--gh-line);
}

.gh-contact__map iframe {
    display: block;
    width: 100%;
    border: 0;
    filter: grayscale(1) contrast(1.05);
    transition: filter 500ms var(--gh-ease-out);
}

.gh-contact__map:hover iframe {
    filter: grayscale(0.2);
}

/* النماذج */
.gh-form h3 {
    margin: 0 0 var(--gh-space-3);
    font-size: 1.3rem;
}

.gh-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gh-space-2);
}

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

.gh-field {
    margin-bottom: var(--gh-space-2);
}

.gh-field label {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--gh-ink-mid);
    margin-bottom: 8px;
}

.gh-field input,
.gh-field select,
.gh-field textarea {
    width: 100%;
    background: var(--gh-charcoal-900);
    border: 1px solid var(--gh-line-strong);
    border-radius: var(--gh-radius);
    color: var(--gh-ink-hi);
    font-family: var(--gh-font-body);
    font-size: 1rem;
    padding: 13px 16px;
    transition: border-color var(--gh-t-fast), background-color var(--gh-t-fast);
}

.gh-field input::placeholder,
.gh-field textarea::placeholder {
    color: var(--gh-ink-low);
    opacity: 1;
}

.gh-field input:focus,
.gh-field select:focus,
.gh-field textarea:focus {
    outline: none;
    border-color: var(--gh-copper-500);
    background: #1f242a;
}

.gh-field select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c9c3ba' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-inline-end: 16px;
}

.gh-field textarea {
    resize: vertical;
    min-height: 130px;
}

.gh-field--check {
    margin-top: var(--gh-space-1);
}

.gh-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 400 !important;
    color: var(--gh-ink-mid) !important;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 0 !important;
}

.gh-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: var(--gh-copper-500);
}

.gh-check a {
    color: var(--gh-copper-300);
}

.gh-form-msg {
    margin-top: var(--gh-space-2);
    padding: 14px 18px;
    border-radius: var(--gh-radius);
    font-size: 0.95rem;
}

.gh-form-msg.success {
    background: rgba(85, 201, 122, 0.1);
    border: 1px solid rgba(85, 201, 122, 0.4);
    color: var(--gh-success);
}

.gh-form-msg.error {
    background: rgba(240, 101, 90, 0.1);
    border: 1px solid rgba(240, 101, 90, 0.4);
    color: var(--gh-danger);
}

/* إشعار النموذج (theme.js) */
.form-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: var(--gh-z-toast);
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gh-charcoal-800);
    border: 1px solid var(--gh-line-strong);
    border-radius: var(--gh-radius);
    padding: 14px 18px;
    color: var(--gh-ink-hi);
    max-width: min(420px, calc(100vw - 48px));
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--gh-t-med), transform var(--gh-t-med);
}

.form-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.form-notification.success { border-color: rgba(85, 201, 122, 0.5); }
.form-notification.success svg { color: var(--gh-success); }
.form-notification.error { border-color: rgba(240, 101, 90, 0.5); }
.form-notification.error svg { color: var(--gh-danger); }

.form-notification .notification-close {
    background: none;
    border: 0;
    color: var(--gh-ink-low);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 4px;
}

/* ظهور عند التمرير (gh-motion.js) */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms var(--gh-ease-out), transform 600ms var(--gh-ease-out);
    transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
