/* ============================================
   LUNARA INTEGRATIVE HEALTH — Global Styles
   ============================================ */

/* --- Font Faces --- */
@font-face {
  font-family: 'Agatho';
  src: url('../assets/fonts/Agatho_ Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Agatho';
  src: url('../assets/fonts/Agatho_Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Agatho';
  src: url('../assets/fonts/Agatho_ Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Agatho';
  src: url('../assets/fonts/Agatho_ Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Agatho Caps';
  src: url('../assets/fonts/Agatho_ RegularCAPS.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Agatho Caps';
  src: url('../assets/fonts/Agatho_ LightCAPS.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Agatho Caps';
  src: url('../assets/fonts/Agatho_ BoldCAPS.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* --- CSS Variables --- */
:root {
  --sage-green: #9aa18d;
  --charcoal: #4a4948;
  --dusty-blue: #a3b6bb;
  --warm-cream: #f4efe6;
  --soft-rose: #c79b8b;
  --white: #ffffff;
  --black: #1a1a1a;

  --font-display: 'Agatho', Georgia, serif;
  --font-display-caps: 'Agatho Caps', Georgia, serif;
  --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --nav-height: 90px;
  --section-padding: 100px 0;
  --container-width: 1400px;
  --container-padding: 0 40px;

  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal);
  background-color: var(--warm-cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--sage-green);
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(1.9rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.65rem, 4.5vw, 3.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.2rem, 3.5vw, 2rem);
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-family: var(--font-display-caps);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

p {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.8;
  color: var(--charcoal);
}

.text-caps {
  font-family: var(--font-display-caps);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* --- Layout --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
  overflow: visible;
}

.section {
  padding: var(--section-padding);
  overflow: visible;
}

.section-separator {
  width: 100%;
  height: 1px;
  background-color: var(--charcoal);
  opacity: 0.15;
}

/* --- Member Discount Banner --- */
@keyframes bannerSlideIn {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
@keyframes bannerShimmer {
  0%        { left: -80%; }
  50%, 100% { left: 130%; }
}
@keyframes textFlipLoop {
  0%   { opacity: 0; transform: perspective(500px) rotateX(90deg);  }
  12%  { opacity: 1; transform: perspective(500px) rotateX(0deg);   }
  80%  { opacity: 1; transform: perspective(500px) rotateX(0deg);   }
  92%  { opacity: 0; transform: perspective(500px) rotateX(-80deg); }
  100% { opacity: 0; transform: perspective(500px) rotateX(90deg);  }
}

.member-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  overflow: hidden;
  background-color: var(--sage-green);
  color: var(--warm-cream);
  text-align: center;
  padding: 13px 24px;
  font-family: var(--font-body);
  animation: bannerSlideIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.member-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  animation: bannerShimmer 4s 1.2s ease-in-out infinite;
  pointer-events: none;
}
.member-banner p {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  z-index: 1;
  animation: textFlipLoop 5s 0.6s ease-in-out infinite;
  animation-fill-mode: backwards;
}
.member-banner strong {
  font-weight: 700;
}
.member-banner a {
  color: var(--warm-cream);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 1px;
  margin-left: 6px;
}
.member-banner a:hover {
  border-bottom-color: var(--warm-cream);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: var(--banner-height, 0px);
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background-color: transparent;
  transition: background-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.nav.scrolled {
  background-color: var(--warm-cream);
  box-shadow: 0 1px 20px rgba(74, 73, 72, 0.08);
}

.nav.scrolled .nav-logo {
  filter: none;
}

.nav.scrolled .nav-links a {
  color: var(--charcoal);
}

.nav.scrolled .nav-toggle span {
  background-color: var(--charcoal);
}

.nav-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(0.9);
  transition: filter var(--transition-smooth);
}

.nav-logo-link {
  display: flex;
  align-items: center;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm-cream);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-smooth);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--sage-green);
  transition: width var(--transition-smooth);
}

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

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-cream) !important;
  background-color: var(--charcoal);
  padding: 10px 22px !important;
  border-radius: 0;
  transition: background-color var(--transition-smooth), transform var(--transition-fast);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background-color: var(--sage-green);
  color: var(--warm-cream) !important;
  transform: translateY(-1px);
}

/* Nav Dropdowns */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > a .dropdown-arrow {
  width: 10px;
  height: 10px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover > a .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background-color: var(--white);
  box-shadow: 0 12px 40px rgba(74, 73, 72, 0.12);
  border-radius: 4px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  transform: translateX(-50%) translateY(8px);
  z-index: 100;
}

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

.nav-dropdown-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--charcoal) !important;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown-menu a::after {
  display: none !important;
}

.nav-dropdown-menu a:hover {
  background-color: var(--warm-cream);
  color: var(--sage-green) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--warm-cream);
  transition: background-color var(--transition-smooth), transform var(--transition-smooth), opacity var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--charcoal);
  padding-top: var(--banner-height, 0px);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(74, 73, 72, 0.3) 0%, rgba(74, 73, 72, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
  width: 100%;
}

.hero h1 {
  color: var(--warm-cream);
  margin-bottom: 16px;
}

.hero p {
  color: var(--warm-cream);
  opacity: 0.9;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  margin-bottom: 32px;
}

/* Sub-page hero (shorter) */
.hero-sub {
  min-height: 60vh;
}

.hero-mini {
  min-height: 45vh;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 40px;
  transition: all var(--transition-smooth);
  position: relative;
}

.btn-primary {
  background-color: var(--sage-green);
  color: var(--warm-cream);
}

.btn-primary:hover {
  background-color: var(--charcoal);
  color: var(--warm-cream);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--warm-cream);
  border: 1px solid var(--warm-cream);
}

