/* ══════════════════════════════════════════════════════════════════════
   clinic-view-details.css
   Styles for templates/clinic-view-details-template.html - the server-
   rendered clinic view details page. Ported from the React components in
   ClinicViewDetails/src/components/viewDetails/*.jsx (Tailwind classes and
   inline style objects converted to plain CSS).
   ══════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════
   Design tokens - mirrored from src/utils/ClinicDetailsHelper.jsx
   ══════════════════════════════════════════════════════════════════ */
:root {
  --purple: #7c3aed;
  --orange: #f97316;
  --light-purple: #ede9fe;
  --light-orange: #fff5f0;
  --ink: #0f172a;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --font: "Poppins", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

/* ══════════════════════════════════════════════════════════════════
   NAVBAR  - shared with templates/city-template.html (publicforclinicsseo/style.css)
   ══════════════════════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #f3f4f6;
  font-family: "Poppins", sans-serif;
}

.nav-container {
  max-width: 1280px;
  margin: auto;
  padding: 0 24px;
}

.nav-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  cursor: pointer;
  flex-shrink: 0;
}

.nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.desktop-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-menu a {
  cursor: pointer;
  color: #374151;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
}

.desktop-menu a:hover {
  color: #7e22ce;
}

.book-btn {
  border: none;
  background: linear-gradient(to right, #7e22ce, #581c87);
  color: #fff;
  padding: 12px 24px;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.book-btn:hover {
  transform: scale(1.05);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: #f3e8ff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-toggle i {
  font-size: 20px;
  color: #7e22ce;
}

.mobile-menu {
  border-top: 1px solid #f3f4f6;
  background: #fff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  padding: 24px 20px;
}

.hidden {
  display: none !important;
}

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  border-radius: 16px;
  margin-bottom: 8px;
  color: #374151;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s;
}

.mobile-menu a:hover {
  background: #faf5ff;
  color: #7e22ce;
}

.mobile-book {
  width: 100%;
  margin-top: 8px;
  padding: 14px 24px;
}

/* NAVBAR MOBILE */
@media (max-width: 1279px) {
  .desktop-menu {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }
}

/* ══════════════════════════════════════════════════════════════════
   HERO  ← components/viewDetails/DentalHero.jsx
   ══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative; width: 100%; overflow-x: hidden;
  background: #0a0f1e;
}

.hero-media {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
}
.hero-media iframe,
.hero-media img { width: 100%; height: 100%; border: 0; }
.hero-media iframe { transform: scale(1.02); }
.hero-media img { object-fit: cover; object-position: center; }

.hero-controls {
  position: absolute; top: 0.75rem; left: 0.75rem; right: 0.75rem; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
}
@media (min-width: 768px) {
  .hero-controls { top: 1rem; left: 1rem; right: 1rem; }
}
.hero-lang-group {
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px; padding: 0.375rem 0.5rem;
}
.hero-lang-group > i {
  color: rgba(255, 255, 255, 0.6); margin-left: 0.375rem; font-size: 0.85rem;
}
.hero-lang-divider { width: 1px; height: 20px; background: rgba(255, 255, 255, 0.15); }
.hero-lang-btn {
  background: none; border: none; cursor: pointer;
  padding: 0.375rem 0.875rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.7); transition: all 0.3s;
}
.hero-lang-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.hero-lang-btn.active {
  background: #fff; color: var(--gray-900);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}
.hero-mute-btn {
  display: flex; align-items: center; gap: 0.375rem;
  background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(16px);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 999px;
  padding: 0.5rem 1rem; font-size: 0.8rem; font-weight: 500;
  cursor: pointer; transition: all 0.3s;
}
.hero-mute-btn:hover { background: rgba(255, 255, 255, 0.15); }

/* bottom-left clinic overlay - desktop only, same as React (hidden md:block) */
.hero-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 10;
  display: none; padding: 0 2.5rem 2.5rem; pointer-events: none;
}
@media (min-width: 768px) { .hero-overlay { display: block; } }
.hero-overlay-inner { max-width: 48rem; }
.hero-title {
  font-size: 2.5rem; font-weight: 700; color: #fff;
  line-height: 1.1; letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.hero-meta {
  margin-top: 1rem; display: flex; flex-wrap: wrap;
  align-items: center; gap: 0.5rem 1rem;
}
.hero-doctor { display: flex; align-items: center; gap: 0.5rem; }
.hero-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.75rem; font-weight: 700;
}
.hero-doctor-name { color: #fff; font-weight: 600; font-size: 1rem; }
.hero-doctor-degree { color: #fff; font-weight: 500; font-size: 0.75rem; }
.hero-divider { color: rgba(255, 255, 255, 0.2); }
.hero-address {
  display: flex; align-items: center; gap: 0.375rem;
  color: #fff; font-size: 0.875rem;
}
.hero-cta { margin-top: 1.5rem; display: flex; gap: 0.75rem; pointer-events: auto; }
.hero-book-btn {
  display: flex; align-items: center; gap: 0.5rem;
  background: #fff; color: var(--gray-900); border: none;
  padding: 0.7rem 1.25rem; border-radius: 999px;
  font-size: 0.875rem; font-weight: 600; cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.12);
  transition: transform 0.3s, box-shadow 0.3s;
}
.hero-book-btn:hover { transform: scale(1.03); }
.hero-book-btn i { color: #2563eb; }

/* ══════════════════════════════════════════════════════════════════
   MOBILE CLINIC PROFILE CARD  ← viewDetails/ClinicProfile.jsx
   ══════════════════════════════════════════════════════════════════ */
.profile-mobile { display: block; margin-bottom: 2rem; }
@media (min-width: 768px) { .profile-mobile { display: none; } }
.profile-mobile-wrap {
  display: flex; justify-content: center; align-items: center;
  background: var(--gray-100); padding: 1rem;
}
.profile-card {
  width: 100%; max-width: 24rem; background: #fff;
  border-radius: 1.5rem; padding: 1.5rem; text-align: center;
  border: 1px solid var(--gray-100);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.profile-welcome {
  font-size: 0.7rem; font-weight: 700; color: #6d28d9;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.profile-clinic-name {
  font-size: 1.25rem; font-weight: 700;
  color: var(--gray-900); margin-top: 0.25rem;
}
.profile-hr { border: none; border-top: 1px solid var(--gray-100); margin: 1rem 0; }
.profile-doctor-name { font-size: 1rem; font-weight: 700; color: var(--gray-900); }
.profile-doctor-degree {
  font-size: 0.75rem; color: var(--gray-500);
  font-weight: 500; margin-top: 0.125rem;
}
.profile-exp-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--light-purple); color: #6d28d9;
  border-radius: 999px; padding: 0.375rem 1rem;
  font-size: 0.75rem; font-weight: 600; margin: 1.25rem 0 1.5rem;
}
.profile-book-btn {
  width: 100%; background: #6d28d9; color: #fff; border: none;
  padding: 0.75rem; border-radius: 0.75rem;
  font-size: 0.875rem; font-weight: 600; cursor: pointer;
}
.profile-book-btn:hover { background: #5b21b6; }

/* ══════════════════════════════════════════════════════════════════
   SHORTS CAROUSELS
   ← DoctorShortsCarousel.jsx + YoutubeTestimonials.jsx
   ══════════════════════════════════════════════════════════════════ */
.shorts-section { width: 100%; padding: 2rem 0 1.5rem; margin-top: 2rem; }
.shorts-head { text-align: center; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .shorts-head { margin-bottom: 3rem; } }
.shorts-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 15px; border-radius: 100px;
  border: 1px solid var(--gray-200); margin-bottom: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.shorts-badge--doctor { color: #16a34a; }
.shorts-badge--patient {
  color: var(--purple);
  background: linear-gradient(to right, #faf5ff, #eef2ff);
  border-color: #ede9fe;
}
.shorts-title { font-size: 1.7rem; font-weight: 800; color: var(--ink); line-height: 1.15; }
@media (min-width: 640px) { .shorts-title { font-size: 2.6rem; } }
.shorts-title span { color: #6d28d9; }

.shorts-stage-wrap { position: relative; }
.shorts-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--gray-200); background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1); color: var(--gray-700);
}
.shorts-nav--prev { left: 2px; }
.shorts-nav--next { right: 2px; }
@media (min-width: 640px) {
  .shorts-nav { width: 46px; height: 46px; }
  .shorts-nav--prev { left: 24px; }
  .shorts-nav--next { right: 24px; }
}

.shorts-stage {
  position: relative; height: 350px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  perspective: 1200px;
}
@media (min-width: 640px) { .shorts-stage { height: 550px; } }

/* every card is absolutely stacked; JS assigns the position class */
.short-card {
  position: absolute; width: 190px; height: 338px; border-radius: 18px;
  cursor: pointer; will-change: transform, opacity;
  transition: transform 0.5s cubic-bezier(0.34, 1.2, 0.64, 1),
    opacity 0.4s ease, filter 0.4s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
@media (min-width: 640px) { .short-card { width: 300px; height: 533px; } }

.short-card__inner {
  position: relative; width: 100%; height: 100%;
  border-radius: 18px; overflow: hidden; background: #e8f5e9;
}
.short-card__inner img,
.short-card__inner iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border: none;
}

.short-card--center {
  transform: translateX(0) scale(1) rotateY(0deg);
  opacity: 1; z-index: 10; cursor: default;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.18),
    0 0 0 2px rgba(22, 163, 74, 0.2);
}
.short-card--left-1 {
  transform: translateX(-133px) scale(0.76) rotateY(18deg);
  opacity: 0.68; z-index: 5; filter: brightness(0.7);
}
.short-card--right-1 {
  transform: translateX(133px) scale(0.76) rotateY(-18deg);
  opacity: 0.68; z-index: 5; filter: brightness(0.7);
}
.short-card--hidden {
  transform: scale(0.55); opacity: 0; z-index: 1; pointer-events: none;
}
@media (min-width: 640px) {
  .short-card--left-1 { transform: translateX(-255px) scale(0.78) rotateY(18deg); }
  .short-card--right-1 { transform: translateX(255px) scale(0.78) rotateY(-18deg); }
}

.short-play-overlay {
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.25); cursor: pointer;
}
.short-card:not(.short-card--center) .short-play-overlay { display: none; }
.short-play-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.25rem; padding-left: 3px;
}
@media (min-width: 640px) {
  .short-play-btn { width: 66px; height: 66px; font-size: 1.6rem; }
}
.shorts--doctor .short-play-btn {
  background: #16a34a; box-shadow: 0 6px 24px rgba(22, 163, 74, 0.55);
}
.shorts--patient .short-play-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  box-shadow: 0 6px 24px rgba(118, 75, 162, 0.5);
}

