/* =============================================================
   Al Bawsala Medical Center — Redesign 2026
   Palette: Olive / Khaki / Sage / Cream  (هوية فاخرة هادئة)
   ============================================================= */

   :root {
    /* الألوان الأساسية */
    --olive:        #6E6C3A;   /* الزيتوني الأساسي */
    --olive-deep:   #4C4A26;   /* زيتوني غامق للأقسام الداكنة */
    --olive-soft:   #8C8A57;   /* زيتوني فاتح */
    --khaki:        #D9CEB5;   /* كاكي */
    --khaki-light:  #ECE5D6;   /* كاكي فاتح للخلفيات */
    --sage:         #B4BCA1;   /* أخضر سيج (جدران العيادة) */
    --cream:        #F7F2E9;   /* كريمي ناعم */
    --ink:          #36352A;   /* نص داكن دافئ */
    --muted:        #7C7A6A;   /* نص رمادي زيتوني */
    --brass:        #A98F5C;   /* لمسة برونزية للتفاصيل */
    --white:        #ffffff;
    --line:         #E3DAC8;   /* حدود ناعمة */

    /* توافق مع الكود القديم (أسماء قديمة → ألوان جديدة) */
    --gold:         var(--brass);
    --gold-hover:   var(--olive-soft);
    --admin-gold:   var(--brass);
    --black:        var(--ink);
    --soft-black:   var(--olive-deep);
    --gray:         var(--muted);

    --transition: all 0.35s ease;
    --radius: 16px;
    --shadow-sm: 0 6px 18px rgba(76,74,38,0.06);
    --shadow-md: 0 14px 40px rgba(76,74,38,0.12);

    --font-body: 'Tajawal','Cairo', sans-serif;
    --font-display: 'Cormorant Garamond', 'Playfair Display', serif;
}

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

html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    line-height: 1.7;
    background-color: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
    max-width: 100%;
}

/* اتجاه اللغة */
[dir="rtl"] { text-align: right; }
[dir="ltr"] { text-align: left; }
[dir="ltr"] .fa-arrow-left { transform: rotate(180deg); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 22px; }

.gold-text { color: var(--brass); }

h1,h2,h3,h4 { line-height: 1.3; color: var(--olive-deep); font-weight: 700; }
[dir="ltr"] h1, [dir="ltr"] h2, [dir="ltr"] .section-title h2,
[dir="ltr"] .page-header h1, [dir="ltr"] .hero-content h1 {
    font-family: var(--font-display);
    letter-spacing: .5px;
}

a { transition: var(--transition); }

/* تسمية علوية صغيرة أنيقة */
.sub-title {
    display: inline-block;
    color: var(--brass);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: .78rem;
    margin-bottom: 12px;
    position: relative;
}

/* =================== الهيدر =================== */
header {
    background-color: rgba(247,242,233,0.92);
    backdrop-filter: blur(10px);
    height: 100px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--line);
}

nav { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; height: 100%; }
#nav-logo {
    height: 64px; width: auto; object-fit: contain;
    border-radius: 8px;
    transition: transform .3s ease;
}
.logo:hover #nav-logo { transform: scale(1.04); }

.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a {
    color: var(--ink);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; right: 0;
    width: 0; height: 2px; background: var(--olive); transition: width .3s ease;
}
[dir="ltr"] .nav-links a::after { left: 0; right: auto; }
.nav-links a:hover::after, .nav-links a.active-link::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active-link, .nav-links a.active { color: var(--olive); }

.nav-extras { display: flex; align-items: center; gap: 15px; }

.lang-btn {
    color: var(--olive-deep);
    text-decoration: none;
    border: 1px solid var(--olive);
    padding: 7px 16px;
    border-radius: 30px;
    font-size: .82rem;
    font-weight: 600;
}
.lang-btn:hover { background: var(--olive); color: var(--cream); }

.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--olive); }
.mobile-lang { display: none; }

@media (max-width: 992px) {
    .menu-toggle { display: block; }
    .nav-extras.desktop-only { display: none; }
    .mobile-lang { display: block; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
    .nav-links {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--cream);
        flex-direction: column; text-align: center;
        max-height: 0; overflow: hidden;
        transition: max-height .4s ease-in-out;
        box-shadow: var(--shadow-md); z-index: 1000; padding: 0; gap: 0;
    }
    .nav-links.active { max-height: 520px; padding: 20px 0; }
    .nav-links li { margin: 14px 0; }
}

