/* =============================================
   MH HOSPITAL - MAIN STYLESHEET
   Premium Blue & White Medical Theme
   ============================================= */

:root {
  --primary: #0a4d8c;
  --primary-light: #1a6bb5;
  --primary-dark: #062d54;
  --accent: #00b4d8;
  --accent2: #e63946;
  --gold: #f4a41a;
  --bg: #f4f7fb;
  --white: #ffffff;
  --text: #1a2340;
  --text-muted: #556080;
  --border: #dde4f0;
  --success: #16a34a;
  --card-shadow: 0 4px 30px rgba(10,77,140,0.10);
  --radius: 14px;
  --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; overflow-x: hidden; }

/* ---- EMERGENCY TICKER ---- */
.emergency-ticker { background: var(--accent2); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .04em; padding: 6px 0; overflow: hidden; white-space: nowrap; position: relative; z-index: 200; }
.ticker-inner { display: inline-block; animation: ticker 32s linear infinite; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-inner span { margin: 0 48px; }
.ticker-inner a { color: #fff; text-decoration: underline; }

/* ---- HEADER ---- */
header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1.5px solid var(--border); box-shadow: 0 2px 18px rgba(10,77,140,.07); }
.header-top { background: var(--primary-dark); color: #fff; font-size: .78rem; display: flex; justify-content: space-between; align-items: center; padding: 5px 5%; }
.header-top a { color: var(--accent); text-decoration: none; margin-left: 14px; }
.header-top a:hover { text-decoration: underline; }
.header-main { display: flex; align-items: center; justify-content: space-between; padding: 0 5%; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.logo-icon { width: 52px; height: 52px; background: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 3px 12px rgba(10,77,140,.35); }
.logo-icon svg { width: 30px; height: 30px; fill: #fff; }
.logo-text h1 { font-family: 'Playfair Display', serif; font-size: 1.35rem; color: var(--primary-dark); line-height: 1.15; }
.logo-text p { font-size: .68rem; color: var(--text-muted); letter-spacing: .05em; text-transform: uppercase; }
nav { display: flex; gap: 4px; align-items: center; flex-wrap: nowrap; }
nav a { text-decoration: none; color: var(--text); font-size: .85rem; font-weight: 500; padding: 7px 13px; border-radius: 8px; transition: all .2s; white-space: nowrap; }
nav a:hover, nav a.active { color: var(--primary); background: rgba(10,77,140,.07); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--primary); border-radius: 3px; transition: all .3s; }

/* ---- BUTTONS ---- */
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 22px; border-radius: 9px; font-weight: 600; font-size: .88rem; cursor: pointer; border: none; text-decoration: none; transition: all .22s; font-family: 'DM Sans', sans-serif; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 3px 14px rgba(10,77,140,.3); }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(10,77,140,.38); }
.btn-emergency { background: var(--accent2); color: #fff; box-shadow: 0 3px 14px rgba(230,57,70,.3); }
.btn-emergency:hover { background: #c1121f; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #0096b8; }
.btn-ghost { background: rgba(255,255,255,.15); color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.25); }

/* ---- SECTIONS ---- */
.section-pad { padding: 72px 5%; }
.bg-white { background: #fff; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag { display: inline-block; background: rgba(10,77,140,.08); color: var(--primary); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 14px; border-radius: 50px; margin-bottom: 12px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--primary-dark); margin-bottom: 12px; }
.section-header p { color: var(--text-muted); max-width: 520px; margin: 0 auto; font-size: .95rem; }
.section-h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.4rem, 2.5vw, 2rem); color: var(--primary-dark); margin: 12px 0 14px; }
.section-p { color: var(--text-muted); font-size: .92rem; max-width: 460px; }
.text-center { text-align: center; }

/* ---- PAGE HERO ---- */
.page-hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 64px 5%; color: #fff; text-align: center; }
.page-hero .section-tag { background: rgba(255,255,255,.15); color: #fff; }
.page-hero h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; margin: 14px 0 10px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto; }

/* ---- HERO ---- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; background: linear-gradient(135deg, var(--primary-dark) 0%, #1a4f8c 60%, #00b4d8 100%); }
.hero-bg { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-content { position: relative; z-index: 2; max-width: 680px; padding: 60px 5%; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; padding: 7px 16px; border-radius: 50px; margin-bottom: 22px; backdrop-filter: blur(8px); }
.pulse-dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .7; } }
.hero h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3.5rem); color: #fff; line-height: 1.15; margin-bottom: 18px; }
.hero h2 em { font-style: normal; color: var(--gold); }
.hero p { color: rgba(255,255,255,.8); font-size: 1rem; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 44px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 16px; }
.stat-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(12px); border-radius: 12px; padding: 14px 22px; text-align: center; color: #fff; }
.stat-card .num { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--gold); }
.stat-card .label { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
.hero-visual { position: absolute; right: 0; bottom: 0; width: 42%; max-width: 560px; opacity: .2; pointer-events: none; }

/* ---- FLOATING BUTTONS ---- */
.emergency-float { position: fixed; bottom: 80px; right: 20px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 4px 18px rgba(0,0,0,.25); transition: transform .2s; cursor: pointer; border: none; font-size: 1.2rem; }
.float-btn:hover { transform: scale(1.12); }
.float-emergency { background: var(--accent2); }
.float-whatsapp { background: #25d366; }
.float-call { background: var(--primary); }

/* ---- SERVICES GRID ---- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.service-card { background: #fff; border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--card-shadow); border: 1.5px solid var(--border); transition: all .28s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(10,77,140,.16); border-color: var(--primary); }
.svc-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1rem; font-weight: 600; color: var(--primary-dark); margin-bottom: 8px; }
.service-card p { font-size: .83rem; color: var(--text-muted); line-height: 1.6; }

/* ---- DOCTORS GRID ---- */
.doctors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.doctor-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); border: 1.5px solid var(--border); transition: all .28s; }
.doctor-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(10,77,140,.16); }
.doc-avatar { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 3.8rem; }
.doc-info { padding: 18px; }
.doc-info h3 { font-size: 1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 3px; }
.doc-info .specialty { font-size: .78rem; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.doc-meta { font-size: .78rem; color: var(--text-muted); margin-bottom: 5px; }
.doc-schedule { font-size: .75rem; color: var(--text-muted); margin-bottom: 14px; }

/* ---- AMBULANCE ---- */
.ambulance-card { background: linear-gradient(135deg, var(--accent2), #c1121f); color: #fff; border-radius: var(--radius); padding: 34px; display: flex; align-items: center; gap: 24px; box-shadow: 0 8px 30px rgba(230,57,70,.3); }
.ambulance-icon { font-size: 3.5rem; flex-shrink: 0; }
.ambulance-info h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 8px; }
.ambulance-info p { font-size: .88rem; opacity: .88; margin-bottom: 16px; }

/* ---- OPD TOKEN ---- */
.opd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 900px; margin: 0 auto; }
.token-display { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--card-shadow); text-align: center; border: 2px solid var(--border); }
.token-number { font-family: 'Playfair Display', serif; font-size: 4.5rem; font-weight: 700; color: var(--primary); line-height: 1; }
.token-label { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.token-status { display: inline-flex; align-items: center; gap: 7px; background: #dcfce7; color: #16a34a; padding: 6px 16px; border-radius: 50px; font-size: .8rem; font-weight: 600; margin-top: 12px; }

/* ---- BED AVAILABILITY ---- */
.bed-availability-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; max-width: 800px; margin: 0 auto; }
.bed-ward { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--card-shadow); text-align: center; }
.available-ward { border: 2px solid #dcfce7; }
.icu-ward { border: 2px solid #fef9c3; }
.maternity-ward { border: 2px solid #fce7f3; }
.ward-count { font-size: 2rem; font-weight: 700; }
.available-ward .ward-count { color: #16a34a; }
.icu-ward .ward-count { color: #d97706; }
.maternity-ward .ward-count { color: #be185d; }
.ward-label { font-size: .8rem; color: var(--text-muted); margin-top: 4px; margin-bottom: 12px; }
.bed-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-top: 12px; }
.bed-unit { aspect-ratio: 1; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: .6rem; font-weight: 700; border: 2px solid; }
.bed-available { background: #dcfce7; border-color: #16a34a; color: #16a34a; }
.bed-occupied { background: #fee2e2; border-color: var(--accent2); color: var(--accent2); }

/* ---- TESTIMONIALS ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.testi-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--card-shadow); border: 1.5px solid var(--border); position: relative; }
.testi-card::before { content: '\201C'; font-family: 'Playfair Display', serif; font-size: 5rem; color: var(--accent); position: absolute; top: 8px; left: 18px; line-height: 1; opacity: .2; }
.testi-text { font-size: .88rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 18px; padding-top: 18px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.testi-name h4 { font-size: .9rem; font-weight: 700; color: var(--primary-dark); }
.testi-name p { font-size: .75rem; color: var(--text-muted); }
.stars { color: var(--gold); font-size: .9rem; margin-bottom: 8px; }

/* ---- BLOG ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); border: 1.5px solid var(--border); transition: all .28s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(10,77,140,.14); }
.blog-img { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.blog-body { padding: 20px; }
.blog-body h3 { font-size: 1rem; font-weight: 700; color: var(--primary-dark); margin: 10px 0 8px; line-height: 1.4; }
.blog-body p { font-size: .83rem; color: var(--text-muted); margin-bottom: 12px; }
.blog-link { color: var(--primary); font-size: .83rem; font-weight: 600; text-decoration: none; }
.blog-link:hover { text-decoration: underline; }

/* ---- CTA SECTION ---- */
.cta-section { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 70px 5%; text-align: center; color: #fff; }
.cta-content h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-content p { opacity: .85; margin-bottom: 28px; font-size: .95rem; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---- DEPARTMENTS ---- */
.dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.dept-card { background: #fff; border-radius: var(--radius); padding: 28px 20px; text-align: center; box-shadow: var(--card-shadow); border: 1.5px solid var(--border); transition: all .25s; cursor: pointer; }
.dept-card:hover { background: var(--primary); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(10,77,140,.22); }
.dept-card:hover h3, .dept-card:hover p { color: #fff; }
.dept-icon { font-size: 2.4rem; margin-bottom: 14px; }
.dept-card h3 { font-size: .95rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 7px; transition: color .25s; }
.dept-card p { font-size: .78rem; color: var(--text-muted); line-height: 1.5; transition: color .25s; }

/* ---- ABOUT ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-visual { background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 20px; padding: 44px; display: flex; align-items: center; justify-content: center; font-size: 7rem; color: #fff; min-height: 360px; }
.about-content h2 { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--primary-dark); margin-bottom: 16px; }
.about-content p { color: var(--text-muted); margin-bottom: 14px; font-size: .92rem; }
.vision-mission { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.vm-card { background: var(--bg); border-radius: 12px; padding: 20px; border-left: 4px solid var(--primary); }
.vm-card.mission { border-left-color: var(--accent); }
.vm-card h4 { font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; font-size: .95rem; }
.vm-card p { font-size: .83rem; color: var(--text-muted); }
.cert-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cert-badge { background: #fff; border: 1.5px solid var(--border); border-radius: 9px; padding: 8px 16px; font-size: .78rem; font-weight: 700; color: var(--primary); }

/* ---- GALLERY ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; position: relative; cursor: pointer; box-shadow: var(--card-shadow); }
.gallery-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 2.8rem; transition: transform .35s; }
.gallery-item:hover .gallery-placeholder { transform: scale(1.07); }
.gallery-tag { position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: .72rem; padding: 4px 10px; border-radius: 50px; backdrop-filter: blur(4px); }

/* ---- APPOINTMENT FORM ---- */
.appt-wrapper { max-width: 920px; margin: 0 auto; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.18); display: grid; grid-template-columns: 1fr 1.4fr; }
.appt-left { background: linear-gradient(160deg, var(--primary), var(--accent)); padding: 44px 34px; color: #fff; }
.appt-left h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; margin-bottom: 14px; }
.appt-left p { font-size: .88rem; opacity: .85; margin-bottom: 28px; }
.appt-info { display: flex; flex-direction: column; gap: 16px; }
.appt-info-item { display: flex; align-items: center; gap: 11px; font-size: .85rem; }
.appt-info-item .icon { width: 36px; height: 36px; background: rgba(255,255,255,.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.payment-methods { margin-top: 26px; padding: 18px; background: rgba(255,255,255,.1); border-radius: 12px; border: 1px solid rgba(255,255,255,.2); }
.payment-methods h4 { font-size: .88rem; margin-bottom: 10px; }
.payment-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.payment-tag { background: rgba(255,255,255,.15); padding: 4px 10px; border-radius: 6px; font-size: .75rem; }
.appt-right { padding: 40px 36px; }
.appt-right h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--primary-dark); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .8rem; font-weight: 600; color: var(--text); margin-bottom: 6px; letter-spacing: .02em; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 9px; font-family: 'DM Sans', sans-serif; font-size: .88rem; color: var(--text); background: #fff; transition: border-color .2s, box-shadow .2s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,77,140,.1); }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.contact-info h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--primary-dark); margin-bottom: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-icon { width: 44px; height: 44px; background: rgba(10,77,140,.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-item h4 { font-size: .9rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
.contact-item p { font-size: .83rem; color: var(--text-muted); }
.map-placeholder { border-radius: 14px; background: linear-gradient(135deg, #e8f0fe, #d4e8ff); height: 240px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; margin-top: 16px; border: 2px dashed var(--border); }
.contact-form { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--card-shadow); }
.contact-form h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--primary-dark); margin-bottom: 22px; }

/* ---- SERVICES DETAIL ---- */
.services-detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.service-detail-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); border: 1.5px solid var(--border); transition: all .28s; }
.service-detail-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(10,77,140,.14); }
.sdc-top { padding: 32px 26px; text-align: center; }
.sdc-icon { font-size: 3rem; margin-bottom: 16px; }
.sdc-top h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 9px; }
.sdc-top p { font-size: .83rem; color: var(--text-muted); line-height: 1.65; }
.sdc-bottom { padding: 14px 26px; background: var(--bg); border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.sdc-bottom span { font-size: .78rem; color: var(--text-muted); }

/* ---- PACKAGES ---- */
.packages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.package-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); border: 2px solid var(--border); transition: all .28s; }
.package-card.popular { border-color: var(--gold); transform: scale(1.02); }
.package-card:hover { transform: scale(1.03); box-shadow: 0 12px 36px rgba(10,77,140,.16); }
.package-card.popular:hover { transform: scale(1.04); }
.pkg-top { padding: 24px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; text-align: center; position: relative; }
.pkg-badge { position: absolute; top: 12px; right: 12px; background: var(--gold); color: #1a2340; font-size: .68rem; font-weight: 800; padding: 3px 10px; border-radius: 50px; text-transform: uppercase; letter-spacing: .05em; }
.pkg-top h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 8px; }
.pkg-price { font-size: 2rem; font-weight: 700; color: var(--gold); }
.pkg-price span { font-size: .85rem; color: rgba(255,255,255,.7); }
.pkg-body { padding: 24px; }
.pkg-features { list-style: none; margin-bottom: 20px; }
.pkg-features li { font-size: .84rem; color: var(--text-muted); padding: 7px 0; border-bottom: 1px dashed var(--border); display: flex; align-items: center; gap: 9px; }
.pkg-features li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }

/* ---- BADGES ---- */
.badge { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: .72rem; font-weight: 700; }
.badge-green { background: #dcfce7; color: #16a34a; }
.badge-yellow { background: #fef9c3; color: #a16207; }
.badge-red { background: #fee2e2; color: var(--accent2); }
.badge-blue { background: #dbeafe; color: var(--primary); }

/* ---- NOTIFICATIONS ---- */
.notif { position: fixed; top: 90px; right: 20px; z-index: 9999; background: #fff; border-radius: 12px; padding: 14px 20px; box-shadow: 0 8px 30px rgba(0,0,0,.15); border-left: 4px solid var(--success); display: flex; align-items: center; gap: 11px; font-size: .87rem; font-weight: 500; color: var(--text); transform: translateX(150%); transition: transform .35s; max-width: 320px; }
.notif.show { transform: translateX(0); }
.notif.error { border-left-color: var(--accent2); }

/* ---- FOOTER ---- */
footer { background: var(--primary-dark); color: rgba(255,255,255,.8); padding: 64px 5% 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 48px; }
.footer-brand h2 { font-family: 'Playfair Display', serif; color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.footer-brand p { font-size: .83rem; line-height: 1.75; max-width: 260px; margin-bottom: 20px; }
.social-links { display: flex; gap: 10px; }
.social-link { width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; text-decoration: none; color: #fff; font-size: .9rem; transition: background .2s; }
.social-link:hover { background: var(--accent); }
.footer-col h4 { color: #fff; font-size: .88rem; font-weight: 700; margin-bottom: 18px; letter-spacing: .04em; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .83rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: .78rem; }

/* ---- ANIMATIONS ---- */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .appt-wrapper { grid-template-columns: 1fr; }
  .opd-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .vision-mission { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .header-top { display: none; }
  nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 1.5px solid var(--border); flex-direction: column; padding: 16px; gap: 2px; box-shadow: 0 8px 24px rgba(0,0,0,.1); z-index: 99; }
  nav.open { display: flex; }
  nav a { padding: 11px 14px; }
  .hamburger { display: flex; }
  .hero { min-height: 80vh; }
  .hero-visual { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .doctors-grid { grid-template-columns: 1fr 1fr; }
  .ambulance-card { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .doctors-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 10px; }
  .stat-card { padding: 10px 14px; }
}
