/* ============================================================
   MAXOFACE CARE — Main Stylesheet
   Brand: Navy #1a1a5e | Purple #4a2d8f | Gold #c9a84c
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Jost:wght@300;400;500;600;700&display=swap');

:root {
  --navy:        #1a1a5e;
  --navy-dark:   #0f0f3d;
  --navy-light:  #2a2a7e;
  --purple:      #4a2d8f;
  --purple-light:#6b4fb5;
  --gold:        #c9a84c;
  --gold-light:  #e8d5a3;
  --gold-dark:   #a07830;
  --white:       #ffffff;
  --light:       #f8f9ff;
  --light2:      #f0f1f8;
  --gray:        #6b7280;
  --gray-light:  #e5e7eb;
  --dark:        #111827;
  --text:        #374151;
  --shadow-sm:   0 2px 8px rgba(26,26,94,0.08);
  --shadow:      0 4px 24px rgba(26,26,94,0.12);
  --shadow-lg:   0 8px 48px rgba(26,26,94,0.18);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Marcellus', serif;
  color: var(--navy);
  line-height: 1.3;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }

/* ── SECTION HEADINGS ── */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 48px;
  max-width: 600px;
}
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }

.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 12px 0 20px;
  border-radius: 2px;
}
.center .gold-line { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--navy));
  color: var(--white);
  border-color: transparent;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--navy), var(--purple));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74,45,143,0.35);
  color: var(--white);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: transparent;
}
.btn-whatsapp:hover {
  background: #128c7e;
  color: var(--white);
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-light);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-brand img { height: 52px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link:hover { color: var(--purple); }
/* Treatments dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown .caret { font-size: 0.7rem; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; min-width: 260px;
  display: grid; grid-template-columns: 1fr; gap: 1px;
  opacity: 0; visibility: hidden; transition: var(--transition); z-index: 1001; max-height: 70vh; overflow-y: auto;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.nav-dropdown-menu a { padding: 9px 14px; font-size: 0.85rem; color: var(--text); border-radius: 6px; transition: var(--transition); white-space: nowrap; }
.nav-dropdown-menu a:hover { background: var(--light); color: var(--purple); padding-left: 18px; }
.nav-dropdown-menu .dd-all { margin-top: 6px; border-top: 1px solid var(--gray-light); color: var(--purple); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  width: 25px; height: 2px;
  background: var(--navy);
  transition: var(--transition);
  border-radius: 2px;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 45%, var(--purple) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero::before {
  content: '';
  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.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.15;
}
.hero-title .highlight {
  color: var(--gold);
  display: block;
}
.hero-tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
  font-weight: 300;
  letter-spacing: 1px;
}
.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat-item { text-align: center; }
.hero-stat-num {
  font-family: 'Marcellus', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.7); margin-top: 4px; }
.hero-divider { width: 1px; background: rgba(255,255,255,0.2); height: 50px; align-self: center; }
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img-wrap { position: relative; max-width: 400px; width: 100%; }
.hero-img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 24px; border: 5px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 70px rgba(0,0,0,0.45);
}
.hero-float {
  position: absolute; background: rgba(255,255,255,0.97);
  border-radius: 14px; padding: 11px 15px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25); backdrop-filter: blur(4px);
}
.hero-float span { font-size: 1.5rem; line-height: 1; }
.hero-float strong { display: block; font-size: 0.82rem; color: var(--navy); }
.hero-float small { font-size: 0.7rem; color: var(--gray); }
.hero-float.top { top: 26px; left: -28px; animation: floaty 4s ease-in-out infinite; }
.hero-float.bottom { bottom: 70px; right: -30px; animation: floaty 4s ease-in-out infinite 1s; }
.hero-float.branches { bottom: -16px; left: 30px; animation: floaty 4s ease-in-out infinite 2s; }
@keyframes floaty { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }
.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 440px;
}
.hero-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}
.hero-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}
.hero-card-icon { font-size: 2rem; margin-bottom: 10px; }
.hero-card-title {
  font-family: 'Marcellus', serif;
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 600;
}
.hero-card-count {
  font-size: 0.75rem;
  color: var(--gold-light);
  margin-top: 4px;
}
.hero-card.gold-card {
  background: linear-gradient(135deg, rgba(201,168,76,0.2), rgba(201,168,76,0.05));
  border-color: rgba(201,168,76,0.3);
}
.hero-card.span2 { grid-column: span 2; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--light2);
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-light);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}
.trust-item .icon { font-size: 1.2rem; }

/* ── SERVICES ── */
.services-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
  background: var(--light);
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
}
.service-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 7px;
  min-height: 64px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  line-height: 1.3;
}
.service-tab:hover {
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-2px);
}
.service-tab.active {
  background: linear-gradient(135deg, var(--purple), var(--navy));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 6px 18px rgba(74,45,143,0.35);
}
.service-panel { display: none; }
.service-panel.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.service-card {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: var(--transition);
  cursor: pointer;
}
.service-card:hover {
  border-color: var(--purple);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.service-card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.service-card-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-card-arrow {
  font-size: 0.8rem;
  color: var(--purple);
  font-weight: 600;
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover .service-card-arrow { opacity: 1; }

/* ── DOCTORS ── */
.doctors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; }
.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.doctor-card-header {
  background: linear-gradient(135deg, var(--navy), var(--purple));
  padding: 40px 32px 60px;
  position: relative;
  text-align: center;
}
.doctor-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.3);
  margin: 0 auto 16px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.doctor-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.doctor-card-name {
  font-size: 1.4rem;
  color: var(--white);
  font-family: 'Marcellus', serif;
}
.doctor-card-spec {
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-top: 4px;
}
.doctor-card-body { padding: 32px; margin-top: -28px; }
.doctor-quals {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.doctor-qual-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 8px;
}
.doctor-qual-item:last-child { margin-bottom: 0; }
.qual-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}
.doctor-bio {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}
.doctor-exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--light);
  border: 1px solid var(--gold-light);
  color: var(--gold-dark);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ── BEFORE/AFTER GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.gallery-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-grid.cols-4 .gallery-image-wrap img { height: 220px; }
