/*===================================================================
  BACKS TO BASICS OSTEOPATHY & HEALTHCARE - MAIN STYLESHEET
  Sophisticated Teal Blue Luxury Healthcare Palette & Editorial Motion
===================================================================*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 16px;
}

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

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

ul {
  list-style: none;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #EAF3F5;
}
::-webkit-scrollbar-thumb {
  background: #A0C8D1;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-primary);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, .font-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

/* --- LAYOUT CONTAINER --- */
.container {
  width: min(1240px, 92%);
  margin: 0 auto;
}

.container-narrow {
  width: min(940px, 92%);
  margin: 0 auto;
}

/* --- BUTTONS & CTAS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2.5px) scale(1.02);
}

.btn:active {
  transform: translateY(0) scale(0.99);
  transition-duration: 0.12s;
}

.btn i.fa-arrow-right,
.btn i.fa-chevron-right {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover i.fa-arrow-right,
.btn:hover i.fa-chevron-right {
  transform: translateX(4px);
}

.btn i.fa-calendar-check {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover i.fa-calendar-check {
  transform: scale(1.12) rotate(-6deg);
}

.btn-teal {
  background: var(--grad-teal);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(14, 116, 144, 0.28);
}

.btn-teal:hover {
  box-shadow: 0 16px 36px rgba(14, 116, 144, 0.42);
  color: #ffffff;
}

/* Luxury Shimmer Sweep on Primary Action */
.btn-teal::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -80%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.24) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.btn-teal:hover::after {
  opacity: 1;
  left: 140%;
  transition: left 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.btn-teal-outline {
  background: transparent;
  color: var(--teal-600);
  border: 1.5px solid var(--teal-600);
}

.btn-teal-outline:hover {
  background: var(--teal-600);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(14, 116, 144, 0.25);
}

.btn-white {
  background: #ffffff;
  color: var(--brand-dark);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background: var(--teal-50);
  color: var(--teal-700);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-sand {
  background: var(--brand-sand);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(200, 157, 124, 0.35);
}

.btn-sand:hover {
  background: #b58968;
  box-shadow: 0 14px 32px rgba(200, 157, 124, 0.45);
  color: #ffffff;
}

/* Badge / Pill Tag */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-50);
  color: var(--teal-700);
  border: 1px solid var(--teal-200);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-badge i {
  color: var(--teal-600);
  font-size: 13px;
}

.section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px auto;
}

.section-title h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--brand-dark);
  margin-bottom: 15px;
}

.section-title h2 em,
.section-title h2 span {
  font-style: italic;
  color: var(--teal-600);
  font-weight: 500;
}

.section-title p {
  color: var(--text-muted);
  font-size: 16.5px;
}

/* --- HEADER & NAVIGATION --- */
header.site-header {
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-base);
}

header.site-header.scrolled {
  position: fixed;
  top: 14px;
}

.navbar {
  height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px 0 24px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(14, 116, 144, 0.16);
  box-shadow: 0 14px 38px rgba(11, 23, 32, 0.10);
  transition: var(--transition-base);
}

header.site-header.scrolled .navbar {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(11, 23, 32, 0.14);
  border-color: rgba(14, 116, 144, 0.22);
}

.navbar .site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar .site-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.08));
}

.navbar .brand-text {
  display: flex;
  flex-direction: column;
}

.navbar .brand-text span.brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-dark);
  line-height: 1;
  letter-spacing: 0.02em;
}

.navbar .brand-text span.brand-sub {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--teal-700);
  text-transform: uppercase;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a {
  color: var(--text-main);
  font-size: 14.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu li.active > a {
  color: var(--teal-600);
}

/* Treatments Dropdown */
.nav-menu .has-dropdown > a i {
  font-size: 10px;
  color: var(--text-muted);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.nav-menu .has-dropdown:hover > a i {
  transform: rotate(180deg);
  color: var(--teal-600);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 295px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(14, 116, 144, 0.16);
  border-radius: var(--radius-md);
  padding: 10px 0;
  box-shadow: 0 20px 45px rgba(11, 23, 32, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition-base);
  z-index: 1001;
}

.nav-menu .has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-main);
  font-weight: 600;
  transition: all 0.25s ease;
}

.dropdown-menu li a i {
  font-size: 14px;
  color: var(--teal-600);
  width: 18px;
  text-align: center;
}

.dropdown-menu li a:hover {
  background: var(--teal-50);
  color: var(--teal-800);
  padding-left: 24px;
}

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

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(14, 116, 144, 0.08);
  border: 1px solid rgba(14, 116, 144, 0.14);
  transition: var(--transition-fast);
}

.header-phone i {
  color: var(--teal-600);
  transition: color var(--transition-fast);
}

.header-phone:hover {
  background: var(--teal-600);
  color: #ffffff;
  border-color: var(--teal-600);
}

