/* ══════════════════════════════════════════════════════════════
   NABD Doctor Website — Premium Design System
   Theme: Forest Green #006633 + Gold #D9A441
   Font:  Tajawal (Arabic)
   Dir:   RTL
══════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
    --green-900: #003d1f;
    --green-800: #004d26;
    --green-700: #006633;
    --green-600: #007a3d;
    --green-500: #009948;
    --green-100: #e6f4ec;
    --green-50:  #f0f9f3;

    --gold-600: #b8892e;
    --gold-500: #D9A441;
    --gold-400: #e8b95a;
    --gold-100: #fdf6e3;

    --neutral-900: #111827;
    --neutral-800: #1f2937;
    --neutral-700: #374151;
    --neutral-500: #6b7280;
    --neutral-400: #9ca3af;
    --neutral-200: #e5e7eb;
    --neutral-100: #f3f4f6;
    --neutral-50:  #f9fafb;
    --white:       #ffffff;

    --error:   #dc2626;
    --success: #16a34a;
    --warning: #d97706;

    /* Aliases */
    --primary:       var(--green-700);
    --primary-dark:  var(--green-800);
    --primary-light: var(--green-50);
    --secondary:     var(--gold-500);
    --text:          var(--neutral-900);
    --text-muted:    var(--neutral-500);
    --bg:            var(--neutral-50);
    --border:        var(--neutral-200);

    /* Radii */
    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(0,0,0,.06);
    --shadow-sm: 0 2px 8px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,.09), 0 2px 6px rgba(0,0,0,.05);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
    --shadow-glow: 0 0 0 4px rgba(0,102,51,.15);

    /* Transitions */
    --ease: cubic-bezier(.4,0,.2,1);
    --dur-fast: 150ms;
    --dur-med:  250ms;
    --dur-slow: 380ms;

    /* Header height */
    --header-h: 72px;
}

/* ─── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }

body {
    font-family: 'Tajawal', system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
    direction: rtl;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { display:block; max-width:100%; }
a  { color:var(--primary); text-decoration:none; transition: color var(--dur-fast) var(--ease); }
a:hover { color:var(--gold-500); }
button { font-family: inherit; cursor:pointer; }
ul { list-style:none; }
input, textarea, select {
    font-family: inherit;
    font-size: .95rem;
    direction: rtl;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── UTILITY CLASSES ────────────────────────────────────────── */
.card {
    background: var(--white);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--r-full);
    font-weight: 700;
    font-size: .95rem;
    border: 2px solid transparent;
    transition: all var(--dur-med) var(--ease);
    white-space: nowrap;
}
.btn--primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,102,51,.35);
}
.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.55);
}
.btn--outline:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.8);
    color: var(--white);
}
.btn--sm { padding: 8px 18px; font-size: .88rem; }
.btn--full { width: 100%; }
.btn:disabled { opacity:.55; cursor:not-allowed; transform:none !important; box-shadow:none !important; }

.empty-msg {
    text-align:center;
    color:var(--text-muted);
    padding:40px 16px;
    font-size:.95rem;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}

.req { color:var(--error); font-size:.8rem; }
.optional { color:var(--text-muted); font-size:.8rem; font-weight:400; }

/* ─── LOADING SCREEN ─────────────────────────────────────────── */
#loading-screen {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--white);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.loader-inner { text-align:center; }
.loader-logo {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}
.loader-logo span { color: var(--gold-500); }
.loader-ring {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 4px solid var(--green-100);
    border-top-color: var(--primary);
    animation: spin .85s linear infinite;
    margin: 0 auto 20px;
}
@keyframes spin { to { transform:rotate(360deg); } }
.loader-text { color:var(--text-muted); font-size:.9rem; }

/* ─── HEADER / NAVBAR ────────────────────────────────────────── */
#site-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
    box-shadow: var(--shadow-xs);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}

