/* ============================================================
   Spencer Road Family Practice - Main Stylesheet
   Modern, clean, calming medical clinic design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --primary: #0D6E6E;
    --primary-light: #14919B;
    --primary-dark: #0A5555;
    --accent: #E8985E;
    --accent-light: #F0B88A;
    --bg: #FAFBFC;
    --bg-warm: #F7F5F2;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --success: #059669;
    --warning: #D97706;
    --danger: #DC2626;
    --info: #2563EB;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

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

/* ---- BANNER SYSTEM ---- */
.site-banner {
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    animation: bannerSlide 0.4s ease-out;
}
@keyframes bannerSlide { from { transform: translateY(-100%); opacity:0; } to { transform: translateY(0); opacity:1; } }
.site-banner .banner-content { display:flex; align-items:center; gap:10px; }
.site-banner .banner-icon { font-size: 1.1rem; flex-shrink: 0; }
.site-banner .banner-link { color: inherit; text-decoration: underline; font-weight: 600; margin-left: 8px; }
.site-banner .banner-close {
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.2); border: none; color: inherit;
    width: 28px; height: 28px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; transition: background var(--transition);
}
.site-banner .banner-close:hover { background: rgba(255,255,255,0.35); }

/* ---- NAVIGATION ---- */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: var(--shadow-sm);
}
.nav-container {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon {
    width: 42px; height: 42px; background: var(--primary);
    border-radius: var(--radius); display: flex; align-items: center;
    justify-content: center; color: white; font-size: 1.3rem; font-weight: 700;
}
.nav-logo-text { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; color: var(--gray-900); line-height: 1.2; }
.nav-logo-text span { display: block; font-family: var(--font-body); font-size: 0.7rem; color: var(--gray-500); font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    padding: 8px 16px; border-radius: var(--radius); font-size: 0.9rem;
    font-weight: 500; color: var(--gray-600); transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: rgba(13,110,110,0.06); }
.nav-links a.active { font-weight: 600; }

.nav-cta {
    background: linear-gradient(135deg, #FF6B35 0%, #FF4500 50%, #E8391E 100%);
    color: white !important; padding: 11px 26px !important;
    border-radius: 50px !important; font-weight: 700 !important; font-size: 0.85rem !important;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 4px 15px rgba(255,69,0,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-transform: uppercase; letter-spacing: 0.04em;
    position: relative; overflow: hidden;
}
.nav-cta::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    pointer-events: none;
}
.nav-cta:hover {
    background: linear-gradient(135deg, #FF7B45 0%, #FF5510 50%, #F04428 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,69,0,0.5), inset 0 1px 0 rgba(255,255,255,0.25);
}
.nav-cta:active { transform: translateY(0); }
@keyframes subtlePulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(255,69,0,0.35), inset 0 1px 0 rgba(255,255,255,0.2); }
    50% { box-shadow: 0 4px 25px rgba(255,69,0,0.55), inset 0 1px 0 rgba(255,255,255,0.2); }
}
.nav-cta { animation: subtlePulse 3s ease-in-out infinite; }
.nav-cta:hover { animation: none; }

.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--gray-700); cursor: pointer; padding: 8px; }