.header-phone:hover i {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  background: rgba(14, 116, 144, 0.08);
  border: 1px solid rgba(14, 116, 144, 0.14);
  color: var(--brand-dark);
  font-size: 20px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.menu-toggle:hover {
  background: var(--teal-600);
  color: #ffffff;
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 85vw);
  height: 100vh;
  background: var(--brand-dark);
  z-index: 2000;
  padding: 35px 25px;
  display: flex;
  flex-direction: column;
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.5);
  transition: right var(--transition-base);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  font-size: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav-links a {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  display: block;
}

.mobile-dropdown-title {
  color: var(--teal-300);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 10px;
  margin-bottom: 8px;
}

.mobile-sublinks {
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-sublinks a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 90px 0;
  background: var(--brand-dark);
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.65) saturate(1.1);
  transform: scale(1.04);
  animation: subtleZoom 20s infinite alternate ease-in-out;
}

@keyframes subtleZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(11, 23, 32, 0.82) 0%, 
    rgba(11, 23, 32, 0.65) 45%, 
    rgba(11, 23, 32, 0.94) 100%),
    radial-gradient(circle at 80% 30%, rgba(14, 116, 144, 0.35) 0%, transparent 60%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  color: #ffffff;
}

@keyframes heroFadeDown {
  0% {
    opacity: 0;
    transform: translateY(-16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroRise {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 116, 144, 0.35);
  border: 1px solid rgba(14, 180, 210, 0.4);
  backdrop-filter: blur(12px);
  color: #E2F8FA;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  animation: heroFadeDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.1s;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero h1 {
  font-size: clamp(2.8rem, 5.8vw, 4.8rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 22px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  animation: heroRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.22s;
}

.hero h1 em,
.hero h1 span {
  font-style: italic;
  color: var(--teal-300);
  font-weight: 500;
  display: inline-block;
}

.hero p.hero-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
  margin-bottom: 36px;
  font-weight: 400;
  animation: heroRise 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.36s;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  animation: heroRise 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.5s;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: fit-content;
  animation: heroRise 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.64s;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}

.trust-item .stars {
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 14px;
}

.trust-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.2);
}

.trust-item i {
  color: var(--teal-300);
  font-size: 15px;
}

/* --- QUICK SERVICE TICKER / STRIP --- */
.quick-services {
  background: #ffffff;
  padding: 30px 0;
  border-bottom: 1px solid rgba(14, 116, 144, 0.08);
  box-shadow: 0 10px 30px rgba(11, 23, 32, 0.03);
}

.services-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
}

.strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 12px;
  border-radius: var(--radius-md);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  transition: var(--transition-base);
  color: var(--brand-dark);
}

.strip-item:hover {
  background: var(--brand-primary);
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(14, 116, 144, 0.25);
  border-color: var(--brand-primary);
}

.strip-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 10px;
  transition: var(--transition-base);
  box-shadow: 0 4px 12px rgba(14, 116, 144, 0.12);
}

.strip-item:hover .icon {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: none;
}

.strip-item h4 {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* --- FEATURED TREATMENTS --- */
.treatments {
  padding: 100px 0;
  background: #ffffff;
}

.treatment-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
}

.treatment-tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: var(--bg-page);
  border: 1px solid #D8E5E8;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.treatment-tab-btn:hover,
.treatment-tab-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 6px 18px rgba(14, 116, 144, 0.28);
}

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

.treatment-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #E2ECF0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}

.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-200);
}

.card-image-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--brand-dark);
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.treatment-card:hover .card-image-wrap img {
  transform: scale(1.08);
}

.card-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(11, 23, 32, 0.8);
  backdrop-filter: blur(8px);
  color: var(--teal-200);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}

.card-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 23, 32, 0.85) 100%);
  z-index: 1;
}

.card-image-content {
  position: absolute;
  bottom: 18px;
  left: 20px;
  right: 20px;
  z-index: 2;
  color: #ffffff;
}

.card-image-content h3 {
  font-size: 26px;
  margin-bottom: 4px;
  color: #ffffff;
}

.card-image-content p.card-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--teal-300);
  text-transform: uppercase;
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-description {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.card-conditions {
  margin-bottom: 22px;
}

.card-conditions span.conditions-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-800);
  margin-bottom: 8px;
}

.condition-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.condition-pills span {
  background: var(--teal-50);
  color: var(--teal-800);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #EEF3F5;
}

.card-feature-icons {
  display: flex;
  gap: 10px;
}

.card-feature-icons span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: var(--transition-fast);
}

.treatment-card:hover .card-feature-icons span {
  background: var(--teal-100);
  color: var(--teal-700);
}

.card-action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-primary);
}

.card-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.treatment-card:hover .card-arrow-btn {
  background: var(--brand-primary);
  color: #ffffff;
  transform: rotate(45deg);
}

