/* ==========================================================
   Apni Talash — Design System
   Palette: cool trust-blue, warm accent, deep ink text
   Fonts: Poppins (display) + Noto Sans (body)
   ========================================================== */

:root {
  --blue-900: #0b2a5b;
  --blue-800: #103a7a;
  --blue-700: #164fa8;
  --blue-600: #1b62d0;
  --blue-500: #175cdd;
  --blue-100: #e8f0ff;
  --blue-050: #f4f7fd;

  --amber-600: #b26a00;
  --amber-500: #d98200;
  --amber-050: #fff6e6;

  --ink-900: #0f1a2e;
  --ink-700: #35435c;
  --ink-500: #5b6779;
  --ink-300: #97a1b3;
  --line-200: #e4e8ef;
  --line-100: #eef1f6;
  --paper: #ffffff;
  --paper-tint: #fafbfd;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-xs: 0 1px 2px rgba(15, 26, 46, .05);
  --shadow-sm: 0 2px 6px rgba(15, 26, 46, .06);
  --shadow-md: 0 6px 20px rgba(15, 26, 46, .08);
  --shadow-lg: 0 14px 40px rgba(15, 26, 46, .12);

  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Noto Sans', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-800); }
img { max-width: 100%; display: block; }

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

/* ==========================================================
   Reusable Bits
   ========================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2b7a0b;
  box-shadow: 0 0 0 0 rgba(43, 122, 11, .5);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(43, 122, 11, .5); }
  70%  { box-shadow: 0 0 0 10px rgba(43, 122, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 122, 11, 0); }
}

.btn-primary-solid,
.btn-book-solid,
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue-500);
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--blue-500);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary-solid:hover,
.btn-book-solid:hover,
.btn-nav-cta:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #fff !important;
}
.btn-primary-solid.large {
  font-size: 16px;
  padding: 16px 30px;
}

/* ==========================================================
   Top strip & Navbar
   ========================================================== */

.top-strip {
  background: var(--blue-900);
  color: #d5e0f5;
  font-size: 13px;
  padding: 8px 0;
}

.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--line-200);
  padding: 14px 0;
  position: sticky; top: 0; z-index: 40;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink-900);
}
.brand-mark {
  width: 38px; height: 38px;
  background: var(--blue-500);
  color: #fff;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: 1px;
}
.brand-mark.light { background: #fff; color: var(--blue-700); }
.brand-dot { color: var(--amber-500); margin: 0 -1px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px;
  color: inherit;
  line-height: 1;
}
.brand-sub {
  font-weight: 500; font-size: 12px;
  color: var(--ink-500); margin-left: 4px;
}
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500; font-size: 14.5px;
  color: var(--ink-700);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 180ms, border-color 180ms;
}
.main-nav a:hover { color: var(--blue-700); border-color: var(--blue-500); }

/* ==========================================================
   Landing (index.html) — Two-Door Layout
   ========================================================== */

.landing-body { background: var(--paper-tint); }

.landing-hero {
  padding: 60px 0 100px;
}
.landing-intro {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.landing-intro h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 6px 0 12px;
}
.landing-intro p {
  color: var(--ink-500);
  font-size: 17px;
  margin: 0;
}

.two-doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 940px;
  margin: 0 auto;
}
@media (max-width: 780px) {
  .two-doors { grid-template-columns: 1fr; gap: 20px; }
}

.door {
  display: block;
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.door.door-open:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-500);
}
.door.door-locked { opacity: 0.88; }

.door-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.door-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.door-locked .door-icon { background: #f2f4f8; color: var(--ink-500); }

.door-status {
  font-family: var(--font-display);
  font-size: 11.5px; font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.door-status.live {
  background: #e8f5ea; color: #1f6b2b;
  display: inline-flex; align-items: center; gap: 6px;
}
.door-status.live .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #1f6b2b;
}
.door-status.soon { background: var(--amber-050); color: var(--amber-600); }

.door h2 {
  font-size: 22px;
  margin: 0 0 8px;
}
.door-tagline {
  color: var(--ink-500);
  font-size: 15px;
  margin: 0 0 18px;
}
.door-list {
  list-style: none; padding: 0; margin: 0 0 24px;
}
.door-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--ink-700);
}
.door-list li i { color: var(--blue-500); font-size: 16px; }
.door-list.muted li { color: var(--ink-500); }
.door-list.muted li i { color: var(--ink-300); }