@media (max-width: 960px) { .gallery-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery-grid.cols-4 { grid-template-columns: 1fr; } }
.gallery-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.gallery-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.gallery-image-wrap { position: relative; overflow: hidden; }
.gallery-image-wrap img {
  width: 100%; height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-card:hover .gallery-image-wrap img { transform: scale(1.04); }
.gallery-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  padding: 20px 16px 12px;
  font-size: 0.85rem;
  font-weight: 500;
}
.gallery-meta {
  padding: 16px;
  font-size: 0.85rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gallery-tag {
  background: var(--light);
  color: var(--purple);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ── RICH SERVICE CARDS (treatment-style) ── */
.svc-head-row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 18px; margin-bottom: 32px; }
.svc-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--purple); font-weight: 700; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.svc-head-row h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--navy); line-height: 1.2; max-width: 640px; }
.service-panel.active { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.svc-rich-card {
  background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm); transition: var(--transition);
  display: flex; flex-direction: column; cursor: pointer;
}
.svc-rich-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: rgba(74,45,143,0.25); }
.svc-rich-head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.svc-icon-box {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple), var(--navy));
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(74,45,143,0.28);
}
.svc-rich-title { font-family: 'Marcellus', serif; font-size: 1.05rem; color: var(--navy); font-weight: 700; line-height: 1.25; }
.svc-rich-divider { height: 1px; background: var(--gray-light); margin-bottom: 14px; }
.svc-rich-desc { font-size: 0.85rem; color: var(--gray); line-height: 1.7; margin-bottom: 16px; flex: 1; }
.svc-rich-img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }
.svc-learn { font-size: 0.85rem; font-weight: 700; color: var(--purple); display: inline-flex; align-items: center; gap: 6px; transition: var(--transition); }
.svc-rich-card:hover .svc-learn { gap: 11px; }