/* --- WHY CHOOSE US --- */
.why-choose {
  padding: 105px 0;
  background: var(--bg-page);
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

/* --- 5-CARD BALANCED BENTO GRID --- */
.why-grid.five-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.why-grid.five-cards > .why-card {
  height: 100%;
}

.why-grid.five-cards > .why-card:nth-child(1),
.why-grid.five-cards > .why-card:nth-child(2),
.why-grid.five-cards > .why-card:nth-child(3) {
  grid-column: span 2;
}

.why-grid.five-cards > .why-card:nth-child(4),
.why-grid.five-cards > .why-card:nth-child(5) {
  grid-column: span 3;
}

@media (max-width: 992px) {
  .why-grid.five-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .why-grid.five-cards > .why-card:nth-child(1),
  .why-grid.five-cards > .why-card:nth-child(2),
  .why-grid.five-cards > .why-card:nth-child(3),
  .why-grid.five-cards > .why-card:nth-child(4) {
    grid-column: span 1;
  }
  .why-grid.five-cards > .why-card:nth-child(5) {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .why-grid.five-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .why-grid.five-cards > .why-card {
    grid-column: span 1 !important;
  }
}

.why-card {
  background: #ffffff;
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid #E2ECF0;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transition: var(--transition-base);
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal-300);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: var(--transition-base);
}

.why-card:hover .why-icon {
  background: var(--brand-primary);
  color: #ffffff;
  transform: scale(1.06);
}

.why-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.why-content p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- ABOUT SECTION --- */
.about-section {
  padding: 110px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}

.about-image-col {
  position: relative;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/4.5;
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-cert-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: rgba(11, 23, 32, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: floatBadge 5s ease-in-out infinite;
}

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

.floating-cert-badge .icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-600);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.floating-cert-badge strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.floating-cert-badge span {
  font-size: 12px;
  color: var(--teal-200);
}

.about-content-col h2 {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  color: var(--brand-dark);
  margin-bottom: 22px;
}

.about-content-col h2 span {
  color: var(--teal-600);
  font-style: italic;
}

.about-lead {
  font-size: 17px;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 16px;
  font-weight: 500;
}

.about-body-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 35px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stat-box {
  background: var(--bg-page);
  border: 1px solid #DDEAF0;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition-fast);
}

.stat-box:hover {
  border-color: var(--teal-300);
  background: var(--teal-50);
}

.stat-box i {
  font-size: 24px;
  color: var(--teal-600);
}

.stat-box strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.1;
}

.stat-box span {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* --- TREATMENT PROCESS / JOURNEY --- */
.process-section {
  padding: 100px 0;
  background: var(--bg-page);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  position: relative;
}

.process-card {
  background: #ffffff;
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid #E2ECF0;
  position: relative;
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.process-card:hover {
  transform: translateY(-8px);
  border-color: var(--teal-400);
  box-shadow: var(--shadow-md);
}

.process-step-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 50px;
  font-weight: 700;
  color: var(--teal-200);
  line-height: 1;
  margin-bottom: 12px;
}

.process-card h4 {
  font-size: 18px;
  color: var(--brand-dark);
  margin-bottom: 12px;
}

.process-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- BEFORE & AFTER / REAL CLINICAL RESULTS --- */
.before-after-section {
  padding: 100px 0;
  background: #ffffff;
}

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

.before-card {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  border: 1px solid #DCE8EC;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.before-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.compare-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.compare-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--brand-dark);
}

.compare-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-box span.compare-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(11, 23, 32, 0.85);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.compare-box.after span.compare-badge {
  background: var(--teal-600);
}

.compare-title {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-dark);
}

.compare-title strong {
  color: var(--teal-600);
}

/* --- TESTIMONIALS --- */
.testimonials-section {
  padding: 105px 0;
  background: var(--teal-50);
  position: relative;
}

.testimonial-slider-wrapper {
  position: relative;
  margin: 0 auto;
  padding: 0 4px;
}

.testimonial-slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  padding: 12px 2px 24px 2px;
  cursor: grab;
  user-select: none;
}

.testimonial-slider-track:active {
  cursor: grabbing;
}

.testimonial-slider-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: calc((100% - 48px) / 3);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  background: #ffffff;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid #D5EAEE;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
  position: relative;
  box-sizing: border-box;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-300);
}

@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc((100% - 20px) / 2);
    min-width: calc((100% - 20px) / 2);
  }
  .testimonial-slider-track {
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
  .testimonial-slider-track {
    gap: 16px;
  }
}

/* Navigation Arrows */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #D5EAEE;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(11, 23, 32, 0.12);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-nav-btn:hover {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(14, 116, 144, 0.35);
  transform: translateY(-50%) scale(1.08);
}

.slider-nav-btn:active {
  transform: translateY(-50%) scale(0.94);
}

.slider-nav-btn.prev {
  left: -24px;
}

.slider-nav-btn.next {
  right: -24px;
}

@media (max-width: 1200px) {
  .slider-nav-btn.prev {
    left: 8px;
  }
  .slider-nav-btn.next {
    right: 8px;
  }
}

@media (max-width: 768px) {
  .slider-nav-btn {
    display: none;
  }
}

