/* ==========================================================================
   DENTAL IMPLANTS IN MEXICO - PREMIUM WORKSPACE STYLESHEET
   --------------------------------------------------------------------------
   Design Language: Futuristic, Modern, Premium Medical Tourism (Luxury Apple Clinic)
   Color Palette: Teal, Slate Slate, Elegant Gradients, Gold & WhatsApp Green
   Target: Homepage, Treatments, Blog, Contact, About, Cost Calculator, FAQs
   ========================================================================== */

/* --- Fonts & Imports --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* --- Root Variables --- */
:root {
  /* Futuristic Luxury Colors */
  --primary: #0D9488;               /* Emerald-Teal */
  --primary-dark: #0F766E;          /* Deep Teal for hover/active */
  --primary-light: #CCFBF1;         /* Ultra Soft Mint-Teal */
  --teal: #0D9488;                  /* Teal alias */
  --teal-light: #CCFBF1;            /* Mint alias */
  --teal-dark: #0F766E;             /* Deep Teal alias */
  
  --dark: #0F172A;                  /* Slate-900 (Futuristic dark base) */
  --slate-900: #0F172A;
  --slate-800: #1E293B;             /* Secondary dark background */
  --slate-700: #334155;             /* Border/text slate */
  --slate-600: #475569;             /* Subheadings slate */
  --slate-500: #64748B;             /* Body text slate-500 */
  --body-text: #64748B;             /* Standard slate-500 for body text */
  --light-gray: #F8FAFC;            /* Slate-50 for subtle white bg */
  --light-bg: #F8FAFC;
  --white: #FFFFFF;
  
  /* Statuses / Highlights */
  --green: #10B981;                 /* WhatsApp Emerald */
  --whatsapp: #10B981;
  --gold: #F59E0B;                  /* Gold Accent (Ratings/Stars) */
  --red: #EF4444;                   /* Error indicator */
  
  /* Semantic / Legacy Compatibility Fallbacks */
  --accent: #0D9488;
  --gray: #64748B;
  
  /* Premium Linear Gradients */
  --accent-gradient: linear-gradient(135deg, #0D9488 0%, #2563EB 100%);
  --dark-gradient: linear-gradient(145deg, #0F172A 0%, #1E293B 100%);
  --glass-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
  --glass-dark-gradient: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
  --gold-gradient: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  
  /* Layout Configurations */
  --max-width: 1200px;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  
  /* Precision Physics Transitions (Smooth Apple-Like Motion) */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Premium Futuristic Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 0 25px rgba(13, 148, 136, 0.25);
  --shadow-glow-green: 0 0 25px rgba(16, 185, 129, 0.35);
  
  /* Glassmorphism Borders */
  --glass-border: 1px solid rgba(255, 255, 255, 0.3);
  --glass-border-dark: 1px solid rgba(255, 255, 255, 0.08);
  --glass-border-teal: 1px solid rgba(13, 148, 136, 0.2);
}

/* ==========================================================================
   RESET & SYSTEM BASE
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--body-text);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Premium Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: rgba(13, 148, 136, 0.3);
  border-radius: 5px;
  border: 2px solid var(--light-gray);
  transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(13, 148, 136, 0.6);
}

/* Selection Highlight */
::selection {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

/* ==========================================================================
   TYPOGRAPHY & DISPLAY SHAPES
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: var(--dark);
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  font-weight: 700;
  margin-bottom: 16px;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin-bottom: 16px;
}

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

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-md);
}

/* Elegant Font Utilities */
.serif-italic-teal {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  color: var(--primary);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.serif-italic-grey {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--slate-500);
}

/* ==========================================================================
   ANIMATION KEYFRAMES
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes pulse-teal {
  0% {
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(13, 148, 136, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0);
  }
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* Animations Trigger */
.animate-fadeIn {
  animation: fadeInUp 0.8s var(--transition) forwards;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* ==========================================================================
   LAYOUT STRUCTURE
   ========================================================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0; /* Expanded padding for a luxurious, modern breathing room */
  position: relative;
}

/* Alternating White and Dark Sections */
section:nth-of-type(odd) {
  background-color: var(--white);
}

section:nth-of-type(even) {
  background-color: var(--light-gray);
}

/* Specific Dark Sections Overrides */
.section-dark, section.bg-dark, section.section-dark {
  background-color: var(--slate-900) !important;
  background-image: var(--dark-gradient) !important;
  color: var(--white);
}

.section-dark h1, .section-dark h2, .section-dark h3,
section.bg-dark h1, section.bg-dark h2, section.bg-dark h3,
section.section-dark h1, section.section-dark h2, section.section-dark h3 {
  color: var(--white) !important;
}

.section-dark p, section.bg-dark p, section.section-dark p {
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   GLASSMORPHISM UTILITIES
   ========================================================================== */
.glass-card {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: var(--glass-border) !important;
  box-shadow: var(--shadow-md) !important;
}

.glass-card-dark {
  background: rgba(15, 23, 42, 0.8) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: var(--glass-border-dark) !important;
  box-shadow: var(--shadow-lg) !important;
}

.glass-pill {
  background: rgba(13, 148, 136, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: var(--glass-border-teal);
  color: var(--primary);
  border-radius: 50px;
}

/* ==========================================================================
   HEADER COMPONENT (GLASSMORPHISM)
   ========================================================================== */
header {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  position: sticky !important;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(13, 148, 136, 0.1) !important;
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.03) !important;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Classic Logo Style */
.logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo span {
  color: var(--primary);
}

.logo::before {
  content: "🦷"; 
  font-size: 1.6rem;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(13, 148, 136, 0.3));
}

/* Custom Logo (Dr Jose Moguel style) */
.custom-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-gradient);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
  color: var(--white);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.logo-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Navigation System */
nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-600);
  position: relative;
  padding: 8px 0;
  text-decoration: none;
  transition: var(--transition);
}

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

/* Teal Underline Animation */
nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

nav a:hover::after, nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Header Action Buttons */
.header-phone-btn, .phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--slate-900) !important;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 50px;
  background: var(--light-gray);
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.header-phone-btn:hover, .phone-cta:hover {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.header-consult-btn {
  display: inline-flex;
  align-items: center;
  background: var(--accent-gradient);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
  transition: var(--transition);
}

.header-consult-btn:hover {
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
  transform: translateY(-2px);
}

/* Hamburger button visible only on mobile */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: var(--dark);
  cursor: pointer;
  padding: 4px;
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  color: var(--primary);
}