/* =================== الهيرو =================== */
.hero-main {
    min-height: 100vh;
    background: linear-gradient(rgba(54,53,42,.30), rgba(76,74,38,.55)), url('../images/brand/hero-bg.png') no-repeat center center/cover;
    display: flex; align-items: center; position: relative;
    color: var(--cream); text-align: center; width: 100%;
}
.hero-overlay { display: none; }
.hero-content { position: relative; z-index: 1; width: 100%; max-width: 820px; margin: 0 auto; padding-top: 60px; }
.hero-content .sub-title { color: var(--khaki); }
.hero-content h1 {
    font-size: 3.6rem; margin: 10px 0 18px; color: var(--white);
    font-family: var(--font-display); font-weight: 600;
    text-shadow: 0 2px 20px rgba(0,0,0,.25);
}
[dir="rtl"] .hero-content h1 { font-family: var(--font-body); font-weight: 800; }
.hero-content p { font-size: 1.15rem; color: #f3eee2; max-width: 620px; margin: 0 auto; }
.hero-actions { margin-top: 34px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.btn-main-gold, .btn-main {
    background: var(--olive); color: var(--cream);
    padding: 15px 40px; text-decoration: none;
    border-radius: 40px; font-weight: 700; border: none; cursor: pointer;
    box-shadow: 0 10px 24px rgba(76,74,38,.28);
    display: inline-block;
}
.btn-main-gold:hover, .btn-main:hover { background: var(--olive-deep); transform: translateY(-3px); }

.btn-outline-white {
    border: 1.5px solid var(--cream); color: var(--cream);
    padding: 13px 36px; text-decoration: none; border-radius: 40px;
}
.btn-outline-white:hover { background: var(--cream); color: var(--olive-deep); }

/* =================== عناوين الأقسام =================== */
.section-title { text-align: center; margin-bottom: 20px; }
.section-title h2, .reviews .section-title h2 { font-size: 2.6rem; color: var(--olive-deep); margin-bottom: 10px; }

/* =================== خدمات سريعة (الرئيسية) =================== */
.quick-services { padding: 100px 22px; background-color: var(--cream); }
.services-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px; margin-top: 50px;
}
.service-card-home {
    background: var(--white); padding: 0; text-align: center;
    border-radius: var(--radius); box-shadow: var(--shadow-sm);
    transition: var(--transition); border: 1px solid var(--line);
    overflow: hidden;
}
.service-card-home:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.card-image-home { width: 100%; height: 200px; overflow: hidden; margin: 0; border-radius: 0; }
.card-image-home img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.service-card-home:hover .card-image-home img { transform: scale(1.08); }
.card-body-home { padding: 22px 18px 26px; }
.service-card-home h3 { font-size: 1.18rem; margin-bottom: 12px; color: var(--olive-deep); }
.read-more {
    text-decoration: none; color: var(--olive); font-weight: 700;
    font-size: .9rem; display: inline-flex; align-items: center; gap: 8px;
}
.read-more:hover { color: var(--brass); gap: 12px; }

/* =================== شبكة الأقسام الستة =================== */
.cat-section { padding: 100px 0; background: var(--khaki-light); }
.cat-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 26px; margin-top: 50px;
}
.cat-card {
    position: relative; background: var(--white);
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    transition: var(--transition); display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.cat-card .cat-media { height: 180px; overflow: hidden; position: relative; }
.cat-card .cat-media img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.cat-card:hover .cat-media img { transform: scale(1.08); }
.cat-card .cat-icon {
    position: absolute; top: 16px; inset-inline-start: 16px;
    width: 46px; height: 46px; border-radius: 12px;
    background: rgba(247,242,233,.92); color: var(--olive);
    display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
    box-shadow: var(--shadow-sm);
}
.cat-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.cat-body h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--olive-deep); }
.cat-body p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.cat-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.cat-tags span {
    background: var(--khaki-light); color: var(--olive-deep);
    font-size: .76rem; padding: 5px 12px; border-radius: 20px;
    border: 1px solid var(--line);
}