.door-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line-100);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--blue-700);
  font-size: 14.5px;
}
.door-foot.muted { color: var(--ink-500); }
.door-open:hover .door-foot i { transform: translateX(4px); }
.door-foot i { transition: transform 200ms; }

.site-foot {
  border-top: 1px solid var(--line-200);
  padding: 22px 0;
  font-size: 13.5px;
  color: var(--ink-500);
  background: #fff;
}
.site-foot a { color: var(--ink-700); }

/* ==========================================================
   Centre (doctors.html) — Clinic-style Hero
   ========================================================== */

.centre-body { background: #fff; }

.clinic-hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(23,92,221,.08), transparent 60%),
    linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.clinic-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .clinic-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .clinic-hero { padding: 50px 0 60px; }
}

/* Trust badges pills */
.clinic-trust-badges {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 26px;
}
.clinic-badge-item {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--line-200);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500; font-size: 13px;
  color: var(--ink-700);
  box-shadow: var(--shadow-xs);
}
.clinic-badge-item i { color: var(--blue-600); font-size: 14px; }

.clinic-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink-900);
}
.clinic-highlight {
  color: var(--blue-600);
  position: relative;
  white-space: nowrap;
}
.clinic-highlight::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 10px;
  background: rgba(23,92,221,.15);
  border-radius: 4px;
  z-index: -1;
}

.clinic-hero-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-500);
  margin: 0 0 30px;
  max-width: 540px;
}

.clinic-hero-stats {
  display: flex; gap: 40px;
  margin-bottom: 32px;
  padding: 22px 0;
  border-top: 1px solid var(--line-200);
  border-bottom: 1px solid var(--line-200);
}
.clinic-stat h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--blue-700);
  margin: 0;
  line-height: 1.1;
}
.clinic-stat p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-500);
}
@media (max-width: 500px) {
  .clinic-hero-stats { gap: 24px; }
  .clinic-stat h3 { font-size: 20px; }
}

.clinic-hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.clinic-btn-primary,
.clinic-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 180ms ease;
  border: 2px solid transparent;
}
.clinic-btn-primary {
  background: var(--blue-500);
  color: #fff !important;
  border-color: var(--blue-500);
}
.clinic-btn-primary:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(23,92,221,.25);
}
.clinic-btn-outline {
  background: transparent;
  color: var(--ink-900) !important;
  border-color: var(--line-200);
}
.clinic-btn-outline:hover {
  border-color: var(--blue-500);
  color: var(--blue-700) !important;
}
.clinic-btn-outline i { color: var(--blue-600); font-size: 18px; }

.clinic-emergency {
  display: inline-flex; align-items: center; gap: 14px;
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  box-shadow: var(--shadow-sm);
}
.clinic-emergency-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.clinic-emergency-info small {
  display: block;
  font-size: 12px;
  color: var(--ink-500);
}
.clinic-emergency-info strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-900);
}

/* Right column - visual */
.clinic-hero-right { position: relative; }
.clinic-hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  max-width: 500px;
  margin: 0 auto;
}
.clinic-hero-visual > img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(23,92,221,.15);
  position: relative;
  z-index: 2;
}

/* Floating cards */
.clinic-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.clinic-float h6 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-900);
  margin: 0 0 2px;
}
.clinic-float p {
  margin: 0;
  font-size: 14px;
  color: var(--blue-700);
  font-weight: 600;
}
.clinic-float small {
  font-size: 12px;
  color: var(--ink-500);
}

.clinic-float-appt {
  top: 40px; left: -30px;
  display: flex; align-items: center; gap: 12px;
  min-width: 210px;
}
.clinic-float-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.clinic-float-rating {
  bottom: 50px; right: -20px;
  text-align: center;
  min-width: 130px;
}
.clinic-stars {
  color: #d98200;
  font-size: 12px;
  margin-bottom: 4px;
  letter-spacing: 1px;
}
.clinic-float-rating h6 {
  font-size: 22px;
  color: var(--ink-900);
  margin: 2px 0;
}

@media (max-width: 500px) {
  .clinic-float-appt { left: 0; top: 20px; }
  .clinic-float-rating { right: 0; bottom: 20px; }
}

/* Background decorative elements */
.clinic-bg-el {
  position: absolute;
  border-radius: 50%;
  opacity: 0.7;
  z-index: 1;
}
.clinic-bg-1 {
  width: 220px; height: 220px;
  background: rgba(23,92,221,.08);
  top: -40px; right: -40px;
}
.clinic-bg-2 {
  width: 140px; height: 140px;
  background: rgba(217,130,0,.1);
  bottom: -30px; left: -30px;
}
.clinic-bg-3 {
  width: 80px; height: 80px;
  background: rgba(23,92,221,.06);
  top: 40%; left: -50px;
}