.shorts-dots {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; margin-top: 16px;
}
@media (min-width: 640px) { .shorts-dots { margin-top: 28px; } }
.shorts-dot {
  height: 8px; width: 8px; border-radius: 100px; border: none;
  background: #cbd5e1; cursor: pointer; padding: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.shorts-dot.active { width: 28px; }
.shorts--doctor .shorts-dot.active { background: #16a34a; }
.shorts--patient .shorts-dot.active { background: #7c3aed; }

/* ══════════════════════════════════════════════════════════════════
   CLINIC DETAILS TABS  ← ClinicDetailsTab.jsx
   ══════════════════════════════════════════════════════════════════ */
.details-section { background: var(--gray-50); padding: 1rem; }
@media (min-width: 768px) { .details-section { padding: 1.5rem; } }
.details-inner { max-width: 56rem; margin: 0 auto; }

.details-header {
  margin-bottom: 1.5rem; padding: 1.25rem; background: #fff;
  border-radius: 1rem; border: 1px solid rgba(124, 58, 237, 0.13);
  display: flex; align-items: flex-start; gap: 1rem;
}
.details-header-icon {
  width: 48px; height: 48px; border-radius: 0.75rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--light-purple), var(--light-orange));
  color: var(--purple); font-size: 1.25rem;
}
.details-header-body { flex: 1; min-width: 0; }
.details-clinic-name {
  font-size: 1.25rem; font-weight: 700;
  color: var(--gray-900); line-height: 1.25;
}
.details-clinic-address {
  display: flex; align-items: center; gap: 0.25rem; margin-top: 0.25rem;
  color: var(--gray-500); font-size: 0.875rem;
}
.details-clinic-address i { color: var(--orange); font-size: 0.8rem; }
.details-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.badge {
  font-size: 0.75rem; padding: 0.25rem 0.5rem;
  border-radius: 999px; font-weight: 500;
}
.badge--purple { background: var(--light-purple); color: #5b21b6; }
.badge--orange { background: var(--light-orange); color: #c2410c; }
.badge--gray { background: var(--gray-100); color: var(--gray-500); }

.tab-switcher {
  display: flex; gap: 0.25rem; padding: 0.25rem;
  border: 1px solid rgba(124, 58, 237, 0.13);
  border-radius: 0.75rem; margin-bottom: 1.5rem;
}
.tab-btn {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.625rem; border: none; background: none;
  border-radius: 0.75rem; font-size: 0.875rem; font-weight: 600;
  color: var(--gray-400); cursor: pointer; transition: all 0.2s;
}
.tab-btn.active {
  background: var(--purple); color: #fff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.27);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Description view  ← ClinicDetailsDescription.jsx ── */
.desc-card {
  background: #fff; border-radius: 1rem; padding: 1.25rem;
  margin-bottom: 1rem; border: 1px solid rgba(124, 58, 237, 0.13);
}
.desc-card--orange { border-color: rgba(249, 115, 22, 0.13); }
.desc-card__head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.desc-card__icon {
  width: 28px; height: 28px; border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--light-purple); color: var(--purple); font-size: 0.8rem;
}
.desc-card--orange .desc-card__icon { background: var(--light-orange); color: var(--orange); }
.desc-card__title { font-weight: 700; color: var(--gray-800); font-size: 0.875rem; }
.desc-intro {
  color: var(--gray-600); font-size: 0.875rem;
  line-height: 1.7; margin-bottom: 1rem;
}

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-tile { border-radius: 0.75rem; padding: 0.75rem; text-align: center; }
.stat-tile--purple { background: var(--light-purple); }
.stat-tile--orange { background: var(--light-orange); }
.stat-value { font-size: 1.125rem; font-weight: 700; }
.stat-tile--purple .stat-value { color: var(--purple); }
.stat-tile--orange .stat-value { color: var(--orange); }
.stat-label { font-size: 0.75rem; color: var(--gray-500); margin-top: 0.125rem; }

.timing-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .timing-grid { grid-template-columns: repeat(2, 1fr); } }
.timing-tile { border-radius: 0.75rem; padding: 0.75rem; background: var(--light-orange); }
.timing-tile p:first-child { font-size: 0.75rem; color: var(--gray-500); margin-bottom: 0.25rem; }
.timing-tile p:last-child { font-weight: 700; color: var(--gray-800); }

.doctor-block { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; }
.doctor-avatar {
  width: 48px; height: 48px; border-radius: 0.75rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--purple), var(--orange));
  color: #fff; font-weight: 700; font-size: 1.125rem;
}
.doctor-block-name { font-weight: 700; color: var(--gray-800); }
.doctor-block-degree { font-size: 0.875rem; color: var(--gray-500); }
.doctor-block-reg { font-size: 0.75rem; color: var(--gray-400); margin-top: 0.125rem; }
.desc-note {
  color: var(--gray-500); font-size: 0.75rem; line-height: 1.7;
  border-left: 2px solid rgba(124, 58, 237, 0.33);
  padding-left: 0.75rem; margin-top: 0.5rem;
}

