/*
Theme Name: ValueDent
Theme URI: https://valuedent.com/
Author: ValueDent Dental Clinic
Author URI: https://valuedent.com/
Description: Premium dental clinic WordPress theme. Professional, fast, and multilingual-ready.
Version: 2.0
Requires at least: 5.0
Requires PHP: 7.4
Tested up to: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: valuedent
Tags: dental, clinic, medical, professional, responsive, multilingual
*/

/* ============================================================
   CSS CUSTOM PROPERTIES — DESIGN SYSTEM
   ============================================================ */
:root {
  /* Brand Colors */
  --color-dark: #0a4a6d;
  --color-dark-deep: #07364f;
  --color-dark-mid: #0d5a87;
  --color-dark-light: #1a6a9a;
  --color-accent: #46c2ce;
  --color-accent-dark: #2fa8b5;
  --color-accent-light: #7dd9e2;
  --color-accent-bg: #e8f9fb;

  /* Neutrals */
  --color-white: #ffffff;
  --color-off-white: #f7f9fc;
  --color-gray-50: #f4f6f8;
  --color-gray-100: #eaecef;
  --color-gray-200: #d1d5db;
  --color-gray-300: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-700: #374151;
  --color-gray-900: #111827;
  --color-text: #2d3748;
  --color-text-muted: #333333;

  /* Typography */
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 14px;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max: 1536px;
  --container-md: 768px;
  --section-py: 3.5rem;
  --section-py-sm: 2.5rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.10), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.07);
  --shadow-dark: 0 10px 40px rgba(10, 74, 109, 0.25);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Header */
  --header-height: 80px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Prevent WordPress wpautop from breaking flex and grid layouts */
.vd-hero-form__group br,
.vd-hero-form__privacy br,
.vd-hero-form__alt br,
.vd-form-group br,
.vd-grid br,
.vd-hero-form__fields p:empty,
.vd-form-content p:empty,
.vd-grid p:empty {
  display: none !important;
}

html {
  direction: ltr;
  scroll-behavior: smooth;
  font-size: 16px;
  margin-top: 0 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.no-js {
  margin-top: 0 !important;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
  padding: 0;
  width: 100%;
}

/* Remove old panel structure — full width layout */
body .box-body,
body.home .box-body,
.big-side-bar,
.min-side-bar,
.box-story {
  display: none !important;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--font-size-5xl);
}

h2 {
  font-size: var(--font-size-4xl);
}

h3 {
  font-size: var(--font-size-3xl);
}

h4 {
  font-size: var(--font-size-2xl);
}

h5 {
  font-size: var(--font-size-xl);
}

h6 {
  font-size: var(--font-size-lg);
}

p {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

a {
  color: var(--color-dark);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-accent);
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.vd-container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.vd-section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.vd-section--sm {
  padding-top: var(--section-py-sm);
  padding-bottom: var(--section-py-sm);
}

.vd-grid {
  display: grid;
  gap: var(--space-8);
}

.vd-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.vd-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.vd-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.vd-flex {
  display: flex;
}

.vd-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vd-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--color-white) !important;
}

/* ============================================================
   SECTION LABELS / SECTION HEADERS
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.section-title--white {
  color: var(--color-white);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
  line-height: 1.5;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-dark-mid) 100%);
  background-color: var(--color-dark-mid);
  color: var(--color-white);
  border: none;
  padding: calc(0.75rem + 2px) calc(1.75rem + 2px);
  box-shadow: 0 4px 20px rgba(70, 194, 206, 0.4);
}

.btn-primary.btn-sm {
  padding: calc(0.5rem + 2px) calc(1.25rem + 2px);
}

.btn-primary.btn-lg {
  padding: calc(1rem + 2px) calc(2.5rem + 2px);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-dark) 100%);
  background-color: var(--color-dark);
  border: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(70, 194, 206, 0.5);
  color: var(--color-white);
}

.btn-dark {
  background: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
}

.btn-dark:hover {
  background: var(--color-dark-deep);
  transform: translateY(-2px);
  color: var(--color-white);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #1ea952 100%);
  color: #fff;
  border: none;
  padding: calc(0.75rem + 2px) calc(1.75rem + 2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp.btn-sm {
  padding: calc(0.5rem + 2px) calc(1.25rem + 2px);
}

.btn-whatsapp.btn-lg {
  padding: calc(1rem + 2px) calc(2.5rem + 2px);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2ee574 0%, #25d366 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  color: #fff;
}


.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}

.btn-outline-dark:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: var(--font-size-lg);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--font-size-sm);
}

.btn svg,
.btn i {
  font-size: 1rem;
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
#vd-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10000;
  transition: background var(--transition-slow), box-shadow var(--transition-slow), padding var(--transition-slow);
}

#vd-header.vd-header--transparent {
  background: transparent;
  padding: 0.5rem 0;
}

#vd-header.vd-header--solid {
  background: rgba(10, 74, 109, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  padding: 0;
}

.vd-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-8);
}

/* Logo */
.vd-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.vd-logo img,
.custom-logo {
  height: 48px;
  width: auto;
  display: block;
}

.vd-logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.vd-logo-text span {
  color: var(--color-accent);
}

/* Nav Links */
.vd-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}

.vd-nav>li {
  position: relative;
}

.vd-nav>li>a {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.6rem 1rem;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.vd-nav>li>a:hover,
.vd-nav>li.current-menu-item>a,
.vd-nav>li.current-menu-ancestor>a {
  color: var(--color-accent);
  background: rgba(70, 194, 206, 0.1);
}

.vd-nav>li>a .vd-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-base);
  opacity: 0.7;
}

.vd-nav>li:hover>a .vd-chevron {
  transform: rotate(180deg);
}

/* Mega Menu Dropdown */
.vd-mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-6);
  min-width: 520px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  pointer-events: none;
  border: 1px solid var(--color-gray-100);
}

.vd-nav>li:hover .vd-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.vd-mega-menu::after,
.vd-dropdown::after {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 30px;
  background: transparent;
  z-index: 10;
}

.vd-mega-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--color-white);
  border-left: 1px solid var(--color-gray-100);
  border-top: 1px solid var(--color-gray-100);
  transform: translateX(-50%) rotate(45deg);
}

.vd-mega-menu__title {
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray-300);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-gray-100);
}

.vd-mega-menu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.vd-mega-menu__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.vd-mega-menu__item:hover {
  background: var(--color-accent-bg);
  border-color: rgba(70, 194, 206, 0.2);
}

.vd-mega-menu__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-accent-bg), rgba(70, 194, 206, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--color-dark);
}

.vd-mega-menu__item-text .vd-mega-menu__item-title {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.vd-mega-menu__item-text .vd-mega-menu__item-desc {
  font-size: var(--font-size-xs);
  color: var(--color-gray-500);
  margin: 0;
  line-height: 1.4;
}

.vd-mega-menu__parent-link {
  display: block;
  margin-bottom: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(135deg, var(--color-dark), var(--color-dark-mid));
  color: var(--color-white) !important;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-align: center;
  transition: all var(--transition-base);
}

.vd-mega-menu__parent-link:hover {
  background: linear-gradient(135deg, var(--color-accent), var(--color-dark));
  color: var(--color-white) !important;
  transform: translateY(-1px);
}

/* Simple dropdown (no mega) */
.vd-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-3);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  pointer-events: none;
}

.vd-nav>li:hover .vd-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.vd-dropdown a {
  display: block;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  color: var(--color-text);
  transition: all var(--transition-base);
}

.vd-dropdown a:hover {
  background: var(--color-accent-bg);
  color: var(--color-dark);
}

/* Nav CTA */
.vd-nav-cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.vd-lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.vd-lang-switcher a,
.vd-lang-switcher span {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.vd-lang-switcher a:hover,
.vd-lang-switcher a.active {
  color: var(--color-accent);
  background: rgba(70, 194, 206, 0.1);
}

.vd-lang-switcher .sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: var(--font-size-xs);
}

/* Mobile Toggle */
.vd-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  border: none;
  background: none;
}

.vd-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.vd-mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.vd-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.vd-mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.vd-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-dark);
  z-index: 99999;
  overflow-y: auto;
  padding: var(--space-8) var(--space-6);
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
}

.vd-mobile-menu.open {
  transform: translateX(0);
}

.vd-mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vd-mobile-menu__close {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-2);
  line-height: 1;
}

.vd-mobile-nav>li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vd-mobile-nav>li>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  font-size: var(--font-size-lg);
  font-weight: 500;
  color: var(--color-white);
}