/* Brand */
.header-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
    flex-shrink: 0;
}
.header-brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
.header-brand-loc {
    font-size: .75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
.header-brand-loc i { color:var(--gold-500); font-size:.7rem; flex-shrink:0; }

/* Doctor pill */
.header-doctor {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--r-full);
    padding: 5px 14px 5px 6px;
    flex-shrink: 0;
}
.header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-500);
    flex-shrink: 0;
    background: var(--neutral-200);
}
.header-doctor-text { display:flex; flex-direction:column; line-height:1.3; }
.header-doctor-name { font-size:.88rem; font-weight:700; color:var(--primary); }
.header-doctor-spec { font-size:.74rem; color:var(--text-muted); }

/* Desktop nav */
#desktop-nav { margin-right: auto; }
#desktop-nav ul {
    display: flex;
    gap: 2px;
    flex-wrap: nowrap;
}
#desktop-nav a {
    display: block;
    padding: 8px 14px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--r-full);
    transition: all var(--dur-fast) var(--ease);
    white-space: nowrap;
}
#desktop-nav a:hover,
#desktop-nav a.active {
    color: var(--primary);
    background: var(--green-50);
}
#desktop-nav a.active {
    color: var(--primary);
    font-weight: 800;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    border-radius: var(--r-sm);
    margin-right: auto;
    transition: background var(--dur-fast);
}
.hamburger:hover { background: var(--neutral-100); }
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--dur-med) var(--ease);
}
.hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; transform:scaleX(0); }
.hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* Nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.48);
    z-index: 490;
    backdrop-filter: blur(2px);
}
.nav-overlay.visible { display:block; animation:fadeIn var(--dur-med) var(--ease); }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

/* Mobile drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 288px;
    max-width: 85vw;
    height: 100dvh;
    background: var(--white);
    z-index: 600;
    transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}
.mobile-drawer.open { transform:translateX(0); }
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--border);
}
.drawer-logo {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
}
.drawer-logo em { font-style:normal; color:var(--gold-500); }
.drawer-close {
    background: var(--neutral-100);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dur-fast);
}
.drawer-close:hover { background:var(--neutral-200); color:var(--text); }
#drawer-nav-list { padding: 12px 0; }
#drawer-nav-list li { border-bottom: 1px solid var(--border); }
#drawer-nav-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    transition: all var(--dur-fast);
}
#drawer-nav-list a:hover,
#drawer-nav-list a.active {
    color: var(--primary);
    background: var(--green-50);
}

/* ─── HERO SECTION ───────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 55%, var(--green-600) 100%);
    color: var(--white);
    padding: 80px 0 72px;
}
.hero-bg-shapes { position:absolute; inset:0; pointer-events:none; }
.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: .12;
}
.hero-shape--1 {
    width: 500px; height: 500px;
    background: var(--gold-500);
    top: -200px; left: -150px;
}
.hero-shape--2 {
    width: 320px; height: 320px;
    background: var(--white);
    bottom: -140px; right: -80px;
}
.hero-shape--3 {
    width: 180px; height: 180px;
    background: var(--gold-400);
    top: 60%; left: 30%;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

/* Text side */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: var(--r-full);
    padding: 5px 14px;
    font-size: .8rem;
    font-weight: 600;
    color: rgba(255,255,255,.9);
    margin-bottom: 18px;
    backdrop-filter: blur(6px);
}
.hero-badge i { color:var(--gold-400); }
.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 8px;
    letter-spacing: -.5px;
}
.hero-spec {
    font-size: 1.1rem;
    color: var(--gold-400);
    font-weight: 600;
    margin-bottom: 16px;
}
.hero-bio-preview {
    font-size: .95rem;
    color: rgba(255,255,255,.75);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 28px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; }

/* Photo side */
.hero-photo-wrap { position:relative; }
.hero-photo-ring {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    box-shadow: 0 16px 48px rgba(0,0,0,.3);
    flex-shrink: 0;
}
.hero-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--green-800);
}
.hero-stats {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    white-space: nowrap;
}
.hero-stat-pill {
    background: var(--white);
    color: var(--primary);
    border-radius: var(--r-full);
    padding: 6px 14px;
    font-size: .82rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 5px;
}
.hero-stat-pill i { color:var(--gold-500); }

/* ─── HERO LAYOUT VARIANTS ───────────────────────────────────── */
/* Default (split): text right + photo left — already the base style */