/* ---- HERO SECTION ---- */
.hero {
    background: linear-gradient(135deg, #0a4f4f 0%, #0D6E6E 40%, #14919B 100%);
    color: white; padding: 80px 0 90px; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(232,152,94,0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 500;
    margin-bottom: 24px; backdrop-filter: blur(10px);
}
.hero h1 { font-family: var(--font-heading); font-size: 3.2rem; font-weight: 600; line-height: 1.15; margin-bottom: 20px; }
.hero p { font-size: 1.15rem; opacity: 0.9; line-height: 1.8; margin-bottom: 36px; max-width: 560px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 50px; font-size: 0.95rem;
    font-weight: 600; border: none; cursor: pointer; transition: all var(--transition);
    text-decoration: none; font-family: var(--font-body);
}
.btn-primary { background: var(--accent); color: white; box-shadow: 0 2px 8px rgba(232,152,94,0.4); }
.btn-primary:hover { background: #d4854e; color: white; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(232,152,94,0.5); }

/* ---- HOTDOC BOOKING BUTTON ---- */
.btn-book {
    background: linear-gradient(135deg, #FF6B35 0%, #FF4500 50%, #E8391E 100%);
    color: white; padding: 16px 36px; border-radius: 50px;
    font-size: 1rem; font-weight: 700; letter-spacing: 0.03em;
    box-shadow: 0 4px 20px rgba(255,69,0,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative; overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none; border: none; cursor: pointer;
    font-family: var(--font-body);
}
.btn-book::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    pointer-events: none;
}
.btn-book::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 0; height: 0; border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}
.btn-book:hover {
    transform: translateY(-3px); color: white;
    box-shadow: 0 8px 30px rgba(255,69,0,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-book:hover::after { width: 300px; height: 300px; }
.btn-book:active { transform: translateY(-1px); }
.btn-book i { font-size: 1.05em; }
.btn-book .hotdoc-badge {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(255,255,255,0.2); padding: 2px 10px;
    border-radius: 50px; font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase; margin-left: 4px;
}
.btn-book-sm { padding: 12px 24px; font-size: 0.88rem; }
.btn-book-lg { padding: 18px 44px; font-size: 1.1rem; }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: white; border-color: rgba(255,255,255,0.7); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-teal { background: var(--primary); color: white; }
.btn-teal:hover { background: var(--primary-dark); color: white; }

/* ---- QUICK INFO BAR ---- */
.quick-info {
    background: var(--white); border-bottom: 1px solid var(--gray-200);
    padding: 20px 0; margin-top: -1px;
}
.quick-info-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.quick-info-item {
    display: flex; align-items: center; gap: 14px; padding: 12px 16px;
    border-radius: var(--radius-lg); transition: background var(--transition);
}
.quick-info-item:hover { background: var(--gray-50); }
.quick-info-icon {
    width: 44px; height: 44px; border-radius: var(--radius);
    background: rgba(13,110,110,0.08); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.quick-info-label { font-size: 0.75rem; color: var(--gray-500); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.quick-info-value { font-size: 0.95rem; font-weight: 600; color: var(--gray-800); }

/* ---- SECTIONS ---- */
.section { padding: 80px 0; }
.section-warm { background: var(--bg-warm); }
.section-teal { background: linear-gradient(135deg, var(--primary-dark), var(--primary-light)); color: white; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 600; color: var(--gray-900); margin-bottom: 12px; }
.section-header p { font-size: 1.05rem; color: var(--gray-500); max-width: 600px; margin: 0 auto; }
.section-teal .section-header h2 { color: white; }
.section-teal .section-header p { color: rgba(255,255,255,0.8); }

/* ---- PAGE HEADER ---- */
.page-header {
    background: linear-gradient(135deg, #0a4f4f 0%, #0D6E6E 60%, #14919B 100%);
    color: white; padding: 56px 0 48px; text-align: center;
}
.page-header h1 { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 600; margin-bottom: 8px; }
.page-header p { font-size: 1rem; opacity: 0.85; }

/* ---- CARDS ---- */
.card {
    background: var(--white); border-radius: var(--radius-xl);
    box-shadow: var(--shadow); overflow: hidden;
    transition: all var(--transition); border: 1px solid var(--gray-100);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-body { padding: 28px; }

/* Feature cards */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { padding: 32px; }
.feature-card:hover { transform: translateY(-4px); }
.feature-icon {
    width: 52px; height: 52px; border-radius: var(--radius-lg);
    background: rgba(13,110,110,0.08); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; color: var(--gray-800); }
.feature-card p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; }

/* Doctor cards */
.doctors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.doctor-card { display: flex; flex-direction: column; }
.doctor-photo {
    width: 100%; aspect-ratio: 4/3; object-fit: cover;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}
.doctor-photo-placeholder {
    width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-400); font-size: 3rem;
}
.doctor-info { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.doctor-info h3 { font-size: 1.1rem; font-weight: 600; color: var(--gray-800); margin-bottom: 4px; }
.doctor-qualifications { font-size: 0.8rem; color: var(--gray-500); margin-bottom: 12px; }
.billing-badge {
    display: inline-block; padding: 3px 12px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 600; margin-bottom: 12px;
}
.billing-bulk { background: #ECFDF5; color: #059669; }
.billing-private { background: #FEF3C7; color: #D97706; }
.billing-mixed { background: #EFF6FF; color: #2563EB; }
.doctor-hours { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 12px; line-height: 1.6; }
.doctor-interests { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 16px; flex: 1; }
.doctor-interests strong { color: var(--gray-700); font-weight: 600; }
.doctor-book-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 20px; border-radius: 50px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF4500 50%, #E8391E 100%);
    color: white; font-weight: 700; font-size: 0.85rem;
    box-shadow: 0 3px 12px rgba(255,69,0,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none; position: relative; overflow: hidden;
    letter-spacing: 0.02em;
}
.doctor-book-btn::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
    pointer-events: none;
}
.doctor-book-btn:hover {
    color: white; transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,69,0,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
}

/* Nurse cards */
.nurses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.nurse-card { text-align: center; padding: 32px 20px; }
.nurse-photo {
    width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
    margin: 0 auto 16px; border: 3px solid var(--gray-100);
}
.nurse-photo-placeholder {
    width: 120px; height: 120px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; color: var(--gray-400); font-size: 2.5rem;
    border: 3px solid var(--gray-100);
}
.nurse-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.nurse-card p { font-size: 0.85rem; color: var(--gray-500); }

/* ---- FEES TABLES ---- */
.fee-section { margin-bottom: 40px; }
.fee-section h3 { font-size: 1.3rem; font-weight: 600; color: var(--gray-800); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); display: inline-block; }
.fee-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.fee-table thead { background: var(--primary); color: white; }
.fee-table th { padding: 14px 20px; font-weight: 600; font-size: 0.85rem; text-align: left; text-transform: uppercase; letter-spacing: 0.03em; }
.fee-table td { padding: 14px 20px; border-bottom: 1px solid var(--gray-100); font-size: 0.9rem; }
.fee-table tbody tr:last-child td { border-bottom: none; }
.fee-table tbody tr:hover { background: var(--gray-50); }
.fee-note { margin-top: 16px; padding: 16px 20px; background: #FFF7ED; border-left: 4px solid var(--accent); border-radius: var(--radius); font-size: 0.85rem; color: var(--gray-700); }

/* ---- SERVICES GRID ---- */
.services-category { margin-bottom: 48px; }
.services-category h3 {
    font-size: 1.2rem; font-weight: 600; color: var(--primary);
    margin-bottom: 20px; padding-bottom: 10px;
    border-bottom: 2px solid rgba(13,110,110,0.15);
}
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.service-item {
    display: flex; align-items: center; gap: 12px; padding: 16px 20px;
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100); transition: all var(--transition);
}
.service-item:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-icon { color: var(--primary); font-size: 1.1rem; width: 20px; text-align: center; flex-shrink: 0; }
.service-item span { font-size: 0.9rem; font-weight: 500; color: var(--gray-700); }

/* ---- POLICIES ACCORDION ---- */
.accordion-item {
    background: var(--white); border-radius: var(--radius-lg);
    margin-bottom: 12px; box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100); overflow: hidden;
}
.accordion-header {
    padding: 20px 24px; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center;
    font-weight: 600; font-size: 1.05rem; color: var(--gray-800);
    transition: background var(--transition);
    user-select: none;
}
.accordion-header:hover { background: var(--gray-50); }
.accordion-header .chevron { transition: transform var(--transition); color: var(--primary); font-size: 1.2rem; }
.accordion-item.open .accordion-header .chevron { transform: rotate(180deg); }
.accordion-body {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
    padding: 0 24px;
}
.accordion-item.open .accordion-body { max-height: 2000px; padding: 0 24px 24px; }
.accordion-body p { margin-bottom: 12px; font-size: 0.9rem; color: var(--gray-600); line-height: 1.8; }

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-icon {
    width: 44px; height: 44px; border-radius: var(--radius);
    background: rgba(13,110,110,0.08); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 1rem;
}
.contact-detail label { font-size: 0.8rem; color: var(--gray-500); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; display: block; margin-bottom: 2px; }
.contact-detail span { font-size: 0.95rem; font-weight: 600; color: var(--gray-800); }
.contact-detail a { font-weight: 600; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-control {
    width: 100%; padding: 12px 16px; border: 1px solid var(--gray-200);
    border-radius: var(--radius); font-family: var(--font-body);
    font-size: 0.9rem; transition: border-color var(--transition);
    background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,110,110,0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ---- OPENING HOURS ---- */
.hours-table { width: 100%; }
.hours-table tr td { padding: 8px 0; font-size: 0.9rem; }
.hours-table tr td:first-child { font-weight: 600; color: var(--gray-700); width: 140px; }
.hours-table tr td:last-child { color: var(--gray-600); }

/* ---- FOOTER ---- */
.site-footer {
    background: var(--gray-900); color: var(--gray-300); padding: 64px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand h3 { font-family: var(--font-heading); font-size: 1.3rem; color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; color: var(--gray-400); }
.footer-col h4 { font-size: 0.85rem; font-weight: 600; color: white; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.9rem; color: var(--gray-400); padding: 4px 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0; text-align: center;
    font-size: 0.8rem; color: var(--gray-500);
}

/* ---- MAP ---- */
.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-container iframe { width: 100%; height: 350px; border: none; display: block; }

/* ---- ALERTS ---- */
.alert { padding: 14px 20px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert-info { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }

/* ---- MOBILE RESPONSIVE ---- */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .quick-info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; box-shadow: var(--shadow-lg); z-index: 999; }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 16px; width: 100%; }
    .mobile-toggle { display: block; }
    .hero { padding: 48px 0 56px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    .features-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .quick-info-grid { grid-template-columns: 1fr; }
    .doctors-grid { grid-template-columns: 1fr; }
    .section { padding: 48px 0; }
    .page-header { padding: 36px 0; }
    .page-header h1 { font-size: 1.8rem; }
    .section-header h2 { font-size: 1.7rem; }
    .fee-table { font-size: 0.85rem; }
    .fee-table th, .fee-table td { padding: 10px 12px; }
}

/* ---- MOBILE BOOK CTA ---- */
.mobile-book-bar {
    display: none; position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--white); padding: 12px 24px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1); z-index: 999;
    border-top: 1px solid var(--gray-200);
}
.mobile-book-bar a { display: block; width: 100%; text-align: center; }
@media (max-width: 768px) { .mobile-book-bar { display: block; } body { padding-bottom: 70px; } }

/* ---- TAB FILTER ---- */
.tab-filter { display: flex; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; justify-content: center; }
.tab-btn {
    padding: 8px 24px; border-radius: 50px; border: 2px solid var(--gray-200);
    background: var(--white); color: var(--gray-600); font-weight: 500;
    font-size: 0.85rem; cursor: pointer; transition: all var(--transition);
    font-family: var(--font-body);
}
.tab-btn:hover { border-color: var(--primary-light); color: var(--primary); }
.tab-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