.vd-mobile-submenu {
  padding: 0 0 var(--space-4) var(--space-4);
}

.vd-mobile-submenu a {
  display: block;
  padding: var(--space-2) 0;
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color var(--transition-base);
}

.vd-mobile-submenu a:hover {
  color: var(--color-accent);
}

.vd-mobile-menu__cta {
  margin-top: var(--space-8);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.vd-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-dark-deep);
}

.vd-hero__video,
.vd-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.vd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 74, 109, 0.85) 0%,
      rgba(7, 54, 79, 0.7) 50%,
      rgba(70, 194, 206, 0.15) 100%);
  z-index: 1;
}

.vd-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: var(--space-20);
}



.vd-hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--font-size-xs);
}

.vd-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}



/* ============================================================
   EXCELLENCE / CERTIFICATES SECTION
   ============================================================ */
.vd-excellence {
  background: var(--color-gray-50);
}

/* Infinite scrolling marquee */
.vd-certs-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.vd-certs-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: vd-marquee-scroll 28s linear infinite;
}

.vd-certs-track:hover {
  animation-play-state: paused;
}

@keyframes vd-marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.vd-cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 180px;
  height: 160px;
  gap: 0.10rem;
  padding: var(--space-4) 0.5rem;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-gray-100);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  cursor: default;
  user-select: none;
}

.vd-cert-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-dark);
  transform: translateY(-4px);
}

.vd-cert-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-accent-bg), rgba(10, 74, 109, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.vd-cert-card img {
  max-height: 80px;
  width: 100%;
  object-fit: contain;
}

.vd-cert-name {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-dark);
  text-align: center;
}

.vd-cert-desc {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  text-align: center;
  margin: -0.1rem 0 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .vd-cert-card {
    flex: 0 0 140px;
    height: 130px;
    padding: 0.75rem;
    gap: 0.25rem;
  }

  .vd-cert-card img {
    max-height: 60px;
  }

  .vd-cert-name {
    display: block;
  }

  .vd-cert-desc {
    display: none;
  }
}



/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.vd-why {
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.vd-why::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(70, 194, 206, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.vd-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: stretch;
}

.vd-why__image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  height: 100%;
}

.vd-why__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vd-why__badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.vd-why__badge-icon {
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-white);
}

.vd-why__badge-text strong {
  display: block;
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1;
}

.vd-why__badge-text span {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.vd-why__content .section-label {
  color: var(--color-accent);
}

.vd-why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.vd-feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.vd-feature-item:hover {
  background: rgba(70, 194, 206, 0.08);
  border-color: rgba(70, 194, 206, 0.2);
}

.vd-feature-item__icon {
  width: 36px;
  height: 36px;
  background: rgba(70, 194, 206, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--color-accent);
}

.vd-feature-item__text h4 {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: var(--space-1);
}

.vd-feature-item__text p {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.vd-testimonials {
  background: var(--color-gray-50);
}

.vd-testimonial-slider {
  position: relative;
  overflow: hidden;
}

.vd-testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition-base);
  margin: var(--space-2);
}

.vd-testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.vd-testimonial-stars {
  display: flex;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.vd-testimonial-stars span {
  color: #f59e0b;
  font-size: 1rem;
}

.vd-testimonial-text {
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.vd-testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.vd-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent-bg);
}

.vd-testimonial-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-dark), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-white);
  font-weight: 700;
  flex-shrink: 0;
}

.vd-testimonial-name {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-dark);
  display: block;
}

.vd-testimonial-treatment {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  display: block;
}

/* ============================================================
   GALLERY PREVIEW
   ============================================================ */
.vd-gallery-preview {
  background: var(--color-white);
}

.vd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: var(--space-3);
}

.vd-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--color-gray-100);
  cursor: pointer;
}

.vd-gallery-item:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.vd-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  min-height: 200px;
}

.vd-gallery-item:hover img {
  transform: scale(1.08);
}

.vd-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 74, 109, 0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
}

.vd-gallery-item:hover .vd-gallery-overlay {
  opacity: 1;
}

.vd-gallery-label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-white);
}

/* ============================================================
   BLOG PREVIEW
   ============================================================ */
.vd-blog-preview {
  background: var(--color-gray-50);
}

.vd-blog-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.vd-blog-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.vd-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.vd-blog-card__image {
  height: 200px;
  overflow: hidden;
  background: var(--color-gray-100);
}

.vd-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vd-blog-card:hover .vd-blog-card__image img {
  transform: scale(1.06);
}

.vd-blog-card__body {
  padding: var(--space-6);
}

.vd-blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.vd-blog-card__category {
  background: var(--color-accent-bg);
  color: var(--color-dark);
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.vd-blog-card__date {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.vd-blog-card__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  color: var(--color-dark);
  line-height: 1.4;
  margin-bottom: var(--space-3);
  transition: color var(--transition-base);
}

.vd-blog-card:hover .vd-blog-card__title {
  color: var(--color-accent-dark);
}

.vd-blog-card__excerpt {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.vd-blog-card__read-more {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-dark);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: all var(--transition-base);
}

.vd-blog-card__read-more:hover {
  color: var(--color-accent);
  gap: var(--space-2);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.vd-cta-section {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-deep) 100%);
  position: relative;
  overflow: hidden;
}

.vd-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background: radial-gradient(ellipse at right, rgba(70, 194, 206, 0.12) 0%, transparent 70%);
}

.vd-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.vd-cta-content .section-label {
  color: var(--color-accent);
}

/* Appointment Form */


/* ============================================================
   FOOTER
   ============================================================ */
.vd-footer {
  background: var(--color-dark-deep);
  color: rgba(255, 255, 255, 0.7);
}

.vd-footer__main {
  padding: var(--space-20) 0 var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vd-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-10);
}

.vd-footer__brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.vd-footer__brand .vd-logo-text {
  margin-bottom: var(--space-4);
  display: block;
}

.vd-footer__desc {
  font-size: var(--font-size-sm);
  line-height: 1.8;
  margin-top: 1.5rem;
  margin-bottom: var(--space-6);
  color: rgba(255, 255, 255, 0.7);
}

.vd-footer__social {
  display: flex;
  gap: var(--space-2);
  margin-top: 1.5rem;
}

.vd-footer__social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: all var(--transition-base);
}

.vd-footer__social a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

.vd-footer__col--split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vd-footer__col-title {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.vd-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.vd-footer__links a {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: all var(--transition-base);
}

.vd-footer__links a:hover {
  color: var(--color-accent);
  padding-left: var(--space-1);
}

.vd-footer__links a::before {
  content: '›';
  color: var(--color-accent);
  font-size: 1rem;
  line-height: 1;
}

.vd-footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.vd-footer__contact-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(70, 194, 206, 0.1);
  border: 1px solid rgba(70, 194, 206, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

.vd-footer__contact-text {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
}

.vd-footer__contact-text a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  transition: color var(--transition-base);
}

.vd-footer__contact-text a:hover {
  color: var(--color-accent);
}

.vd-footer__bottom {
  padding: var(--space-5) 0;
}

.vd-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.vd-footer__copy {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.vd-footer__bottom-links {
  display: flex;
  gap: var(--space-5);
}

.vd-footer__bottom-links a {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition-base);
}

.vd-footer__bottom-links a:hover {
  color: var(--color-accent);
}

/* WhatsApp Float Button */
.vd-whatsapp-float {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: 9000;
}

.vd-whatsapp-btn {
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-base);
  animation: floatPulse 3s ease infinite;
}

.vd-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
  color: var(--color-white);
}

@keyframes floatPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0);
  }
}

/* ============================================================
   TREATMENT PAGE TEMPLATE
   ============================================================ */
.vd-treatment-hero {
  position: relative;
  height: 55vh;
  min-height: 550px;
  max-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-dark);
  padding-top: 120px;
  /* Prevents content from sliding under the fixed header */
}

.vd-treatment-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.vd-treatment-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(10, 74, 109, 0.9) 0%,
      rgba(10, 74, 109, 0.5) 50%,
      rgba(10, 74, 109, 0.2) 100%);
  z-index: 1;
}

.vd-treatment-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  width: 100%;
  text-align: center;
}

.vd-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.vd-breadcrumb a,
.vd-breadcrumb span {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  transition: color var(--transition-base);
}

.vd-breadcrumb a:hover {
  color: var(--color-accent);
}

.vd-breadcrumb .sep {
  color: rgba(255, 255, 255, 0.3);
}

.vd-breadcrumb .current {
  color: var(--color-accent);
}

