/* =========================================================
   تصميم آمن ونظامي 100% (Compliant & Ultra-Modern Financial Consultancy)
   النمط: Clean Executive Minimalist - أبيض ناصع، رمادي ثلجي، كحلي مصرفي، وزمردي هادئ
   مبني بدقة ليتوافق مع كافة الشاشات والموبايل أولاً (Mobile-First)
   ========================================================= */

:root {
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-subtle: #f1f5f9;
    --bg-accent-soft: #eff6ff;
    
    --navy-primary: #0f2744;
    --navy-dark: #0a192f;
    --navy-hover: #1e3a8a;
    
    --emerald-safe: #059669;
    --emerald-hover: #047857;
    --emerald-soft: #ecfdf5;
    
    --whatsapp-green: #22c55e;
    --whatsapp-hover: #16a34a;
    
    --call-blue: #0284c7;
    --call-hover: #0369a1;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --border-light: #e2e8f0;
    --border-subtle: #edf2f7;
    
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.08);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-primary);
    min-height: 100vh;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: var(--navy-primary);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.brand-title h1 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy-primary);
    line-height: 1.2;
}

.brand-title span {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
}

.header-contact-btns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-head {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-head-call {
    background: var(--bg-subtle);
    color: var(--navy-primary);
    border: 1px solid var(--border-light);
}

.btn-head-call:hover {
    background: #ffffff;
    border-color: var(--call-blue);
    color: var(--call-blue);
}

.btn-head-wa {
    background: var(--whatsapp-green);
    color: #ffffff;
}

.btn-head-wa:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-box-section {
    padding: 40px 0 24px;
}

.hero-main-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--call-blue), var(--emerald-safe));
}

.trust-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--emerald-soft);
    color: var(--emerald-safe);
    font-size: 0.84rem;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
    border: 1px solid rgba(5, 150, 105, 0.15);
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--navy-primary);
    line-height: 1.35;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.hero-title .highlight {
    color: var(--call-blue);
}

.hero-description {
    font-size: 1.08rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* Action Buttons Container */
.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.cta-button {
    min-width: 220px;
    padding: 16px 28px;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.cta-call {
    background: var(--navy-primary);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 39, 68, 0.25);
}

.cta-call:hover {
    background: var(--navy-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(15, 39, 68, 0.35);
}

.cta-whatsapp {
    background: var(--whatsapp-green);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
}

.cta-whatsapp:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(34, 197, 94, 0.35);
}

/* Trust Pill Indicators inside Hero */
.hero-trust-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.indicator-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.indicator-item i {
    color: var(--emerald-safe);
    font-size: 1rem;
}

/* Services Grid (3 Clean Cards) */
.services-section {
    padding: 24px 0 40px;
}

.section-head {
    text-align: center;
    margin-bottom: 24px;
}

.section-head h2 {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--navy-primary);
}

.services-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.service-card-item:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: var(--shadow-md);
}

.service-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--bg-accent-soft);
    color: var(--call-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.service-card-item:nth-child(2) .service-card-icon {
    background: var(--emerald-soft);
    color: var(--emerald-safe);
}

.service-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy-primary);
    margin-bottom: 10px;
}

.service-card-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Quick FAQ / Guarantee Banner */
.guarantee-box {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px 30px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.guarantee-info h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy-primary);
    margin-bottom: 4px;
}

.guarantee-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.guarantee-action a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--navy-primary);
    padding: 10px 20px;
    background: #ffffff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-pill);
    transition: all 0.2s;
}

.guarantee-action a:hover {
    border-color: var(--navy-primary);
    background: var(--navy-primary);
    color: #ffffff;
}

/* Footer */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    padding: 24px 0;
    text-align: center;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-inner a {
    color: var(--navy-primary);
    font-weight: 700;
}

/* Floating Action Dock */
.floating-dock {
    position: fixed;
    bottom: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}

.dock-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.45rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
    transition: transform 0.25s;
}

.dock-btn:hover {
    transform: scale(1.1);
}

.dock-wa {
    background: var(--whatsapp-green);
}

.dock-tel {
    background: var(--navy-primary);
}

/* Mobile Bottom Navigation Bar */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    padding: 10px 14px;
    z-index: 99;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
}

.mobile-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-mobile-tap {
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
}

.btn-mobile-tap.tel {
    background: var(--navy-primary);
}

.btn-mobile-tap.wa {
    background: var(--whatsapp-green);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .services-grid-3 {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 1.85rem;
    }
    .hero-main-card {
        padding: 32px 20px;
    }
}

@media (max-width: 640px) {
    .header-contact-btns {
        display: none;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    .cta-button {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
    }
    .guarantee-box {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }
    .guarantee-action a {
        width: 100%;
        justify-content: center;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .floating-dock {
        bottom: 78px;
        left: 16px;
    }
    .mobile-action-bar {
        display: block;
    }
    body {
        padding-bottom: 70px;
    }
}