/* Centered: photo + text stacked centrally */
.hero-layout-centered .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
}
.hero-layout-centered .hero-text {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-layout-centered .hero-photo-wrap {
    order: 1;
    margin: 0 auto 8px;
}
.hero-layout-centered .hero-photo-ring {
    width: 180px;
    height: 180px;
}
.hero-layout-centered .hero-actions {
    justify-content: center;
}
.hero-layout-centered .hero-bio-preview {
    text-align: center;
    max-width: 560px;
}
.hero-layout-centered .hero-stats {
    position: static;
    transform: none;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap;
}

/* Minimal: text only, no photo shown */
.hero-layout-minimal .hero-photo-wrap {
    display: none;
}
.hero-layout-minimal .hero-content {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
}
.hero-layout-minimal .hero-stats {
    position: static;
    transform: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

/* ─── SECTION LAYOUT ─────────────────────────────────────────── */
.site-main { padding-bottom: 0; }

.section {
    padding: 72px 0;
}
.section--alt {
    background: var(--white);
}
.section-header {
    margin-bottom: 36px;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--green-50);
    color: var(--primary);
    border: 1px solid var(--green-100);
    border-radius: var(--r-full);
    padding: 4px 14px;
    font-size: .8rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--neutral-900);
    position: relative;
    padding-bottom: 12px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 48px;
    height: 3px;
    background: var(--gold-500);
    border-radius: var(--r-full);
}

/* ─── ABOUT SECTION ──────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}
.about-bio {
    padding: 28px 32px;
}
.bio-text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--neutral-700);
    white-space: pre-wrap;
}
.contact-chips {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    color: var(--primary);
    border-radius: var(--r-full);
    padding: 7px 16px;
    font-size: .88rem;
    font-weight: 600;
    transition: all var(--dur-fast);
}
.contact-chip:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.contact-chip i { font-size:.85rem; }

/* Working hours */
.working-card { padding: 24px 28px; }
.card-icon-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.card-icon {
    width: 40px;
    height: 40px;
    background: var(--green-50);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}
.card-icon-title h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.working-days {}
.working-day {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: .9rem;
    font-weight: 500;
}
.working-day:last-of-type { border-bottom:none; }
.status-open {
    background: #dcfce7;
    color: #15803d;
    padding: 2px 12px;
    border-radius: var(--r-full);
    font-size: .78rem;
    font-weight: 700;
}
.status-closed {
    background: #fee2e2;
    color: #b91c1c;
    padding: 2px 12px;
    border-radius: var(--r-full);
    font-size: .78rem;
    font-weight: 700;
}
.session-badge {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    color: var(--text-muted);
}
.session-badge i { color:var(--gold-500); }
.session-badge strong { color:var(--primary); }

/* ─── QUALIFICATIONS ─────────────────────────────────────────── */
.quals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 16px;
}
.qualification-card {
    background: var(--white);
    padding: 20px 22px;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 14px;
    border-right: 4px solid var(--primary);
    transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}
.qualification-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.qualification-card i {
    color: var(--gold-500);
    font-size: 1.3rem;
    flex-shrink: 0;
}
.qualification-card h4 {
    font-size: .95rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
}

/* ─── POSTS SECTION ──────────────────────────────────────────── */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 24px;
}
.post-card {
    background: var(--white);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.post-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform var(--dur-slow) var(--ease);
}
.post-card:hover .post-card-image { transform: scale(1.04); }
.post-card-image-wrap {
    overflow: hidden;
    flex-shrink: 0;
}
.post-card-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.post-card-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .75rem;
    color: var(--text-muted);
    background: var(--neutral-100);
    padding: 3px 10px;
    border-radius: var(--r-full);
    margin-bottom: 10px;
    width: fit-content;
}
.post-card-text {
    font-size: .95rem;
    color: var(--neutral-700);
    line-height: 1.75;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-read-more {
    margin-top: 14px;
    font-size: .85rem;
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}
.post-read-more::after {
    content: '←';
    font-size: .9em;
    transition: transform var(--dur-fast);
}
.post-card:hover .post-read-more::after { transform: translateX(-3px); }

/* Post modal */
.modal-content--wide { max-width: 680px; }
.post-modal-image {
    width: 100%;
    border-radius: var(--r-sm);
    margin-bottom: 18px;
    max-height: 360px;
    object-fit: cover;
}
.post-modal-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    color: var(--text-muted);
    background: var(--neutral-100);
    padding: 3px 10px;
    border-radius: var(--r-full);
    margin-bottom: 12px;
}
.post-modal-text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--neutral-700);
    white-space: pre-wrap;
}