.vd-treatment-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7), 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* Treatment Content Layout */
.vd-treatment-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-5);
  align-items: flex-start;
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}

.vd-treatment-layout>p:empty,
.vd-treatment-layout>br,
.vd-overview__grid>p:empty,
.vd-overview__grid>br,
.vd-benefits__grid>p:empty,
.vd-benefits__grid>br,
.vd-eligibility__grid>p:empty,
.vd-eligibility__grid>br,
.vd-gallery__grid>p:empty,
.vd-gallery__grid>br,
.vd-accordion>p:empty,
.vd-accordion>br,
.vd-accordion p:empty {
  display: none !important;
}

.vd-treatment-content {
  min-width: 0;
  grid-column: 1;
}

/* Treatment Overview */
.vd-overview {
  margin-bottom: 1.5rem;
}

.vd-overview__text,
.vd-overview__text p {
  font-size: var(--font-size-base);
}

.vd-overview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  margin-top: var(--space-6);
}

.vd-overview__image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.vd-overview__image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}



/* Benefits Grid */
.vd-benefits {
  margin-bottom: 1.5rem;
}

.vd-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.vd-benefit-card {
  padding: var(--space-5);
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.vd-benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-bg);
}

.vd-benefit-icon {
  width: 44px;
  height: 44px;
  background: #115171;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #47c2cd;
  margin-bottom: var(--space-3);
}

.vd-benefit-card h4 {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: var(--space-2);
}

.vd-benefit-card p {
  font-size: var(--font-size-xs);
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* FAQ Accordion */
.vd-faq {
  margin-bottom: var(--space-10);
}

.vd-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.vd-accordion-item {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.vd-accordion-item.active {
  border-color: rgba(70, 194, 206, 0.3);
  box-shadow: var(--shadow-md);
}

.vd-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  gap: var(--space-4);
}

.vd-accordion-question {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.4;
}

.vd-accordion-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-dark);
  flex-shrink: 0;
  transition: transform var(--transition-base), background var(--transition-base);
}

.vd-accordion-item.active .vd-accordion-icon {
  background: var(--color-accent);
  color: var(--color-white);
  transform: rotate(180deg);
}

.vd-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.vd-accordion-item.active .vd-accordion-body {
  max-height: 400px;
}

.vd-accordion-content {
  padding: 0 1.5rem 1.5rem;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
}

.vd-accordion-content p:last-child {
  margin-bottom: 0;
}

/* Related Treatments */
.vd-related {
  margin-top: var(--space-10);
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-gray-100);
}

.vd-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.vd-related-card {
  display: block;
  padding: var(--space-5);
  background: var(--color-gray-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition-base);
  text-align: center;
}

.vd-related-card:hover {
  background: var(--color-accent-bg);
  border-color: rgba(70, 194, 206, 0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.vd-related-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto var(--space-3);
}

.vd-related-card h4 {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0;
}

/* Sticky Sidebar CTA */
.vd-treatment-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  grid-column: 2;
}

.vd-sidebar-cta {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-mid) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  color: var(--color-white);
  box-shadow: var(--shadow-dark);
}

.vd-sidebar-cta__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.vd-sidebar-cta__subtitle {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.vd-sidebar-form .vd-form-group {
  margin-bottom: var(--space-3);
}

.vd-sidebar-form .vd-form-group input,
.vd-sidebar-form .vd-form-group select,
.vd-sidebar-form .vd-form-group textarea {
  font-size: var(--font-size-xs);
  padding: 0.6rem 0.9rem;
}

.vd-sidebar-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-gray-100);
}

.vd-sidebar-card__title {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-gray-100);
}

.vd-sidebar-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.vd-sidebar-highlight {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.vd-sidebar-highlight__icon {
  width: 28px;
  height: 28px;
  background: var(--color-accent-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--color-dark);
  flex-shrink: 0;
}



/* ============================================================
   VIDEO GALLERY
   ============================================================ */
.vd-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.vd-video-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--color-dark);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.vd-video-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.vd-video-item iframe,
.vd-video-item video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.vd-gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.vd-gallery-page-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--color-gray-100);
}

.vd-gallery-page-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.vd-gallery-page-item:hover img {
  transform: scale(1.08);
}



/* ============================================================
   BLOG PAGE
   ============================================================ */

/* ── Blog section ── */
.vd-blog-section {
  background: var(--color-gray-50);
}

/* ── Blog Card Grid ── */
.vd-blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

/* ── Blog Card ── */
.vd-blog-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--color-gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.vd-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.vd-blog-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ── Card Image ── */
.vd-blog-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--color-gray-100);
  flex-shrink: 0;
}

.vd-blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.vd-blog-card:hover .vd-blog-card__image img {
  transform: scale(1.06);
}

.vd-blog-card__category {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--color-dark);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

/* ── Card Body ── */
.vd-blog-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.vd-blog-card__meta {
  display: flex;
  gap: var(--space-4);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.vd-blog-card__meta i {
  margin-right: 0.3rem;
  color: var(--color-accent);
}

.vd-blog-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.4;
  margin: 0;
  transition: color var(--transition-base);
}

.vd-blog-card:hover .vd-blog-card__title {
  color: var(--color-primary);
}

.vd-blog-card__excerpt {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.vd-blog-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-top: auto;
  transition: gap var(--transition-base), color var(--transition-base);
}

.vd-blog-card:hover .vd-blog-card__readmore {
  gap: 0.7rem;
  color: var(--color-accent);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .vd-blog-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   SINGLE BLOG POST PAGE
   ============================================================ */

/* Hero tweaks for the post */
.vd-blog-post-hero__overlay {
  background: linear-gradient(to top,
      rgba(5, 35, 55, 0.88) 0%,
      rgba(10, 60, 90, 0.65) 50%,
      rgba(10, 60, 90, 0.35) 100%);
}

.vd-blog-post-hero__cat {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.vd-blog-post-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  margin-top: var(--space-4);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
}

.vd-blog-post-hero__meta i {
  margin-right: 0.35rem;
  color: var(--color-accent);
}

/* ── 2-Column Layout ── */
.vd-blog-post-wrap {
  background: var(--color-gray-50);
}

.vd-blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-10);
  align-items: flex-start;
}

/* ── Article Content ── */
.vd-blog-post-content {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-gray-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.vd-blog-post-body {
  padding: var(--space-8);
  line-height: 1.85;
  color: var(--color-text);
}

.vd-blog-post-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: var(--space-8) 0 var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-gray-100);
}

.vd-blog-post-body h2:first-child {
  margin-top: 0;
}

.vd-blog-post-body p {
  margin: 0 0 var(--space-4);
  font-size: var(--font-size-base);
}

.vd-blog-post-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-dark);
  font-weight: 500;
  border-left: 4px solid var(--color-accent);
  padding-left: var(--space-5);
  margin-bottom: var(--space-6);
}

.vd-blog-post-img {
  width: 100%;
  border-radius: var(--radius-xl);
  margin: var(--space-6) 0;
  display: block;
  max-height: 420px;
  object-fit: cover;
}

/* ── Steps ── */
.vd-blog-post-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.vd-blog-post-step {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--color-gray-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-100);
}

.vd-blog-post-step__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.vd-blog-post-step h4 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 var(--space-1);
}

.vd-blog-post-step p {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* ── Callout / Tip Box ── */
.vd-blog-post-callout {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(0, 134, 180, 0.08), rgba(72, 193, 205, 0.08));
  border: 1px solid rgba(72, 193, 205, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  margin: var(--space-6) 0;
  font-size: var(--font-size-sm);
  color: var(--color-text);
  line-height: 1.65;
}

.vd-blog-post-callout>i {
  color: var(--color-accent);
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── Bullet List ── */
.vd-blog-post-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.vd-blog-post-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.vd-blog-post-list li i {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* ── Tags ── */
.vd-blog-post-tags {
  padding: var(--space-5) var(--space-8);
  border-top: 1px solid var(--color-gray-100);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.vd-blog-tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-gray-200);
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-base);
}

.vd-blog-tag:hover {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

/* ── Author Card ── */
.vd-blog-post-author {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  padding: var(--space-6) var(--space-8);
  border-top: 1px solid var(--color-gray-100);
  background: var(--color-gray-50);
}

.vd-blog-post-author__avatar {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.vd-blog-post-author__label {
  display: block;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
  margin-bottom: 0.15rem;
}

.vd-blog-post-author__name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--space-2);
}

.vd-blog-post-author__bio {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Sidebar ── */
.vd-blog-post-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

/* Sidebar CTA Box */
.vd-blog-sidebar-cta {
  background: var(--color-dark);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  color: var(--color-white);
}

.vd-blog-sidebar-cta__icon {
  width: 56px;
  height: 56px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--space-2);
}

.vd-blog-sidebar-cta h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
}