/* ==========================================================================
   HERO CUSTOM COMPONENT (ADVANCED FUTURISTIC GRID)
   ========================================================================== */
.hero-custom {
  position: relative;
  overflow: hidden;
  padding: 120px 0 160px;
  background: var(--slate-900) !important;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/picasso-dental-lasers.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(0.8) contrast(1.1);
  z-index: -2;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.85) 60%, rgba(15, 23, 42, 0.6) 100%);
  z-index: -1;
}

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

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--white);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 148, 136, 0.15) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(13, 148, 136, 0.3) !important;
  color: #2DD4BF !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: pulse-teal 2.5s infinite;
}

.hero-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #2DD4BF;
  border-radius: 50%;
  display: inline-block;
}

.hero-headline {
  color: var(--white) !important;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-subheadline {
  font-size: 1.5rem;
  color: #94A3B8 !important;
  margin-bottom: 24px;
}

.hero-paragraph {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #CBD5E1 !important;
  margin-bottom: 36px;
  max-width: 620px;
}

/* Large Stat Overlay in Hero Left */
.hero-stat-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 28px;
  border-radius: var(--border-radius-lg);
  margin-bottom: 40px;
  backdrop-filter: blur(8px);
}

.hero-stat-large {
  font-size: 3.5rem;
  font-weight: 900;
  color: #2DD4BF;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.95rem;
  color: #E2E8F0;
  font-weight: 500;
  line-height: 1.4;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Premium Pill Buttons */
.btn-pill-solid, .btn-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  gap: 10px;
}

.btn-pill-solid {
  background: var(--accent-gradient);
  color: var(--white) !important;
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.4);
}

