/*
Theme Name: Dention Luxury Dental
Theme URI: https://dention.clinic
Description: High-End Luxury Dental Clinic & Specialist Directory Theme powered by Google Inter Typography.
Version: 2.5.0
Author: Antigravity Deepmind Team
Text Domain: dention-luxury
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* -------------------------------------------------------------
   THEME VARIABLES & INTER TYPOGRAPHY SYSTEM
   ------------------------------------------------------------- */
:root, [data-theme="dark"] {
  --bg-primary: #0A1118;
  --bg-secondary: #121C26;
  --bg-card: rgba(22, 33, 46, 0.85);
  --bg-card-hover: rgba(30, 44, 60, 0.95);
  --bg-input: rgba(10, 17, 24, 0.7);
  
  --gold-primary: #E2AD16;
  --gold-light: #F3C827;
  --gold-dark: #BD8A0C;
  --gold-gradient: linear-gradient(90deg, #F3C827 0%, #E2AD16 50%, #BD8A0C 100%);
  --btn-gold-gradient: linear-gradient(90deg, #F3C827 0%, #E2AD16 50%, #BD8A0C 100%);
  --btn-gold-gradient-hover: linear-gradient(90deg, #F5D038 0%, #E8B522 50%, #C79412 100%);
  
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --heading-color: #FFFFFF;
  
  --border-gold: rgba(226, 173, 22, 0.4);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-luxury: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 20px rgba(226, 173, 22, 0.25);

  --font-family-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

[data-theme="light"] {
  --bg-primary: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-input: #F1F5F9;
  
  --gold-primary: #D4A017;
  --gold-light: #F3C827;
  --gold-dark: #BD8A0C;
  --gold-gradient: linear-gradient(90deg, #F3C827 0%, #E2AD16 50%, #BD8A0C 100%);
  --btn-gold-gradient: linear-gradient(90deg, #F3C827 0%, #E2AD16 50%, #BD8A0C 100%);
  --btn-gold-gradient-hover: linear-gradient(90deg, #F5D038 0%, #E8B522 50%, #C79412 100%);
  
  --text-main: #0F172A;
  --text-muted: #334155;
  --heading-color: #0F172A;
  
  --border-gold: rgba(212, 160, 23, 0.45);
  --border-subtle: rgba(15, 23, 42, 0.12);
  --shadow-luxury: 0 15px 35px rgba(15, 23, 42, 0.08), 0 0 15px rgba(226, 173, 22, 0.2);
  
  --font-family-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Light Mode High Contrast Specific Overrides */
[data-theme="light"] body {
  background-color: #F8FAFC !important;
  color: #0F172A !important;
}

[data-theme="light"] .gold-gradient-text,
[data-theme="light"] .glow-gold-text,
[data-theme="light"] .gold-text {
  background: linear-gradient(90deg, #F9E387 0%, #F0C624 50%, #CAA427 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 800 !important;
}

[data-theme="light"] h1, 
[data-theme="light"] h2, 
[data-theme="light"] h3, 
[data-theme="light"] h4, 
[data-theme="light"] h5, 
[data-theme="light"] h6,
[data-theme="light"] .luxury-heading,
[data-theme="light"] .dentist-name,
[data-theme="light"] .hero-title,
[data-theme="light"] .hero-main-title,
[data-theme="light"] .services-master-title,
[data-theme="light"] .department-heading,
[data-theme="light"] .card-service-title,
[data-theme="light"] .doctor-full-name {
  color: #0F172A !important;
}

[data-theme="light"] p,
[data-theme="light"] .hero-description-text,
[data-theme="light"] .services-master-desc,
[data-theme="light"] .department-lead-text,
[data-theme="light"] .card-service-desc,
[data-theme="light"] .doctor-bio-text p {
  color: #334155 !important;
}

[data-theme="light"] .card-bullets li,
[data-theme="light"] .scope-list-grid li,
[data-theme="light"] .proc-text-col,
[data-theme="light"] .proc-group-items {
  color: #0F172A !important;
}

[data-theme="light"] .proc-group-name {
  color: #A88000 !important;
  font-weight: 800 !important;
}

[data-theme="light"] .meta-caption {
  color: #64748B !important;
}

[data-theme="light"] .meta-value {
  color: #0F172A !important;
}

[data-theme="light"] .service-card-item,
[data-theme="light"] .doctor-profile-card,
[data-theme="light"] .director-spotlight-card {
  background: #FFFFFF !important;
  border-color: rgba(184, 142, 0, 0.4) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .card-meta-bar,
[data-theme="light"] .doctor-scope-box,
[data-theme="light"] .credential-pill-item,
[data-theme="light"] .standard-stat {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
}

[data-theme="light"] .cred-text-box strong {
  color: #0F172A !important;
}

[data-theme="light"] .cred-text-box span {
  color: #475569 !important;
}

[data-theme="light"] .glow-3d-hero-wrapper,
[data-theme="light"] .subpage-hero-wrapper,
[data-theme="light"] .services-hero-header-wrap {
  background: radial-gradient(circle at 75% 30%, #FFFFFF 0%, #F1F5F9 100%) !important;
  border-bottom: 1px solid rgba(184, 142, 0, 0.35) !important;
  color: #0F172A !important;
}

[data-theme="light"] .hero-badge-pill,
[data-theme="light"] .luxury-badge-pill,
[data-theme="light"] .dept-badge-pill,
[data-theme="light"] .doc-accent-pill {
  background: rgba(184, 142, 0, 0.12) !important;
  border-color: rgba(184, 142, 0, 0.5) !important;
  color: #8A6800 !important;
}

[data-theme="light"] .quick-pill-link {
  background: #FFFFFF !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
}

[data-theme="light"] .quick-pill-link:hover {
  background: linear-gradient(90deg, #F3C827 0%, #E2AD16 50%, #BD8A0C 100%) !important;
  color: #0F172A !important;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Ensure FontAwesome Icon Font Weight Integrity */
.fa, .fas, .fa-solid {
  font-family: 'Font Awesome 6 Free' !important;
  font-weight: 900 !important;
}

.far, .fa-regular {
  font-family: 'Font Awesome 6 Free' !important;
  font-weight: 400 !important;
}

.fab, .fa-brands {
  font-family: 'Font Awesome 6 Brands' !important;
  font-weight: 400 !important;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: 'Inter', sans-serif !important;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* -------------------------------------------------------------
   HIGH-PERFORMANCE SLIDE FADE ENTRANCE ANIMATIONS (LEFT, RIGHT, TOP/UPWARD)
   ------------------------------------------------------------- */
[data-animate] {
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-animate="fade-left"] {
  transform: translateX(-80px);
}

[data-animate="fade-right"] {
  transform: translateX(80px);
}

[data-animate="fade-up"] {
  transform: translateY(70px);
}

[data-animate="zoom-in"] {
  transform: scale(0.88);
}

[data-animate].animated {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* -------------------------------------------------------------
   PROMINENT LOGO SYSTEM (INCREASED LOGO SIZE)
   ------------------------------------------------------------- */
.dention-theme-logo {
  height: 72px !important;
  width: auto !important;
  max-width: 280px !important;
  object-fit: contain !important;
  transition: all 0.3s ease;
}

/* Dynamic Logo Theme Switcher Rules */
[data-theme="dark"] .dention-theme-logo.dark-logo {
  display: block !important;
}

[data-theme="dark"] .dention-theme-logo.light-logo {
  display: none !important;
}

[data-theme="light"] .dention-theme-logo.dark-logo {
  display: none !important;
}

[data-theme="light"] .dention-theme-logo.light-logo {
  display: block !important;
}

/* Global Link Underline Removal */
a, a:hover, a:focus, a:active, a:visited {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

h1, h2, h3, h4, h5, h6, .luxury-heading, .dentist-name, .hero-title {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700;
  color: var(--heading-color);
  letter-spacing: -0.02em;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

a, button, input, select, textarea {
  font-family: 'Inter', sans-serif !important;
}

/* -------------------------------------------------------------
   RESPONSIVE HEADER & INFINITE MOVING TOPBAR
   ------------------------------------------------------------- */
.dention-topbar {
  width: 100%;
  overflow: hidden;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
  display: flex;
  align-items: center;
  white-space: nowrap;
  user-select: none;
  z-index: 1001;
}

/* Subtle edge fade gradient mask */
.dention-topbar::before,
.dention-topbar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}
.dention-topbar::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}
.dention-topbar::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.dention-topbar-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: dentionTopbarMarquee 35s linear infinite;
  will-change: transform;
}

.dention-topbar:hover .dention-topbar-track {
  animation-play-state: paused;
}

.dention-topbar-block {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.topbar-info-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 6px;
  color: var(--text-muted);
}

.topbar-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-item a:hover {
  color: var(--primary-gold, #c5a059);
  text-decoration: underline;
}

.topbar-divider {
  color: var(--border-gold, #c5a059);
  opacity: 0.55;
  padding: 0 16px;
  font-weight: 300;
}

@keyframes dentionTopbarMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.dention-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-secondary);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold);
  padding: 12px 5%;
  margin-bottom: 0 !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dention-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dention-brand a {
  text-decoration: none !important;
}

.dention-nav-container {
  display: flex;
  align-items: center;
}

.dention-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.dention-nav a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.dention-nav a:hover {
  color: var(--gold-primary);
  text-decoration: none !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-nav-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.mobile-nav-toggle:hover {
  background: var(--gold-gradient);
  color: #0F172A;
}

.theme-toggle-btn {
  background: var(--bg-card);
  border: 1.5px solid var(--border-gold);
  color: var(--gold-primary);
  padding: 0 18px;
  height: 42px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-luxury);
  transition: all 0.3s ease;
  text-decoration: none !important;
  box-sizing: border-box;
}

.theme-toggle-btn:hover {
  transform: scale(1.05);
  background: var(--gold-gradient);
  color: #0F172A;
}

/* -------------------------------------------------------------
   PERFECTLY MATCHED, UN-CLIPPED LUXURY BUTTONS
   ------------------------------------------------------------- */
.btn-gold,
.glow-btn-gold,
.dention-btn-gold {
  background: var(--gold-gradient, linear-gradient(90deg, #F3C827 0%, #E2AD16 50%, #BD8A0C 100%)) !important;
  color: #0F172A !important;
  font-weight: 700 !important;
  height: 52px !important;
  min-height: 52px !important;
  padding: 0 36px !important;
  border-radius: 50px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 20px rgba(243, 200, 39, 0.4), 0 2px 6px rgba(189, 138, 12, 0.25) !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  font-size: 0.88rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  vertical-align: middle !important;
  overflow: visible !important;
}

.btn-gold i,
.btn-gold svg,
.glow-btn-gold i,
.glow-btn-gold svg,
.dention-btn-gold i,
.dention-btn-gold svg,
.modal-submit-btn i,
.modal-submit-btn svg {
  color: #0F172A !important;
  fill: #0F172A !important;
}

.btn-gold:hover,
.glow-btn-gold:hover,
.dention-btn-gold:hover {
  background: var(--btn-gold-gradient-hover, linear-gradient(90deg, #F5D038 0%, #E8B522 50%, #C79412 100%)) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(243, 200, 39, 0.6), 0 4px 12px rgba(189, 138, 12, 0.35) !important;
  color: #0F172A !important;
  text-decoration: none !important;
}

.btn-outline-gold {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  color: var(--gold-primary) !important;
  border: 2px solid var(--gold-primary) !important;
  height: 50px;
  padding: 0 32px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none !important;
  box-sizing: border-box !important;
  line-height: 1;
  overflow: visible !important;
}

.btn-outline-gold:hover {
  background: var(--gold-gradient);
  color: #0F172A !important;
  border-color: transparent !important;
  box-shadow: 0 8px 25px rgba(243, 200, 39, 0.45);
  transform: translateY(-2px);
  text-decoration: none !important;
}

.btn-outline-gold svg {
  fill: var(--gold-primary);
  transition: fill 0.3s ease;
}

.btn-outline-gold:hover svg {
  fill: #0F172A;
}

/* Card Consultation Button Un-clipped Rules */
.btn-consult {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  color: var(--gold-primary) !important;
  border: 2px solid var(--gold-primary) !important;
  height: 40px;
  padding: 0 22px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box !important;
  line-height: 1;
  overflow: visible !important;
}

.btn-consult:hover {
  background: var(--gold-gradient);
  color: #0F172A !important;
  border-color: transparent !important;
  box-shadow: 0 4px 15px rgba(243, 200, 39, 0.4);
  transform: translateY(-2px);
}

/* Layout Containers */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 90px 0;
}

/* Spider Web Hero Section */
.hero-spiderweb-wrapper {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-gold);
  padding: 45px 5% 80px !important;
  margin-top: 0 !important;
  overflow: hidden;
  cursor: crosshair;
}

#spiderWebCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.12;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-luxury);
  overflow: visible !important;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-6px);
}

/* Studio Map Location Tab Buttons */
.studio-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.studio-tab-btn.active, .studio-tab-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* Luxury Form Controls */
.luxury-input-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

.luxury-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.luxury-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

/* Directory Filter Tabs & Pagination */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold-gradient);
  color: #0F172A;
  border-color: var(--gold-primary);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(243, 200, 39, 0.4);
}

/* Centered Flexible Grid: Single Card Stays Standard Width (~380px) */
.dentist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 380px));
  justify-content: center;
  gap: 36px;
  min-height: 480px;
}

.dentist-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 24px 24px 28px;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-luxury);
  max-width: 380px !important;
  width: 100% !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

.dentist-card.hidden {
  display: none !important;
}

.dentist-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-8px);
}

.dentist-avatar-wrap, .dentist-img-box {
  position: relative;
  height: 280px !important;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg-secondary);
}

.dentist-avatar, .dentist-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 15% !important;
  transition: transform 0.5s ease;
}

.dentist-card:hover .dentist-avatar, .dentist-card:hover .dentist-img {
  transform: scale(1.06);
}

.dentist-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 4px;
  border-top: 1px solid var(--border-subtle);
  overflow: visible !important;
}

.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
}

.page-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.page-btn:hover, .page-btn.active {
  background: var(--gold-gradient);
  color: #0F172A;
  border-color: var(--gold-primary);
  font-weight: 700;
}

.page-btn.arrow-btn {
  width: auto;
  padding: 0 20px;
  border-radius: 50px;
}

.page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* -------------------------------------------------------------
   RESPONSIVE LUXURY FOOTER SYSTEM
   ------------------------------------------------------------- */
.dention-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-gold);
  padding: 90px 0 40px;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif !important;
}