.vd-blog-sidebar-cta p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.55;
}

.vd-blog-sidebar-cta .btn {
  width: 100%;
  justify-content: center;
}

/* Sidebar Related */
.vd-blog-sidebar-related {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-gray-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.vd-blog-sidebar-related__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-gray-100);
  margin: 0;
}

.vd-blog-sidebar-related__list {
  display: flex;
  flex-direction: column;
}

.vd-blog-related-card {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-3) var(--space-4);
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--color-gray-100);
  transition: background var(--transition-base);
}

.vd-blog-related-card:last-child {
  border-bottom: none;
}

.vd-blog-related-card:hover {
  background: var(--color-gray-50);
}

.vd-blog-related-card img {
  width: 64px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.vd-blog-related-card__cat {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: 0.2rem;
}

.vd-blog-related-card__title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-dark);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sidebar Quick Facts */
.vd-blog-sidebar-facts {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-gray-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.vd-blog-sidebar-facts__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-gray-100);
  margin: 0;
}

.vd-blog-sidebar-facts__title i {
  color: var(--color-accent);
  margin-right: 0.4rem;
}

.vd-blog-sidebar-facts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vd-blog-sidebar-facts li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--color-gray-100);
  font-size: var(--font-size-sm);
}

.vd-blog-sidebar-facts li:last-child {
  border-bottom: none;
}

.vd-blog-sidebar-facts li span {
  color: var(--color-text-muted);
}

.vd-blog-sidebar-facts li strong {
  color: var(--color-dark);
  font-weight: 700;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .vd-blog-post-layout {
    grid-template-columns: 1fr;
  }

  .vd-blog-post-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .vd-blog-post-body {
    padding: var(--space-5);
  }

  .vd-blog-post-tags,
  .vd-blog-post-author {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }

  .vd-blog-post-hero__meta {
    gap: var(--space-3);
  }
}


.vd-blog-page-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-10);
  align-items: flex-start;
}

.vd-blog-listing {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.vd-blog-list-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-6);
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--color-gray-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.vd-blog-list-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.vd-blog-list-card__image {
  overflow: hidden;
  background: var(--color-gray-100);
}

.vd-blog-list-card__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vd-blog-list-card:hover .vd-blog-list-card__image img {
  transform: scale(1.06);
}

.vd-blog-list-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Blog Sidebar */
.vd-blog-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}



.vd-search-form {
  display: flex;
  gap: var(--space-2);
}

.vd-search-form input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  outline: none;
  transition: border-color var(--transition-base);
}

.vd-search-form input:focus {
  border-color: var(--color-accent);
}

.vd-search-form button {
  padding: 0.6rem 1rem;
  background: var(--color-dark);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background var(--transition-base);
}

.vd-search-form button:hover {
  background: var(--color-accent-dark);
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.vd-single-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-10);
  align-items: flex-start;
  padding: var(--space-12) 0;
}

.vd-single-content {
  font-size: var(--font-size-base);
  line-height: 1.8;
  color: var(--color-text);
}

.vd-single-content h2,
.vd-single-content h3,
.vd-single-content h4 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.vd-single-content p {
  margin-bottom: var(--space-5);
}

.vd-single-content img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin: var(--space-6) 0;
}

.vd-single-content ul li {
  position: relative;
  padding-left: var(--space-5);
  margin-bottom: var(--space-2);
  color: var(--color-text);
  font-size: var(--font-size-base);
}

.vd-single-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.vd-pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-10);
}

.vd-pagination a,
.vd-pagination span {
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border: 1px solid var(--color-gray-200);
  color: var(--color-text-muted);
  transition: all var(--transition-base);
}

.vd-pagination a:hover,
.vd-pagination .current {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

/* ============================================================
   MISC / UTILITIES
   ============================================================ */
.vd-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gray-200), transparent);
  border: none;
  margin: 0;
}

.vd-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
}

.vd-badge--accent {
  background: var(--color-accent-bg);
  color: var(--color-dark);
}

.vd-badge--dark {
  background: var(--color-dark);
  color: var(--color-white);
}



/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-py: 4rem;
  }

  .vd-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .vd-treatment-layout,
  .vd-single-layout {
    grid-template-columns: 1fr;
  }

  .vd-treatment-content {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .vd-treatment-sidebar {
    grid-column: 1 / -1;
    grid-row: 2;
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .vd-why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .vd-why__image {
    max-width: 500px;
  }

  .vd-cta-grid {
    grid-template-columns: 1fr;
  }

  .vd-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .vd-blog-page-grid {
    grid-template-columns: 1fr;
  }

  .vd-blog-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .vd-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vd-stat-item:nth-child(2) {
    border-right: none;
  }

  .vd-stat-item:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .vd-stat-item:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .vd-nav {
    display: none;
  }

  .vd-mobile-toggle {
    display: flex;
  }

  .vd-mobile-menu {
    display: block;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  .vd-hide-mobile {
    display: none !important;
  }

  .vd-why__image {
    display: none !important;
  }

  .vd-cost-table,
  .vd-cost-table tbody,
  .vd-cost-table tr,
  .vd-cost-table td {
    display: block;
    width: 100%;
  }

  .vd-cost-table thead {
    display: none;
  }

  .vd-cost-table tr {
    margin-bottom: 1.25rem;
    border: 1px solid var(--color-gray-200);
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;
  }

  .vd-cost-table tbody tr {
    border-bottom: 1px solid var(--color-gray-200);
  }

  .vd-cost-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    border-bottom: 1px solid var(--color-gray-100);
    padding: 0.75rem 1rem;
  }

  .vd-cost-table td:last-child {
    border-bottom: none;
  }

  .vd-cost-table td::before {
    content: attr(data-label);
    font-weight: 600;
    text-align: left;
    margin-right: 1rem;
    color: var(--color-dark);
    font-size: 0.85rem;
  }

  .vd-cost-table-wrapper {
    border: none;
    background: transparent;
    overflow-x: visible;
  }

  :root {
    --section-py: 3rem;
    --header-height: 80px;
  }

  .vd-container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .vd-grid-2,
  .vd-grid-3 {
    grid-template-columns: 1fr;
  }

  .vd-hero__title {
    font-size: 2rem;
  }

  .vd-hero__subtitle {
    font-size: 1rem;
  }

  .vd-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .vd-treatment-sidebar {
    grid-template-columns: 1fr;
  }

  .vd-blog-sidebar {
    grid-template-columns: 1fr;
  }

  .vd-overview__grid {
    grid-template-columns: 1fr;
  }

  .vd-benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .vd-benefits-grid .vd-benefit-card {
    padding: 1rem;
  }

  .vd-benefits-grid .vd-benefit-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .vd-benefits-grid h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .vd-benefits-grid p {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .vd-why-features {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .vd-feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.5rem;
  }

  .vd-related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .vd-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .vd-gallery-item:first-child {
    grid-column: 1 / -1;
  }

  .vd-gallery-page-grid,
  .vd-video-grid {
    grid-template-columns: 1fr 1fr;
  }

  .vd-footer__grid {
    grid-template-columns: 1fr;
  }

  .vd-footer__col--split {
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
  }

  .vd-footer__menu-group {
    flex: 1;
    min-width: 0;
  }

  .vd-footer__col--contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .vd-footer__contact-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .vd-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vd-team-grid {
    grid-template-columns: 1fr;
  }

  .vd-blog-list-card {
    grid-template-columns: 1fr;
  }

  .vd-form-row {
    grid-template-columns: 1fr;
  }

  .vd-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .btn-lg {
    padding: 0.85rem 1.75rem;
    font-size: var(--font-size-base);
  }

  .vd-cta-grid {
    gap: var(--space-8);
  }

  .vd-treatment-hero {
    height: auto;
    min-height: 450px;
    max-height: none;
    padding-bottom: var(--space-4);
  }

  .vd-treatment-hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .vd-treatment-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .vd-hero-ticks {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-top: 20px;
  }

  .vd-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  .vd-treatment-hero__title {
    font-size: 1.75rem;
  }

  .vd-mega-menu {
    min-width: unset;
  }

  .vd-mega-menu__grid {
    grid-template-columns: 1fr;
  }

  .vd-whatsapp-float {
    bottom: var(--space-5);
    right: var(--space-5);
  }

  .vd-whatsapp-btn {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
}

/* ============================================================
   RESPONSIVE — SMALL (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .vd-related-grid {
    grid-template-columns: 1fr;
  }

  .vd-gallery-page-grid,
  .vd-video-grid {
    grid-template-columns: 1fr;
  }

  .vd-certs-grid .vd-cert-card {
    min-width: 130px;
  }
}

/* ============================================================
   ANIMATIONS & TRANSITIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease forwards;
}

/* Intersection Observer Reveal — animation disabled */
.vd-reveal,
.vd-reveal.revealed {
  opacity: 1;
  transform: none;
  transition: none;
  visibility: visible;
}

.vd-reveal-delay-1,
.vd-reveal-delay-2,
.vd-reveal-delay-3,
.vd-reveal-delay-4,
.vd-reveal-delay-5 {
  transition-delay: 0s;
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {

  #vd-header,
  .vd-whatsapp-float,
  .vd-hero__scroll {
    display: none;
  }

  .vd-treatment-layout {
    grid-template-columns: 1fr;
  }

  body {
    background: white;
  }
}

/* =====================================================
   VALUEDENT — TREATMENT PAGE ENHANCEMENTS CSS
   ===================================================== */

/* ── Treatment Hero Actions ── */
.vd-treatment-hero__desc {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  margin-top: 0.75rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
  line-height: 1.65;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8), 0 2px 10px rgba(0, 0, 0, 0.6);
}

.vd-treatment-hero__actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.vd-hero-ticks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 2.5rem;
}

.vd-hero-ticks span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.vd-hero-ticks .fa-check-circle {
  color: #4ade80;
}

/* ── Eligibility Matrix ── */
.vd-eligibility {
  margin-bottom: 1.5rem;
}

.vd-eligibility__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .vd-eligibility__grid {
    grid-template-columns: 1fr;
  }
}

.vd-eligibility__col {
  border-radius: 1rem;
  padding: 1.5rem;
}

.vd-eligibility__col--yes {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
}

.vd-eligibility__col--no {
  background: #fffbeb;
  border: 1.5px solid #fcd34d;
}

.vd-eligibility__col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vd-eligibility__col--yes h4 {
  color: #15803d;
}

.vd-eligibility__col--no h4 {
  color: #b45309;
}

.vd-eligibility__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vd-eligibility__col ul li {
  font-size: 0.85rem;
  color: var(--color-text);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}

.vd-eligibility__col--yes ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
}