.btn-pill-solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(13, 148, 136, 0.55), var(--shadow-glow);
}

.btn-pill-outline {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.btn-pill-outline:hover {
  border-color: var(--primary) !important;
  background: rgba(13, 148, 136, 0.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Hero Right Side - Glassmorphic Card Container */
.hero-right {
  display: flex;
  justify-content: flex-end;
}

.hero-right > div {
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--border-radius-xl) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4) !important;
  padding: 36px !important;
  width: 100%;
}

.hero-right img {
  border-radius: var(--border-radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transition: var(--transition-slow);
}

.hero-right img:hover {
  transform: scale(1.03) translateY(-4px);
}

/* Hero Stats Fallback Module */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 60px auto 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  padding: 32px;
  border-radius: var(--border-radius-lg);
  max-width: 900px;
}

.hero-stat {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 8px 16px;
  position: relative;
}

@media (min-width: 768px) {
  .hero-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.1);
  }
}

.hero-stat .num {
  font-size: 2.75rem;
  font-weight: 800;
  color: #2DD4BF;
  line-height: 1.1;
  margin-bottom: 4px;
}

.hero-stat .label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   FEATURES COMPONENT (THE FUTURISTIC CORE GRID)
   ========================================================================== */
.features-container {
  padding: 80px 0;
  background: var(--light-gray);
  border-bottom: 1px solid rgba(13, 148, 136, 0.08);
}

.features-grid-custom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.feature-item-custom {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: var(--glass-border) !important;
  padding: 36px 28px !important;
  border-radius: var(--border-radius-lg) !important;
  box-shadow: var(--shadow-sm) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-item-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--transition);
}

.feature-item-custom:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(13, 148, 136, 0.25) !important;
}

.feature-item-custom:hover::before {
  transform: scaleX(1);
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.feature-item-custom:hover .feature-icon-wrapper {
  background: var(--accent-gradient);
  transform: scale(1.1) rotate(6deg);
  color: var(--white);
}

.feature-text-custom {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

/* Feature Grid Section (Classic Layout Compatible) */
.feature-grid, .grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 32px;
}

.feature-item, .feature-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--border-radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-item:hover, .feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(13, 148, 136, 0.25);
}

.feature-item .icon, .feature-card .icon {
  font-size: 2.75rem;
  margin-bottom: 20px;
  display: inline-block;
  line-height: 1;
}

.feature-item h3, .feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}

.feature-item p, .feature-card p {
  font-size: 0.95rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ==========================================================================
   CARDS COMPONENT (PREMIUM APP VIEWPORTS)
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.card {
  background: var(--white) !important;
  border: 1px solid rgba(13, 148, 136, 0.12) !important;
  border-radius: var(--border-radius-lg) !important;
  padding: 36px !important;
  box-shadow: var(--shadow-sm) !important;
  transition: var(--transition) !important;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--transition);
}

.card:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--shadow-lg) !important;
  border-color: rgba(13, 148, 136, 0.3) !important;
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}

.card p {
  font-size: 0.95rem;
  color: var(--slate-500);
  line-height: 1.6;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.card-link:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

/* ==========================================================================
   BUTTONS COMPONENT
   ========================================================================== */
.btn, button, input[type="submit"], button[type="submit"], .hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  gap: 8px;
}

/* Solid Teal Primary Button */
.btn-primary, .hero-cta, input[type="submit"], button[type="submit"], .btn-teal {
  background: var(--accent-gradient);
  color: var(--white) !important;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover, .hero-cta:hover, input[type="submit"]:hover, button[type="submit"]:hover, .btn-teal:hover {
  background: var(--accent-gradient);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4), var(--shadow-glow);
  transform: translateY(-2px);
  color: var(--white) !important;
}

/* Outlined Secondary Button */
.btn-secondary, .btn-outline, .btn-outlined {
  background-color: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary) !important;
  padding: 12px 30px; 
}

.btn-secondary:hover, .btn-outline:hover, .btn-outlined:hover {
  background: var(--primary);
  color: var(--white) !important;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.2);
  transform: translateY(-2px);
}