/* Pagination Dots */
.testimonial-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
}

.slider-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(213, 234, 238, 0.9);
  box-shadow: 0 2px 8px rgba(11, 23, 32, 0.04);
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-dot:hover {
  background: var(--teal-400);
}

.slider-dot.active {
  width: 28px;
  border-radius: 12px;
  background: var(--teal-600);
}

.testimonial-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.testimonial-card .stars-date {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-card .stars {
  color: #FBBC04;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 0;
}

.testimonial-card .review-date {
  font-size: 12px;
  color: #70757a;
  font-weight: 500;
}

.google-review-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8f9fa;
  border: 1px solid #e8eaed;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 600;
  color: #3c4043;
}

.google-review-pill i {
  color: #4285F4;
  font-size: 12px;
}

.testimonial-card p.quote {
  font-size: 14.5px;
  color: #3c4043;
  line-height: 1.68;
  margin-bottom: 22px;
  font-style: normal;
  flex: 1;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid #F1F5F7;
}

.client-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}

.local-guide-badge {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 17px;
  height: 17px;
  background: #fbbc04;
  color: #1a73e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.testimonial-client h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 2px;
}

.testimonial-client span.client-meta {
  font-size: 12px;
  color: #70757a;
  font-weight: 500;
}

/* --- GALLERY --- */
.gallery-section {
  padding: 100px 0;
  background: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-item-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 23, 32, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: #ffffff;
  opacity: 0;
  transition: var(--transition-fast);
}

.gallery-item:hover .gallery-item-caption {
  opacity: 1;
}

.gallery-item-caption span {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-200);
}

/* --- CONTACT & RESERVATION SECTION --- */
.contact-section {
  padding: 110px 0;
  background: var(--bg-page);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.contact-info h2 {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  color: var(--brand-dark);
  margin-bottom: 18px;
}

.contact-info h2 span {
  color: var(--teal-600);
  font-style: italic;
}

.contact-info p.lead-text {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 35px;
}

.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-link-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #DCE8EC;
  transition: var(--transition-fast);
}

.contact-link-card:hover {
  border-color: var(--teal-400);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.contact-link-card .icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-link-card.messenger .icon-box {
  background: #EBF5FF;
  color: #0084FF;
}

.contact-link-card.whatsapp .icon-box {
  background: #E8F8EE;
  color: #25D366;
}

.contact-link-card strong {
  display: block;
  font-size: 15px;
  color: var(--brand-dark);
}

.contact-link-card span {
  font-size: 13px;
  color: var(--text-muted);
}

.contact-form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 45px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #E2EDF0;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid #D8E6EB;
  background: #FAFCFD;
  color: var(--text-main);
  font-size: 14.5px;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--teal-500);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.12);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

/* ===================================================================
   OPERATING HOURS & CLINIC LOCATION (GOOGLE MAP)
=================================================================== */
.clinic-location-section {
  padding: 90px 0 80px 0;
  background: #ffffff;
  position: relative;
  border-top: 1px solid #E2EDF0;
}

.location-split-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 50px;
  align-items: center;
}

.location-content-col {
  display: flex;
  flex-direction: column;
}

.location-content-col h2 {
  font-size: clamp(2rem, 3.5vw, 2.65rem);
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.2;
  margin: 12px 0 16px 0;
}

.location-content-col h2 span {
  background: var(--grad-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.location-desc {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Operating Timing Card */
.timing-card {
  background: var(--teal-50);
  border: 1px solid #D5EAEE;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.timing-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #D5EAEE;
}

.timing-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-teal);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.timing-header h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 2px;
}

.timing-header span {
  font-size: 12.5px;
  color: var(--text-muted);
}

.timing-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid #E2EDF0;
  font-size: 14.5px;
}

.timing-row.highlight {
  border-left: 3px solid var(--teal-600);
}

.timing-row.closed {
  background: #f8fafc;
  opacity: 0.85;
}

.timing-days {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-dark);
}

.timing-days i {
  color: var(--teal-600);
  font-size: 14px;
}

.timing-row.closed .timing-days i {
  color: #94a3b8;
}

.timing-hours span {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--teal-50);
  color: var(--teal-800);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.3px;
}

.timing-row.closed .timing-hours span {
  background: #e2e8f0;
  color: #64748b;
  font-weight: 600;
}

/* Location Pills */
.location-info-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.location-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #DCE8EC;
  border-radius: var(--radius-md);
}

.location-info-item i {
  font-size: 16px;
  color: var(--teal-600);
  margin-top: 3px;
  flex-shrink: 0;
}

.location-info-item strong {
  display: block;
  font-size: 13.5px;
  color: var(--brand-dark);
  line-height: 1.3;
}

.location-info-item span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

.location-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-glass-dark {
  background: #0B1720;
  color: #ffffff;
  border: 1px solid #1E293B;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14.5px;
  transition: var(--transition-fast);
}

