/* ==========================================================================
   PHÒNG KHÁM RĂNG HÀM MẶT - BS CHUYÊN KHOA TRỊNH CÔNG VƯƠNG
   Modern Medical Design System & Aesthetics
   ========================================================================== */

:root {
  /* Color Palette */
  --primary: #0284c7;         /* Deep Sky Blue */
  --primary-dark: #0369a1;    /* Navy Blue */
  --primary-light: #e0f2fe;   /* Soft Blue Tint */
  --accent-red: #dc2626;      /* Medical Crimson (from clinic sign) */
  --accent-red-light: #fef2f2;
  --teal: #0d9488;            /* Medical Teal */
  --teal-light: #ccfbf1;
  --amber: #f59e0b;           /* Star & Gold Badge */
  
  /* Neutral Colors */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-focus: #38bdf8;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(2, 132, 199, 0.1), 0 8px 10px -6px rgba(2, 132, 199, 0.08);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.25);
  --shadow-red-glow: 0 0 25px rgba(220, 38, 38, 0.25);
  
  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Top Alert / Notification Bar
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #0369a1 0%, #0284c7 60%, #0d9488 100%);
  color: #ffffff;
  font-size: 0.88rem;
  padding: 8px 0;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-item i, .top-item svg {
  color: #facc15;
}

.top-badge-pulse {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-badge-pulse::before {
  content: '';
  width: 7px;
  height: 7px;
  background-color: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: pulseGreen 1.6s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  z-index: 99;
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

/* Logo Brand */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon-emblem {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.3);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-icon-emblem::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 60%);
}

.brand-icon-emblem svg {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1;
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-red);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.brand-text span {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.brand-text small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Nav Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--accent-red), var(--primary));
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-red);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-hotline-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent-red-light);
  border: 1.5px solid rgba(220, 38, 38, 0.2);
  border-radius: var(--radius-full);
  color: var(--accent-red);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.02em;
  transition: var(--transition);
}