/* قائمة عناصر القسم الكاملة (صفحة الخدمات) */
.cat-full { margin-bottom: 30px; }
.cat-items-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px; margin-top: 18px;
}
.cat-items-grid li {
    list-style: none; display: flex; align-items: center; gap: 10px;
    background: var(--white); border: 1px solid var(--line);
    padding: 12px 16px; border-radius: 12px; font-size: .92rem; color: var(--ink);
}
.cat-items-grid li i { color: var(--olive); font-size: .8rem; }

/* =================== الأجهزة =================== */
.devices-section { padding: 100px 0; background: var(--olive-deep); color: var(--cream); }
.devices-section .section-title h2 { color: var(--white); }
.devices-section .sub-title { color: var(--khaki); }
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.device-card {
    background: rgba(247,242,233,.06); border: 1px solid rgba(247,242,233,.16);
    border-radius: var(--radius); padding: 26px; transition: var(--transition);
}
.device-card:hover { background: rgba(247,242,233,.12); transform: translateY(-6px); }
.device-card h3 { color: var(--khaki); font-size: 1.25rem; margin-bottom: 12px; letter-spacing: .5px; }
.device-card p { color: #e7e0cf; font-size: .92rem; margin-bottom: 16px; }
.device-uses { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.device-uses li {
    font-size: .76rem; color: var(--cream);
    background: rgba(180,188,161,.18); border: 1px solid rgba(180,188,161,.3);
    padding: 5px 12px; border-radius: 20px;
}

/* =================== الطبيبة =================== */
.doctor-highlight { padding: 100px 0; background: var(--cream); }
.doctor-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 55px; align-items: center; }
.doctor-photo { position: relative; }
.doctor-photo img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-md); }
.doctor-photo::after {
    content: ''; position: absolute; inset: 18px -18px -18px 18px;
    border: 2px solid var(--sage); border-radius: 24px; z-index: -1;
}
.doctor-info h2 { font-size: 2.4rem; color: var(--olive-deep); margin: 8px 0; }
.doctor-info .role { color: var(--brass); font-weight: 700; font-size: 1.05rem; margin-bottom: 22px; display: block; }
.doctor-points { list-style: none; margin-bottom: 24px; }
.doctor-points li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; color: var(--ink); }
.doctor-points li i { color: var(--olive); margin-top: 5px; }
.doctor-quote {
    border-inline-start: 4px solid var(--olive);
    background: var(--khaki-light); padding: 18px 22px;
    border-radius: 12px; font-style: italic; color: var(--olive-deep);
}

/* =================== التقييمات =================== */
.reviews { padding: 80px 0; text-align: center; background: var(--khaki-light); }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto 48px;
}
.review-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: var(--transition);
}
.review-card:first-child { border-top: 2px solid var(--brass); }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.review-card .rating-stars { color: var(--brass); font-size: 15px; letter-spacing: 2px; }
.review-card .review-text {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.7;
    font-style: italic;
}
.review-card .client-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--olive-deep);
}
.review-card .client-name::before { content: "— "; color: var(--brass); }
@media (max-width: 768px) {
    .reviews-grid { grid-template-columns: 1fr; }
}

.add-review-box {
    margin-top: 50px; padding: 36px; background: var(--white) !important;
    border-radius: var(--radius); border: 1px dashed var(--sage) !important;
    box-shadow: var(--shadow-sm); max-width: 760px; margin-inline: auto;
}
.add-review-box h3 { color: var(--olive-deep) !important; }
.responsive-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
.add-review-box input, .add-review-box select, .add-review-box textarea {
    padding: 13px !important; border: 1px solid var(--line) !important;
    border-radius: 10px !important; font-family: inherit; background: var(--cream);
}
.add-review-box .btn-main-gold { background: var(--olive) !important; color: var(--cream) !important; border-radius: 40px !important; }
@media (max-width: 768px) {
    .responsive-form-grid { grid-template-columns: 1fr; }
    .add-review-box { padding: 22px !important; }
}