.btn-glass-dark:hover {
  background: #152736;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Map Column */
.location-map-col {
  position: relative;
}

.map-frame-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(11, 23, 32, 0.12);
  border: 2px solid #D5EAEE;
  background: #e5e7eb;
}

.map-badge-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(213, 234, 238, 0.9);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(11, 23, 32, 0.14);
}

.map-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.map-badge-overlay div:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.map-badge-overlay strong {
  display: block;
  font-size: 13.5px;
  color: var(--brand-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-badge-overlay span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-directions-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.map-directions-link:hover {
  background: var(--teal-600);
  color: #ffffff;
}

/* Responsiveness */
@media (max-width: 992px) {
  .location-split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .map-frame-wrapper iframe {
    height: 380px !important;
  }
}

@media (max-width: 640px) {
  .clinic-location-section {
    padding: 65px 0 55px 0;
  }

  .location-info-pills {
    grid-template-columns: 1fr;
  }

  .timing-card {
    padding: 18px 16px;
  }

  .timing-row {
    padding: 8px 10px;
    font-size: 13.5px;
  }

  .map-frame-wrapper iframe {
    height: 320px !important;
  }

  .map-badge-overlay {
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 10px 12px;
  }
}

/* --- INFO BAR --- */
.info-bar {
  background: var(--brand-dark-surface);
  color: #ffffff;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.info-card {
  display: flex;
  align-items: center;
  gap: 18px;
}

.info-card .info-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(14, 116, 144, 0.25);
  border: 1px solid rgba(14, 180, 210, 0.3);
  color: var(--teal-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.info-card h4 {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 3px;
}

.info-card p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

/* --- FOOTER --- */
footer.site-footer {
  background: var(--brand-dark);
  color: #ffffff;
  padding: 85px 0 35px 0;
  position: relative;
  overflow: hidden;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-about .footer-logo img {
  height: 54px;
  width: auto;
  margin-bottom: 16px;
}

.footer-tag {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--teal-300);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-about p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.social-links a:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--teal-400);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.footer-col ul a:hover {
  color: var(--teal-200);
  padding-left: 5px;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-contact-details li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact-details li i {
  color: var(--teal-300);
  font-size: 16px;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ===================================================================
   DEDICATED SERVICE PAGE STYLING
=================================================================== */

.page-hero {
  position: relative;
  padding: 160px 0 90px 0;
  background: var(--brand-dark);
  color: #ffffff;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 23, 32, 0.88) 0%, rgba(11, 23, 32, 0.96) 100%),
    radial-gradient(circle at 85% 40%, rgba(14, 116, 144, 0.3) 0%, transparent 60%);
  z-index: 1;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: saturate(1.2);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
  animation: heroFadeDown 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.08s;
}

.breadcrumbs a {
  color: var(--teal-300);
}

.page-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.1;
  margin-bottom: 20px;
  animation: heroRise 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.18s;
}

.page-hero h1 span,
.page-hero h1 em {
  font-style: italic;
  color: var(--teal-300);
  font-weight: 500;
}

.page-hero p.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: 35px;
  max-width: 680px;
  animation: heroRise 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.3s;
}

/* Service Page Content Modules */
.service-content-section {
  padding: 95px 0;
  background: #ffffff;
}

.service-content-section.alt-bg {
  background: var(--bg-page);
}

.service-split-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}

.service-split-row.reversed {
  grid-template-columns: 0.9fr 1.1fr;
}

.service-split-row.reversed .service-split-text {
  order: 2;
}

.service-split-row.reversed .service-split-visual {
  order: 1;
}

.service-split-text h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  color: var(--brand-dark);
  margin-bottom: 20px;
}

.service-split-text h2 span {
  color: var(--teal-600);
  font-style: italic;
}

.service-split-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}

.service-split-visual {
  position: relative;
}

.service-visual-box {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--brand-dark);
}

.service-visual-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-visual-box:hover img {
  transform: scale(1.04);
}

/* Clinical Conditions Checklist Cards */
.conditions-section {
  padding: 90px 0;
  background: var(--bg-page);
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.condition-card-item {
  background: #ffffff;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  border: 1px solid #DCE8EC;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.condition-card-item:hover {
  border-color: var(--teal-400);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.condition-card-item .check-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.condition-card-item h4 {
  font-size: 16px;
  color: var(--brand-dark);
}

/* Treatment Steps Animated Grid */
.steps-section {
  padding: 95px 0;
  background: #ffffff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 45px;
}

.step-card {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  border: 1.5px solid #E0ECF0;
  padding: 32px 26px;
  position: relative;
  transition: var(--transition-base);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal-500);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.step-badge-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--teal-500);
  line-height: 1;
  margin-bottom: 12px;
}