/* ── ABOUT SECTION ── */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; }
.about-badge {
  position: absolute; bottom: 18px; right: 18px;
  background: linear-gradient(135deg, var(--purple), var(--navy));
  color: #fff; border-radius: var(--radius); padding: 18px 26px; text-align: center; box-shadow: var(--shadow-lg);
}
.about-badge .num { font-family: 'Marcellus', serif; font-size: 2rem; font-weight: 700; line-height: 1; color: var(--gold-light); }
.about-badge .lbl { font-size: 0.78rem; margin-top: 4px; }
.about-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--purple); font-weight: 700; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.about-stats { display: flex; gap: 26px; flex-wrap: wrap; margin: 26px 0; padding: 22px 0; border-top: 1px solid var(--gray-light); border-bottom: 1px solid var(--gray-light); }
.about-stat .n { font-family: 'Marcellus', serif; font-size: 1.9rem; font-weight: 700; color: var(--purple); }
.about-stat .t { font-size: 0.8rem; color: var(--gray); }
.about-founder { display: flex; align-items: center; gap: 14px; }
.about-founder img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.about-founder .fn { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.about-founder .fr { font-size: 0.78rem; color: var(--gray); }

/* ── WHY CHOOSE US ── */
.why-wrap { display: grid; grid-template-columns: 1fr 360px 1fr; gap: 30px; align-items: center; }
.why-center { display: flex; align-items: center; justify-content: center; }
.why-center .circle {
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,45,143,0.08), rgba(26,26,94,0.02));
  border: 2px dashed var(--gray-light);
  display: flex; align-items: center; justify-content: center; font-size: 7rem;
}
.why-item { margin-bottom: 28px; }
.why-item.right { text-align: right; }
.why-item h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.why-item.right h4 { justify-content: flex-end; }
.why-item .ic { color: var(--gold); font-size: 1.2rem; }
.why-item p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; }