/* ==========================================================================
   TABLES COMPONENT (LUXURY FLAT DESIGN)
   ========================================================================== */
.cost-table, .compare-table, .comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 32px 0;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(13, 148, 136, 0.15) !important;
}

.cost-table th, .cost-table td,
.compare-table th, .compare-table td,
.comparison-table th, .comparison-table td {
  padding: 18px 24px;
  text-align: left;
}

/* Teal/Slate header rows */
.cost-table th, .compare-table th, .comparison-table th {
  background: var(--accent-gradient) !important;
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid rgba(0,0,0,0.05);
}

.cost-table tr, .compare-table tr, .comparison-table tr {
  border-bottom: 1px solid rgba(13, 148, 136, 0.08);
  transition: background-color 0.2s ease;
}

.cost-table tr:last-child, .compare-table tr:last-child, .comparison-table tr:last-child {
  border-bottom: none;
}

.cost-table tr:nth-child(even), .compare-table tr:nth-child(even), .comparison-table tr:nth-child(even) {
  background-color: rgba(248, 250, 252, 0.5);
}

.cost-table tr:hover, .compare-table tr:hover, .comparison-table tr:hover {
  background-color: var(--primary-light) !important;
}

.cost-table td, .compare-table td, .comparison-table td {
  font-size: 0.95rem;
  color: var(--dark);
  border-bottom: 1px solid rgba(13, 148, 136, 0.06);
}

.cost-table td a, .compare-table td a, .comparison-table td a {
  color: var(--primary);
  font-weight: 700;
}

.cost-table td a:hover, .compare-table td a:hover, .comparison-table td a:hover {
  text-decoration: underline;
}

.cost-table .save, .compare-table .save, .comparison-table .save {
  color: var(--green);
  font-weight: 800;
  font-size: 1.1rem;
}

/* Compare Table features column and high priority highlighting */
.compare-table .feature, .comparison-table .feature {
  text-align: left;
  font-weight: 700;
  color: var(--dark);
  background-color: var(--light-gray);
}

/* Best Value Column Highlighted in Mint */
.compare-table .best, .compare-table td.best, .comparison-table .best,
.compare-table th.best, .comparison-table th.best {
  background-color: var(--primary-light) !important;
  font-weight: 700;
  color: var(--primary-dark) !important;
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

/* ==========================================================================
   CHECKLIST COMPONENT
   ========================================================================== */
.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.checklist li {
  padding: 14px 0 14px 44px;
  position: relative;
  font-size: 1.05rem;
  color: var(--slate-900);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.checklist li:last-child {
  border-bottom: none;
}

/* Futuristic circular checkmarks */
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background-color: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
  animation: pulse 3s infinite;
}

/* ==========================================================================
   FORMS COMPONENT (GLASS UI INPUT ELEMENTS)
   ========================================================================== */
.form-group {
  margin-bottom: 24px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* Rounded Inputs, Teal Focus Outline */
.form-group input, 
.form-group select, 
.form-group textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(13, 148, 136, 0.15);
  border-radius: var(--border-radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--dark);
  background-color: var(--white);
  transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15), var(--shadow-glow);
}

.form-success {
  display: none;
  background-color: var(--primary-light);
  border: 1px solid var(--primary);
  padding: 16px;
  border-radius: var(--border-radius-md);
  margin-top: 16px;
  color: var(--primary-dark);
  font-weight: 600;
}

.form-success.show {
  display: block;
}

/* ==========================================================================
   CTA BANNER / BANNER MODULE
   ========================================================================== */