.btn-hotline-header:hover {
  background: var(--accent-red);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  transform: translateY(-1px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-danger {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.btn-danger:hover {
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.45);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 60px 0 80px;
  background: radial-gradient(circle at 10% 20%, rgba(224, 242, 254, 0.7) 0%, rgba(254, 242, 242, 0.4) 50%, #f8fafc 100%);
  overflow: hidden;
}

.hero-backdrop-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.shape-1 {
  width: 420px;
  height: 420px;
  background: rgba(56, 189, 248, 0.2);
  top: -80px;
  right: -60px;
}

.shape-2 {
  width: 360px;
  height: 360px;
  background: rgba(239, 68, 68, 0.12);
  bottom: 0;
  left: -80px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  width: fit-content;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.hero-pill-badge .badge-icon {
  width: 22px;
  height: 22px;
  background: var(--accent-red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text-dark);
}

.hero-title .highlight-red {
  color: var(--accent-red);
  position: relative;
  display: inline-block;
}

.hero-title .highlight-blue {
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
}

/* Quick Service Bullets */
.hero-bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 6px 0;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.bullet-item .bullet-icon {
  width: 28px;
  height: 28px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
}

/* Hero Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: #ffffff;
  color: var(--text-dark);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Visual & Clinic Showcase Card */
.hero-visual-card {
  position: relative;
}

.clinic-real-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 3px solid rgba(255, 255, 255, 0.9);
  transition: var(--transition-slow);
  position: relative;
}

.clinic-real-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px -10px rgba(15, 23, 42, 0.18);
}

.clinic-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 380px;
  background: #e2e8f0;
}

.clinic-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.clinic-real-card:hover .clinic-image-wrapper img {
  transform: scale(1.04);
}

.clinic-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(15, 23, 42, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #ffffff;
}

.image-tag-real {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(220, 38, 38, 0.92);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.overlay-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #ffffff;
}

.overlay-info {
  font-size: 0.92rem;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.card-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

.meta-doc {
  display: flex;
  align-items: center;
  gap: 12px;
}

.doc-avatar-mini {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-red) 0%, #b91c1c 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.doc-info-mini h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.doc-info-mini p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.badge-vosa {
  background: var(--teal-light);
  color: #0f766e;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Floating Trust Cards around the hero image */
.floating-stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  animation: floatAnim 4s ease-in-out infinite;
}

.stat-card-1 {
  top: -20px;
  left: -24px;
}

.stat-card-2 {
  bottom: -20px;
  right: -20px;
  animation-delay: 2s;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.icon-yellow {
  background: #fef3c7;
  color: #d97706;
}

.icon-green {
  background: #dcfce7;
  color: #15803d;
}

.stat-text strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.stat-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Trust Bar & Quick Info Strip
   ========================================================================== */
.trust-strip {
  background: #ffffff;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.trust-item:hover {
  background: var(--bg-main);
}

.trust-item-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.trust-item:nth-child(2) .trust-item-icon {
  background: #fee2e2;
  color: var(--accent-red);
}

.trust-item:nth-child(3) .trust-item-icon {
  background: var(--teal-light);
  color: var(--teal);
}

.trust-item:nth-child(4) .trust-item-icon {
  background: #fef3c7;
  color: var(--amber);
}

.trust-item-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.trust-item-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 80px 0;
  position: relative;
}

.section.bg-alt {
  background: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 54px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-tag.tag-red {
  background: var(--accent-red-light);
  color: var(--accent-red);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Services Section (4 Main Core Focus from Photo)
   ========================================================================== */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-red), var(--primary));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(2, 132, 199, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:nth-child(1) .service-card-icon {
  background: #fee2e2;
  color: #dc2626;
}
.service-card:nth-child(2) .service-card-icon {
  background: #e0f2fe;
  color: #0284c7;
}
.service-card:nth-child(3) .service-card-icon {
  background: #ccfbf1;
  color: #0d9488;
}
.service-card:nth-child(4) .service-card-icon {
  background: #fef3c7;
  color: #d97706;
}

.service-card:hover .service-card-icon {
  transform: scale(1.1) rotate(4deg);
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-main);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features-list li {
  font-size: 0.86rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features-list li svg {
  color: var(--teal);
  flex-shrink: 0;
}

.service-action-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  cursor: pointer;
}

.service-action-link:hover {
  color: var(--accent-red);
}

/* Secondary Services Grid (Minor treatments) */
.secondary-services-strip {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.04) 0%, rgba(220, 38, 38, 0.04) 100%);
  border-radius: var(--radius-xl);
  padding: 30px;
  border: 1px dashed var(--border-color);
}

.secondary-header {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.secondary-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.secondary-tag-item {
  background: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.secondary-tag-item span {
  color: var(--teal);
}

/* ==========================================================================
   Doctor Profile & Clinic Story Section
   ========================================================================== */
.doctor-story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.doctor-media-col {
  position: relative;
}

.doctor-media-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  position: relative;
}

.doctor-media-box img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  height: 440px;
}

.doctor-badge-floating {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  color: #ffffff;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.doctor-badge-floating h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.doctor-badge-floating p {
  font-size: 0.84rem;
  color: #cbd5e1;
}

.doctor-text-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doctor-text-col .quote-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cred-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-red-light);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.cred-info h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
}

.cred-info p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Interactive Cost Calculator
   ========================================================================== */
.calculator-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  padding: 40px;
  max-width: 960px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.calc-group {
  margin-bottom: 22px;
}

.calc-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.calc-select, .calc-range {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--bg-main);
  outline: none;
  transition: var(--transition);
}

.calc-select:focus {
  border-color: var(--primary);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.calc-range-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calc-range-slider {
  flex-grow: 1;
  height: 8px;
  border-radius: 4px;
  outline: none;
  background: #e2e8f0;
  accent-color: var(--accent-red);
}

.calc-range-val {
  min-width: 48px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-red);
  text-align: right;
}