.dention-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 60px;
}

.dention-footer h4 {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  color: var(--gold-primary);
}

.dention-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.dention-footer-links a,
.dention-footer-links a:visited,
.dention-footer a,
.dention-footer a:visited,
.dention-footer-info p {
  color: var(--text-muted) !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.dention-footer-links a:hover,
.dention-footer a:hover {
  color: var(--gold-primary) !important;
  transform: translateX(4px);
  display: inline-block;
}

.social-icon-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: var(--bg-card) !important;
  border: 1.5px solid var(--border-gold) !important;
  color: var(--gold-primary) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  overflow: hidden !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.social-icon-btn:hover {
  background: var(--gold-gradient) !important;
  border-color: transparent !important;
  color: #0F172A !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4) !important;
}

.social-icon-btn i,
.social-icon-btn i::before {
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  color: var(--gold-primary) !important;
  transition: color 0.3s ease !important;
  display: inline-block !important;
  line-height: 1 !important;
}

.social-icon-btn:hover i,
.social-icon-btn:hover i::before {
  color: #0F172A !important;
}

/* -------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES FOR HEADER & FOOTER
   ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .dention-nav-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    padding: 24px 5%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .dention-nav-container.open {
    display: flex !important;
  }

  .dention-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
  }

  .mobile-nav-toggle {
    display: inline-flex !important;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.7rem;
  }
  .dention-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .dention-topbar {
    font-size: 0.78rem;
    padding: 6px 0;
  }
  .dention-topbar-track {
    animation-duration: 25s;
  }
  .topbar-divider {
    padding: 0 10px;
    opacity: 0.45;
  }
  .topbar-item {
    padding: 0 4px;
  }
  .header-appointment-btn {
    display: none !important;
  }
  .dention-theme-logo {
    height: 56px !important;
    max-width: 210px !important;
  }
}

@media (max-width: 576px) {
  .dention-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-col-brand .dention-brand {
    justify-content: center;
  }
  .social-icon-btn-wrap {
    justify-content: center;
  }
  .dention-footer-links {
    align-items: center;
  }
}


/* -------------------------------------------------------------
   ELEMENTOR COMPATIBLE SUBPAGE HERO SYSTEM
   ------------------------------------------------------------- */
.subpage-hero-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: radial-gradient(circle at 75% 30%, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-gold, rgba(240, 196, 27, 0.4));
  padding: 90px 5% 100px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif !important;
  color: var(--text-main);
  overflow: hidden;
  transition: background 0.4s ease, color 0.4s ease;
  margin-top: 0;
}