/* =================== رأس الصفحات الداخلية =================== */
.page-header {
    background: linear-gradient(rgba(76,74,38,.78), rgba(54,53,42,.82)), url('../images/brand/bg-title.png') no-repeat center center/cover;
    padding: 160px 0 70px; text-align: center; color: var(--cream);
    border-bottom: 4px solid var(--olive);
}
.page-header h1 { font-size: 3rem; color: var(--white); }
[dir="ltr"] .page-header h1 { font-family: var(--font-display); font-weight: 600; }
.page-header p { color: #efe9da; max-width: 700px; margin: 12px auto 0; }

/* =================== صفحة من نحن =================== */
.about-page-content { padding: 90px 22px; }
.about-grid-detailed { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 55px; align-items: center; }
@media (max-width: 992px) { .about-grid-detailed { grid-template-columns: 1fr; } }
.about-text-area h2 { font-size: 2.3rem; margin: 6px 0 14px; }
.main-p { margin: 18px 0; font-size: 1.08rem; color: var(--muted); text-align: justify; }
.v-m-goals { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
@media (max-width: 768px) { .v-m-goals { grid-template-columns: 1fr; } }
.vm-card {
    background: var(--white); padding: 26px; border-radius: 14px;
    border: none; box-shadow: var(--shadow-sm);
    border-inline-start: 4px solid var(--olive);
}
.vm-card i { font-size: 1.9rem; color: var(--olive); margin-bottom: 14px; }
.vm-card h3 { color: var(--olive-deep); margin-bottom: 8px; }
.vm-card p { color: var(--muted); font-size: .95rem; }
.about-image-area { position: relative; }
.about-image-area img { width: 100%; border-radius: 22px; box-shadow: var(--shadow-md); }
.experience-badge {
    position: absolute; bottom: -20px; inset-inline-end: -20px;
    background: var(--olive); color: var(--cream); padding: 22px;
    border-radius: 14px; text-align: center; font-weight: bold;
    box-shadow: var(--shadow-md);
}
.experience-badge .num { display: block; font-size: 2rem; }

/* =================== صفحة الفريق =================== */
.team-page { padding: 90px 22px; }
.team-category { margin-bottom: 60px; }
.category-title {
    text-align: center; margin-bottom: 40px; font-size: 2.1rem;
    position: relative; padding-bottom: 16px; color: var(--olive-deep);
}
.category-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%); width: 64px; height: 3px; background: var(--olive);
}
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 30px; }
.member-card {
    background: var(--white); border-radius: 14px; overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    text-align: center; transition: var(--transition);
}
.member-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.member-image {
    width: 100%; height: 280px; background: var(--khaki-light);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.member-image img { max-width: 100%; max-height: 100%; object-fit: cover; width: 100%; height: 100%; transition: transform .4s ease; }
.member-card:hover .member-image img { transform: scale(1.05); }
.member-details { padding: 18px; }
.member-details h3 { font-size: 1.15rem; margin-bottom: 5px; color: var(--olive-deep) !important; }
.member-details p { color: var(--brass) !important; font-weight: 700; font-size: .9rem; margin: 0; }
@media (max-width: 992px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .team-grid { grid-template-columns: 1fr; } }

/* =================== صفحة تفاصيل الخدمات =================== */
.services-detail-page { padding: 70px 22px; }
.service-section { display: flex; align-items: center; gap: 55px; margin-bottom: 80px; }
.service-section.reverse { flex-direction: row-reverse; }
.service-info { flex: 1.2; }
.service-img { flex: 0.9; width: 100%; aspect-ratio: 16/11; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow-md); }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-img img:hover { transform: scale(1.04); }
.service-info h2 { font-size: 2rem; margin-bottom: 14px; color: var(--olive-deep); }
.service-info p, .service-sub-details { font-size: 1.02rem; color: var(--muted); margin-bottom: 18px; line-height: 1.8; }
.service-list-items { list-style: none; padding: 0; }
.service-list-items li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.service-list-items li i { color: var(--olive); }
[dir="rtl"] .service-info { text-align: right; }
[dir="ltr"] .service-info { text-align: left; }
@media (max-width: 992px) {
    .service-section, .service-section.reverse {
        flex-direction: column !important; gap: 30px; text-align: center !important; margin-bottom: 60px;
    }
    .service-list-items li { justify-content: center; }
}