/* generic description rows (amenity / equipment / specialist) */
.desc-row {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.75rem; border-radius: 0.75rem;
  background: var(--gray-50); margin-bottom: 0.5rem;
}
.desc-row__icon {
  width: 40px; height: 40px; border-radius: 0.75rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--light-purple); color: var(--purple); font-size: 0.9rem;
}
.desc-row__icon--orange {
  width: 28px; height: 28px; border-radius: 0.5rem; margin-top: 2px;
  background: var(--light-orange); color: var(--orange); font-size: 0.8rem;
}
.desc-row__body { flex: 1; min-width: 0; }
.desc-row__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.5rem; flex-wrap: wrap;
}
.desc-row__label { font-size: 0.875rem; font-weight: 600; color: var(--gray-700); }
.desc-row__value { font-size: 0.875rem; font-weight: 700; color: var(--purple); }
.desc-row__desc {
  font-size: 0.75rem; color: var(--gray-400); line-height: 1.7;
  margin-top: 0.25rem; border-left: 2px solid rgba(124, 58, 237, 0.27);
  padding-left: 0.5rem;
}
.desc-row__desc--plain { border: none; padding-left: 0; }

.spec-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.spec-dot--regular { background: #4ade80; }
.spec-dot--oncall { background: var(--orange); }
.spec-dot--other { background: #d1d5db; }

.avail-badge {
  font-size: 0.75rem; padding: 0.25rem 0.75rem;
  border-radius: 999px; font-weight: 600;
}
.avail-badge--regular { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.avail-badge--oncall { background: var(--light-orange); color: #c2410c; border: 1px solid #fed7aa; }
.avail-badge--other { background: var(--gray-50); color: var(--gray-500); border: 1px solid var(--gray-200); }

/* ── Table view  ← ClinicDetailsTableFormat.jsx ── */
.table-view > div + div { margin-top: 1.5rem; }
.section-heading { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.section-heading__icon {
  width: 20px; height: 20px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  background: var(--light-purple); color: var(--purple); font-size: 0.65rem;
}
.section-heading__text {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--purple);
}
.section-heading__line { flex: 1; height: 1px; background: rgba(124, 58, 237, 0.13); }

.info-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
.info-card {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.75rem; border-radius: 0.75rem; background: #fff;
  border: 1px solid rgba(124, 58, 237, 0.09);
}
.info-card__icon {
  width: 32px; height: 32px; border-radius: 0.5rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--light-purple); color: var(--purple); font-size: 0.8rem;
}
.info-card__label {
  font-size: 0.75rem; color: var(--gray-400);
  font-weight: 500; margin-bottom: 0.125rem;
}
.info-card__value {
  font-size: 0.875rem; font-weight: 600;
  color: var(--gray-800); line-height: 1.4;
}

.pill-wrap { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.amenity-pill {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.875rem; border-radius: 999px;
  font-size: 0.875rem; font-weight: 500;
  background: var(--gray-100); color: var(--gray-700);
  border: 1px solid var(--gray-200);
}
.amenity-pill span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gray-500); flex-shrink: 0;
}

.equip-table,
.spec-table {
  border: 1px solid rgba(124, 58, 237, 0.09);
  border-radius: 0.75rem; overflow: hidden; background: #fff;
}
.equip-row-pair { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .equip-row-pair { grid-template-columns: repeat(2, 1fr); } }
.equip-row-pair + .equip-row-pair { border-top: 1px solid rgba(124, 58, 237, 0.07); }
.equip-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem;
}
.equip-row--divider { border-right: 1px solid rgba(124, 58, 237, 0.07); }
.equip-row__label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; color: var(--gray-600);
}
.equip-row__label span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--purple); flex-shrink: 0;
}
.equip-row__value {
  font-size: 0.875rem; font-weight: 700; color: var(--purple);
  margin-left: 0.5rem; text-align: right;
}