/* ─── APPOINTMENTS ───────────────────────────────────────────── */
.appt-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
.cal-card { padding: 24px; }
.cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.cal-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    transition: all var(--dur-fast);
}
.cal-nav-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.cal-month-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}
.calendar {}
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: .74rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}
.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 500;
    transition: all var(--dur-fast) var(--ease);
}
.calendar-day:not(.disabled):hover {
    background: var(--green-100);
    color: var(--primary);
}
.calendar-day.today {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
}
.calendar-day.selected {
    background: var(--gold-500);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(217,164,65,.4);
}
.calendar-day.disabled {
    color: var(--neutral-300, #d1d5db);
    cursor: not-allowed;
}

/* Time slots panel */
.slots-card { padding: 24px; }
.slots-header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.slots-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    background: var(--green-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.slots-title { font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.slots-date { font-size: .82rem; color: var(--text-muted); }
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}
.time-slot {
    background: var(--green-50);
    color: var(--primary);
    padding: 10px 6px;
    text-align: center;
    border-radius: var(--r-sm);
    cursor: pointer;
    font-size: .88rem;
    font-weight: 700;
    border: 1.5px solid var(--green-100);
    transition: all var(--dur-fast) var(--ease);
}
.time-slot:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,102,51,.25);
}
.time-slot.selected {
    background: var(--gold-500);
    color: var(--white);
    border-color: var(--gold-500);
    box-shadow: 0 4px 12px rgba(217,164,65,.35);
}
.time-slot.booked {
    background: var(--neutral-100);
    color: var(--neutral-400);
    text-decoration: line-through;
    cursor: not-allowed;
    border-color: var(--border);
    font-weight: 400;
    transform: none !important;
    box-shadow: none !important;
}
.booking-form-container {
    margin-top: 20px;
    display: none;
    animation: slideUp var(--dur-med) var(--ease);
}
@keyframes slideUp {
    from { opacity:0; transform:translateY(8px); }
    to   { opacity:1; transform:translateY(0); }
}
.book-btn {
    width: 100%;
    padding: 13px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--r-full);
    font-size: 1rem;
    font-weight: 700;
    transition: all var(--dur-med) var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.book-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(0,102,51,.35);
    transform: translateY(-1px);
}

/* ─── LOCATION SECTION ───────────────────────────────────────── */
.location-wrapper { display:flex; flex-direction:column; gap:16px; }
.location-info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 22px;
    flex-wrap: wrap;
}
.location-info-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .95rem;
    color: var(--text);
    flex: 1;
}
.location-pin { color:var(--error); font-size:1.1rem; flex-shrink:0; }
.clinic-map {
    height: 380px;
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* ─── RATINGS SECTION ────────────────────────────────────────── */
.rating-summary {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 28px 32px;
    margin-bottom: 24px;
    border-top: 4px solid var(--gold-500);
    flex-wrap: wrap;
    gap: 24px;
}
.rating-score-block { display:flex; flex-direction:column; align-items:center; }
.rating-big {
    font-size: 3.8rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}
.rating-stars-row {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}
.rating-stars-row .fa-star { color:var(--gold-500); font-size:1.2rem; }
.rating-stars-row .fa-star.empty { color:var(--neutral-300, #d1d5db); }
.rating-label { font-size:.85rem; color:var(--text-muted); font-weight:500; }
.rating-divider {
    width: 1px;
    height: 64px;
    background: var(--border);
    flex-shrink: 0;
}
.rating-cta-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 24px;
}
.rating-cta-icon { font-size:1.6rem; color:var(--gold-500); }
.rating-cta-text p { font-size:.95rem; color:var(--text-muted); }

/* Review form */
.review-form-card {
    padding: 28px 32px;
    margin-bottom: 28px;
}
.form-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-card-title i { color:var(--gold-500); }

/* Star input */
.star-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 6px;
    margin-bottom: 20px;
}
.star-btn {
    font-size: 2rem;
    cursor: pointer;
    color: var(--neutral-300, #d1d5db);
    transition: color var(--dur-fast), transform var(--dur-fast);
    user-select: none;
}
.star-btn:hover,
.star-btn.selected { color:var(--gold-500); }
.star-btn:hover { transform: scale(1.15); }

/* Form elements */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    font-size: .93rem;
    color: var(--text);
    background: var(--neutral-50);
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: var(--shadow-glow);
}
.form-group textarea { resize:vertical; min-height:88px; }

/* Comments */
.comments-list { display:flex; flex-direction:column; gap:14px; }
.comment-card {
    background: var(--white);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    padding: 20px 24px;
    border-right: 3px solid var(--green-100);
    transition: border-color var(--dur-fast);
}
.comment-card:hover { border-color: var(--primary); }
.comment-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--green-50);
    border: 2px solid var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}