.btn-outline:hover {
  background-color: var(--warm-cream);
  color: var(--charcoal);
}

.btn-dark {
  background-color: var(--charcoal);
  color: var(--warm-cream);
}

.btn-dark:hover {
  background-color: var(--sage-green);
  color: var(--warm-cream);
  transform: translateY(-2px);
}

.btn-arrow::after {
  content: ' \2192';
  transition: transform var(--transition-fast);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* --- Value Props / Features Grid --- */
.features {
  padding: var(--section-padding);
  background-color: var(--warm-cream);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  text-align: center;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.5);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.5s ease;
}

.reveal.visible .feature-icon {
  animation: iconPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.reveal-delay-1.visible .feature-icon {
  animation-delay: 0.2s;
}

.reveal-delay-2.visible .feature-icon {
  animation-delay: 0.4s;
}

@keyframes iconPop {
  0% { transform: scale(0.5); opacity: 0; }
  50% { transform: scale(1.3); opacity: 1; }
  70% { transform: scale(0.95); }
  100% { transform: scale(1.1); opacity: 1; }
}

.feature-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--sage-green);
  stroke-width: 1.5;
  fill: none;
}


.feature-item h4 {
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 300px;
}

/* --- Service Cards --- */
.services {
  padding: var(--section-padding);
}

.services-header {
  text-align: center;
  margin-bottom: 48px;
}

.services-grid {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.services-grid .service-card {
  flex: 1;
  min-width: 0;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background-color: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 24px 60px rgba(74, 73, 72, 0.25);
  z-index: 10;
}

.service-card-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.service-card:hover .service-card-image {
  transform: scale(1.03);
}

.service-card-video {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.service-card:hover .service-card-video {
  transform: scale(1.03);
}

.service-card-body {
  padding: 20px 16px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.service-card-body h4 {
  margin-bottom: 8px;
  font-size: 0.75rem;
  min-height: 2em;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.service-card-body h3 {
  margin-bottom: 24px;
  font-weight: 400;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service-card-body p {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 20px;
}

.service-card-link {
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-green);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-card-link::after {
  content: '\2192';
  transition: transform var(--transition-fast);
}

.service-card:hover .service-card-link::after {
  transform: translateX(4px);
}

/* --- Service Detail Grid (subpages) --- */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.treatment-card {
  background-color: var(--white);
  padding: 32px;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(74, 73, 72, 0.1);
}

.treatment-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.treatment-card p {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 20px;
}

/* --- Google Reviews Carousel --- */
.testimonials {
  padding: var(--section-padding);
  background-color: var(--charcoal);
  color: var(--warm-cream);
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 40px;
}

.reviews-header h2 {
  color: var(--warm-cream);
  margin: 0;
  flex-shrink: 0;
}

.google-rating-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px 24px;
  flex-shrink: 0;
}

.google-g-wrap {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.rating-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rating-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.g-rating-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--warm-cream);
  line-height: 1;
}

.g-stars {
  display: flex;
  gap: 2px;
  align-items: center;
}

.g-stars svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.g-review-count {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.55);
}

.powered-by-google {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 18px;
}

.powered-by-google span {
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
}

/* Carousel wrapper */
.reviews-carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

.reviews-track-outer {
  overflow: hidden;
  flex: 1;
}

.reviews-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Review cards */
.review-card {
  flex: 0 0 calc(50% - 15px);
  padding: 32px;
  border-left: 2px solid var(--sage-green);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box;
}

.card-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}

.card-stars svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.review-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--warm-cream);
  font-style: italic;
  margin: 0 0 28px 0;
  flex: 1;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.reviewer-initials {
  background: rgba(107, 125, 107, 0.35);
  border: 1px solid var(--sage-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--warm-cream);
  text-transform: uppercase;
}