/* ==========================================================
   Section head
   ========================================================== */
.section-head {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 0;
}

/* ==========================================================
   How It Works
   ========================================================== */
.how-section {
  padding: 90px 0;
  background: #fff;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 780px) { .steps-grid { grid-template-columns: 1fr; } }

.step {
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 200ms, transform 200ms;
}
.step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--blue-500);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.step h3 {
  font-size: 18px; margin: 0 0 8px;
}
.step p { margin: 0; color: var(--ink-500); font-size: 15px; }

/* ==========================================================
   Doctors Grid
   ========================================================== */
.doctors-section {
  padding: 90px 0;
  background: var(--paper-tint);
  border-top: 1px solid var(--line-100);
  border-bottom: 1px solid var(--line-100);
}
.filter-row {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-pill {
  padding: 9px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-200);
  font-family: var(--font-body); font-weight: 500;
  font-size: 14px;
  color: var(--ink-700);
  cursor: pointer;
  transition: background 180ms, color 180ms, border-color 180ms;
}
.filter-pill:hover { border-color: var(--blue-500); color: var(--blue-700); }
.filter-pill.active {
  background: var(--blue-500);
  border-color: var(--blue-500);
  color: #fff;
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .doctors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .doctors-grid { grid-template-columns: 1fr; } }

.doc-card {
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 220ms, transform 220ms, border-color 220ms;
  display: flex;
  flex-direction: column;
}
.doc-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #d5deed;
}
.doc-photo {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--blue-100);
  overflow: hidden;
}
.doc-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.doc-mode {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.doc-mode.video { background: rgba(43, 122, 11, .1); color: #1f6b2b; }
.doc-mode.clinic { background: var(--blue-100); color: var(--blue-700); }

.doc-info { padding: 20px; }
.doc-tag {
  font-family: var(--font-display); font-weight: 600;
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-600);
  margin-bottom: 4px;
}
.doc-info h3 {
  font-size: 17px;
  margin: 0 0 4px;
}
.doc-qual {
  font-size: 13.5px;
  color: var(--ink-500);
  margin: 0 0 12px;
}
.doc-meta {
  display: flex; gap: 16px;
  font-size: 13px; color: var(--ink-500);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-100);
  margin-bottom: 14px;
}
.doc-meta i { color: var(--ink-300); margin-right: 4px; }
.doc-meta .bi-star-fill { color: #d98200; }

.doc-foot {
  display: flex; justify-content: space-between; align-items: center;
}
.doc-fee {
  font-family: var(--font-display); font-weight: 700;
  font-size: 17px; color: var(--ink-900);
  display: block;
}
.doc-foot small { font-size: 12px; color: var(--ink-500); }
.btn-book-solid {
  padding: 10px 20px;
  font-size: 14px;
}

/* ==========================================================
   Testimonials
   ========================================================== */
.voices-section { padding: 90px 0; background: #fff; }
.voices-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 780px) { .voices-grid { grid-template-columns: 1fr; } }
.voice {
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  background: #fff;
  position: relative;
}
.voice::before {
  content: '"';
  position: absolute; top: 8px; right: 22px;
  font-family: var(--font-display);
  font-size: 60px; color: var(--blue-100);
  line-height: 1;
}
.voice p {
  color: var(--ink-700);
  font-size: 15px;
  margin: 0 0 20px;
  position: relative;
}
.voice footer {
  display: flex; flex-direction: column;
  font-size: 13.5px;
}
.voice footer strong {
  font-family: var(--font-display); font-weight: 600;
  color: var(--ink-900);
}
.voice footer span { color: var(--ink-500); }

/* ==========================================================
   FAQ
   ========================================================== */
.faq-section {
  padding: 90px 0;
  background: var(--paper-tint);
  border-top: 1px solid var(--line-100);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 780px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }
.faq-grid h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 30px); }
.faq-help { color: var(--ink-500); font-size: 15px; }

.faq-list details {
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  padding: 0 20px;
  transition: border-color 180ms;
}
.faq-list details[open] { border-color: var(--blue-500); }
.faq-list summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-900);
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 20px; color: var(--blue-500);
  font-weight: 400;
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p {
  padding: 0 0 18px;
  margin: 0;
  color: var(--ink-500);
  font-size: 14.5px;
}