.comment-meta { flex: 1; }
.comment-author {
    font-weight: 700;
    font-size: .95rem;
    color: var(--primary);
    margin-bottom: 3px;
}
.comment-stars { display:flex; gap:2px; }
.comment-stars .fa-star { color:var(--gold-500); font-size:.8rem; }
.comment-stars .fa-star.empty { color:var(--neutral-300, #d1d5db); }
.comment-date {
    font-size: .76rem;
    color: var(--text-muted);
    background: var(--neutral-100);
    padding: 3px 10px;
    border-radius: var(--r-full);
    white-space: nowrap;
    align-self: flex-start;
}
.comment-text {
    font-size: .93rem;
    color: var(--neutral-700);
    line-height: 1.75;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
    background: linear-gradient(135deg, var(--green-900), var(--green-800));
    color: var(--white);
    padding: 48px 0 24px;
}
.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-brand {}
.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    display: block;
    margin-bottom: 4px;
}
.footer-logo em { font-style:normal; color:var(--gold-500); }
.footer-tagline { font-size:.82rem; opacity:.65; }
.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.footer-links a {
    color: rgba(255,255,255,.7);
    font-size: .85rem;
    transition: color var(--dur-fast);
}
.footer-links a:hover { color:var(--gold-400); }
.footer-copy {
    font-size: .78rem;
    opacity: .55;
    text-align: left;
}

/* ─── MODALS ─────────────────────────────────────────────────── */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 800;
    justify-content: center;
    align-items: center;
    padding: 16px;
    backdrop-filter: blur(4px);
}
.modal-content {
    background: var(--white);
    padding: 32px;
    border-radius: var(--r-lg);
    width: 100%;
    max-width: 500px;
    position: relative;
    animation: modalIn var(--dur-med) var(--ease);
    max-height: 92dvh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}
@keyframes modalIn {
    from { opacity:0; transform:translateY(-12px) scale(.97); }
    to   { opacity:1; transform:translateY(0) scale(1); }
}
.modal-center { text-align:center; }
.modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--neutral-100);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    transition: all var(--dur-fast);
}
.modal-close:hover { background:var(--error); color:var(--white); border-color:var(--error); }
.modal-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 18px;
}
.modal-icon--primary { background:var(--green-50); color:var(--primary); }
.modal-icon--success { background:#dcfce7; color:var(--success); }
.modal-icon--error   { background:#fee2e2; color:var(--error); }
.modal h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}
.modal-subtitle {
    font-size: .95rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

/* Appointment summary in modal */
.appt-summary {
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--r-md);
    padding: 16px 18px;
    margin: 16px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.appt-summary-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
}
.appt-summary-row i {
    color: var(--primary);
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}
.appt-summary-row strong { color: var(--primary); }

/* ─── TOAST NOTIFICATIONS ────────────────────────────────────── */
#toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    width: max-content;
    max-width: calc(100vw - 32px);
}
.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--neutral-900);
    color: var(--white);
    padding: 13px 20px;
    border-radius: var(--r-full);
    font-size: .9rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    animation: toastIn var(--dur-med) var(--ease);
    pointer-events: auto;
    white-space: nowrap;
}
.toast.toast--success { background:var(--success); }
.toast.toast--error   { background:var(--error); }
.toast.toast--warning { background:var(--warning); }
.toast i { font-size:1rem; }
@keyframes toastIn {
    from { opacity:0; transform:translateY(12px); }
    to   { opacity:1; transform:translateY(0); }
}
@keyframes toastOut {
    from { opacity:1; transform:translateY(0); }
    to   { opacity:0; transform:translateY(8px); }
}