.vd-eligibility__col--no ul li::before {
  content: '⚠';
  position: absolute;
  left: 0;
  color: #d97706;
  font-size: 0.7rem;
  top: 0.15rem;
}

/* ── Cost Comparison Table ── */
.vd-cost {
  margin-bottom: 1.5rem;
}

.vd-cost-table-wrapper {
  overflow-x: auto;
  border-radius: 0.75rem;
  border: 1.5px solid var(--color-gray-200);
}

.vd-cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.vd-cost-table thead {
  background: var(--color-dark);
}

.vd-cost-table thead th {
  color: #fff;
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.vd-cost-table tbody tr {
  border-bottom: 1px solid var(--color-gray-100);
}

.vd-cost-table tbody tr:last-child {
  border-bottom: none;
}

.vd-cost-table tbody tr:hover {
  background: var(--color-gray-50);
}

.vd-cost-table td {
  padding: 0.8rem 1rem;
  color: var(--color-text);
  line-height: 1.5;
}

.vd-cost-table td em {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-style: normal;
}

.vd-cost-table__highlight {
  background: linear-gradient(135deg, #fef3c7, #fde68a) !important;
  font-weight: 700;
  color: var(--color-dark) !important;
}

.vd-cost-table thead .vd-cost-table__highlight {
  background: var(--color-accent) !important;
  color: #fff !important;
}

.flag {
  font-size: 1rem;
}

/* ── Treatment Timeline (Tabs) ── */
.vd-timeline {
  margin-bottom: 1.5rem;
}

.vd-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-gray-100);
  padding-bottom: 0;
}

.vd-tab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border: none;
  background: transparent;
  border-radius: 0.5rem 0.5rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.vd-tab:hover {
  color: var(--color-dark);
  background: var(--color-gray-50);
}

.vd-tab--active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
  background: rgba(var(--color-accent-rgb, 14, 165, 233), 0.06);
}

.vd-tab-panel {
  animation: vdFadeIn 0.25s ease;
}

.vd-tab-panel[hidden] {
  display: none;
}

@keyframes vdFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.vd-timeline-tip {
  margin-top: 1.25rem;
  padding: 0.85rem 1.1rem 0.85rem 2.5rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 0.6rem;
  font-size: 0.82rem;
  color: #1e40af;
  line-height: 1.5;
  position: relative;
}

.vd-timeline-tip .fa-lightbulb {
  color: #f59e0b;
  position: absolute;
  left: 1.1rem;
  top: 1rem;
}

/* ── Before & After Gallery ── */
.vd-gallery {
  margin-bottom: 1.5rem;
}

.vd-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .vd-gallery__grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .vd-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.vd-gallery__case {
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1.5px solid var(--color-gray-200);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.vd-gallery__case:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.vd-gallery__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.vd-gallery__before,
.vd-gallery__after {
  position: relative;
  overflow: hidden;
}

.vd-gallery__before img,
.vd-gallery__after img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.vd-gallery__label {
  position: absolute;
  bottom: 6px;
  left: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 0.3rem;
  text-transform: uppercase;
}

.vd-gallery__label--before {
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
}

.vd-gallery__label--after {
  background: var(--color-accent);
  color: #fff;
}

.vd-gallery__meta {
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-gray-100);
}

.vd-gallery__meta strong {
  color: var(--color-dark);
}

/* ── Inline Mid-Page CTA ── */
.vd-inline-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(135deg, var(--color-dark) 0%, #1e3a5f 100%);
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.vd-inline-cta__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  flex-shrink: 0;
}

.vd-inline-cta__text {
  flex: 1;
  min-width: 200px;
}

.vd-inline-cta__text strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.vd-inline-cta__text span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.83rem;
  line-height: 1.5;
}

/* ── Sidebar Mini Form ── */
.vd-sidebar-form {
  background: var(--color-white);
  border: 1.5px solid var(--color-gray-200);
  border-radius: 1rem;
  padding: 1.35rem 1.25rem;
  margin-bottom: 1.25rem;
}

.vd-sidebar-form__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vd-sidebar-form__title .fa-calendar-check {
  color: var(--color-accent);
}

.vd-sidebar-form__sub {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.vd-sidebar-form__fields input:focus,
.vd-sidebar-form__fields select:focus {
  outline: 2px solid var(--color-accent);
  border-color: var(--color-accent);
}

/* ── Sidebar Trust List ── */
.vd-sidebar-trust {
  background: var(--color-gray-50);
  border: 1.5px solid var(--color-gray-200);
  border-radius: 1rem;
  padding: 1.25rem;
}

.vd-sidebar-trust__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.85rem;
}

/* ── Step items improvement ── */
.vd-step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.vd-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.vd-step-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.3rem;
}

.vd-step-body p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================
   ── HOME HERO: SPLIT LAYOUT (Dentakay / Mira Clinic style)
   Left: H1 + ticks + CTAs  |  Right: Inline form card
   ========================================================== */

/* Hero container — positions the image + content layer */
.vd-hero--split {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.vd-hero--split .vd-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.vd-hero--split .vd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(5, 15, 35, 0.82) 0%,
      rgba(5, 15, 35, 0.65) 55%,
      rgba(5, 15, 35, 0.45) 100%);
  z-index: 1;
}

/* Inner wrapper sits above the overlay */
.vd-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 6rem 0 4rem;
}

/* Two-column split grid */
.vd-hero__split {
  display: grid !important;
  grid-template-columns: 1fr 420px !important;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

@media (max-width: 1024px) {
  .vd-hero__split {
    grid-template-columns: 1fr 380px !important;
    gap: 2rem;
  }

  .vd-hero__right {
    width: 380px;
  }
}

/* ── LEFT column ── */
.vd-hero__left {
  min-width: 0;
}

.vd-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 1.25rem;
}

.vd-hero__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: heroPulse 2s infinite;
}

@keyframes heroPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