.spec-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.875rem 1.25rem;
}
.spec-row + .spec-row { border-top: 1px solid rgba(124, 58, 237, 0.07); }
.spec-row__name { font-size: 0.875rem; font-weight: 600; color: var(--gray-800); }
.spec-row__value { font-size: 0.875rem; font-weight: 700; }
.spec-row__value--regular { color: #16a34a; }
.spec-row__value--oncall { color: var(--orange); }
.spec-row__value--other { color: var(--gray-400); }

/* ══════════════════════════════════════════════════════════════════
   GALLERY  ← viewDetails/Gallery.jsx
   ══════════════════════════════════════════════════════════════════ */
.gallery-section {
  padding: 4rem 1rem;
  background: linear-gradient(135deg, var(--gray-50), #fff);
}
.gallery-head { text-align: center; margin-bottom: 3rem; }
.gallery-head h2 { font-size: 2rem; font-weight: 700; color: var(--gray-800); }
@media (min-width: 640px) { .gallery-head h2 { font-size: 2.25rem; } }
.gallery-head p {
  margin: 1rem auto 0; color: var(--gray-600); max-width: 42rem;
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; grid-auto-rows: 150px;
}
@media (min-width: 640px) { .gallery-grid { grid-auto-rows: 200px; } }
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; }
}
.gallery-item {
  position: relative; cursor: pointer; overflow: hidden;
  border-radius: 1.5rem; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.5s;
}
.gallery-item:hover { box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18); }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item__overlay {
  position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(to top, rgba(30, 42, 94, 0.8), transparent);
  transition: opacity 0.5s; display: flex; align-items: flex-end;
  padding: 1.5rem; color: #fff; font-weight: 600; font-size: 0.9rem;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

/* bento spans - index driven, mirrors the React spanClasses array */
.gallery-item.span-0 { grid-column: span 2; grid-row: span 2; }
.gallery-item.span-3 { grid-column: span 2; grid-row: span 1; }
.gallery-item.span-4 { grid-column: span 1; grid-row: span 2; }
.gallery-item.span-5 { grid-column: span 1; grid-row: span 2; }
@media (min-width: 768px) { .gallery-item.span-5 { grid-column: span 3; } }

.lightbox {
  position: fixed; inset: 0; z-index: 90; display: none;
  align-items: center; justify-content: center; padding: 1rem;
  background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px);
}
.lightbox.open { display: flex; }
.lightbox__inner { position: relative; max-width: 64rem; width: 100%; }
.lightbox__inner img {
  width: 100%; max-height: 85vh; object-fit: contain;
  border-radius: 1rem; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}