.reviewer-name {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-green);
}

.reviewer-time {
  font-size: 0.72rem;
  color: rgba(245, 240, 232, 0.45);
  margin-top: 3px;
}

.reviewer-google-icon {
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.6;
}

/* Carousel navigation buttons */
.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--warm-cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  padding: 0;
}

.carousel-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.35);
}

.carousel-btn:disabled {
  opacity: 0.25;
  cursor: default;
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 44px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, width 0.3s, border-radius 0.3s;
}

.carousel-dot.active {
  background: var(--sage-green);
  width: 22px;
  border-radius: 4px;
}

/* Google review CTA */
.google-review-cta {
  text-align: center;
  margin-top: 52px;
}

.google-review-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.65);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 240, 232, 0.25);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}

.google-review-link:hover {
  color: var(--warm-cream);
  border-color: rgba(245, 240, 232, 0.6);
}

.google-review-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* --- CTA Section --- */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background-color: var(--sage-green);
}

.cta-section h2 {
  color: var(--warm-cream);
  margin-bottom: 32px;
}

.cta-section p {
  color: var(--warm-cream);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* --- About / Our Story --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-text h2 {
  margin-bottom: 24px;
}

.about-text p {
  margin-bottom: 16px;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.value-item {
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-item .feature-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  flex-shrink: 0;
}

.value-item .feature-icon svg {
  width: 32px;
  height: 32px;
}

.value-item h4 {
  margin-bottom: 12px;
  color: var(--sage-green);
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-item p {
  font-size: 0.9rem;
  opacity: 0.75;
}

/* Team Profiles */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

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

.team-member-image {
  width: 100%;
  max-width: 280px;
  height: 350px;
  object-fit: cover;
  margin: 0 auto 24px;
}

.team-member h3 {
  margin-bottom: 8px;
}

.team-member .role {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-green);
  margin-bottom: 16px;
}

.team-member p {
  font-size: 0.9rem;
  opacity: 0.75;
  max-width: 400px;
  margin: 0 auto;
}

/* --- FAQ Accordion --- */
.faq-section {
  padding: var(--section-padding);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 60px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(74, 73, 72, 0.15);
}

.faq-question {
  width: 100%;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--charcoal);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--sage-green);
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--charcoal);
  transition: transform var(--transition-smooth);
}

.faq-icon::before {
  width: 20px;
  height: 1px;
  top: 50%;
  left: 0;
}

.faq-icon::after {
  width: 1px;
  height: 20px;
  left: 50%;
  top: 0;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
}

.faq-item.active .faq-answer {
  max-height: 800px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  opacity: 0.75;
  line-height: 1.8;
}

/* --- Contact / Visit --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  margin-bottom: 24px;
}

.contact-detail {
  margin-bottom: 20px;
}

.contact-detail label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-green);
  margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
  font-size: 1rem;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 16px;
  border: 1px solid rgba(74, 73, 72, 0.2);
  background-color: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage-green);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Map */
.map-container {
  width: 100%;
  height: 400px;
  margin-top: 32px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Pricing Cards --- */
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  overflow: visible;
  padding: 20px 0;
}

.pricing-grid .pricing-card {
  flex: 1 1 calc(33.333% - 20px);
  min-width: 250px;
  max-width: 380px;
}

.pricing-grid-4 .pricing-card {
  flex: 1 1 calc(25% - 23px);
  min-width: 220px;
  max-width: none;
}

.pricing-grid-5 .pricing-card {
  flex: 1 1 calc(20% - 24px);
  min-width: 180px;
  max-width: none;
}

.pricing-grid-row {
  flex-wrap: nowrap;
}

/* Specialty Tests — 4 per row, wraps to 2 rows (4 + 3) */
.specialty-tests-grid .pricing-card {
  flex: 1 1 calc(25% - 23px);
  min-width: 240px;
  max-width: calc(25% - 23px);
}