/* ─── RESPONSIVE — TABLET ≤ 900px ───────────────────────────── */
@media (max-width: 900px) {
    #desktop-nav { display:none; }
    .hamburger { display:flex; }
    .header-inner { gap:12px; }

    .about-grid { grid-template-columns: 1fr; }
    .appt-layout { grid-template-columns: 1fr; }

    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text { order: 2; }
    .hero-photo-wrap { order: 1; margin: 0 auto; }
    .hero-actions { justify-content: center; }
    .hero-bio-preview { margin-left: auto; margin-right: auto; }
    .section-title::after { right: 50%; transform: translateX(50%); }
    .section-header { text-align: center; }
    .section-tag { margin-left: auto; margin-right: auto; }

    .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 16px; }
    .footer-links { justify-content: center; }
    .footer-copy { text-align: center; }
}

/* ─── RESPONSIVE — MOBILE ≤ 600px ───────────────────────────── */
@media (max-width: 600px) {
    :root { --header-h: 64px; }
    .hero { padding: 56px 0 52px; }
    .hero-photo-ring { width: 170px; height: 170px; }
    .hero-title { font-size: 1.8rem; }
    .section { padding: 52px 0; }
    .posts-grid { grid-template-columns: 1fr; }
    .quals-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .rating-summary { flex-direction: column; align-items: center; text-align: center; }
    .rating-divider { width: 80px; height: 1px; }
    .rating-cta-text { padding-right: 0; text-align: center; }
    .header-brand-name { max-width: 130px; }
    .header-brand-loc { max-width: 130px; }
    .header-doctor { padding: 4px 10px 4px 4px; }
    .header-doctor-spec { display: none; }
    .header-avatar { width: 34px; height: 34px; }
    .modal-content { padding: 24px 20px; border-radius: var(--r-md); }
    .review-form-card,
    .about-bio,
    .working-card { padding: 20px; }
}

/* ══════════════════════════════════════════════════════════════
   10 NEW WIDGET STYLES
══════════════════════════════════════════════════════════════ */

/* ─── 1. CLINIC STATUS BADGE ─────────────────────────────────── */
.clinic-status-badge {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--white);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    padding: 24px 28px;
    border-right: 5px solid var(--primary);
    max-width: 560px;
    transition: border-color var(--dur-fast);
}
.clinic-status-badge.status-open  { border-color: var(--success); }
.clinic-status-badge.status-busy  { border-color: var(--warning); }
.clinic-status-badge.status-closed{ border-color: var(--error);   }

.status-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}
.status-dot.dot-open   { background: var(--success); }
.status-dot.dot-busy   { background: var(--warning); }
.status-dot.dot-closed { background: var(--error);   }

.status-dot.dot-open::after,
.status-dot.dot-busy::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: inherit;
    opacity: .3;
    animation: pulseDot 1.6s ease-in-out infinite;
}

.clinic-status-label {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
}
.clinic-status-label span {
    display: block;
    font-size: .85rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 3px;
}
.status-open  .clinic-status-label { color: var(--success); }
.status-busy  .clinic-status-label { color: var(--warning); }
.status-closed .clinic-status-label { color: var(--error);  }

/* ─── 2. ANONYMOUS STATS ─────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.stat-card {
    background: var(--white);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    padding: 28px 24px;
    text-align: center;
    border-top: 4px solid var(--gold-500);
    transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-value {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: .92rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ─── 3. INTRO VIDEO ─────────────────────────────────────────── */
.video-container {
    max-width: 820px;
    margin: 0 auto;
}
.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
}
.video-responsive iframe,
.video-responsive video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--r-md);
}

/* ─── 4. BEFORE / AFTER ──────────────────────────────────────── */
.ba-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.ba-card {
    background: var(--white);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}