.calc-result-box {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.calc-result-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.calc-result-title {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.9;
  margin-bottom: 8px;
}

.calc-result-number {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}

.calc-result-note {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-bottom: 20px;
}

.btn-calc-book {
  width: 100%;
  padding: 12px;
  background: #ffffff;
  color: var(--primary-dark);
  font-weight: 800;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-calc-book:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Before / After Interactive Slider
   ========================================================================== */
.before-after-container {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.ba-slider-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  user-select: none;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.ba-image.before-img {
  background: linear-gradient(135deg, #78350f 0%, #d97706 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
}

.ba-image.after-img {
  width: 50%;
  border-right: 3px solid #ffffff;
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  overflow: hidden;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.25);
}

.ba-badge-label {
  position: absolute;
  bottom: 20px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.ba-badge-label.label-before {
  right: 20px;
  background: rgba(0, 0, 0, 0.65);
}

.ba-badge-label.label-after {
  left: 20px;
  background: rgba(13, 148, 136, 0.85);
}

.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #ffffff;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.ba-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1rem;
}

.ba-caption {
  padding: 20px 24px;
  text-align: center;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Pricing Table Section
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pricing-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
  transform: scale(1.03);
}

.pricing-featured-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-red) 0%, #b91c1c 100%);
  color: #ffffff;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pricing-header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.pricing-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.pricing-price small {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-list li {
  font-size: 0.92rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-list li svg {
  color: var(--teal);
  flex-shrink: 0;
}

/* ==========================================================================
   Booking & Contact Section
   ========================================================================== */
.booking-section-wrapper {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.booking-info-pane {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.booking-info-top h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.booking-info-top p {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.detail-icon-round {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-detail-row:nth-child(2) .detail-icon-round {
  color: #ef4444;
}
.contact-detail-row:nth-child(3) .detail-icon-round {
  color: #34d399;
}

.detail-content h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 2px;
}

.detail-content p, .detail-content a {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.detail-content a:hover {
  color: #38bdf8;
}

.emergency-banner-box {
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.4);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.emergency-banner-box p {
  font-size: 0.88rem;
  color: #fca5a5;
  margin: 0;
}

/* Booking Form */
.booking-form-pane {
  padding: 48px;
  background: #ffffff;
}

.booking-form-header {
  margin-bottom: 28px;
}

.booking-form-header h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.booking-form-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  outline: none;
  background: var(--bg-main);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.btn-submit-booking {
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Map & Directions Section
   ========================================================================== */
.map-section {
  padding: 60px 0 80px;
}

.map-wrapper-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.map-iframe-container {
  width: 100%;
  height: 420px;
  border: none;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--primary-light);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #fafafa;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0f172a;
  color: #ffffff;
  padding: 70px 0 30px;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2.5px;
  background: var(--accent-red);
}

.footer-col p {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.92rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: #64748b;
}

/* ==========================================================================
   Sticky Floating Contact Bar (Mobile & Desktop)
   ========================================================================== */
.floating-quick-bar {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
}

.quick-call-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.45);
  animation: callGlow 2.5s infinite;
  transition: var(--transition);
}

@keyframes callGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(220, 38, 38, 0);
  }
}

.quick-call-btn:hover {
  transform: translateY(-3px) scale(1.02);
  color: #ffffff;
}

/* Toast Message */
.toast-notice {
  position: fixed;
  top: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  transform: translateY(-100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid #10b981;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .pricing-card.featured {
    transform: none;
  }
  .doctor-story-grid {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .booking-section-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar-left {
    display: none;
  }
  .top-bar-content {
    justify-content: center;
  }
  .main-nav {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-toggle {
    display: block;
  }
  .header-cta-group .btn-primary {
    display: none;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-bullets {
    grid-template-columns: 1fr;
  }
  .service-cards-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .booking-info-pane, .booking-form-pane {
    padding: 28px 20px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .ba-slider-wrapper {
    height: 320px;
  }
}