.vd-hero__title {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.vd-hero__title em {
  font-style: normal;
  color: var(--color-accent, #0ea5e9);
}

.vd-hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 0 1.5rem;
}

/* Trust tick list */
.vd-hero__ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.vd-hero__ticks li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.vd-hero__ticks .fa-check-circle {
  color: #4ade80;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* CTA row */
.vd-hero__actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

/* Social proof strip */
.vd-hero__proof {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.7);
}

.vd-hero__proof-stars {
  display: flex;
  gap: 0.1rem;
}

.vd-hero__proof-stars .fa-star {
  color: #fbbf24;
  font-size: 0.85rem;
}

.vd-hero__proof strong {
  color: #fff;
}

/* ── RIGHT column — Form card ── */
.vd-hero__right {
  width: 420px;
  max-width: 100%;
}

.vd-hero-form {
  background: #eeeeee;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem 1.5rem;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

/* Form header (icon + title) */
.vd-hero-form__header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1.5px solid #f1f5f9;
}

.vd-hero-form__icon {
  width: 42px;
  height: 42px;
  border-radius: 0.75rem;
  background: var(--color-accent, #0ea5e9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.vd-hero-form__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.2rem;
  line-height: 1.25;
}

.vd-hero-form__sub {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

/* Form fields */
.vd-hero-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.vd-hero-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.65rem;
}

.vd-hero-form__group:last-of-type {
  margin-bottom: 0.85rem;
}

.vd-hero-form__group label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vd-hero-form__group input,
.vd-hero-form__group select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #1e293b;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.vd-hero-form__group input:focus,
.vd-hero-form__group select:focus {
  border-color: var(--color-accent, #0ea5e9);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

/* Privacy note */
.vd-hero-form__privacy {
  font-size: 0.72rem;
  color: #94a3b8;
  text-align: center;
  margin: 0.6rem 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  line-height: 1.4;
}

.vd-hero-form__privacy i {
  flex-shrink: 0;
}

/* WhatsApp alt link */
.vd-hero-form__alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.78rem;
  color: #94a3b8;
}

.vd-hero-form__alt a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #16a34a;
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.vd-hero-form__alt a:hover {
  opacity: 0.8;
}

.vd-hero-form__alt .fab {
  font-size: 1rem;
}

/* ── Mobile: stack columns ── */
@media (max-width: 768px) {
  .vd-hero__split {
    grid-template-columns: 1fr !important;
  }

  .vd-hero__right {
    width: 100%;
  }

  .vd-hero__inner {
    padding: calc(var(--header-height) + 2rem) 0 2rem;
  }

  .vd-navbar {
    gap: 0.75rem !important;
  }

  .vd-hero-form {
    border-radius: 1rem;
    padding: 1.35rem 1.1rem 1.2rem;
  }

  .vd-hero-form__row {
    grid-template-columns: 1fr;
  }
}


/* ========================================================
   FIX: FORCE HERO & APPOINTMENT TO BE SIDE-BY-SIDE
   ======================================================== */

@media (min-width: 769px) {

  /* ── Hero Section Layout Fix ── */
  .vd-hero__split {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    /* Locks them to the exact same vertical line */
    gap: 3rem !important;
    width: 100% !important;
  }

  .vd-hero__left {
    flex: 1 !important;
    min-width: 0 !important;
  }

  .vd-hero__right {
    flex: 0 0 420px !important;
    /* Keeps your form card size perfectly fixed */
    width: 420px !important;
  }

  /* ── Last Section (Appointment) Layout Fix ── */
  .vd-cta-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    /* Locks them to the exact same vertical line */
    gap: 3rem !important;
    width: 100% !important;
  }

  .vd-cta-content {
    flex: 1 !important;
    min-width: 0 !important;
  }

  .vd-form {
    flex: 0 0 420px !important;
    /* Matches hero form sizing for consistency */
    width: 420px !important;
    background: #eeeeee !important;
    border-radius: 1.25rem !important;
    padding: 1.75rem 1.5rem 1.5rem !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28) !important;
  }

  .vd-form-title {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-top: 0 !important;
    margin-bottom: 1.25rem !important;
  }
}

/* Ensure form labels, inputs and placeholders are visible (dark text on white form bg) */
.vd-form label,
.vd-form input,
.vd-form select {
  color: #0f172a;
}

.vd-form input::placeholder {
  color: #94a3b8;
}

/* ── Mobile Responsive Settings for Last Section ── */
@media (max-width: 768px) {
  .vd-cta-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }

  .vd-cta-buttons {
    justify-content: center !important;
  }

  .vd-form {
    width: 100% !important;
    background: #eeeeee !important;
    border-radius: 1rem !important;
    padding: 1.35rem 1.1rem 1.2rem !important;
  }

  .vd-form-title {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    color: #0f172a !important;
  }
}

/* ============================================================
   SERVICES / TREATMENTS PREVIEW
   ============================================================ */
.vd-services {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-deep) 100%);
}

/* ========================================================
   SERVICES CARDS LAYOUT
   ======================================================== */

/* Desktop & Tablet Grid Enforcement (Force Single Row) */
@media (min-width: 768px) {
  .vd-grid.vd-grid-3 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    align-items: stretch !important;
    /* Force all cards to remain the exact same height */
    width: 100% !important;
  }
}

/* Mobile Layout (1 Column Stacked) */
@media (max-width: 767px) {
  .vd-grid.vd-grid-3 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* ── Service Card Clean Styling & Layout ── */
.vd-service-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.vd-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Fixes Image Container & Absolute Positioning for Floating Icon */
.vd-service-card__image {
  position: relative;
  width: 100%;
  height: 200px;
  background-color: #0b3c5d;
  /* Matches your dark blue aesthetic */
  overflow: hidden;
}

.vd-service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Styles the floating teal icon container */
.vd-service-card__icon {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  width: 42px;
  height: 42px;
  background: #2dd4bf;
  /* Clean teal accent color */
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  z-index: 2;
}

/* Card Body Layout Structuring */
.vd-service-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vd-service-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.vd-service-card__desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  flex-grow: 1;
  /* Pushes sub-links smoothly down to the bottom */
}

/* Sub-links (Internal Links List) */
.vd-service-card__sub {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding-top: 0.5rem;
}

.vd-service-card__sub a {
  font-size: 0.9rem;
  color: #46c2cf;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.vd-service-card__sub a:hover {
  color: #2fa8b5;
}

.vd-service-card__sub a::before {
  content: "–";
  color: #94a3b8;
  margin-right: 2px;
}

/* Main Link Arrow Button */
.vd-service-card__link {
  font-weight: 600;
  color: #0ea5e9;
  text-decoration: none;
  font-size: 0.95rem;
  margin-top: auto;
  display: inline-block;
}

.vd-service-card__link:hover {
  text-decoration: underline;
}

/* =====================================================
   VALUEDENT — EDITOR STYLES
   ===================================================== */

/* If Javascript is not running in the editor, ensure reveal elements are visible */
.wp-admin .vd-reveal,
.block-editor .vd-reveal {
  opacity: 1;
  transform: none;
  visibility: visible;
}

/* Fix missing icons in editor if FontAwesome is not loaded in backend */
.wp-editor-container .fas,
.wp-editor-container .fab {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: #ccc;
  border-radius: 50%;
}

/* Force text centering on appointment buttons */
.vd-form-content .btn,
.vd-hero-form__fields .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* =====================================================
   FULL WIDTH OVERRIDES
   ===================================================== */
#custom-a-tag.container {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* =====================================================
   SIDEBAR BLOG / TREATMENTS WIDGET
   ===================================================== */
.vd-blog-widget {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-gray-100);
}

.vd-blog-widget__title {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-dark);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.vd-blog-widget ul li a:hover {
  color: var(--color-accent);
}

/* =====================================================
   HTML CONTENT PAGE — SIDEBAR LAYOUT FIX
   When a page's WordPress content (the_content) embeds its
   own complete 2-column layout (main + aside), the outer PHP
   template grid must yield. We detect this via :has().
   ===================================================== */

/*
 * 1. When the PHP template's main column contains a nested layout
 *    from the HTML content file, collapse the outer grid to 1 column
 *    and hide the PHP template's own sidebar (it's redundant — the
 *    HTML file already has its own sidebar).
 */
.vd-treatment-layout:has(.vd-single-content .vd-treatment-layout) {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}

.vd-treatment-layout:has(.vd-single-content .vd-treatment-layout)>.vd-treatment-sidebar {
  display: none !important;
}

.vd-treatment-layout:has(.vd-single-content .vd-treatment-layout)>.vd-treatment-content {
  width: 100%;
  min-width: 0;
}

/*
 * 2. The inner layout from the HTML file — make it a proper
 *    2-column grid at full container width.
 */