/* ── MEET OUR EXPERTS ── */
.experts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; max-width: 760px; margin: 0 auto; }
.expert-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); text-align: center; }
.expert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.expert-photo { width: 100%; height: 320px; object-fit: cover; object-position: top center; background: var(--light2); }
.expert-body { padding: 22px; }
.expert-divider { width: 70px; height: 3px; background: var(--gold); margin: 0 auto 14px; border-radius: 2px; }
.expert-name { font-size: 1.25rem; color: var(--navy); }
.expert-role { font-size: 0.82rem; color: var(--purple); font-weight: 600; margin: 6px 0 16px; min-height: 36px; }
.expert-btn { display: block; background: linear-gradient(135deg, var(--purple), var(--navy)); color: #fff; padding: 12px; border-radius: 8px; font-weight: 600; font-size: 0.88rem; transition: var(--transition); }
.expert-btn:hover { background: linear-gradient(135deg, var(--navy), var(--purple)); color: #fff; box-shadow: 0 6px 18px rgba(74,45,143,0.35); }

/* ── VIDEO TESTIMONIALS ── */
.vid-section { background: linear-gradient(135deg, var(--navy), var(--purple)); }
.vid-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.vid-card { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 9/16; box-shadow: var(--shadow); cursor: pointer; }
.vid-card video, .vid-card .vid-poster { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.vid-play span { width: 64px; height: 64px; border-radius: 50%; background: rgba(229,62,62,0.92); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.6rem; box-shadow: 0 4px 18px rgba(0,0,0,0.4); transition: var(--transition); }
.vid-card:hover .vid-play span { transform: scale(1.12); }
.vid-tag { position: absolute; top: 10px; left: 10px; right: 10px; color: #fff; font-size: 0.78rem; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,0.6); }

/* ── GOOGLE REVIEWS ── */
.greviews-section { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); }
.greviews-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; }
.grating { text-align: center; color: #fff; }
.grating .word { font-size: 1.3rem; font-weight: 700; letter-spacing: 1px; }
.grating .stars { color: var(--gold); font-size: 1.6rem; margin: 6px 0; }
.grating .sub { font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.grating .gword { font-size: 1.5rem; font-weight: 700; margin-top: 8px; }
.grating .gword span:nth-child(1){color:#4285F4}.grating .gword span:nth-child(2){color:#EA4335}.grating .gword span:nth-child(3){color:#FBBC05}.grating .gword span:nth-child(4){color:#4285F4}.grating .gword span:nth-child(5){color:#34A853}.grating .gword span:nth-child(6){color:#EA4335}
.greview-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.greview-card { background: #1f1f2e; border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 20px; color: #fff; position: relative; }
.greview-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.greview-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--purple)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.greview-name { font-weight: 600; font-size: 0.88rem; }
.greview-when { font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.greview-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 6px; }
.greview-text { font-size: 0.83rem; color: rgba(255,255,255,0.85); line-height: 1.6; }
.greview-g { position: absolute; top: 16px; right: 16px; font-weight: 700; font-size: 1rem; }
.greview-g span:nth-child(1){color:#4285F4}.greview-g span:nth-child(2){color:#EA4335}.greview-g span:nth-child(3){color:#FBBC05}.greview-g span:nth-child(4){color:#34A853}

/* ── SOCIAL REVIEWS STRIP ── */
.social-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.social-pill { border: 1.5px solid var(--gray-light); border-radius: var(--radius); padding: 22px; text-align: center; transition: var(--transition); }
.social-pill:hover { border-color: var(--purple); box-shadow: var(--shadow); transform: translateY(-3px); }
.social-pill .logo { font-size: 2rem; font-weight: 800; margin-bottom: 10px; }
.social-pill .rating { font-size: 0.92rem; color: var(--navy); font-weight: 600; }

/* ── FAQ ── */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.faq-acc { border: 1px solid var(--gray-light); border-radius: 10px; overflow: hidden; transition: var(--transition); }
.faq-acc[open] { border-color: var(--purple); box-shadow: var(--shadow-sm); }
.faq-acc summary { padding: 15px 18px; font-weight: 600; font-size: 0.9rem; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.faq-acc summary::-webkit-details-marker { display: none; }
.faq-acc summary::after { content: '+'; color: var(--purple); font-size: 1.3rem; font-weight: 700; flex-shrink: 0; }
.faq-acc[open] summary::after { content: '−'; }
.faq-acc .faq-body { padding: 0 18px 16px; font-size: 0.85rem; color: var(--gray); line-height: 1.7; }

/* ── WORKING HOURS + BOOKING ── */
.book-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: stretch; }
.book-wrap > div:first-child { display: flex; flex-direction: column; }
.hours-card { background: linear-gradient(135deg, var(--purple), var(--navy)); border-radius: var(--radius-lg); padding: 32px; color: #fff; flex: 1; }
.hours-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.hours-card .hdiv { height: 2px; background: rgba(255,255,255,0.2); margin: 14px 0 18px; }
.hours-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.hours-row:last-child { border-bottom: none; }
.hours-row .d { color: rgba(255,255,255,0.8); } .hours-row .h { color: var(--gold-light); font-weight: 600; }
.emergency-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 18px; margin-top: 18px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-sm); }
.emergency-icon { width: 46px; height: 46px; border-radius: 10px; background: var(--light); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }

/* ── FEATURED TREATMENTS SHOWCASE ── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  margin-bottom: 28px;
  transition: var(--transition);
}
.feature-row:hover { box-shadow: var(--shadow); }
.feature-row.reverse .feature-img { order: 2; }
.feature-img { height: 100%; min-height: 300px; overflow: hidden; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; transition: transform 0.5s ease; }
.feature-row:hover .feature-img img { transform: scale(1.04); }
.feature-content { padding: 36px 40px; }
.feature-sub {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--light);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.feature-title { font-size: 1.5rem; color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.feature-desc { font-size: 0.92rem; color: var(--text); line-height: 1.8; margin-bottom: 22px; }
.feature-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover {
  border-color: var(--purple);
  box-shadow: var(--shadow);
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 12px; right: 20px;
  font-family: 'Marcellus', serif;
  font-size: 5rem;
  color: var(--gray-light);
  line-height: 1;
}
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 16px; }
.testimonial-review {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.author-service { font-size: 0.78rem; color: var(--gray); }

/* ── BRANCHES ── */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}
.branch-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.branch-card-header {
  background: linear-gradient(135deg, var(--navy), var(--purple));
  padding: 24px 28px;
  color: var(--white);
}
.branch-num {
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.branch-name {
  font-family: 'Marcellus', serif;
  font-size: 1.3rem;
  color: var(--white);
}
.branch-card-body { padding: 24px 28px; }
.branch-info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.branch-icon {
  width: 36px; height: 36px;
  background: var(--light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.branch-info-label { font-size: 0.75rem; color: var(--gray); }
.branch-info-val { font-size: 0.9rem; font-weight: 500; color: var(--navy); }
.branch-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
  margin-top: 8px;
}
.branch-map-btn:hover { color: var(--navy); }

/* ── APPOINTMENT FORM ── */
.form-section {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='20' cy='20' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
}
.appointment-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.form-title {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-subtitle { font-size: 0.9rem; color: var(--gray); margin-bottom: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: span 2; }
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.form-control {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-control:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(74,45,143,0.1); }
.form-control::placeholder { color: var(--gray); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: linear-gradient(135deg, var(--navy), var(--purple));
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  height: 100%;
}
.contact-info-title {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 8px;
}
.contact-info-subtitle { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 32px; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-bottom: 2px; }
.contact-item-val { font-size: 0.95rem; font-weight: 500; }
.contact-timing {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 24px;
}
.timing-title { font-size: 0.85rem; color: var(--gold-light); font-weight: 600; margin-bottom: 12px; }
.timing-row { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 8px; }
.timing-row:last-child { margin-bottom: 0; }
.timing-day { color: rgba(255,255,255,0.7); }
.timing-hours { color: var(--white); font-weight: 500; }

/* ── FOOTER ── */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 48px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}
.social-icon:hover { background: var(--purple); }
.footer-col-title {
  font-family: 'Marcellus', serif;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.85rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  align-items: flex-start;
}
.footer-contact-item span:first-child { color: var(--gold); margin-top: 2px; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 0.8rem; }
.footer-dev { font-size: 0.8rem; }
.footer-dev a { color: var(--gold); font-weight: 600; }
.footer-dev a:hover { color: var(--gold-light); }

/* ── SCROLL TO TOP ── */
#scrollTop {
  position: fixed;
  bottom: 100px; right: 30px;
  z-index: 9998;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--purple), var(--navy));
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition);
}
#scrollTop.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
#scrollTop:hover { transform: translateY(-3px); }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9999;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45);
  transition: var(--transition);
  font-size: 1.8rem;
  animation: pulse-green 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 32px rgba(37,211,102,0.6);
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 24px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 40px rgba(37,211,102,0.7); }
}
.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--dark);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ── PORTAL / PANEL SHARED ── */
.panel-wrapper {
  min-height: 100vh;
  background: var(--light);
  display: flex;
  flex-direction: column;
}
.panel-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.panel-logo { display: flex; align-items: center; gap: 10px; }
.panel-logo img { height: 40px; }
.panel-user { display: flex; align-items: center; gap: 12px; }
.panel-user-name { font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.panel-role-badge {
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-admin { background: rgba(26,26,94,0.1); color: var(--navy); }
.badge-doctor { background: rgba(74,45,143,0.1); color: var(--purple); }
.badge-patient { background: rgba(201,168,76,0.15); color: var(--gold-dark); }
.panel-body { display: flex; flex: 1; }
.panel-sidebar {
  width: 240px;
  background: var(--white);
  border-right: 1px solid var(--gray-light);
  padding: 24px 0;
  flex-shrink: 0;
  height: calc(100vh - 69px);
  position: sticky;
  top: 69px;
  overflow-y: auto;
}
.sidebar-section { margin-bottom: 8px; }
.sidebar-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  padding: 8px 20px 4px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 0.875rem;
  color: var(--text);
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.sidebar-link:hover, .sidebar-link.active {
  background: var(--light);
  color: var(--purple);
  border-left-color: var(--purple);
}
.sidebar-link .icon { font-size: 1.05rem; }
.panel-main { flex: 1; padding: 28px; overflow-x: hidden; }
.panel-page-title {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.panel-page-sub { font-size: 0.85rem; color: var(--gray); margin-bottom: 28px; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
}
.card-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 28px; }
.kpi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.kpi-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.kpi-label { font-size: 0.78rem; font-weight: 600; color: var(--gray); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.kpi-value { font-size: 2rem; font-family: 'Marcellus', serif; color: var(--navy); font-weight: 700; }
.kpi-meta { font-size: 0.78rem; color: var(--gray); margin-top: 4px; }
.kpi-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.kpi-purple { background: rgba(74,45,143,0.1); }
.kpi-navy { background: rgba(26,26,94,0.1); }
.kpi-gold { background: rgba(201,168,76,0.15); }
.kpi-green { background: rgba(16,185,129,0.1); }

/* ── TABLE ── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; background: var(--white); }
thead { background: var(--light2); }
th {
  padding: 12px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
td {
  padding: 14px 16px;
  font-size: 0.875rem;
  color: var(--text);
  border-bottom: 1px solid var(--gray-light);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--light); }
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
}
.badge-success { background: rgba(16,185,129,0.1); color: #065f46; }
.badge-warning { background: rgba(245,158,11,0.1); color: #92400e; }
.badge-danger { background: rgba(239,68,68,0.1); color: #991b1b; }
.badge-info { background: rgba(59,130,246,0.1); color: #1e40af; }
.badge-secondary { background: var(--light2); color: var(--gray); }

/* ── LOGIN PAGE ── */
.login-page {
  min-height: 100vh;
  display: flex;
  background: linear-gradient(135deg, var(--navy-dark), var(--purple));
}
.login-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
  text-align: center;
}
.login-left img { height: 70px; margin-bottom: 24px; filter: brightness(0) invert(1); }
.login-left h2 { color: var(--white); font-size: 1.8rem; margin-bottom: 12px; }
.login-left p { color: rgba(255,255,255,0.7); font-size: 0.9rem; max-width: 320px; }
.login-right {
  width: 460px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}
.login-form { width: 100%; max-width: 380px; }
.login-form h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 6px; }
.login-form p { font-size: 0.85rem; color: var(--gray); margin-bottom: 32px; }
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.alert-danger { background: rgba(239,68,68,0.1); color: #991b1b; border: 1px solid rgba(239,68,68,0.2); }
.alert-success { background: rgba(16,185,129,0.1); color: #065f46; border: 1px solid rgba(16,185,129,0.2); }

/* ── FLASH ── */
.flash-msg {
  position: fixed;
  top: 20px; right: 20px;
  z-index: 9999;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  animation: slideIn 0.3s ease;
  max-width: 340px;
}
.flash-success { background: #d1fae5; color: #065f46; }
.flash-danger  { background: #fee2e2; color: #991b1b; }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── MISC ── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-purple { color: var(--purple); }
.text-navy   { color: var(--navy); }
.text-gold   { color: var(--gold); }
.text-gray   { color: var(--gray); }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.d-flex { display: flex; }
.gap-3 { gap: 12px; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.bg-light { background: var(--light); }
.bg-navy { background: var(--navy); }
.rounded { border-radius: var(--radius); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  /* Featured showcase stacks: image on top, content below (always) */
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 0; }
  .feature-row.reverse .feature-img { order: 0; }
  .feature-img, .feature-img img { min-height: 220px; }
  .feature-img img { height: 240px; }
  .feature-content { padding: 26px 22px; }
  .feature-title { font-size: 1.25rem; }
  .feature-actions { justify-content: flex-start; }
  /* New homepage sections stack on mobile */
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .why-wrap { grid-template-columns: 1fr; gap: 8px; }
  .why-center { order: -1; margin-bottom: 10px; }
  .why-center .circle { width: 180px; height: 180px; font-size: 4.5rem; }
  .why-item, .why-item.right { text-align: left; }
  .why-item.right h4 { justify-content: flex-start; }
  .greviews-wrap { grid-template-columns: 1fr; gap: 22px; }
  .faq-grid { grid-template-columns: 1fr; gap: 12px; }
  .book-wrap { grid-template-columns: 1fr; }
  .about-stats { gap: 18px; }
  .expert-photo { height: 300px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; padding: 60px 20px; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .doctors-grid { grid-template-columns: 1fr; }
  .branches-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .navbar-brand img { height: 42px; }
  /* keep a compact Book button always reachable on mobile; hide secondary CTA */
  .nav-cta { display: flex; gap: 8px; }
  .nav-cta .btn-outline { display: none; }
  .nav-cta .btn-primary { padding: 9px 14px; font-size: 0.8rem; }
  .navbar-inner { padding: 12px 16px; gap: 10px; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 66px; left: 0; right: 0;
    background: var(--white);
    padding: 18px 20px;
    gap: 14px;
    box-shadow: var(--shadow);
    z-index: 999;
    border-top: 1px solid var(--gray-light);
  }
  .nav-menu.open .nav-link { padding: 6px 0; font-size: 1rem; }
  .nav-dropdown-menu { display: none !important; }
  .nav-dropdown .caret { display: none; }
  .services-tabs { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 10px; }
  .service-tab { font-size: 0.78rem; min-height: 56px; padding: 10px 8px; }
  .panel-sidebar { display: none; }
  .login-left { display: none; }
  .login-right { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .appointment-form { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .hero-cards { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}