/* ==========================================================
   Final CTA
   ========================================================== */
.final-cta { padding: 60px 0; background: #fff; }
.cta-box {
  background: var(--blue-900);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  color: #fff;
}
@media (max-width: 700px) { .cta-box { flex-direction: column; text-align: center; padding: 32px 24px; } }
.cta-box h2 { color: #fff; margin: 0 0 6px; font-size: 26px; }
.cta-box p { color: rgba(255,255,255,.75); margin: 0; }
.cta-box .btn-primary-solid {
  background: #fff; color: var(--blue-700) !important;
  border-color: #fff;
}
.cta-box .btn-primary-solid:hover {
  background: var(--blue-100); border-color: var(--blue-100);
  color: var(--blue-800) !important;
}

/* ==========================================================
   Appointment Page
   ========================================================== */
.appt-head {
  background: linear-gradient(180deg, var(--blue-050) 0%, #fff 100%);
  padding: 22px 0 28px;
  border-bottom: 1px solid var(--line-100);
}
.appt-head .container,
.appt-body .container { max-width: 1360px; }
.crumb {
  font-size: 13px; color: var(--ink-500);
  margin-bottom: 20px;
  display: flex; gap: 8px; align-items: center;
}
.crumb a { color: var(--ink-500); }
.crumb a:hover { color: var(--blue-700); }
.crumb i { font-size: 11px; color: var(--ink-300); }
.crumb span { color: var(--ink-900); font-weight: 500; }

.appt-doctor-head {
  display: flex; gap: 20px; align-items: center;
}
.appt-doctor-avatar {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}
.appt-doctor-head h1 {
  font-size: clamp(20px, 2.2vw, 26px);
  margin: 2px 0 2px;
}
.appt-doctor-head p { margin: 0; color: var(--ink-500); font-size: 14.5px; }

.appt-body { padding: 28px 0 60px; background: var(--paper-tint); }

.appt-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) { .appt-layout { grid-template-columns: 1fr; } }

.appt-form {
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}
@media (max-width: 500px) { .appt-form { padding: 22px; } }

.appt-block { margin-bottom: 22px; }
.appt-block:last-of-type { margin-bottom: 24px; }

.block-head {
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 16px;
}
.step-badge {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: 13px;
}
.block-head h3 {
  margin: 0; font-size: 17px; color: var(--ink-900);
}

/* Type toggle */
.type-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
@media (max-width: 500px) { .type-toggle { grid-template-columns: 1fr; } }
.type-opt {
  background: #fff;
  border: 2px solid var(--line-200);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex; align-items: center; gap: 14px;
  text-align: left;
  cursor: pointer;
  transition: all 180ms;
  position: relative;
}
.type-opt:hover { border-color: #b8c8e6; }
.type-opt.active { border-color: var(--blue-500); background: var(--blue-050); }
.type-opt-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #f2f5fa;
  color: var(--ink-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.type-opt.active .type-opt-icon { background: var(--blue-500); color: #fff; }
.type-opt-label { flex: 1; }
.type-opt-label strong {
  display: block;
  font-family: var(--font-display); font-weight: 600;
  font-size: 14.5px; color: var(--ink-900);
}
.type-opt-label small { font-size: 12.5px; color: var(--ink-500); }
.type-opt-check {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line-200);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px;
}
.type-opt.active .type-opt-check {
  background: var(--blue-500); border-color: var(--blue-500);
}
.type-opt:not(.active) .type-opt-check i { display: none; }

/* Date strip */
.date-strip {
  display: flex; gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.date-strip::-webkit-scrollbar { height: 4px; }
.date-strip::-webkit-scrollbar-thumb { background: var(--line-200); border-radius: 4px; }

.date-chip {
  min-width: 68px;
  padding: 10px 8px;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  background: #fff;
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  transition: all 180ms;
  font-family: var(--font-body);
}
.date-chip:hover { border-color: var(--blue-500); }
.date-chip.active {
  background: var(--blue-500);
  border-color: var(--blue-500);
  color: #fff;
}
.date-chip .d-name { font-size: 11px; color: var(--ink-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.date-chip .d-num  { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink-900); line-height: 1.1; }
.date-chip .d-mon  { font-size: 11px; color: var(--ink-500); }
.date-chip.active .d-name,
.date-chip.active .d-num,
.date-chip.active .d-mon { color: #fff; }

/* Time grid */
.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
}
.time-chip {
  padding: 10px 8px;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  background: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--ink-700);
  cursor: pointer;
  transition: all 180ms;
}
.time-chip:hover { border-color: var(--blue-500); color: var(--blue-700); }
.time-chip.active {
  background: var(--blue-500); border-color: var(--blue-500); color: #fff;
}

/* Fields */
.field-group { margin-bottom: 18px; }
.field-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.optional {
  color: var(--ink-300); font-weight: 400; font-size: 12px;
  margin-left: 4px;
}
.ff {
  width: 100%;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-900);
  background: #fff;
  outline: none;
  transition: border-color 180ms;
}
.ff:focus { border-color: var(--blue-500); }

.phone-input {
  display: flex;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  transition: border-color 180ms;
}
.phone-input:focus-within { border-color: var(--blue-500); }
.phone-prefix {
  padding: 12px 14px;
  background: var(--paper-tint);
  border-right: 1px solid var(--line-200);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-900);
  white-space: nowrap;
}
.phone-input input {
  flex: 1;
  border: 0; outline: 0; background: transparent;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-900);
}
.field-help  { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ink-500); }
.field-error { display: block; margin-top: 6px; font-size: 12.5px; color: #c53030; }

.btn-confirm-full {
  width: 100%;
  background: var(--blue-500);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 180ms, box-shadow 180ms;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-confirm-full:hover {
  background: var(--blue-700);
  box-shadow: 0 8px 20px rgba(23,92,221,.25);
}
.btn-confirm-full i { font-size: 18px; }

/* Sidebar */
.appt-side {
  display: flex; flex-direction: column; gap: 20px;
  position: sticky; top: 90px;
}
@media (max-width: 900px) { .appt-side { position: static; } }

.summary-card, .side-card {
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}
.summary-card h4, .side-card h4 {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--ink-900);
  display: flex; align-items: center; gap: 8px;
}
.summary-card h4 i, .side-card h4 i { color: var(--blue-600); font-size: 16px; }

.sum-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 7px 0;
  font-size: 13.5px;
}
.sum-row span { color: var(--ink-500); }
.sum-row strong {
  color: var(--ink-900);
  font-family: var(--font-display); font-weight: 600;
  text-align: right; max-width: 60%;
}
.sum-row.total {
  padding-top: 12px;
  font-size: 15px;
}
.sum-row.total strong { color: var(--blue-700); font-size: 17px; }
.sum-divider { height: 1px; background: var(--line-100); margin: 8px 0; }

.side-card { text-align: center; }
.side-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin: 0 auto 12px;
}
.side-card p { color: var(--ink-500); font-size: 13.5px; margin-bottom: 12px; }
.side-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--blue-050);
  color: var(--blue-700) !important;
  border-radius: var(--radius-md);
  font-family: var(--font-display); font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.side-cta:hover { background: var(--blue-100); }

