/**
 * farask-contact-ui.css — تواصل معنا
 * على نمط مكتبة التقييم العقاري (ev-hub): خطوط ثلاثية · بطاقات ملونة · محتوى موسّع
 */
.fs-ct-page {
    background: #ffffff;
    --fs-ct-max: min(96vw, 1280px);
    --fs-ct-body: 1.0625rem;
    --fs-ct-lead: 1.15rem;
}

.fs-ct-shell {
    width: 100%;
    max-width: var(--fs-ct-max);
    margin: 0 auto;
    padding: 14px clamp(14px, 2.5vw, 32px) 56px;
    box-sizing: border-box;
    font-size: var(--fs-ct-body);
}

/* ——— Hero (نمط Hub) ——— */
.fs-ct-hero {
    position: relative;
    text-align: center;
    padding: 2.25rem 1.5rem 2rem;
    margin-bottom: 1.75rem;
    border-radius: var(--fs-radius-lg, 22px);
    border: 1px solid var(--fs-line);
    background: linear-gradient(160deg, #ffffff 0%, #f0fdfa 30%, #eff6ff 65%, #faf5ff 100%);
    box-shadow: var(--fs-shadow);
    overflow: hidden;
}

.fs-ct-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(
        90deg,
        var(--fs-evh-brand) 0%,
        var(--fs-evh-sky) 25%,
        var(--fs-ev-brand) 50%,
        var(--fs-ev-secondary) 75%,
        var(--fs-evh-violet) 100%
    );
}

.fs-ct-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    font-family: var(--fs-font-data);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--fs-evh-brand-deep);
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.fs-ct-hero__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--fs-evh-brand);
    background: #fff;
    border: 1px solid rgba(15, 118, 110, 0.2);
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.15);
}

.fs-ct-hero h1 {
    margin: 0 0 12px;
    font-family: var(--fs-font-display);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    color: var(--fs-ink);
    line-height: 1.25;
}

.fs-ct-hero__lead {
    margin: 0 auto;
    max-width: 42em;
    font-family: var(--fs-font-ui);
    font-size: var(--fs-ct-lead);
    font-weight: 500;
    color: #334155;
    line-height: 1.75;
}

.fs-ct-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 1.25rem;
}

.fs-ct-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 10px;
    font-family: var(--fs-font-data);
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid var(--fs-line);
    background: #fff;
}

.fs-ct-hero__chip--teal { color: var(--fs-evh-brand); border-color: rgba(15, 118, 110, 0.25); }
.fs-ct-hero__chip--sky { color: var(--fs-evh-sky); border-color: rgba(2, 132, 199, 0.25); }
.fs-ct-hero__chip--green { color: var(--fs-ev-brand-dark); border-color: rgba(32, 104, 67, 0.25); }
.fs-ct-hero__chip--amber { color: #b45309; border-color: rgba(245, 158, 11, 0.3); }

/* ——— KPI strip ——— */
.fs-ct-kpis {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 1.75rem;
}

.fs-ct-kpi {
    position: relative;
    padding: 1.15rem 1.1rem;
    border-radius: var(--fs-radius);
    border: 1px solid var(--fs-line);
    background: #fff;
    overflow: hidden;
}

.fs-ct-kpi::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
}