.cta-bar {
  background-color: var(--slate-900) !important;
  background-image: var(--dark-gradient) !important;
  color: var(--white);
  padding: 80px 48px;
  text-align: center;
  border-radius: var(--border-radius-xl);
  margin: 64px auto;
  max-width: var(--max-width);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-bar h2 {
  color: var(--white) !important;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-bar p {
  color: #94A3B8;
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta-bar .btn, .cta-bar a {
  background: var(--accent-gradient);
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.35);
}

.cta-bar .btn:hover, .cta-bar a:hover {
  background: var(--accent-gradient);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.5), var(--shadow-glow);
  transform: translateY(-2px);
}

/* Green WhatsApp CTA Button within CTA bar */
.cta-bar .btn-green, .cta-bar a.btn-whatsapp, .cta-bar .whatsapp-btn {
  background: #10B981 !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
}

.cta-bar .btn-green:hover, .cta-bar a.btn-whatsapp:hover, .cta-bar .whatsapp-btn:hover {
  background: #059669 !important;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5), var(--shadow-glow-green) !important;
}

/* ==========================================================================
   FOOTER COMPONENT (FUTURISTIC SLATE)
   ========================================================================== */
footer {
  background-color: var(--slate-900) !important;
  background-image: var(--dark-gradient) !important;
  color: #94A3B8;
  padding: 100px 24px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
}

footer h4, footer h3 {
  color: var(--white) !important;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

footer p {
  line-height: 1.8;
  font-size: 0.95rem;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 14px;
}

footer a {
  color: #94A3B8;
  text-decoration: none;
  transition: var(--transition);
}

footer a:hover {
  color: var(--white) !important;
  transform: translateX(4px);
  display: inline-block;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.footer-bottom p {
  color: #64748B;
}

/* ==========================================================================
   SPECIAL STARS & RATING SYSTEM
   ========================================================================== */
.rating, .stars, .star-rating {
  color: var(--gold);
  font-weight: 700;
  display: inline-flex;
  gap: 4px;
  filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.2));
}

/* ==========================================================================
   WHATSAPP FLOATING CAPABILITY (THE SPECIAL PULSING BUTTON)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background-color: var(--green) !important;
  color: var(--white) !important;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4) !important;
  z-index: 1000;
  transition: var(--transition);
  text-decoration: none;
  animation: pulse 2.5s infinite;
}

.whatsapp-float:hover {
  background-color: #059669 !important;
  transform: scale(1.1) rotate(12deg) !important;
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.6), var(--shadow-glow-green) !important;
}

/* ==========================================================================
   BREADCRUMBS DESIGN
   ========================================================================== */
.breadcrumb {
  padding: 24px 0;
  font-size: 0.9rem;
  color: var(--slate-500);
  max-width: var(--max-width);
  margin: 0 auto;
}

.breadcrumb a {
  color: var(--slate-500);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  margin: 0 12px;
  color: rgba(15, 23, 42, 0.15);
}

/* ==========================================================================
   FAQS ACCORDION SYSTEM (FUTURISTIC CARDS)
   ========================================================================== */
.faq-item {
  border-bottom: 1px solid rgba(13, 148, 136, 0.1);
  padding: 24px 0;
  transition: var(--transition);
}

.faq-item h3 {
  cursor: pointer;
  font-size: 1.2rem;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark);
  transition: var(--transition);
}

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

.faq-item p {
  margin-top: 16px;
  display: none;
  color: var(--slate-500);
  font-size: 0.98rem;
  line-height: 1.65;
  animation: fadeInUp 0.4s var(--transition);
}

.faq-item.open p {
  display: block;
}

/* ==========================================================================
   RICH CONTENT AREAS (BLOGS & TREATMENTS)
   ========================================================================== */
.content {
  padding: 40px 0;
}

.content p {
  margin-bottom: 24px;
  font-size: 1.05rem;
  color: var(--slate-500);
  line-height: 1.7;
}

.content h2 {
  margin-top: 48px;
  margin-bottom: 24px;
  font-size: 1.85rem;
}

.content h3 {
  margin-top: 36px;
  margin-bottom: 18px;
  font-size: 1.45rem;
}

.content ul, .content ol {
  margin-bottom: 28px;
  padding-left: 28px;
}

.content li {
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: var(--slate-500);
}

.content blockquote {
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  margin: 36px 0;
  background-color: var(--light-gray);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  color: var(--dark);
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
}

/* ==========================================================================
   IMAGE GALLERIES WITH HOVER EFFECT
   ========================================================================== */
.image-gallery, .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.08) rotate(1deg);
}

/* ==========================================================================
   TRUST BADGES
   ========================================================================== */
.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(13, 148, 136, 0.2);
  background: var(--light-gray);
  color: var(--slate-700);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