.step-card h4 {
  font-size: 18px;
  color: var(--brand-dark);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Clinical Notice Callout / Pullout */
.clinical-notice-box {
  background: var(--teal-50);
  border-left: 4px solid var(--teal-600);
  padding: 28px 32px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 40px 0;
}

.clinical-notice-box h4 {
  font-size: 18px;
  color: var(--teal-900);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.clinical-notice-box p {
  font-size: 15px;
  color: var(--teal-950);
  line-height: 1.65;
}

/* Full-width Statement Banner */
.statement-banner {
  background: var(--brand-dark);
  color: #ffffff;
  padding: 85px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.statement-banner-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(14, 116, 144, 0.35) 0%, transparent 70%);
}

.statement-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.statement-banner h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 18px;
  color: #ffffff;
}

.statement-banner h2 span {
  color: var(--teal-300);
  font-style: italic;
}

.statement-banner p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
}

/* --- ACCORDION FAQs --- */
.faq-section {
  padding: 100px 0;
  background: var(--bg-page);
}

.faq-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.accordion-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #DCE7EB;
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.accordion-item:hover {
  border-color: var(--teal-300);
}

.accordion-header {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.accordion-header h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-dark);
  transition: color var(--transition-fast);
  padding-right: 15px;
}

.accordion-header:hover h4 {
  color: var(--teal-600);
}

.accordion-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  background: var(--teal-600);
  color: #ffffff;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
}

.accordion-body {
  padding: 0 26px 26px 26px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Service Final CTA Banner */
.service-cta-banner {
  padding: 90px 0;
  background: var(--grad-teal);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-cta-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.service-cta-content h2 {
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  color: #ffffff;
  margin-bottom: 16px;
}

.service-cta-content p {
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 35px;
  line-height: 1.6;
}

/* --- QUICK BOOKING MODAL --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 23, 32, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(20px) scale(0.96);
  transition: var(--transition-base);
  max-height: 92vh;
  overflow-y: auto;
}

.modal-backdrop.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f7;
  border: none;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--teal-600);
  color: #ffffff;
}

.modal-card h3 {
  font-size: 28px;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.modal-card p.modal-sub {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Notification Toast */
.toast-notice {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--teal-800);
  color: #ffffff;
  padding: 16px 26px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-base);
  font-size: 14.5px;
  font-weight: 600;
}

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

/* ===================================================================
/* ===================================================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATION SUITE
=================================================================== */

/* --- Mobile Base & Global Layout --- */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

* {
  -webkit-tap-highlight-color: transparent;
}

/* Space for mobile bottom sticky action bar on touch devices */
@media (max-width: 768px) {
  body {
    padding-bottom: 74px;
  }
}

/* --- Mobile Sticky Bottom Quick-Action Bar --- */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9990;
    background: rgba(11, 23, 32, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 16px max(10px, env(safe-area-inset-bottom)) 16px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
  }

  .mobile-sticky-bar-inner {
    display: flex;
    gap: 12px;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
  }

  .mobile-bar-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    min-height: 48px;
    transition: var(--transition-fast);
  }

  .mobile-bar-btn.btn-call {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
  }

  .mobile-bar-btn.btn-call:active {
    background: rgba(255, 255, 255, 0.25);
  }

  .mobile-bar-btn.btn-whatsapp {
    background: #25D366;
    color: #ffffff;
    border: 1px solid rgba(37, 211, 102, 0.4);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  }

  .mobile-bar-btn.btn-whatsapp:active {
    transform: scale(0.98);
    background: #20bd5a;
  }

  .mobile-bar-btn.btn-book {
    background: var(--grad-teal);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(14, 116, 144, 0.4);
  }

  .mobile-bar-btn.btn-book:active {
    transform: scale(0.98);
  }
}

/* --- TABLETS & MEDIUM SCREENS (<= 1080px) --- */
@media (max-width: 1080px) {
  header.site-header {
    top: 14px;
  }

  header.site-header.scrolled {
    top: 8px;
  }

  .navbar {
    height: 62px;
    padding: 0 12px 0 18px;
  }

  .navbar .site-logo img {
    height: 38px;
  }

  .navbar .brand-text span.brand-name {
    font-size: 17px;
  }

  .navbar .brand-text span.brand-sub {
    font-size: 8.5px;
    letter-spacing: 0.18em;
  }

  .nav-menu, 
  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(14, 116, 144, 0.08);
    font-size: 18px;
    color: var(--brand-dark);
    cursor: pointer;
    border: 1px solid rgba(14, 116, 144, 0.14);
  }

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

  .about-img-frame {
    max-height: 400px;
  }

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

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