.ba-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ba-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--border);
}
.ba-pane { position: relative; overflow: hidden; }
.ba-pane img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform var(--dur-slow) var(--ease);
}
.ba-card:hover .ba-pane img { transform: scale(1.04); }
.ba-pane-label {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,.6);
    color: var(--white);
    font-size: .75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--r-full);
    backdrop-filter: blur(4px);
}
.ba-footer {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ba-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--green-50);
    color: var(--primary);
    border: 1px solid var(--green-100);
    border-radius: var(--r-full);
    padding: 3px 12px;
    font-size: .78rem;
    font-weight: 700;
}

/* ─── 5. SMILE GALLERY ───────────────────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}
.gallery-item {
    position: relative;
    border-radius: var(--r-sm);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: var(--shadow-xs);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
    color: var(--white);
    font-size: .78rem;
    font-weight: 700;
    padding: 18px 10px 8px;
    transform: translateY(100%);
    transition: transform var(--dur-med) var(--ease);
}
.gallery-item:hover .gallery-item-label { transform: translateY(0); }

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: fadeIn var(--dur-med) var(--ease);
}
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90dvh;
    border-radius: var(--r-sm);
    box-shadow: var(--shadow-lg);
    cursor: default;
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--dur-fast);
}
.lightbox-close:hover { background: rgba(255,255,255,.28); }

/* ─── 6. EXPERIENCE TIMELINE ─────────────────────────────────── */
.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 720px;
    position: relative;
}
.timeline-item {
    display: flex;
    gap: 20px;
    position: relative;
}
.timeline-spine {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 56px;
}
.timeline-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,102,51,.3);
    z-index: 1;
}
.timeline-connector {
    width: 2px;
    flex: 1;
    background: var(--green-100);
    min-height: 24px;
}
.timeline-body {
    flex: 1;
    padding-bottom: 28px;
}
.timeline-card {
    background: var(--white);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    padding: 16px 20px;
    border-right: 3px solid var(--primary);
    transition: box-shadow var(--dur-fast);
}
.timeline-card:hover { box-shadow: var(--shadow-md); }
.timeline-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}
.timeline-desc {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ─── 7. FAQ ACCORDION ───────────────────────────────────────── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 760px;
}
.faq-item {
    background: var(--white);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: box-shadow var(--dur-fast);
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
}
.faq-q-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gold-100);
    color: var(--gold-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    font-weight: 900;
    flex-shrink: 0;
}
.faq-q-text {
    flex: 1;
    font-weight: 700;
    font-size: .97rem;
    color: var(--text);
}
.faq-chevron {
    color: var(--text-muted);
    font-size: .8rem;
    transition: transform var(--dur-med) var(--ease);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--dur-slow) var(--ease), padding var(--dur-med);
}
.faq-item.open .faq-answer {
    max-height: 600px;
}
.faq-answer-inner {
    padding: 0 20px 20px;
    font-size: .93rem;
    color: var(--text-muted);
    line-height: 1.75;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

/* ─── 8. CARE CARDS ──────────────────────────────────────────── */
.care-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.care-card {
    background: var(--white);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}
.care-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.care-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
}
.care-card-header.pre  { background: rgba(21,101,192,.08); }
.care-card-header.post { background: rgba(46,125,50,.08); }
.care-card-type-icon {
    font-size: 1.1rem;
}
.pre  .care-card-type-icon { color: #1565C0; }
.post .care-card-type-icon { color: #2E7D32; }
.care-card-proc {
    font-weight: 700;
    font-size: .97rem;
    color: var(--text);
}
.care-card-type-label {
    font-size: .76rem;
    color: var(--text-muted);
    margin-top: 1px;
}
.care-tips {
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.care-tip {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .9rem;
    color: var(--neutral-700);
    line-height: 1.55;
}
.care-tip i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: .85rem;
}
.pre  .care-tip i { color: #1565C0; }
.post .care-tip i { color: #2E7D32; }

/* ─── 9. EQUIPMENT ───────────────────────────────────────────── */
.equipment-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.equipment-card {
    background: var(--white);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    gap: 0;
    transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}
.equipment-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.equipment-img-wrap {
    width: 100px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--green-50);
    display: flex;
    align-items: center;
    justify-content: center;
}
.equipment-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.equipment-placeholder {
    font-size: 2rem;
    color: var(--primary);
    opacity: .35;
}
.equipment-body {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.equipment-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
}
.equipment-desc {
    font-size: .87rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── 10. DIRECT CONTACT ──────────────────────────────────────── */
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: var(--r-full);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    transition: transform var(--dur-fast), box-shadow var(--dur-fast), filter var(--dur-fast);
    min-width: 200px;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}
.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    filter: brightness(1.07);
    color: var(--white);
}
.contact-btn i { font-size: 1.3rem; }
.contact-btn--whatsapp { background: #25D366; }
.contact-btn--telegram { background: #0088cc; }

/* ─── RESPONSIVE FOR NEW WIDGETS ─────────────────────────────── */
@media (max-width: 600px) {
    .ba-list { grid-template-columns: 1fr; }
    .ba-pane img { height: 140px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .care-cards-grid { grid-template-columns: 1fr; }
    .equipment-list { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    .contact-btn { min-width: 160px; padding: 14px 24px; font-size: .95rem; }
    .timeline-dot { width: 40px; height: 40px; font-size: .75rem; }
    .timeline-spine { width: 46px; }
}

/* ─── NABD PROMO BAR ─────────────────────────────────────────── */
#nabd-promo-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 700;
    padding: 0 16px 0;
    pointer-events: none;           /* let clicks fall through the gap area */

    /* Slide up on load */
    animation: promoBarIn 0.5s cubic-bezier(.34,1.36,.64,1) 1.8s both;
}
@keyframes promoBarIn {
    from { transform: translateY(110%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* Hidden state */
#nabd-promo-bar.promo-hidden {
    animation: promoBarOut 0.35s var(--ease) forwards;
}
@keyframes promoBarOut {
    from { transform: translateY(0);    opacity: 1; }
    to   { transform: translateY(110%); opacity: 0; }
}

.promo-bar-inner {
    pointer-events: auto;           /* re-enable clicks on the bar itself */
    max-width: 860px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-lg);
    box-shadow: 0 8px 40px rgba(0,0,0,.28), 0 2px 8px rgba(0,0,0,.14);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px 12px 18px;
    color: var(--white);
}

/* Animated "نبض" logo mark */
.promo-bar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -.3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.promo-pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold-500);
    flex-shrink: 0;
    position: relative;
}
.promo-pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gold-400);
    opacity: .4;
    animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { transform: scale(1);   opacity: .4; }
    50%       { transform: scale(1.7); opacity: 0; }
}

/* Separator */
.promo-bar-inner::after {
    /* thin vertical divider between logo and text — done via border on logo */
}
.promo-bar-logo {
    padding-left: 14px;
    border-left: 1px solid rgba(255,255,255,.18);
}

/* Text */
.promo-bar-text {
    flex: 1;
    font-size: .88rem;
    color: rgba(255,255,255,.85);
    line-height: 1.45;
    min-width: 0;
}
.promo-bar-text strong {
    color: var(--white);
    font-weight: 700;
}

/* CTA button */
.promo-bar-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--gold-500);
    color: var(--green-900);
    font-weight: 800;
    font-size: .85rem;
    padding: 8px 18px;
    border-radius: var(--r-full);
    white-space: nowrap;
    flex-shrink: 0;
    transition: background var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
}
.promo-bar-btn:hover {
    background: var(--gold-400);
    color: var(--green-900);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(217,164,65,.45);
}
.promo-bar-btn i { font-size: .8rem; }

/* Close button */
.promo-bar-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.65);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    flex-shrink: 0;
    transition: all var(--dur-fast);
}
.promo-bar-close:hover {
    background: rgba(255,255,255,.18);
    color: var(--white);
    border-color: rgba(255,255,255,.4);
}

/* Mobile tweaks */
@media (max-width: 600px) {
    .promo-bar-text { display: none; }   /* show only logo + CTA on small screens */
    .promo-bar-inner { gap: 10px; padding: 10px 12px; }
    .promo-bar-logo { font-size: 1rem; }
    .promo-bar-btn { font-size: .82rem; padding: 7px 14px; }
}