.fs-ct-kpi--teal::after { background: linear-gradient(180deg, var(--fs-evh-brand), var(--fs-evh-mint)); }
.fs-ct-kpi--sky::after { background: linear-gradient(180deg, #0369a1, #38bdf8); }
.fs-ct-kpi--green::after { background: linear-gradient(180deg, var(--fs-ev-brand), #4ade80); }
.fs-ct-kpi--amber::after { background: linear-gradient(180deg, #d97706, var(--fs-evh-amber)); }

.fs-ct-kpi__val {
    font-family: var(--fs-font-data);
    font-size: 1.65rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    margin-bottom: 4px;
}

.fs-ct-kpi--teal .fs-ct-kpi__val { color: var(--fs-evh-brand-deep); }
.fs-ct-kpi--sky .fs-ct-kpi__val { color: var(--fs-evh-sky); }
.fs-ct-kpi--green .fs-ct-kpi__val { color: var(--fs-ev-brand-dark); }
.fs-ct-kpi--amber .fs-ct-kpi__val { color: #b45309; }

.fs-ct-kpi__label {
    font-family: var(--fs-font-ui);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--fs-muted);
    line-height: 1.45;
}

/* ——— Sections ——— */
.fs-ct-section {
    margin-bottom: 2rem;
}

.fs-ct-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1.15rem;
}

.fs-ct-section-title {
    margin: 0;
    font-family: var(--fs-font-display);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 700;
    color: var(--fs-ink);
    display: flex;
    align-items: center;
    gap: 10px;
}

.fs-ct-section-title i {
    color: var(--fs-evh-brand);
    font-size: 1.15rem;
}

.fs-ct-section-desc {
    margin: 0 0 1rem;
    font-family: var(--fs-font-ui);
    font-size: 1rem;
    color: var(--fs-muted);
    line-height: 1.65;
    max-width: 52em;
}

/* ——— Contact channel cards (ev-hub-card style) ——— */
.fs-ct-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.fs-ct-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--fs-line);
    border-radius: var(--fs-radius);
    padding: 1.5rem 1.35rem 1.35rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.15s;
}

.fs-ct-card:hover {
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.fs-ct-card-accent {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    border-radius: var(--fs-radius) var(--fs-radius) 0 0;
}

.fs-ct-card--teal .fs-ct-card-accent { background: linear-gradient(90deg, var(--fs-evh-brand), var(--fs-evh-mint)); }
.fs-ct-card--sky .fs-ct-card-accent { background: linear-gradient(90deg, #0369a1, #7dd3fc); }
.fs-ct-card--green .fs-ct-card-accent { background: linear-gradient(90deg, var(--fs-ev-brand), #4ade80); }
.fs-ct-card--amber .fs-ct-card-accent { background: linear-gradient(90deg, #d97706, #fbbf24); }
.fs-ct-card--violet .fs-ct-card-accent { background: linear-gradient(90deg, #6d28d9, #c4b5fd); }
.fs-ct-card--rose .fs-ct-card-accent { background: linear-gradient(90deg, #be123c, #fb7185); }

.fs-ct-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
}

.fs-ct-card--teal .fs-ct-card-icon { background: #ecfdf5; color: var(--fs-evh-brand); }
.fs-ct-card--sky .fs-ct-card-icon { background: #eff6ff; color: var(--fs-evh-sky); }
.fs-ct-card--green .fs-ct-card-icon { background: #f0fdf4; color: var(--fs-ev-brand); }
.fs-ct-card--amber .fs-ct-card-icon { background: #fffbeb; color: #d97706; }
.fs-ct-card--violet .fs-ct-card-icon { background: #f5f3ff; color: var(--fs-evh-violet); }
.fs-ct-card--rose .fs-ct-card-icon { background: #fff1f2; color: var(--fs-rose); }

.fs-ct-card-tag {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 12px;
    border-radius: 6px;
    font-family: var(--fs-font-data);
    font-size: 0.78rem;
    font-weight: 700;
    background: #f8fafc;
    color: var(--fs-muted);
}

.fs-ct-card h3 {
    margin: 0 0 10px;
    font-family: var(--fs-font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--fs-ink);
}

.fs-ct-card__value {
    margin: 0 0 6px;
    font-family: var(--fs-font-data);
    font-size: 1.08rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #334155;
    line-height: 1.6;
}

.fs-ct-card__value a {
    color: inherit;
    text-decoration: none;
}

.fs-ct-card__value a:hover {
    color: var(--fs-evh-brand);
    text-decoration: underline;
}

.fs-ct-card__hint {
    margin: 0;
    font-family: var(--fs-font-ui);
    font-size: 0.9rem;
    color: var(--fs-muted);
    line-height: 1.5;
}

.fs-ct-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
}

.fs-ct-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    font-family: var(--fs-font-ui);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: filter 0.12s;
}

.fs-ct-btn:hover {
    filter: brightness(0.96);
}

.fs-ct-btn--teal {
    background: var(--fs-evh-brand);
    color: #fff;
}

.fs-ct-btn--outline {
    background: #fff;
    color: var(--fs-evh-brand);
    border-color: rgba(15, 118, 110, 0.35);
}

/* ——— Guide box (ev-hub-alert-guide) ——— */
.fs-ct-guide {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.75rem;
    border-radius: var(--fs-radius);
    border: 1px solid var(--fs-line);
    background: linear-gradient(135deg, #f8fafc, #fff);
}

.fs-ct-guide__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ccfbf1;
    color: var(--fs-evh-brand);
    font-size: 1.1rem;
}

.fs-ct-guide h2 {
    margin: 0 0 6px;
    font-family: var(--fs-font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fs-ink);
}

.fs-ct-guide p {
    margin: 0;
    font-family: var(--fs-font-ui);
    font-size: 0.98rem;
    color: var(--fs-muted);
    line-height: 1.65;
}

.fs-ct-guide strong {
    color: var(--fs-evh-brand-deep);
}

.fs-ct-guide a {
    color: var(--fs-evh-brand);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fs-ct-guide a:hover {
    color: var(--fs-ev-brand-dark);
}

/* ——— Hours panel ——— */
.fs-ct-panel {
    border: 1px solid var(--fs-line);
    border-radius: var(--fs-radius-lg);
    background: #fff;
    overflow: hidden;
    box-shadow: var(--fs-shadow);
}

.fs-ct-panel__head {
    padding: 1.15rem 1.35rem;
    background: linear-gradient(135deg, #f0fdfa, #fff);
    border-bottom: 1px solid var(--fs-line);
}

.fs-ct-panel__head h2 {
    margin: 0;
    font-family: var(--fs-font-display);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--fs-ink);
}

.fs-ct-panel__body {
    padding: 1.25rem 1.35rem;
}

.fs-ct-hours-grid {
    display: grid;
    gap: 12px;
}

.fs-ct-hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
}

.fs-ct-hours-row__label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--fs-font-ui);
    font-size: 1rem;
    font-weight: 600;
    color: var(--fs-ink);
}

.fs-ct-hours-row__label i {
    color: var(--fs-evh-brand);
    width: 20px;
    text-align: center;
}

.fs-ct-hours-row__time {
    font-family: var(--fs-font-data);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--fs-muted);
    text-align: left;
}

.fs-ct-hours-row--highlight {
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    border-color: rgba(32, 104, 67, 0.2);
}

.fs-ct-hours-row--highlight .fs-ct-hours-row__time {
    color: var(--fs-ev-brand-dark);
}

/* ——— Dept cards horizontal ——— */
.fs-ct-dept {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 1.25rem;
    border-radius: var(--fs-radius);
    border: 1px solid var(--fs-line);
    background: #fff;
    height: 100%;
}

.fs-ct-dept__top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.fs-ct-dept__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.fs-ct-dept--teal .fs-ct-dept__icon { background: #ecfdf5; color: var(--fs-evh-brand); }
.fs-ct-dept--sky .fs-ct-dept__icon { background: #eff6ff; color: var(--fs-evh-sky); }
.fs-ct-dept--violet .fs-ct-dept__icon { background: #f5f3ff; color: var(--fs-evh-violet); }

.fs-ct-dept h3 {
    margin: 0 0 6px;
    font-family: var(--fs-font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fs-ink);
}

.fs-ct-dept p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--fs-muted);
    line-height: 1.6;
}

.fs-ct-dept a {
    font-family: var(--fs-font-data);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--fs-evh-brand);
    text-decoration: none;
    margin-top: auto;
    padding-top: 8px;
}

.fs-ct-dept a:hover {
    text-decoration: underline;
}

/* ——— Quick links grid ——— */
.fs-ct-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.fs-ct-link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 1rem 1.15rem;
    border-radius: 12px;
    border: 1px solid var(--fs-line);
    text-decoration: none;
    background: #fff;
    transition: box-shadow 0.15s, border-color 0.15s;
}

.fs-ct-link-card:hover {
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 118, 110, 0.3);
}

.fs-ct-link-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.fs-ct-link-card--teal .fs-ct-link-card__icon { background: #f0fdfa; color: var(--fs-evh-brand); }
.fs-ct-link-card--amber .fs-ct-link-card__icon { background: #fffbeb; color: #d97706; }
.fs-ct-link-card--green .fs-ct-link-card__icon { background: #ecfdf5; color: var(--fs-ev-brand); }
.fs-ct-link-card--sky .fs-ct-link-card__icon { background: #eff6ff; color: var(--fs-evh-sky); }

.fs-ct-link-card__text strong {
    display: block;
    font-family: var(--fs-font-display);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--fs-ink);
    margin-bottom: 2px;
}

.fs-ct-link-card__text span {
    font-family: var(--fs-font-ui);
    font-size: 0.88rem;
    color: var(--fs-muted);
}

.fs-ct-link-card > i.fa-chevron-left {
    margin-right: auto;
    color: #cbd5e1;
    font-size: 0.85rem;
}

/* ——— Desktop ——— */
@media (min-width: 600px) {
    .fs-ct-kpis {
        grid-template-columns: repeat(4, 1fr);
    }

    .fs-ct-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .fs-ct-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .fs-ct-page {
        --fs-ct-body: 1.125rem;
        --fs-ct-lead: 1.2rem;
    }

    .fs-ct-cards--channels {
        grid-template-columns: repeat(3, 1fr);
    }

    .fs-ct-depts {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .fs-ct-layout-split {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 1.5rem;
        align-items: start;
    }
}

@media (min-width: 1100px) {
    .fs-ct-cards--channels {
        grid-template-columns: repeat(3, 1fr);
    }

    .fs-ct-card {
        padding: 1.75rem 1.5rem;
    }

    .fs-ct-card-icon {
        width: 72px;
        height: 72px;
        font-size: 1.85rem;
    }
}