.vd-single-content .vd-treatment-layout {
  display: grid !important;
  grid-template-columns: 1fr 320px !important;
  gap: var(--space-10) !important;
  align-items: flex-start !important;
  padding-top: var(--space-10) !important;
  padding-bottom: var(--space-12) !important;
}

.vd-single-content .vd-treatment-layout>aside.vd-treatment-sidebar {
  position: sticky !important;
  top: calc(var(--header-height, 80px) + 1.5rem) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: var(--space-5) !important;
  align-self: flex-start !important;
}

/*
 * 3. Responsive — stack on smaller screens.
 */
@media (max-width: 1024px) {
  .vd-single-content .vd-treatment-layout {
    grid-template-columns: 1fr 280px !important;
  }
}

@media (max-width: 768px) {
  .vd-single-content .vd-treatment-layout {
    grid-template-columns: 1fr !important;
  }

  .vd-single-content .vd-treatment-layout>aside.vd-treatment-sidebar {
    position: static !important;
  }
}

/* ── Eligibility Grid Fix — force two columns ── */
.vd-single-content .vd-eligibility__grid {
  display: flex !important;
  flex-direction: row !important;
  gap: 1.25rem !important;
  align-items: flex-start !important;
}

.vd-single-content .vd-eligibility__grid>.vd-eligibility__col {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: 50% !important;
}

@media (max-width: 640px) {
  .vd-single-content .vd-eligibility__grid {
    flex-direction: column !important;
  }

  .vd-single-content .vd-eligibility__grid>.vd-eligibility__col {
    width: 100% !important;
  }
}

/* ── Gallery grid ── */
.vd-gallery__grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
}

@media (max-width: 900px) {
  .vd-gallery__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 580px) {
  .vd-gallery__grid {
    grid-template-columns: 1fr !important;
  }
}

/* Gallery broken images: hide alt text, show clean placeholder box */
.vd-gallery__before,
.vd-gallery__after {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
  min-height: 160px;
}

.vd-gallery__before img,
.vd-gallery__after img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  font-size: 0;
  color: transparent;
}

/* ── FAQ Accordion: left-align question text ── */
.vd-accordion-header {
  text-align: left;
  justify-content: space-between;
}

.vd-accordion-question,
.vd-accordion-title {
  text-align: left;
  flex: 1;
  font-weight: bold;
}

.vd-sidebar-cta .vd-form-group input,
.vd-sidebar-cta .vd-form-group select {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.vd-sidebar-cta .vd-form-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.vd-sidebar-cta .vd-form-group select option {
  background: #fff;
  color: #333;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */

/* ── Gallery Hero ── */
.vd-gallery-hero {
  position: relative;
  height: 55vh;
  min-height: 550px;
  max-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-dark-deep);
}

.vd-blog-hero {
  height: 60vh;
  min-height: 320px;
  max-height: 400px;
}

.vd-blog-hero .vd-gallery-hero__content {
  padding-top: calc(var(--header-height) + 1.5rem);
  padding-bottom: 2rem;
}

.vd-gallery-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}

.vd-gallery-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(7, 54, 79, 0.88) 0%,
      rgba(10, 74, 109, 0.75) 45%,
      rgba(70, 194, 206, 0.18) 100%);
  z-index: 1;
}

.vd-gallery-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--header-height) + 1.5rem);
  padding-bottom: 2rem;
}

.vd-gallery-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(70, 194, 206, 0.15);
  border: 1px solid rgba(70, 194, 206, 0.35);
  backdrop-filter: blur(8px);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-accent-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.vd-gallery-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-5);
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.vd-gallery-hero__title em {
  font-style: normal;
  color: var(--color-accent);
}

.vd-gallery-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto var(--space-8);
}

.vd-gallery-hero__stats {
  display: inline-flex;
  align-items: center;
  gap: var(--space-6);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-2xl);
  padding: var(--space-4) var(--space-8);
  flex-wrap: wrap;
  justify-content: center;
}

.vd-gallery-hero__stat {
  text-align: center;
}

.vd-gallery-hero__stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.vd-gallery-hero__stat span {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vd-gallery-hero__stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
}

/* ── Gallery Section ── */
.vd-gallery-section {
  background: var(--color-gray-50);
}

/* ── Filter tabs ── */
.vd-filter-tabs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-8);
}

.vd-filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--color-gray-200);
  background: var(--color-white);
  color: var(--color-text-muted);
  transition: all var(--transition-base);
}

.vd-filter-tab:hover,
.vd-filter-tab.active {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

.vd-filter-tab i {
  font-size: 0.75rem;
  opacity: 0.75;
  transition: opacity var(--transition-base);
}

.vd-filter-tab:hover i,
.vd-filter-tab.active i {
  opacity: 1;
}

/* ── Filter tabs ── */
.vd-gallery-filter-wrap {
  position: relative;
  z-index: 10;
}

.vd-filter-mobile-toggle {
  display: none;
}

/* ── Square Gallery Grid ── */
.vd-gallery-square-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.vd-gallery-square-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  outline: 3px solid transparent;
  outline-offset: 3px;
}

.vd-gallery-square-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.vd-gallery-square-item:focus-visible {
  outline-color: var(--color-accent);
}

.vd-gallery-square-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}

.vd-gallery-square-item:hover img {
  transform: scale(1.1);
}

/* Overlay info on hover */
.vd-gallery-page-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 74, 109, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.vd-gallery-square-item:hover .vd-gallery-page-overlay,
.vd-gallery-square-item:focus-visible .vd-gallery-page-overlay {
  opacity: 1;
}

.vd-gallery-square-info {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.vd-gallery-square-label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.vd-gallery-square-treatment {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-accent-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vd-gallery-square-patient {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-white);
}

.vd-gallery-zoom-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-white);
  flex-shrink: 0;
  transition: background var(--transition-base), transform var(--transition-base);
}

.vd-gallery-square-item:hover .vd-gallery-zoom-icon {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.12);
}

/* Hidden items (load more) */
.vd-gallery-hidden {
  display: none !important;
}

/* ── Empty state ── */
.vd-gallery-empty {
  text-align: center;
  padding: var(--space-16) var(--space-8);
  animation: fadeInUp 0.4s ease forwards;
}

.vd-gallery-empty__icon {
  font-size: 3rem;
  color: var(--color-gray-300);
  margin-bottom: var(--space-4);
}

.vd-gallery-empty h3 {
  font-size: var(--font-size-xl);
  color: var(--color-dark);
  margin-bottom: var(--space-2);
}

.vd-gallery-empty p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

/* ── Load More Button ── */
.vd-gallery-load-more {
  text-align: center;
  margin-top: var(--space-10);
}

.vd-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 1rem 2.5rem;
  background: var(--color-white);
  border: 2px solid var(--color-dark);
  border-radius: var(--radius-full);
  color: var(--color-dark);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.vd-load-more-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-dark), var(--color-dark-mid));
  transform: translateY(100%);
  transition: transform var(--transition-base);
  z-index: 0;
}

.vd-load-more-btn:hover {
  color: var(--color-white);
  border-color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.vd-load-more-btn:hover::before {
  transform: translateY(0);
}

.vd-load-more-btn__text,
.vd-load-more-btn__counter {
  position: relative;
  z-index: 1;
}

.vd-load-more-btn__text {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.vd-load-more-btn__counter {
  font-size: var(--font-size-xs);
  font-weight: 700;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  transition: background var(--transition-base);
}

.vd-load-more-btn:hover .vd-load-more-btn__counter {
  background: rgba(70, 194, 206, 0.85);
}

.vd-load-more-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ── Lightbox ── */
.vd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.vd-lightbox[hidden] {
  display: none;
}

.vd-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 30, 44, 0.94);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.vd-lightbox__container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  max-width: 960px;
  width: 100%;
}

.vd-lightbox__image-wrap {
  flex: 1;
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  background: var(--color-dark);
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vd-lightbox__img {
  width: 100%;
  height: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease;
}

.vd-lightbox__img.loading {
  opacity: 0;
}

.vd-lightbox__spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-accent);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.vd-lightbox__spinner.visible {
  opacity: 1;
}

.vd-lightbox__nav {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--color-white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  flex-shrink: 0;
  backdrop-filter: blur(8px);
}

.vd-lightbox__nav:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.1);
}

.vd-lightbox__close {
  position: absolute;
  top: -20px;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  z-index: 10;
  backdrop-filter: blur(8px);
}

.vd-lightbox__close:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: scale(1.1);
}

.vd-lightbox__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-5) var(--space-6);
  background: linear-gradient(to top, rgba(5, 30, 44, 0.9) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
}

