/* ==========================================================================
   Design System & Variable Tokens
   ========================================================================== */

:root {
  /* Color Palette - Dark Luxury Default */
  --bg-primary: #0a0e17;
  --bg-secondary: #121824;
  --bg-card: rgba(22, 30, 46, 0.75);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(212, 175, 55, 0.3);
  
  --text-main: #f0f4f8;
  --text-muted: #94a3b8;
  --text-inverse: #0a0e17;

  /* Accent Color Variants (Default: Gold) */
  --accent-primary: #d4af37;
  --accent-hover: #b89524;
  --accent-glow: rgba(212, 175, 55, 0.25);
  --accent-gradient: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa820a 100%);
  
  /* Status Colors */
  --success: #10b981;
  --error: #ef4444;
  --info: #3b82f6;

  /* Shadows & Effects */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px var(--accent-glow);
  --backdrop-blur: blur(16px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Fonts */
  --font-main: 'Assistant', -apple-system, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-num: 'Outfit', sans-serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Overrides */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.03);
  --border-color: rgba(15, 23, 42, 0.08);
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

/* Accent Color Variations */
[data-accent="rose"] {
  --accent-primary: #e0a96d;
  --accent-hover: #c88f52;
  --accent-glow: rgba(224, 169, 109, 0.25);
  --accent-gradient: linear-gradient(135deg, #f7d6b5 0%, #e0a96d 50%, #b37330 100%);
}

[data-accent="emerald"] {
  --accent-primary: #2e8b57;
  --accent-hover: #236b43;
  --accent-glow: rgba(46, 139, 87, 0.25);
  --accent-gradient: linear-gradient(135deg, #7adba1 0%, #2e8b57 50%, #165230 100%);
}

[data-accent="sapphire"] {
  --accent-primary: #4682b4;
  --accent-hover: #346691;
  --accent-glow: rgba(70, 130, 180, 0.25);
  --accent-gradient: linear-gradient(135deg, #9bc7ed 0%, #4682b4 50%, #214463 100%);
}

/* Reset & Global Styles */
*, *::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-primary);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

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

ul {
  list-style: none;
}

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

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

.container-sm {
  max-width: 860px;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.text-center {
  text-align: center;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-accent);
  color: var(--accent-primary);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.15rem;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
}

.btn-accent {
  background: var(--accent-gradient);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
  filter: brightness(1.08);
}

.btn-outline {
  background: var(--bg-glass);
  border: 1px solid var(--border-accent);
  color: var(--text-main);
  backdrop-filter: var(--backdrop-blur);
}

.btn-outline:hover {
  background: var(--border-accent);
  color: var(--text-main);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */

.top-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.top-bar-info, .top-bar-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.whatsapp-link {
  color: #25d366;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--accent-gradient);
  color: var(--text-inverse);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 15px var(--accent-glow);
}

.doctor-name {
  font-size: 1.25rem;
  font-weight: 800;
  display: block;
  line-height: 1.2;
}

.doctor-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.3rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: var(--transition);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.accent-picker {
  position: relative;
}

.accent-btn, .theme-toggle, .mobile-toggle {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.accent-btn:hover, .theme-toggle:hover {
  border-color: var(--accent-primary);
  transform: scale(1.05);
}

.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
}

.accent-menu {
  position: absolute;
  top: 50px;
  left: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.6rem;
  display: none;
  gap: 0.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 100;
}

.accent-menu.show {
  display: flex;
}

.accent-option {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.accent-option:hover {
  transform: scale(1.2);
}

.mobile-toggle {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: 5rem 0 7rem 0;
  position: relative;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-accent);
  color: var(--accent-primary);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.highlight-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

a.cred-item {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

a.cred-item:hover {
  color: var(--accent-primary);
}

.cred-item i {
  color: var(--accent-primary);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.doctor-card-wrapper {
  position: relative;
  max-width: 420px;
  width: 100%;
}

.glow-ring {
  position: absolute;
  inset: -10px;
  background: var(--accent-gradient);
  border-radius: var(--radius-lg);
  opacity: 0.4;
  filter: blur(20px);
  z-index: 1;
}

.doctor-img {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-accent);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 1;
}

.floating-badge {
  position: absolute;
  z-index: 3;
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}

.badge-top-right {
  top: -20px;
  right: -20px;
}

.badge-top-left {
  top: -20px;
  left: -20px;
  animation-delay: 1s;
}

.badge-bottom-left {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

.badge-bottom-right {
  bottom: -20px;
  right: -20px;
  animation-delay: 3s;
}

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

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.badge-text strong {
  font-family: var(--font-num);
  font-size: 1.3rem;
  color: var(--accent-primary);
  display: inline-block;
}

.badge-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Stats Bar Section
   ========================================================================== */

.stats-bar-section {
  background: var(--bg-secondary);
  border-y: 1px solid var(--border-color);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-card strong {
  font-family: var(--font-num);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-primary);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-card span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-top-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: stretch;
  margin-bottom: 3.5rem;
}

.about-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.about-top-grid .clinic-img {
  height: 100%;
  max-height: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  .about-top-grid, .about-bottom-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-top-grid .clinic-img {
    height: auto;
    max-height: 380px;
  }
}

.about-image-wrapper {
  position: relative;
  height: 100%;
}

.clinic-img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-height: 580px;
  object-fit: cover;
}

.clinic-card-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  left: 20px;
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-accent);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
}

.clinic-card-overlay h4 {
  color: var(--accent-primary);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.clinic-card-overlay p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.doctor-sub-title {
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  white-space: pre-line;
}

.credentials-box {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

.credentials-box h3 {
  font-size: 1.1rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.credentials-box ul li {
  position: relative;
  padding-right: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.credentials-box ul li a {
  color: var(--accent-primary) !important;
  text-decoration: underline !important;
  font-weight: 700;
  transition: color var(--transition);
}

.credentials-box ul li a:hover {
  color: var(--accent-secondary) !important;
}

.credentials-box ul li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--accent-primary);
  font-weight: bold;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.phil-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 1.2rem;
  border-radius: var(--radius-md);
}

.phil-card h4 {
  color: var(--accent-primary);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.phil-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Procedures Catalogue Section
   ========================================================================== */

.procedures-section {
  background: var(--bg-secondary);
}

.catalogue-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.category-pills {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.cat-pill {
  padding: 0.6rem 1.4rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cat-pill:hover, .cat-pill.active {
  background: var(--accent-gradient);
  color: var(--text-inverse);
  border-color: transparent;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.search-box {
  position: relative;
  min-width: 280px;
}

.search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-box input {
  width: 100%;
  padding: 0.7rem 2.8rem 0.7rem 1.2rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.95rem;
}

.search-box input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.procedures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.procedure-card {
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.procedure-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
}

.procedure-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.procedure-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-bottom: 1px solid var(--border-color);
}

.procedure-card:hover .procedure-thumb img {
  transform: scale(1.08);
}

.category-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-accent);
  color: var(--accent-primary);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.procedure-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.procedure-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.procedure-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  flex: 1;
}

.meta-row {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-main);
  padding: 0.8rem 0;
  border-top: 1px dashed var(--border-color);
  margin-bottom: 1.2rem;
}

.meta-item i {
  color: var(--accent-primary);
}

/* Modal Styling */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.show {
  display: flex;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalUp 0.3s ease-out;
}

@keyframes modalUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 10;
}

.modal-body {
  padding: 2.5rem;
}

.modal-header h2 {
  font-size: 1.8rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.modal-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: var(--bg-primary);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

/* ==========================================================================
   Consultation Finder (Wizard)
   ========================================================================== */

.finder-card {
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  box-shadow: var(--shadow-lg);
}

.finder-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.wizard-step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.wizard-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-step h3 {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--accent-primary);
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.option-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 700;
}

.option-btn i {
  font-size: 2.2rem;
  color: var(--accent-primary);
}

.option-btn:hover {
  border-color: var(--accent-primary);
  background: var(--bg-glass);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px var(--accent-glow);
}

.finder-result {
  text-align: center;
}

.finder-result h3 {
  font-size: 1.8rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.finder-result p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ==========================================================================
   Patient Journey Section
   ========================================================================== */

.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
}

.step-num {
  font-family: var(--font-num);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-primary);
  opacity: 0.8;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Testimonials & FAQ
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.stars {
  color: #f59e0b;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  flex: 1;
}

.patient-info strong {
  display: block;
  font-size: 1.05rem;
}

.patient-info span {
  font-size: 0.85rem;
  color: var(--accent-primary);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-question {
  width: 100%;
  padding: 1.4rem 1.8rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-main);
  font-font-weight: 700;
  font-size: 1.1rem;
  text-align: right;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question i {
  color: var(--accent-primary);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.8rem;
  color: var(--text-muted);
  font-size: 1rem;
  white-space: pre-line;
}

.faq-item.open .faq-answer {
  max-height: 1000px;
  padding: 0 1.8rem 1.4rem 1.8rem;
}

/* ==========================================================================
   Publications & Media Citations Section (Compact Grid + Modal)
   ========================================================================== */

.publications-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

.publications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.publication-card-compact {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.publication-card-compact:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}

.pub-thumb-wrapper {
  height: 200px;
  background: #0b1324;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pub-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.publication-card-compact:hover .pub-thumb-wrapper img {
  transform: scale(1.05);
}

.pub-compact-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pub-compact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.pub-compact-title {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  line-height: 1.35;
  font-weight: 700;
}

.pub-compact-subtitle {
  font-size: 0.9rem;
  color: var(--accent-primary);
  margin-bottom: 1.2rem;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pub-compact-btn {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
}

.pub-tag {
  background: rgba(70, 130, 180, 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(70, 130, 180, 0.3);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}

.pub-quote {
  background: rgba(255, 255, 255, 0.04);
  border-right: 3px solid var(--accent-primary);
  padding: 1rem 1.2rem;
  margin: 1.2rem 0;
  border-radius: var(--radius-sm);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-main);
  direction: ltr;
  text-align: left;
  line-height: 1.5;
}

.pub-quote i {
  color: var(--accent-primary);
  margin-right: 0.4rem;
}

.pub-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  white-space: pre-line;
}

.pub-modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.pub-modal-img-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #000;
}

.pub-modal-img-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ==========================================================================
   Contact & Booking Form
   ========================================================================== */

.contact-section {
  background: var(--bg-secondary);
}

.clinics-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 2rem 0;
}

.clinic-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}

.clinic-card h3 {
  color: var(--accent-primary);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;

  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.clinic-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.clinic-card .waze-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #33ccff;
  font-weight: 600;
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.channel-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.channel-card i {
  font-size: 1.8rem;
}

.channel-card.whatsapp i { color: #25d366; }
.channel-card.phone i { color: var(--accent-primary); }

.booking-card {
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.booking-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;

  color: var(--accent-primary);
}

.booking-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.error-msg {
  color: var(--error);
  font-size: 0.8rem;
  display: none;
}

.form-group.has-error input,
.form-group.has-error select {
  border-color: var(--error);
}

.form-group.has-error .error-msg {
  display: block;
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: slideLeft 0.3s ease;
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Footer */
.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-disclaimer {
  max-width: 700px;
  background: var(--bg-glass);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-ctas, .hero-credentials {
    justify-content: center;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .main-nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 260px;
    height: calc(100vh - 70px);
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    padding: 2rem;
    transition: var(--transition);
  }
  .main-nav.open {
    right: 0;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }
  .mobile-toggle {
    display: flex;
  }
  .header-cta {
    display: none;
  }
}

/* Tablet & Smartphone Responsive Fine-Tuning */
@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .about-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image-col {
    order: -1;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .modal-content {
    width: 93%;
    padding: 1.5rem;
    max-height: 88vh;
    border-radius: var(--radius-md);
  }

  .pub-modal-gallery {
    grid-template-columns: 1fr;
  }

  .publications-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-credentials {
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
  }

  .top-announcement .container {
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
  }
}