/* =================== صفحة التواصل =================== */
.contact-page-wrapper { padding: 0 0 70px; background: var(--cream); }
.contact-content-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 45px; margin-top: 45px; }
.contact-info-sidebar { background: var(--olive-deep); color: var(--cream); padding: 42px; border-radius: var(--radius); }
.contact-info-sidebar h3 { color: var(--khaki); }
.info-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 28px; }
.info-item i { font-size: 1.4rem; color: var(--khaki); margin-top: 4px; }
.info-item h3 { margin: 0; font-size: 1.05rem; color: var(--white); }
.info-item p { margin: 5px 0 0; color: #ded7c6; }
.social-links-contact { margin-top: 40px; border-top: 1px solid rgba(247,242,233,.18); padding-top: 22px; }
.social-links-contact .icons { display: flex; gap: 20px; margin-top: 15px; }
.social-links-contact a { color: var(--cream); font-size: 1.4rem; }
.social-links-contact a:hover { color: var(--khaki); }

.contact-form-container { background: var(--white); padding: 42px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.input-group { margin-bottom: 22px; }
.main-contact-form input, .main-contact-form textarea,
.contact-form input, .contact-form textarea {
    width: 100%; padding: 15px; border: 1px solid var(--line);
    border-radius: 10px; background: var(--cream); font-family: inherit; outline: none; transition: .3s;
}
.main-contact-form input:focus, .main-contact-form textarea:focus { border-color: var(--olive); background: var(--white); }
[dir="rtl"] .main-contact-form input, [dir="rtl"] .main-contact-form textarea { text-align: right; }

.btn-send-message {
    background: var(--olive) !important; color: var(--cream) !important; border: none !important;
    padding: 15px 38px; border-radius: 40px; font-weight: bold; cursor: pointer; font-size: 1.05rem;
    display: flex !important; align-items: center; justify-content: center; gap: 10px;
    transition: .3s; min-width: 200px; margin-top: 6px;
}
.btn-send-message:hover { background: var(--olive-deep) !important; transform: translateY(-3px); box-shadow: var(--shadow-md); }

.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; }
.alert.success { background: #e7ecd9; color: var(--olive-deep); border: 1px solid var(--sage); }
.alert.danger { background: #f6e2dd; color: #8a3b2a; border: 1px solid #e0b6ab; }

@media (max-width: 768px) {
    .contact-content-grid { grid-template-columns: 1fr; }
    .btn-send-message { width: 100% !important; }
    .contact-form-container, .contact-info-sidebar { padding: 24px; }
}

/* =================== الفوتر =================== */
.main-footer { background: #2b2a22; color: var(--cream); padding: 64px 0 22px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; padding-bottom: 40px; }
.main-footer h3, .main-footer h4 { color: var(--khaki); margin-bottom: 14px; letter-spacing: 1px; }
.footer-links-list { list-style: none; }
.footer-links-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #ded7c6; }
.footer-links-list li i { color: var(--brass); }
.social-icons { margin-top: 18px; display: flex; gap: 16px; }
.social-icons a {
    color: var(--cream); font-size: 1.1rem; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(247,242,233,.22); border-radius: 50%; transition: var(--transition);
}
.social-icons a:hover { background: var(--olive); border-color: var(--olive); transform: translateY(-3px); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(247,242,233,.12); padding-top: 20px; font-size: .82rem; color: #b8b2a2; }
.footer-bottom .gold-text { color: var(--khaki); }

@media (max-width: 768px) {
    .footer-grid { text-align: center; }
    .social-icons { justify-content: center; }
    .footer-links-list li { justify-content: center; }
}

/* =================== المودال =================== */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(54,53,42,.85); }
.modal-content { background: var(--cream); width: 90%; max-width: 450px; margin: 80px auto; padding: 40px; border-radius: var(--radius); position: relative; }

/* =================== شبكات متجاوبة عامة =================== */
@media (max-width: 1200px) { .services-grid, .cat-grid, .device-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 992px) {
    .services-grid, .cat-grid, .device-grid { grid-template-columns: repeat(2, 1fr); }
    .doctor-grid { grid-template-columns: 1fr; }
    .doctor-photo { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 576px) {
    .services-grid, .cat-grid, .device-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.3rem; }
    .section-title h2 { font-size: 2rem; }
    #nav-logo { height: 54px; }
}

/* قسم دعوة للحجز */
.cta-band {
    background: linear-gradient(rgba(76,74,38,.86), rgba(76,74,38,.86)), url('../images/brand/contact.png') no-repeat center center/cover;
    color: var(--cream); text-align: center; padding: 80px 22px;
}
.cta-band h2 { color: var(--white); font-size: 2.4rem; margin-bottom: 14px; }
.cta-band p { color: #efe9da; max-width: 560px; margin: 0 auto 26px; }

/* فاصل أنيق */
.section-divider { width: 70px; height: 3px; background: var(--brass); margin: 14px auto 0; border-radius: 2px; }