/* opd.html — page-specific styles only */

/* QUICK STATS STRIP */
.opd-strip { background: var(--cream); border-bottom: 1px solid var(--purple-m); padding: 20px 48px; }
.opd-strip-inner { max-width: 1100px; margin: 0 auto; display: flex; gap: 48px; align-items: center; justify-content: center; flex-wrap: wrap; }
.opd-stat { display: flex; align-items: center; gap: 12px; }
.opd-stat-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--purple-l); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.opd-stat strong { display: block; font-size: 18px; font-weight: 800; color: var(--navy); line-height: 1; }
.opd-stat span { font-size: 12px; color: var(--muted); font-weight: 600; }

/* SECTION */
.section { padding: 72px 48px; max-width: 1100px; margin: 0 auto; }
.section-label { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.section-label::before { content: ''; width: 24px; height: 3px; background: var(--green); border-radius: 2px; }
h2.sec-title { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3vw, 38px); color: var(--navy); line-height: 1.25; margin-bottom: 16px; }

/* OPD LOCATION CARDS */
.opd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 36px; }
.opd-card { background: var(--white); border-radius: 20px; border: 2px solid var(--border); overflow: hidden; transition: all .25s; }
.opd-card:hover { border-color: var(--purple); box-shadow: 0 16px 40px rgba(124,49,119,.12); transform: translateY(-4px); }
.opd-card.main-clinic { border-color: var(--purple); background: linear-gradient(135deg, var(--purple-l) 0%, var(--white) 100%); }
.opd-card-header { padding: 20px 24px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 14px; }
.opd-num { width: 40px; height: 40px; border-radius: 10px; background: var(--purple); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; flex-shrink: 0; }
.opd-num.green { background: var(--green); }
.opd-card.main-clinic .opd-num { background: var(--purple-d); }
.main-badge { display: inline-block; background: var(--purple); color: #fff; font-size: 10px; font-weight: 800; padding: 3px 10px; border-radius: 50px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.opd-card-header h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.opd-card-header .address { font-size: 13px; color: var(--muted); line-height: 1.5; }
.opd-card-body { padding: 18px 24px; display: flex; flex-direction: column; gap: 12px; }
.opd-row { display: flex; align-items: flex-start; gap: 10px; }
.opd-row .ri { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.opd-row .rd { display: flex; flex-direction: column; gap: 2px; }
.opd-row .rd strong { font-size: 13px; color: var(--navy); font-weight: 700; }
.opd-row .rd span { font-size: 13px; color: var(--muted); }
.timing-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--green-l); border: 1px solid var(--green-m); color: var(--green); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 6px; margin-top: 2px; }
.timing-tag.purple { background: var(--purple-l); border-color: var(--purple-m); color: var(--purple); }
.timing-tag.appt { background: #FFF8E1; border-color: #FFD54F; color: #B7860B; }
.call-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--purple); color: #fff; border-radius: 10px; padding: 12px 16px; font-size: 14px; font-weight: 700; text-decoration: none; transition: all .2s; margin-top: 4px; }
.call-btn:hover { background: var(--purple-d); transform: translateY(-1px); }
.call-btn.green-btn { background: var(--green); }
.call-btn.green-btn:hover { background: #3a6025; }

/* TIMETABLE */
.timetable-wrap { background: var(--bg); }
.timetable { width: 100%; border-collapse: collapse; margin-top: 28px; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(124,49,119,.06); }
.timetable thead tr { background: var(--purple); }
.timetable thead th { padding: 14px 20px; font-size: 13px; font-weight: 800; color: #fff; text-align: left; letter-spacing: .5px; }
.timetable tbody tr { border-bottom: 1px solid var(--border); transition: background .15s; }
.timetable tbody tr:hover { background: var(--purple-l); }
.timetable tbody tr:last-child { border-bottom: none; }
.timetable tbody td { padding: 14px 20px; font-size: 14px; color: var(--text); }
.timetable tbody td:first-child { font-weight: 700; color: var(--navy); }
.timetable tbody td .time-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--green-l); border: 1px solid var(--green-m); color: var(--green); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 6px; }
.timetable tbody td .time-pill.purple { background: var(--purple-l); border-color: var(--purple-m); color: var(--purple); }
.timetable tbody td .time-pill.appt { background: #FFF8E1; border-color: #FFD54F; color: #B7860B; }
.timetable tbody tr.main-row { background: var(--purple-l); }
.timetable tbody tr.main-row td:first-child { color: var(--purple-d); }

/* HOW TO BOOK */
.book-section { padding: 72px 48px; max-width: 1100px; margin: 0 auto; }
.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.book-card { background: var(--white); border: 2px solid var(--border); border-radius: 16px; padding: 28px 24px; text-align: center; transition: all .2s; }
.book-card:hover { border-color: var(--purple); box-shadow: 0 8px 28px rgba(124,49,119,.1); transform: translateY(-4px); }
.book-step { width: 52px; height: 52px; border-radius: 14px; background: var(--purple); color: #fff; font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.book-card strong { display: block; font-size: 16px; color: var(--navy); font-weight: 700; margin-bottom: 8px; }
.book-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.book-card a { color: var(--purple); font-weight: 700; text-decoration: none; }

/* ── RESPONSIVE (page-specific) ── */
@media (max-width: 900px) {
  .opd-grid { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .page-hero, .section, .book-section { padding: 52px 20px; }
  .opd-strip { padding: 16px 20px; }
  .timetable { font-size: 12px; }
  .timetable thead th, .timetable tbody td { padding: 10px 12px; }
}