.lightbox__close {
  position: absolute; top: -1rem; right: -1rem;
  background: #fff; border: none; padding: 0.5rem;
  border-radius: 50%; cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); color: var(--gray-700);
}

/* ══════════════════════════════════════════════════════════════════
   FAQ  ← viewDetails/FAQS.jsx
   ══════════════════════════════════════════════════════════════════ */
.faq-section {
  background: linear-gradient(135deg, #f3f0ff, #f8fafc);
  padding: 3rem 1rem 0.5rem;
}
.faq-head { text-align: center; margin-bottom: 2.5rem; }
.faq-head h2 { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); }
@media (min-width: 768px) { .faq-head h2 { font-size: 2.25rem; } }
.faq-head h2 span { color: #9333ea; }
.faq-head p { color: var(--gray-500); margin-top: 0.75rem; font-size: 0.9rem; }
.faq-list {
  max-width: 56rem; margin: 0 auto;
  display: flex; flex-direction: column; gap: 1rem;
}
.faq-item {
  background: #fff; border-radius: 1rem;
  border: 1px solid var(--gray-200); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 1.5rem; background: none; border: none;
  text-align: left; cursor: pointer;
}
.faq-q span { font-size: 0.95rem; font-weight: 600; color: var(--gray-900); }
@media (min-width: 768px) { .faq-q span { font-size: 1.05rem; } }
.faq-q i {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #f3e8ff; color: #9333ea;
  transition: transform 0.3s;
}
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a {
  padding: 0 1.5rem; color: var(--gray-600); font-size: 0.9rem;
  max-height: 0; overflow: hidden; opacity: 0; transition: all 0.3s;
}
.faq-item.open .faq-a { max-height: 12rem; padding-bottom: 1.25rem; opacity: 1; }

/* ══════════════════════════════════════════════════════════════════
   MAP  ← viewDetails/GoogleMapsIframe.jsx
   ══════════════════════════════════════════════════════════════════ */
.map-section { padding: 1rem; }
.map-section h2 {
  font-size: 1.25rem; text-align: center; margin: 1rem 0;
  font-weight: 600; color: #002147;
}
@media (min-width: 768px) { .map-section h2 { font-size: 1.875rem; } }
.map-section iframe { width: 100%; height: 300px; border: 0; border-radius: 8px; }

/* ══════════════════════════════════════════════════════════════════
   FOOTER  - shared with templates/city-template.html (publicforclinicsseo/style.css)
   ══════════════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to right, #2e1065, #4c1d95, #5b21b6);
  color: #fff;
  padding: 80px 0 40px;
}

@media (min-width: 768px) {
  .footer {
    background: linear-gradient(to right, #3b0764, #581c87, #6b21a8);
  }
}

.footer-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(64px);
  pointer-events: none;
}

.footer-glow-1 {
  top: 0;
  left: 0;
  width: 288px;
  height: 288px;
  background: rgba(168, 85, 247, 0.2);
}

.footer-glow-2 {
  bottom: 0;
  right: 0;
  width: 384px;
  height: 384px;
  background: rgba(249, 115, 22, 0.1);
}

.footer-container {
  position: relative;
  max-width: 1280px;
  margin: auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .footer-container {
    padding: 0 32px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

@media (min-width: 1024px) {
  .footer-grid {
    gap: 64px;
  }
}

.footer-brand {
  grid-column: span 1;
}

.footer-logo-box {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.footer-logo-box img {
  width: 128px;
  height: auto;
}

.footer-desc {
  color: #fff;
  line-height: 2;
  font-size: 14px;
}

@media (min-width: 640px) {
  .footer-desc {
    font-size: 16px;
  }
}

.footer h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-title {
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 48px;
  height: 4px;
  background: #f97316;
  border-radius: 999px;
}

.footer ul {
  list-style-type: none;
}

.footer li {
  margin-bottom: 16px;
}

.footer a {
  color: rgba(233, 213, 255, 0.7);
  font-size: 14px;
  display: inline-block;
  transition: color 0.3s, transform 0.3s;
  list-style-type: none;
  text-decoration: none;
}

@media (min-width: 640px) {
  .footer a {
    font-size: 16px;
  }
}

.footer a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 64px;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom p {
  color: rgba(233, 213, 255, 0.6);
  text-align: center;
  font-size: 14px;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .footer-bottom p {
    text-align: left;
  }
}

.footer-break {
  display: block;
}

@media (min-width: 640px) {
  .footer-break {
    display: none;
  }
}

.socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.socials a.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background 0.3s;
}

.social-linkedin:hover {
  background: #3b82f6;
}

.social-instagram:hover {
  background: #ec4899;
}

.social-facebook:hover {
  background: #1877f2;
}

/* FOOTER RESPONSIVE GRID (mobile-first, matches sm:grid-cols-2 lg:grid-cols-4) */
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-brand {
    grid-column: span 1;
  }
}