.vd-lightbox__caption-treatment {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-accent-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
}

.vd-lightbox__caption-patient {
  font-size: var(--font-size-sm);
  color: var(--color-white);
  font-weight: 600;
  display: block;
}

.vd-lightbox__caption-counter {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  margin-left: auto;
}

/* ============================================================
   ABOUT PAGE COMPONENTS
   ============================================================ */

/* ── Stats Section ── */
.vd-stats {
  background: linear-gradient(135deg, var(--color-dark-deep) 0%, var(--color-dark) 100%);
  padding: var(--space-12) 0;
  position: relative;
  overflow: hidden;
}

.vd-stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://valuedentclinic.com/wp-content/uploads/2026/06/valuedentlogo-Glow.png') center/cover no-repeat;
  opacity: 0.05;
  mix-blend-mode: overlay;
}

.vd-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
  z-index: 2;
}

.vd-stat-item {
  text-align: center;
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(8px);
  transition: transform var(--transition-base);
}

.vd-stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
}

.vd-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.vd-stat-label {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ── Team Section ── */
.vd-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-10);
}

.vd-team-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.vd-team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(70, 194, 206, 0.3);
}

.vd-team-card__image {
  width: 100%;
  height: 340px;
  overflow: hidden;
  position: relative;
}

.vd-team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.vd-team-card:hover .vd-team-card__image img {
  transform: scale(1.05);
}

.vd-team-card__body {
  padding: var(--space-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: var(--color-white);
}

.vd-team-card__name {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  color: var(--color-dark);
  margin-bottom: var(--space-2);
}

.vd-team-card__position {
  font-size: var(--font-size-sm);
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
}

@media (max-width: 960px) {
  .vd-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vd-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .vd-stats__grid {
    grid-template-columns: 1fr;
  }

  .vd-team-grid {
    grid-template-columns: 1fr;
  }

  .vd-team-card__image {
    height: 280px;
  }
}

/* ── Gallery Animations ── */
.vd-gallery-page-item {
  animation: fadeInUp 0.4s ease both;
}

/* ── Gallery Responsive ── */
@media (max-width: 1024px) {
  .vd-gallery-square-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .vd-gallery-square-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .vd-gallery-hero__stats {
    gap: var(--space-4);
    padding: var(--space-3) var(--space-5);
  }

  .vd-gallery-hero__stat-divider {
    display: none;
  }

  .vd-lightbox__container {
    gap: var(--space-2);
  }

  .vd-lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .vd-filter-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-base);
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-dark);
    cursor: pointer;
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-sm);
  }

  .vd-filter-mobile-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .vd-filter-mobile-current i {
    opacity: 0.75;
  }

  .vd-filter-mobile-icon {
    transition: transform var(--transition-base);
  }

  .vd-gallery-filter-wrap.is-open .vd-filter-mobile-icon {
    transform: rotate(180deg);
  }

  .vd-gallery-filter-wrap.is-open .vd-filter-tabs {
    display: flex;
  }

  .vd-filter-tabs {
    display: none;
    position: absolute;
    top: calc(100% - var(--space-3));
    left: 0;
    width: 100%;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    flex-direction: column;
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 20;
    gap: 0;
  }

  .vd-filter-tab {
    width: 100%;
    justify-content: flex-start;
    border: none;
    border-radius: var(--radius-md);
    background: transparent;
    padding: 0.75rem 1rem;
    color: var(--color-text-muted);
  }

  .vd-filter-tab:hover,
  .vd-filter-tab.active {
    background: var(--color-gray-50);
    color: var(--color-dark);
  }

  .vd-blog-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */

/* Section */
.vd-contact-form-section {
  background: var(--color-gray-50);
  padding: 3rem 0;
}

/* Card — elegant centered container */
.vd-contact-form-card {
  background: var(--color-white);
  padding: 2.5rem 3rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0, 0, 0, 0.05);
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Header — centered title + subtitle */
.vd-contact-form-header,
.vd-form-content {
  position: relative;
  z-index: 1;
}

.vd-contact-form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.vd-contact-form-header h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 0.4rem;
}

.vd-contact-form-header p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* 2×2 grid: Name+Email / Phone+Treatment */
.vd-contact-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

/* Message — spans full width */
.vd-contact-message-wrap {
  margin-bottom: 1.5rem;
}

/* Submit — centered */
.vd-contact-submit-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.vd-contact-submit-btn {
  justify-content: center;
  font-size: 1rem;
  padding: 0.85rem 2.5rem;
  min-width: 200px;
}

/* Shared form group */
.vd-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.vd-form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-dark);
}

.vd-form-group input,
.vd-form-group select,
.vd-form-group textarea {
  width: 100%;
  height: 48px;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.6rem;
  font-size: 0.92rem;
  font-family: var(--font-body);
  background: #fff;
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  resize: none;
}

.vd-form-group textarea {
  height: auto;
  min-height: 120px;
}

.vd-form-group input:focus,
.vd-form-group select:focus,
.vd-form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(70, 194, 206, 0.15);
}

/* Privacy note */
.vd-contact-privacy {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
  text-align: center;
}

.vd-contact-privacy i {
  color: #10b981;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .vd-contact-form-card {
    padding: 1.75rem 1.5rem;
  }

  .vd-contact-grid-2x2 {
    grid-template-columns: 1fr;
  }

  .vd-contact-form-header {
    margin-bottom: 1.5rem;
  }
}

/* ============================================================
   CLASSIC EDITOR FULL-WIDTH PAGE FIXES
   ============================================================ */

/* Hide the WordPress auto-generated entry title on pages that
   use the Classic Editor with pasted HTML (the HTML already
   contains its own hero/title). Targets the title that WordPress
   renders above the_content() on standard page/single templates. */
.page .entry-title,
.page h1.entry-title,
body.page>.entry-title,
.vd-single-content~.entry-title,
.entry-header .entry-title {
  display: none !important;
}

/* Remove any default WordPress page background / padding that
   can appear as an orange or off-white band around content */
body.page,
body.single,
body.page-template-treatment-page {
  background-color: var(--color-white) !important;
}

/* Ensure the wrapper div around Classic Editor content is truly
   full-width with no unwanted padding or max-width constraints */
.vd-single-content {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
}

.vd-single-content>* {
  max-width: 100%;
}

/* Fix: WordPress wraps pasted content in <div class="entry-content">
   which can inherit constrained widths from old themes */
.page .entry-content,
.single .entry-content {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* ============================================================
   CONTACT FORM 7 — OVERRIDES
   ============================================================ */

/* Remove CF7 default p/br spacing that breaks our grid layout */
.wpcf7 p {
  margin: 0;
}

.wpcf7 br {
  display: none;
}

/* Ensure our grid stays intact inside CF7's form wrapper */
.wpcf7-form .vd-form-group {
  margin-bottom: 1.25rem;
}

/* Let our custom HTML buttons handle the styling, just hide the default CF7 spinner */
.wpcf7 .wpcf7-spinner {
  display: none;
}

/* Country Code Select Dropdown Styling for CF7 */
select.vd-country-select {
  flex: 0 0 110px;
  padding: 0.75rem 0.25rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  background: #fff;
  color: var(--color-dark);
}

.vd-hero-form__group select.vd-country-select {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  background: #f8fafc;
}

/* Validation messages */
.wpcf7-not-valid-tip {
  color: #e53e3e;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: block;
}

.wpcf7 input.wpcf7-not-valid,
.wpcf7 select.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
  border-color: #e53e3e;
}

.wpcf7-response-output {
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  border: none !important;
  background: #f0fff4;
  color: #276749;
}

.wpcf7-response-output.wpcf7-validation-errors,
.wpcf7-response-output.wpcf7-mail-sent-ng {
  background: #fff5f5;
  color: #9b2c2c;
}

/* Contact Page Layout Fixes */
.vd-contact-split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 992px) {
  .vd-contact-split-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.vd-contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .vd-contact-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
  }
}

.vd-about-journey-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .vd-about-journey-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .vd-section-compact-mobile {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  .vd-gap-mobile-reduced {
    gap: 1rem !important;
  }
}

/* Fix for CF7 Phone / WhatsApp side-by-side layout (Linter-safe) */
.wpcf7-form-control-wrap.country-code {
  display: inline-block !important;
  width: 110px !important;
  margin-right: 0.5rem !important;
  vertical-align: top !important;
}

.wpcf7-form-control-wrap.your-phone {
  display: inline-block !important;
  width: calc(100% - 110px - 0.8rem) !important;
  vertical-align: top !important;
}