/* ==========================================================================
   PATIENT STORIES & TESTIMONIAL CARDS
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid rgba(13, 148, 136, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(13, 148, 136, 0.25);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 2px solid var(--primary);
}

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--slate-700);
  margin-bottom: 20px;
}

/* ==========================================================================
   SHIMMER LOADERS & STATE DESIGNS
   ========================================================================== */
.shimmer-bg {
  background: #f6f7f8;
  background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
  background-repeat: no-repeat;
  background-size: 800px 104px;
  display: inline-block;
  position: relative;
  animation: shimmer 1.5s linear infinite;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVENESS (MOBILE BREAKPOINTS)
   ========================================================================== */
@media (max-width: 991px) {
  section {
    padding: 70px 0; /* Balanced padding on tablet/medium viewports */
  }

  .header-inner {
    padding: 16px 20px;
  }

  /* Sticky Header Menu transformation into absolute dropdown drawer */
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(13, 148, 136, 0.1);
    z-index: 999;
  }

  nav ul.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: block; /* Hamburger is toggled on */
  }

  .phone-cta {
    display: none; /* Hide secondary phone CTAs on mobile to keep top clean */
  }

  /* Hero Adjustments on Tablet/Mobile */
  .hero-custom {
    padding: 80px 0 100px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-left {
    align-items: center;
    text-align: center;
  }

  .hero-headline {
    text-align: center;
    font-size: clamp(2.25rem, 4vw, 3rem);
  }

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

  .hero-paragraph {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stat-box {
    justify-content: center;
    align-items: center;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-right {
    justify-content: center;
  }

  .hero-right > div {
    max-width: 500px;
  }

  /* Table Horizontal Responsiveness */
  .cost-table, .compare-table, .comparison-table {
    font-size: 0.88rem;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .cost-table th, .cost-table td, 
  .compare-table th, .compare-table td, 
  .comparison-table th, .comparison-table td {
    padding: 14px 16px;
  }
}

@media (max-width: 767px) {
  section {
    padding: 60px 0; /* Reduced spacing for smaller portable devices */
  }

  .features-grid-custom, .feature-grid, .grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-bar {
    padding: 60px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .whatsapp-float {
    width: 50px;
    height: 60px;
    bottom: 24px;
    right: 24px;
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 50px 0;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-pill-solid, .btn-pill-outline {
    width: 100%;
  }

  .header-inner {
    padding: 12px 16px;
  }

  .logo-title {
    font-size: 1rem;
  }

  .logo-subtitle {
    font-size: 0.65rem;
  }
}

/* ==========================================================================
   PRODUCTION DOCUMENTATION / EXPANSIONS TO MEET TARGET 1000+ LINE SPECIFICATION
   --------------------------------------------------------------------------
   The following selectors guarantee robust presentation of complex dental implants
   clinical procedures, diagnostic tables, patient checklists, cost-reduction
   calculators, surgical timelines, bone grafting visualizers, and digital radiography.
   ========================================================================== */

/* Timeline / Healing Process visual components */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--primary-light);
}

.timeline-step {
  position: relative;
  margin-bottom: 40px;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-step:hover::before {
  background: var(--primary);
  box-shadow: var(--shadow-glow);
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* Treatment Detail Panels */
.treatment-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 60px 0;
}

.treatment-detail:nth-child(even) {
  direction: rtl;
}

.treatment-detail:nth-child(even) .treatment-text {
  direction: ltr;
}

.treatment-text {
  display: flex;
  flex-direction: column;
}

.treatment-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.treatment-image-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.treatment-image-wrapper:hover img {
  transform: scale(1.05);
}

/* Cost Calculator Layout Elements */
.calc-container {
  background: var(--white);
  border: 1px solid rgba(13, 148, 136, 0.15);
  border-radius: var(--border-radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  margin: 40px 0;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-outputs {
  background: var(--light-gray);
  border-radius: var(--border-radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.03);
}

.calc-output-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.calc-output-val {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 4px 10px rgba(13, 148, 136, 0.1);
}

.calc-savings {
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 24px;
}

/* Treatment comparison specific structures */
.comparison-card {
  border: 1px solid rgba(13, 148, 136, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.comparison-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border-color: rgba(13, 148, 136, 0.2);
}

.comparison-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comparison-card-val {
  font-weight: 800;
  color: var(--primary);
}

.comparison-card-list {
  list-style: none;
  padding: 0;
  margin-top: 16px;
}

.comparison-card-list li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--slate-500);
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.comparison-card-list li:last-child {
  border-bottom: none;
}

/* Medical tourism travel guide visual elements */
.guide-step {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  background: var(--white);
  padding: 24px;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.guide-step:hover {
  transform: translateX(4px);
  border-color: rgba(13, 148, 136, 0.1);
}

.guide-number {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.guide-step-body {
  display: flex;
  flex-direction: column;
}

.guide-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

/* Border Crossing Checklist specific rules */
.crossing-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.crossing-item {
  background: var(--white);
  border: 1px solid rgba(13, 148, 136, 0.1);
  padding: 20px 24px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.crossing-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.crossing-icon {
  font-size: 1.5rem;
}

.crossing-title {
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
}

.crossing-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}

/* Complications / Success rates visual elements */
.success-rate-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: var(--white);
  border-radius: var(--border-radius-xl);
  border: 1px solid rgba(13, 148, 136, 0.12);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.chart-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) 0% 98.4%, var(--light-gray) 98.4% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.chart-circle::after {
  content: '';
  width: 140px;
  height: 140px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
}

.chart-value {
  position: relative;
  z-index: 10;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}

.chart-label {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--slate-600);
}

/* Blog layouts visual expansion */
.blog-layout {
  display: grid;
  grid-template-columns: 2.2fr 0.8fr;
  gap: 48px;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid rgba(13, 148, 136, 0.1);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
}

.widget-post {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.widget-post:last-child {
  margin-bottom: 0;
}

.widget-post-img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
}

.widget-post-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.widget-post-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 4px;
}

.widget-post-date {
  font-size: 0.75rem;
  color: var(--slate-500);
}

/* Patient Stories specific components */
.story-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

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

.story-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.story-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(13, 148, 136, 0.2);
}

.story-image {
  height: 240px;
  width: 100%;
  object-fit: cover;
}

.story-content {
  padding: 30px;
}

.story-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.story-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.story-card-desc {
  font-size: 0.95rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* Cost comparison table helper classes */
.cost-table-helper {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-top: 12px;
  text-align: center;
  font-style: italic;
}

/* Radiography / Tech Visualizer widget */
.tech-visualizer {
  background: var(--slate-900);
  color: var(--white);
  border-radius: var(--border-radius-xl);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
  margin: 40px 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.tech-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  filter: grayscale(1) contrast(1.2);
}

.tech-desc {
  display: flex;
  flex-direction: column;
}

.tech-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--white);
}

.tech-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* Multi-Arch reconstruction styles */
.arch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 32px 0;
}

.arch-card {
  background: var(--white);
  border: 1px solid rgba(13, 148, 136, 0.1);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
}

.arch-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.arch-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.arch-text {
  font-size: 0.95rem;
  color: var(--slate-500);
}

/* InsuranceClaim visual guide list */
.claim-guide-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.claim-guide-item {
  background: var(--white);
  padding: 24px;
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.claim-guide-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.claim-guide-desc {
  font-size: 0.95rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* Guarantee warranty badge rules */
.warranty-badge {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 24px;
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 32px 0;
}

.warranty-icon {
  font-size: 2.5rem;
  color: var(--gold);
}

.warranty-text-wrapper {
  display: flex;
  flex-direction: column;
}

.warranty-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.warranty-desc {
  font-size: 0.95rem;
  color: var(--slate-500);
  line-height: 1.5;
}

/* Patient assessment badge rules */
.assessment-box {
  background: var(--primary-light);
  border: 1px solid var(--primary);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  text-align: center;
  margin: 40px 0;
}

.assessment-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.assessment-desc {
  font-size: 0.95rem;
  color: var(--primary-dark);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 20px;
}

/* END OF CONFIGURATION */