.prev-appt {
  padding: 12px 14px;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  text-align: left;
}
.prev-appt strong { display: block; font-size: 14px; color: var(--ink-900); font-family: var(--font-display); font-weight: 600; }
.prev-appt span { display: block; font-size: 12.5px; color: var(--ink-700); margin-top: 2px; }
.prev-appt small { display: block; font-size: 12px; color: var(--ink-500); }

/* Success modal */
.success-modal {
  border: 0;
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
}
.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #e8f5ea;
  color: #1f6b2b;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  margin: 0 auto 20px;
}
.success-modal h3 {
  font-size: 22px; color: var(--ink-900);
  margin: 0 0 6px;
}
.success-modal > p { color: var(--ink-500); margin-bottom: 20px; }
.success-details {
  background: var(--paper-tint);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
  margin-bottom: 20px;
}

/* ==========================================================
   Centre Footer
   ========================================================== */
.centre-footer {
  background: var(--ink-900);
  color: #b3bccc;
  padding: 60px 0 24px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 780px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-grid h5 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 14px;
}
.foot-grid a {
  display: block;
  color: #b3bccc;
  font-size: 14px;
  padding: 5px 0;
  text-decoration: none;
}
.foot-grid a:hover { color: #fff; }
.foot-blurb { font-size: 14px; margin-top: 14px; color: #8792a4; max-width: 280px; }
.foot-addr { display: block; padding-top: 6px; color: #8792a4; font-size: 13px; }
.foot-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding-top: 20px;
  font-size: 13px;
  color: #7683a0;
}