/* --- TABLET PORTRAIT & LARGE PHONES (<= 860px) --- */
@media (max-width: 860px) {
  .service-split-row,
  .service-split-row.reversed {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-split-row .service-split-text,
  .service-split-row.reversed .service-split-text {
    order: 1;
  }

  .service-split-row .service-split-visual,
  .service-split-row.reversed .service-split-visual {
    order: 2;
  }

  .service-visual-box {
    aspect-ratio: 16/10;
    max-height: 360px;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-trust-bar {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .trust-divider {
    display: none;
  }
}

/* --- STANDARD & SMALL MOBILE PHONES (<= 768px) --- */
@media (max-width: 768px) {
  /* Section Spacing */
  .hero {
    padding: 108px 0 50px 0;
    min-height: auto;
  }

  .page-hero {
    padding: 108px 0 45px 0;
  }

  .service-content-section,
  .conditions-section,
  .why-section,
  .about-section,
  .process-section,
  .before-after-section,
  .testimonials-section,
  .gallery-section,
  .faq-section,
  .contact-section {
    padding: 55px 0;
  }

  /* Typography */
  .hero h1 {
    font-size: clamp(2.2rem, 8.5vw, 3.4rem);
    line-height: 1.12;
    margin-bottom: 16px;
  }

  .hero p.hero-lead {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 24px;
  }

  .hero-tag {
    font-size: 12px;
    padding: 6px 14px;
    margin-bottom: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 30px;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 14px 20px;
    min-height: 48px;
    font-size: 14.5px;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 7.5vw, 3rem);
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 15px;
    line-height: 1.6;
  }

  .section-title {
    margin-bottom: 35px;
  }

  .section-title h2 {
    font-size: clamp(2rem, 6.8vw, 2.7rem);
    line-height: 1.15;
  }

  .section-title p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* Quick Services Strip: Smooth Touch Swipe Rail */
  .quick-services {
    padding: 16px 0;
  }

  .services-strip-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 4px 4px 10px 4px;
    scrollbar-width: none;
  }

  .services-strip-grid::-webkit-scrollbar {
    display: none;
  }

  .strip-item {
    flex: 0 0 115px;
    scroll-snap-align: start;
    padding: 12px 8px;
  }

  .strip-item .icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
    margin-bottom: 6px;
  }

  .strip-item h4 {
    font-size: 12px;
    white-space: nowrap;
  }

  /* Filter Tabs */
  .treatment-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 4px 4px 10px 4px;
    margin-bottom: 28px;
    scrollbar-width: none;
  }

  .treatment-tabs::-webkit-scrollbar {
    display: none;
  }

  .treatment-tab-btn {
    flex: 0 0 auto;
    padding: 9px 18px;
    font-size: 13px;
    white-space: nowrap;
    min-height: 42px;
  }

  /* Grids Stack cleanly */
  .treatment-grid,
  .why-grid,
  .before-grid,
  .process-grid,
  .conditions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .treatment-card .card-image-wrap {
    height: 200px;
  }

  .treatment-card .card-body {
    padding: 22px 18px;
  }

  .condition-tags {
    gap: 6px;
  }

  .condition-tags span {
    font-size: 11.5px;
    padding: 4px 10px;
  }

  /* About & Stats on Mobile */
  .about-image-col {
    order: 2;
  }

  .about-img-frame {
    aspect-ratio: 16/11;
    max-height: 320px;
  }

  .floating-cert-badge {
    position: static;
    margin-top: 14px;
    width: 100%;
    box-sizing: border-box;
    border-radius: var(--radius-md);
    padding: 14px 18px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px;
  }

  .stat-box {
    padding: 16px 12px;
  }

  .stat-box .stat-num {
    font-size: 26px;
  }

  .stat-box .stat-label {
    font-size: 11.5px;
  }

  /* Before & After Cards */
  .before-card {
    padding: 18px 14px;
  }

  .compare-images {
    gap: 8px;
    margin-bottom: 12px;
  }

  .compare-box span.compare-badge {
    padding: 3px 8px;
    font-size: 9px;
    top: 6px;
    left: 6px;
  }

  .compare-title {
    font-size: 13.5px;
  }

  /* Gallery Grid 2-column mobile layout */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-item {
    aspect-ratio: 1/1;
  }

  .gallery-item-caption {
    padding: 8px 10px;
    opacity: 1; /* Always legible on touch */
    background: linear-gradient(180deg, transparent 40%, rgba(11, 23, 32, 0.88) 100%);
  }

  .gallery-item-caption span {
    font-size: 11px;
  }

  /* Statement Banner */
  .statement-banner {
    padding: 50px 0;
  }

  .statement-banner h2 {
    font-size: clamp(1.8rem, 6.5vw, 2.4rem);
  }

  .statement-banner p {
    font-size: 15px;
    margin-bottom: 22px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 24px 18px;
  }

  /* Forms & Inputs: PREVENT iOS ZOOM (>=16px required) */
  .form-control,
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  select,
  textarea {
    font-size: 16px !important;
    min-height: 48px;
    padding: 12px 14px;
  }

  .contact-form-card {
    padding: 24px 16px;
    border-radius: var(--radius-lg);
  }

  /* Modal Sheet on Mobile */
  .modal-backdrop {
    padding: 8px;
    align-items: flex-end;
  }

  .modal-card {
    padding: 26px 18px 22px 18px;
    border-radius: 24px 24px 14px 14px;
    max-height: 86vh;
    margin-bottom: max(6px, env(safe-area-inset-bottom));
  }

  .modal-card h3 {
    font-size: 22px;
    padding-right: 36px;
  }

  .modal-close-btn {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  /* Info Bar & Footer */
  .info-bar {
    padding: 28px 0;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .info-card {
    gap: 14px;
  }

  .site-footer {
    padding: 45px 0 25px 0;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding-top: 18px;
  }

  /* Toast Notification */
  .toast-notice {
    bottom: 82px;
    left: 14px;
    right: 14px;
    padding: 14px 18px;
    font-size: 13.5px;
    justify-content: center;
    text-align: center;
  }
}

/* --- TINY MOBILE SCREENS (<= 480px) --- */
@media (max-width: 480px) {
  .navbar {
    height: 54px;
    padding: 0 8px 0 12px;
  }

  .navbar .site-logo {
    gap: 8px;
  }

  .navbar .site-logo img {
    height: 32px;
  }

  .navbar .brand-text span.brand-name {
    font-size: 15px;
  }

  .navbar .brand-text span.brand-sub {
    display: none;
  }

  .navbar .btn-teal {
    display: none;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .stat-box .stat-num {
    font-size: 24px;
  }

  .gallery-grid {
    gap: 8px;
  }
}

/* --- Disable Sticky Hover on Touchscreens --- */
@media (hover: none) {
  .btn:hover,
  .treatment-card:hover,
  .why-card:hover,
  .before-card:hover,
  .info-card:hover,
  .stat-box:hover,
  .process-card:hover,
  .gallery-item:hover {
    transform: none !important;
    box-shadow: var(--shadow-sm) !important;
  }
  .btn-teal:hover::after {
    display: none !important;
  }
}

/* ===================================================================
   FRAMER-MOTION INSPIRED EDITORIAL ANIMATION SYSTEM
   Reference: aura-lumina-hub.lovable.app
   Fluid 60fps GPU-accelerated reveals, staggered cascades & micro-motion
   =================================================================== */

/* Grid Cards & Standard Item Reveals */
.motion-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Directional Two-Column Split Reveals */
.motion-reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.motion-reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.motion-reveal-right {
  opacity: 0;
  transform: translateX(36px) scale(0.98);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.motion-reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Section Header Editorial Cascade */
.motion-header-tag {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.motion-header-tag.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-header-title {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.motion-header-title.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-header-sub {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.motion-header-sub.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Hover Interactions for Cards */
.treatment-card,
.why-card,
.before-card,
.testimonial-card,
.process-card,
.stat-box,
.condition-card-item {
  will-change: transform, box-shadow;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.treatment-card .card-arrow-btn {
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.treatment-card:hover .card-arrow-btn {
  transform: translateX(4px) scale(1.06);
}

/* Pegasus Orthotics Showcase Cards */
.orthotic-product-card {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}
.orthotic-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(14, 116, 144, 0.12) !important;
  border-color: #bee3f8 !important;
}
.orthotic-product-card img {
  transition: transform 0.35s ease;
}
.orthotic-product-card:hover img {
  transform: scale(1.03);
}

/* Accessibility: Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .motion-reveal,
  .motion-reveal-left,
  .motion-reveal-right,
  .motion-header-tag,
  .motion-header-title,
  .motion-header-sub {
    opacity: 1 !important;
    transform: none !important;
  }
}

/*===================================================================
  ELEMENTOR PAGE BUILDER COMPATIBILITY STYLES
===================================================================*/
.elementor-entry-content,
.elementor-full-width-content,
.elementor-single-content,
.elementor-canvas-content {
  position: relative;
  width: 100%;
  min-height: 60vh;
}

/* Top spacing for Elementor pages under floating header */
body.elementor-page:not(.elementor-template-canvas) .elementor-entry-content,
body.elementor-page:not(.elementor-template-canvas) .elementor-full-width-content,
body.elementor-page:not(.elementor-template-canvas) .elementor-single-content {
  padding-top: 100px;
}

/* Allow hero sections in Elementor to fill screen without extra top padding */
body.elementor-page:not(.elementor-template-canvas).elementor-hero-stretch .elementor-entry-content,
body.elementor-page:not(.elementor-template-canvas).elementor-hero-stretch .elementor-full-width-content {
  padding-top: 0;
}

/* Preserve standard list typography inside Elementor text editors */
.elementor-widget-text-editor ul,
.elementor-text-editor ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.elementor-widget-text-editor ol,
.elementor-text-editor ol {
  list-style: decimal;
  padding-left: 24px;
  margin-bottom: 16px;
}

.elementor-widget-text-editor li,
.elementor-text-editor li {
  margin-bottom: 6px;
}

/* Protect Elementor icon lists */
.elementor-icon-list-items {
  list-style: none !important;
  padding-left: 0 !important;
}

/* Protect Elementor widget images */
.elementor-widget-image img {
  display: inline-block;
}

/* Support Elementor stretched full-width sections */
.elementor-section.elementor-section-stretched {
  max-width: 100% !important;
}