.subpage-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 196, 27, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.subpage-hero-title {
  font-size: 3.8rem;
  line-height: 1.12;
  font-weight: 800;
  color: var(--heading-color);
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.subpage-hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto 36px;
}

.subpage-hero-wrapper .btn-gold {
  height: 52px !important;
  min-height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 36px !important;
  line-height: 1 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 auto !important;
  vertical-align: middle !important;
}

/* -------------------------------------------------------------
   3D HERO CANVAS & TILT CARD ENGINE STYLES
   ------------------------------------------------------------- */
.glow-3d-hero-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: radial-gradient(circle at 75% 30%, var(--bg-secondary, #121C26) 0%, var(--bg-primary, #0A1118) 100%);
  border-bottom: 1px solid var(--border-gold, rgba(240, 196, 27, 0.4));
  padding: 60px 5% 90px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif !important;
  color: var(--text-main, #F1F5F9);
  overflow: hidden;
  transition: background 0.4s ease;
  margin-top: 0;
}

.glow-3d-canvas-el {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.glow-hero-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.glow-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.glow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240, 196, 27, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold, rgba(240, 196, 27, 0.4));
  color: var(--gold-primary, #f0c41b);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 20px rgba(240, 196, 27, 0.2);
}

.glow-hero-title {
  font-size: 3.6rem;
  line-height: 1.12;
  font-weight: 800;
  color: var(--heading-color, #FFFFFF);
  margin: 0 0 24px 0;
  letter-spacing: -0.02em;
}

.glow-gold-text {
  background: var(--gold-gradient, linear-gradient(135deg, #fff4bd 0%, #f0c41b 50%, #ba9500 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.glow-hero-desc {
  font-size: 1.12rem;
  color: var(--text-muted, #94A3B8);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 580px;
}

.glow-hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
}

.glow-stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-primary, #f0c41b);
}

.glow-stat-lbl {
  font-size: 0.82rem;
  color: var(--text-muted, #94A3B8);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.glow-3d-card {
  background: var(--bg-card, rgba(18, 28, 38, 0.85));
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-gold, rgba(240, 196, 27, 0.4));
  border-radius: 28px;
  padding: 38px;
  box-shadow: var(--shadow-luxury, 0 20px 50px rgba(0, 0, 0, 0.8)), 0 0 30px rgba(240, 196, 27, 0.2);
  transition: transform 0.2s cubic-bezier(0.1, 1, 0.1, 1), border-color 0.4s ease;
  position: relative;
  z-index: 5;
  transform-style: preserve-3d;
  perspective: 1000px;
}

@media (max-width: 992px) {
  .glow-hero-grid { grid-template-columns: 1fr; }
  .glow-hero-title { font-size: 2.8rem; }
}

/* -------------------------------------------------------------
   VIP CONSULTATION POPUP MODAL SYSTEM
   ------------------------------------------------------------- */
body.dention-modal-open {
  overflow: hidden !important;
}

.dention-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  padding: 20px;
}

.dention-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.dention-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 18, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1;
}

.dention-modal-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 660px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 40px rgba(216, 173, 7, 0.22);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-overflow-scrolling: touch;
}

.dention-modal-overlay.is-active .dention-modal-wrapper {
  transform: scale(1) translateY(0);
}

.dention-modal-wrapper::-webkit-scrollbar {
  width: 6px;
}
.dention-modal-wrapper::-webkit-scrollbar-thumb {
  background: var(--border-gold);
  border-radius: 4px;
}

.dention-modal-content {
  background: var(--bg-card);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 38px 40px;
  position: relative;
  color: var(--text-main);
}

/* Modal Close Button */
.dention-modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
}