@media (max-width: 1024px) {
  .specialty-tests-grid .pricing-card {
    flex: 1 1 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }
}

@media (max-width: 600px) {
  .specialty-tests-grid .pricing-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.pricing-grid-row .pricing-card {
  flex: 1;
  min-width: 0;
  max-width: none;
}

.pricing-card {
  background-color: var(--white);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 8px rgba(74, 73, 72, 0.06);
  border-radius: 8px;
  position: relative;
  z-index: 1;
}

.pricing-card:hover {
  transform: translateY(-12px) scale(1.05) !important;
  box-shadow: 0 24px 60px rgba(74, 73, 72, 0.25) !important;
  z-index: 10 !important;
}

.pricing-card h3 {
  margin-bottom: 8px;
  min-height: 1.4em;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pricing-card .price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--sage-green);
  margin-bottom: 16px;
  min-height: 2.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-card p {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 8px;
}

.pricing-card ul {
  text-align: left;
  margin: 20px 0;
}

.pricing-card ul li {
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(74, 73, 72, 0.08);
  padding-left: 20px;
  position: relative;
}

.pricing-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--sage-green);
  transform: translateY(-50%);
}

/* --- Footer --- */
.footer {
  background-color: var(--charcoal);
  color: var(--warm-cream);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  height: 36px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: var(--warm-cream);
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-col h4 {
  color: var(--warm-cream);
  font-size: 0.75rem;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--warm-cream);
  opacity: 0.7;
  padding: 4px 0;
  transition: opacity var(--transition-fast);
}

.footer-col a:hover {
  opacity: 1;
  color: var(--sage-green);
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 239, 230, 0.3);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background-color: var(--sage-green);
  border-color: var(--sage-green);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--warm-cream);
}

.footer-bottom {
  border-top: 1px solid rgba(244, 239, 230, 0.15);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--warm-cream);
  opacity: 0.5;
}

.footer-bottom a {
  font-size: 0.8rem;
  opacity: 0.5;
}

/* --- Carousel / Slider --- */
.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 30px;
}

.carousel-slide {
  min-width: calc(33.333% - 20px);
  flex-shrink: 0;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  background: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-btn:hover {
  background-color: var(--charcoal);
  color: var(--warm-cream);
}

.carousel-dots {
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(74, 73, 72, 0.2);
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  border: none;
}

.carousel-dot.active {
  background-color: var(--sage-green);
  transform: scale(1.2);
}

@media (max-width: 1024px) {
  .carousel-slide {
    min-width: calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .carousel-slide {
    min-width: 100%;
  }

  .carousel-track {
    gap: 20px;
  }
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Mobile Menu Overlay --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--warm-cream);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 90px 24px 60px;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--charcoal);
}

.mobile-menu .btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 12px 28px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  :root {
    --container-padding: 0 30px;
    --section-padding: 80px 0;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .services-grid {
    flex-wrap: wrap;
  }

  .services-grid .service-card {
    flex: 1 1 calc(50% - 10px);
  }

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

  .about-image {
    height: 360px;
  }

  /* Google Reviews Carousel — tablet */
  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
  }

  .reviews-header h2 {
    text-align: left;
  }

  .review-card {
    flex: 0 0 100%;
    padding: 28px 32px;
  }

  .carousel-btn {
    display: none;
  }

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

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

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
    --container-padding: 0 20px;
    --section-padding: 56px 0;
  }

  .nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-item {
    gap: 14px;
  }

  /* Service cards */
  .services-grid {
    gap: 12px;
  }

  .services-grid .service-card {
    flex: 1 1 100%;
  }

  .service-card-image,
  .service-card-video {
    height: 220px;
  }

  .service-card-body {
    padding: 16px 14px 24px;
  }

  .service-card-body h3 {
    min-height: unset;
    margin-bottom: 12px;
  }

  .services-header {
    margin-bottom: 32px;
  }

  /* Treatment cards */
  .treatments-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .treatment-card {
    padding: 24px;
  }

  /* Values */
  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .value-item {
    padding: 20px;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-member-image {
    max-width: 200px;
    height: 260px;
  }

  /* Pricing */
  .pricing-grid {
    gap: 16px;
  }

  .pricing-grid .pricing-card {
    flex: 1 1 100%;
    max-width: none;
  }

  .pricing-grid-4 .pricing-card {
    flex: 1 1 100%;
    max-width: none;
  }

  .pricing-grid-5 .pricing-card {
    flex: 1 1 100%;
  }

  .pricing-card {
    padding: 24px 20px;
  }

  /* Reviews */
  .review-card {
    padding: 24px 20px;
  }

  .review-text {
    font-size: 0.95rem;
  }

  /* About */
  .about-image {
    height: 260px;
  }

  /* FAQ */
  .faq-section h2 {
    margin-bottom: 36px;
  }

  .faq-question {
    font-size: 1rem;
    padding: 18px 0;
  }

  /* Map */
  .map-container {
    height: 240px;
    margin-top: 24px;
  }

  /* Footer */
  .footer {
    padding: 60px 0 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }

  .footer-brand {
    max-width: 100%;
  }

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

  /* Forms */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Hero */
  .hero {
    min-height: 75vh;
    padding-top: calc(var(--banner-height, 0px) + var(--nav-height));
  }

  .hero-sub {
    min-height: 52vh;
  }

  .hero-mini {
    min-height: 38vh;
  }

  /* CTA */
  .cta-section {
    padding: 60px 0;
  }

  .cta-section h2 {
    margin-bottom: 20px;
  }

  .cta-section p {
    margin-bottom: 28px;
  }

  /* Member banner — tighter on mobile */
  .member-banner {
    padding: 10px 16px;
  }

  .member-banner p {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }
}