.dention-modal-close:hover {
  background: var(--gold-gradient);
  color: #0F172A;
  border-color: transparent;
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 4px 15px rgba(216, 173, 7, 0.4);
}

/* Header & Badges */
.dention-modal-header {
  margin-bottom: 24px;
  text-align: left;
}

.dention-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
  background: rgba(216, 173, 7, 0.12);
  border: 1px solid var(--border-gold);
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.dention-modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.dention-modal-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Form Layout */
.dention-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dention-form-group.dention-full-width {
  grid-column: 1 / -1;
}

.dention-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dention-form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.required-star {
  color: var(--gold-light);
}

/* Input Fields with Icons */
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 14px;
  color: var(--gold-primary);
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 2;
}

.input-with-icon.textarea-icon-wrapper .input-icon {
  top: 14px;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 14px 12px 42px;
  color: var(--text-main);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.25s ease;
  font-family: inherit;
}

.input-with-icon select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23d8ad07' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 14px) center;
  padding-right: 36px;
  cursor: pointer;
}

.input-with-icon select option {
  background: #0F172A;
  color: #FFFFFF;
}

[data-theme="light"] .input-with-icon select option {
  background: #FFFFFF;
  color: #0F172A;
}

.input-with-icon textarea {
  resize: vertical;
  min-height: 80px;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.input-with-icon textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(216, 173, 7, 0.2);
  background: var(--bg-card-hover);
}

/* Notice / Errors */
.dention-modal-notice {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  margin-bottom: 16px;
  line-height: 1.45;
}

.dention-modal-notice.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #FCA5A5;
}

/* Modal Footer & Submit Button */
.dention-modal-footer {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-submit-btn {
  width: 100% !important;
  font-size: 1rem !important;
  height: 52px !important;
  justify-content: center !important;
}

.dention-privacy-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Success View */
.dention-modal-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 10px;
}

.success-icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0F172A;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 30px rgba(216, 173, 7, 0.5);
  animation: scaleSuccessBadge 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleSuccessBadge {
  0% { transform: scale(0.4); opacity: 0; }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.success-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 12px;
}

.success-message {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 28px;
}

.success-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Mobile Consult Button Inside Mobile Menu */
.mobile-only-consult-btn {
  display: none;
  padding: 16px 0 8px 0;
  border-top: 1px solid var(--border-subtle);
  margin-top: 16px;
}

@media (max-width: 991px) {
  .mobile-only-consult-btn {
    display: block;
  }
}

@media (max-width: 640px) {
  .dention-modal-content {
    padding: 28px 20px;
  }
  .dention-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .dention-modal-title {
    font-size: 1.45rem;
  }
}