/* --- Extra small phones --- */
@media (max-width: 480px) {
  :root {
    --container-padding: 0 16px;
    --section-padding: 48px 0;
  }

  .service-card-image,
  .service-card-video {
    height: 200px;
  }

  .mobile-menu a {
    font-size: 1.4rem;
  }

  .mobile-menu {
    gap: 16px;
    padding: 80px 20px 48px;
  }

  .pricing-card {
    padding: 20px 16px;
  }

  .treatment-card {
    padding: 20px;
  }

  .map-container {
    height: 200px;
  }

  .btn {
    padding: 14px 28px;
  }

  .hero-sub {
    min-height: 48vh;
  }

  .hero-mini {
    min-height: 36vh;
  }

  .footer {
    padding: 48px 0 28px;
  }
}

/* --- Disable aggressive hover transforms on touch devices --- */
@media (hover: none) {
  .service-card:hover {
    transform: none;
    box-shadow: none;
  }

  .pricing-card:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(74, 73, 72, 0.06) !important;
  }

  .treatment-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* --- ZocDoc Widget --- */
.zocdoc-widget {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
}

.zocdoc-custom-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--sage-green);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(74, 73, 72, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.zocdoc-custom-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(74, 73, 72, 0.4);
  background-color: var(--charcoal);
}

.zocdoc-custom-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* --- ZocDoc Bubble Prompt --- */
.zocdoc-bubble {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  gap: 0;
  animation: bubbleSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 2s both;
}

@keyframes bubbleSlideIn {
  0% { opacity: 0; transform: translateY(20px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.zocdoc-bubble-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 4px 12px rgba(74, 73, 72, 0.2);
  position: relative;
  z-index: 2;
  margin-right: -8px;
  margin-bottom: 8px;
}

.zocdoc-bubble-card {
  background: var(--white);
  border-radius: 16px;
  padding: 20px 40px 20px 20px;
  box-shadow: 0 4px 24px rgba(74, 73, 72, 0.15);
  position: relative;
  max-width: 260px;
}

.zocdoc-bubble-card::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 30px;
  width: 16px;
  height: 16px;
  background: var(--white);
  transform: rotate(45deg);
  box-shadow: 4px 4px 8px rgba(74, 73, 72, 0.08);
}

.zocdoc-bubble-highlight {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sage-green);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.zocdoc-bubble-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 6px;
}

.zocdoc-bubble-sub {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--charcoal);
  opacity: 0.6;
}

.zocdoc-bubble-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--charcoal);
  opacity: 0.4;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.zocdoc-bubble-close:hover {
  opacity: 0.8;
}

.zocdoc-bubble.hidden {
  display: none;
}

@media (max-width: 768px) {
  .zocdoc-custom-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    font-size: 0.8rem;
  }

  .zocdoc-bubble {
    bottom: 80px;
    right: 20px;
  }

  .zocdoc-bubble-card {
    max-width: 220px;
    padding: 16px 32px 16px 16px;
  }

  .zocdoc-bubble-photo {
    width: 50px;
    height: 50px;
  }
}
