/* ============================================
   PRICKED AESTHETICS & IV HYDRATION — Design System
   Palette derived from the cactus logo: saguaro green + bloom magenta
   Concierge aesthetics + IV therapy, Scottsdale AZ & Milwaukee WI
   ============================================ */

/* --- Google Fonts ---
   Loaded via <link> in each page's <head> (parallel, non-blocking) rather than
   @import here, which would create a render-blocking waterfall on mobile. */

/* --- CSS Custom Properties ---
   Palette sampled from the Pricked cactus logo: saguaro green, prickly-pear
   bloom magenta. Note the split — --color-primary is the darker wordmark green
   because it is used as TEXT (3.2:1 for the bright cactus body fails AA), while
   --color-primary-light is the cactus body itself, for decorative fills only. */
:root {
  /* Primary — saguaro green */
  --color-primary: #2E7D46;
  --color-primary-light: #4E9E5F;
  --color-primary-dark: #1F5C33;
  --color-primary-50: #F1F8F3;
  --color-primary-100: #DCEFE1;
  --color-primary-200: #AFD9BA;

  /* Accent — prickly-pear bloom */
  --color-accent: #A82A80;
  --color-accent-light: #C44E9E;
  --color-accent-dark: #7E1F62;
  --color-accent-50: #FAEFF6;

  /* Neutrals — cool, to sit with the green rather than fight it */
  --color-cream: #F4F6F3;
  --color-cream-dark: #E4E9E3;
  --color-warm-white: #FCFDFC;
  --color-warm-gray: #B0B8B1;
  --color-warm-gray-dark: #7B857E;

  /* Text */
  --color-text: #1E2A22;
  --color-text-light: #4C574F;
  --color-text-muted: #646E66;

  /* Deep ground */
  --color-navy: #14301F;
  --color-navy-light: #1F4A30;

  /* Success / Warning */
  --color-success: #4CAF78;
  --color-warning: #F2C94C;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(20, 48, 31, 0.06);
  --shadow-md: 0 4px 20px rgba(20, 48, 31, 0.08);
  --shadow-lg: 0 8px 40px rgba(20, 48, 31, 0.10);
  --shadow-xl: 0 12px 60px rgba(20, 48, 31, 0.12);
  --shadow-glow: 0 0 40px rgba(78, 158, 95, 0.18);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-blur: blur(20px);

  /* Typography */
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 3rem;
  --font-size-5xl: 3.5rem;
  --font-size-hero: 2.75rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%; /* stop iOS inflating text in landscape */
  text-size-adjust: 100%;
}

/* Faster, cleaner taps on touch devices: remove the 300ms delay and grey flash */
a, button, input, select, textarea, label, [role="button"], .btn {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-warm-white);
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

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

h1 {
  font-size: var(--font-size-hero);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
}

h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
}

.text-accent {
  color: var(--color-accent);
}

.text-primary {
  color: var(--color-primary);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--space-5xl) 0;
}

.section--cream {
  background-color: var(--color-cream);
}

.section--primary {
  background: var(--color-primary-dark);
  color: white;
}

.section--navy {
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  color: white;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  max-width: 640px;
}

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

.text-center .section-subtitle {
  margin: 0 auto;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

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

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--font-size-base);
  font-weight: 600;
  padding: 14px 32px;
  min-height: 44px; /* comfortable touch target */
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--color-primary-dark);
  color: white;
  box-shadow: 0 4px 16px rgba(31, 92, 51, 0.30);
}

.btn--primary:hover {
  box-shadow: 0 6px 24px rgba(31, 92, 51, 0.35);
  color: white;
}

.btn--accent {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: white;
  box-shadow: 0 4px 16px rgba(168, 42, 128, 0.28);
}

.btn--accent:hover {
  box-shadow: 0 6px 24px rgba(168, 42, 128, 0.36);
  color: white;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: white;
}

.btn--white {
  background: white;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  box-shadow: var(--shadow-lg);
  color: var(--color-primary);
}

.btn--lg {
  font-size: var(--font-size-md);
  padding: 18px 40px;
}

.btn--sm {
  font-size: var(--font-size-sm);
  padding: 10px 24px;
}

.btn-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-base);
}

.nav--scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  /* wider than the content column so the logo and links are not jammed
     together on large screens */
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-right: clamp(0.5rem, 2vw, 2.5rem);
  text-decoration: none;
  z-index: 1001;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

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

.nav__logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 700;
}

.nav__logo-img {
  /* grows on wide screens; holds at 46px below ~1450px where the nav row
     has no slack left */
  height: clamp(46px, 3.2vw, 58px);
  width: auto;
  display: block;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.5rem);
}

.nav__link {
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

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

.nav__link--active {
  color: var(--color-primary);
  font-weight: 600;
}

.nav__cta {
  margin-left: var(--space-sm);
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  z-index: 1001;
}

.nav__toggle-line {
  width: 24px;
  height: 2px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav__toggle.active .nav__toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active .nav__toggle-line:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active .nav__toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-warm-white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.nav__mobile.active {
  opacity: 1;
  visibility: visible;
}

.nav__mobile .nav__link {
  font-size: var(--font-size-xl);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  min-height: 100svh; /* avoid mobile address-bar overflow; falls back to vh */
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, var(--color-warm-white) 0%, var(--color-primary-50) 50%, var(--color-cream) 100%);
}

.hero__bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.hero__shape--1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-primary-200), transparent 70%);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero__shape--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--color-accent-50), transparent 70%);
  bottom: -50px;
  left: -50px;
  animation-delay: -7s;
}

.hero__shape--3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--color-primary-100), transparent 70%);
  top: 40%;
  right: 20%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -30px) scale(1.05); }
  50% { transform: translate(-10px, 20px) scale(0.95); }
  75% { transform: translate(15px, 10px) scale(1.02); }
}

.hero__content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__text {
  max-width: 560px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-xl);
  animation: slideUp 0.6s ease-out;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero__title {
  margin-bottom: var(--space-sm);
  animation: slideUp 0.6s ease-out 0.1s both;
}

.hero__tagline {
  font-family: var(--font-display, 'Outfit', 'Inter', sans-serif);
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-primary-600, var(--color-primary));
  margin-bottom: var(--space-lg);
  letter-spacing: -0.01em;
  animation: slideUp 0.6s ease-out 0.15s both;
}

.hero__title-highlight {
  position: relative;
  display: inline;
}

.hero__title-highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 12px;
  background: var(--color-primary-200);
  opacity: 0.5;
  z-index: -1;
  border-radius: 4px;
}

.hero__description {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  margin-bottom: var(--space-2xl);
  animation: slideUp 0.6s ease-out 0.2s both;
}

.hero__buttons {
  animation: slideUp 0.6s ease-out 0.3s both;
}

.hero__stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-primary-100);
  animation: slideUp 0.6s ease-out 0.4s both;
}

.hero__stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-primary);
}

.hero__stat-label {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideUp 0.8s ease-out 0.2s both;
}

.hero__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero__image-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-xl);
}

.hero__image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-primary-50), var(--color-primary-100));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-xl);
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  overflow: hidden;
}

.hero__image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__floating-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lg);
  animation: floatCard 6s ease-in-out infinite;
}

.hero__floating-card--1 {
  bottom: -20px;
  left: -30px;
  animation-delay: 0s;
}

.hero__floating-card--2 {
  top: 20px;
  right: -30px;
  animation-delay: -3s;
}

.hero__floating-card-icon {
  font-size: 24px;
  margin-bottom: var(--space-xs);
}

.hero__floating-card-text {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-navy);
  margin: 0;
}

.hero__floating-card-sub {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin: 0;
}

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card__image-header {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.service-card__image-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.service-card:hover .service-card__image-header img {
  transform: scale(1.05);
}

.service-card__content-layer {
  padding: var(--space-2xl);
  padding-top: 3rem; /* Extra space for the floating icon */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 10;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -28px;
  left: var(--space-2xl);
  transition: all var(--transition-base);
  z-index: 2;
  color: var(--color-primary);
}

/* Adjust the SVG sizing inside the icon container */
.service-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-primary);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
  background: var(--color-primary-dark);
  transform: scale(1.05);
}

.service-card:hover .service-card__icon svg {
  stroke: white;
}

.service-card__title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.service-card__description {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.service-card__link {
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: gap var(--transition-base);
}

.service-card__link:hover {
  gap: var(--space-sm);
}

/* --- Why Choose Section --- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.why-item {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.why-item__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-primary-dark);
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--font-size-lg);
}

.why-item__title {
  font-size: var(--font-size-md);
  margin-bottom: var(--space-xs);
}

.why-item__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin: 0;
}

/* --- Testimonials --- */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
  color: var(--color-warning);
  font-size: 18px;
}

.testimonial-card__quote {
  font-size: var(--font-size-base);
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary-100), var(--color-primary-200));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary-dark);
}

.testimonial-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-navy);
  margin: 0;
}

.testimonial-card__role {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin: 0;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section__content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--color-navy);
  margin-bottom: var(--space-md);
}

.cta-section .section-subtitle {
  color: var(--color-text-light);
  margin: 0 auto var(--space-2xl);
}

/* The teal CTA (home page) keeps white text; light CTAs use dark text. */
.section--primary.cta-section h2 {
  color: white;
}

.section--primary.cta-section .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

/* --- FAQ --- */
.faq-list {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--font-size-md);
  font-weight: 600;
  color: var(--color-navy);
  text-align: left;
  transition: color var(--transition-fast);
}

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

.faq-item__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--color-primary-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  color: var(--color-primary);
  transition: all var(--transition-base);
}

.faq-item.active .faq-item__icon {
  background: var(--color-primary);
  color: white;
  transform: rotate(45deg);
}

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

.faq-item.active .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--color-text-light);
  font-size: var(--font-size-base);
  line-height: 1.8;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background: white;
  border: 2px solid var(--color-cream-dark);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-50);
}

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

.contact-info-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-lg);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item__icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-item__label {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.contact-info-item__value {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin: 0;
}

/* --- Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.blog-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition-base);
  text-decoration: none;
  display: block;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-primary-50), var(--color-primary-100));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__content {
  padding: var(--space-xl);
}

.blog-card__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  background: var(--color-primary-50);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.blog-card__title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-navy);
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card__title {
  color: var(--color-primary);
}

.blog-card__excerpt {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.blog-card__meta {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* --- Blog Post --- */
.blog-post {
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  padding-bottom: var(--space-5xl);
}

.blog-post__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.blog-post__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  background: var(--color-primary-50);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.blog-post__title {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-md);
}

.blog-post__meta {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.blog-post__content {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  font-size: var(--font-size-md);
  line-height: 1.9;
}

.blog-post__content h2 {
  font-size: var(--font-size-2xl);
  margin: var(--space-3xl) 0 var(--space-lg);
}

.blog-post__content h3 {
  margin: var(--space-2xl) 0 var(--space-md);
}

.blog-post__content p {
  margin-bottom: var(--space-lg);
  color: var(--color-text-light);
}

.blog-post__content ul,
.blog-post__content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.blog-post__content li {
  margin-bottom: var(--space-sm);
  color: var(--color-text-light);
  list-style: disc;
}

.blog-post__content ol li {
  list-style: decimal;
}

.blog-post__content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-xl) 0;
  background: var(--color-primary-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--color-text);
}

.blog-post__cta {
  max-width: var(--max-width-narrow);
  margin: var(--space-3xl) auto 0;
  background: linear-gradient(135deg, var(--color-primary-50), var(--color-cream));
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
}

.blog-post__cta h3 {
  margin-bottom: var(--space-sm);
}

.blog-post__cta p {
  margin-bottom: var(--space-lg);
}

/* --- Page Header --- */
.page-header {
  padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: linear-gradient(170deg, var(--color-warm-white) 0%, var(--color-primary-50) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-primary-200), transparent 70%);
  border-radius: 50%;
  opacity: 0.2;
  top: -100px;
  right: -100px;
}

.page-header h1 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-md);
}

.page-header p {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto;
}

/* --- About Page --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--color-primary-50), var(--color-primary-100));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
}

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

.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-primary-50);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-primary-dark);
}

/* --- Services Detail --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid var(--color-cream-dark);
}

.service-detail:last-child {
  border-bottom: none;
}

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

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail__image {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-primary-50), var(--color-cream));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  overflow: hidden;
}

.service-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail__photo {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.service-detail__content h2,
.service-detail__content h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-md);
}

.service-detail__list {
  margin: var(--space-lg) 0;
}

.service-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  color: var(--color-text-light);
  font-size: var(--font-size-base);
}

.service-detail__list li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Footer --- */
.footer {
  /* Same wine as .section--primary and the sticky CTA so every dark surface
     on the site matches exactly. */
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: var(--space-4xl) 0 var(--space-xl);
}

/* The footer wordmark is set in white directly, so it needs no backing card.
   If a raster logo replaces it later, reinstate a light card here. */
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand-description {
  font-size: var(--font-size-sm);
  line-height: 1.8;
  margin: var(--space-md) 0 var(--space-lg);
  color: rgba(255, 255, 255, 0.75);
  max-width: 320px;
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--transition-fast);
  text-decoration: none;
  font-size: 18px;
}

.footer__social-link:hover {
  background: #fff;
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: 12px;
}

/* short salmon accent under each footer heading */
.footer__heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

.footer__link {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast), transform var(--transition-fast);
  text-decoration: none;
}

.footer__link:hover {
  color: #fff;
}

/* subtle slide affordance on hover for clickable footer links */
a.footer__link:hover {
  transform: translateX(3px);
}

/* Line-style contact icons (replace emoji) — match the social icon style */
.footer__ico {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-right: 8px;
  vertical-align: -2px; /* fallback alignment if :has() unsupported */
}

.footer__link:has(.footer__ico) {
  display: flex;
  align-items: flex-start;
}

.footer__link:has(.footer__ico) .footer__ico {
  margin-top: 3px; /* align icon with the first line of wrapping text */
  vertical-align: initial;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.72);
}

/* --- Location Badge --- */
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-accent-50);
  border: 1px solid rgba(168, 42, 128, 0.2);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-accent-dark);
}

/* --- Online Therapy Page Extras --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  counter-reset: step;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-steps .process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-primary-dark);
  color: white;
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
}

.process-steps .process-step__title {
  font-size: var(--font-size-md);
  margin-bottom: var(--space-sm);
}

.process-steps .process-step__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

/* --- Scroll Animations --- */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

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

.js .reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

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

.js .reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
}

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

/* --- Accessibility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--color-primary);
  color: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: 10000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --font-size-hero: 2.25rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  .hero__text {
    max-width: 100%;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__buttons {
    justify-content: center;
    display: flex;
  }

  .hero__visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .hero__floating-card--1 {
    left: 0;
  }

  .hero__floating-card--2 {
    right: 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }



  .why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

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

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

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
/* The desktop nav carries 11 links plus a CTA; below ~1100px it no longer fits
   on one row, so the mobile menu takes over there rather than at 768px. */
/* Second footer row carrying the independent-practices notice. Sits tight
   under the copyright on desktop; needs real spacing once rows stack. */
.footer__disclosure {
  border-top: none;
  padding-top: 0;
  margin-top: -0.5rem;
  font-size: 0.82rem;
  opacity: 0.92;
}

@media (max-width: 768px) {

    /* Hero content is taller than a phone viewport; align-items:center makes
       the overflow spill past the top padding and under the fixed navbar. */
    .hero {
      align-items: flex-start;
      min-height: auto;
      padding-top: calc(var(--nav-height) + var(--space-xl));
      padding-bottom: var(--space-3xl);
    }
  .footer__disclosure {
    margin-top: 0.35rem;
    line-height: 1.5;
  }
}

@media (max-width: 1100px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__mobile {
    display: flex;
  }

  .nav__cta.desktop-only {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-hero: 1.875rem;
    --font-size-3xl: 1.75rem;
    --font-size-2xl: 1.5rem;
    --font-size-4xl: 2rem;
    --space-5xl: 4rem;
    --space-4xl: 3rem;
  }

  .container {
    padding: 0 var(--space-md);
  }


  /* On mobile the fullscreen menu lives inside <nav>. A backdrop-filter on the
     navbar would make it the containing block for the fixed menu, collapsing the
     menu to navbar height and letting page content show through. Use a solid bar
     instead (desktop keeps the glass effect). */
  .nav--scrolled {
    background: rgba(254, 252, 250, 0.97);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Keep the navbar opaque while the menu is open, even at the top of the page,
     so the toggle/logo never overlap menu links. */
  .nav:has(.nav__mobile.active) {
    background: rgba(254, 252, 250, 0.97);
  }

  .nav__mobile {
    min-height: 100svh;
      padding: calc(var(--nav-height) + var(--space-md)) var(--space-lg) var(--space-2xl);
      /* 12 items overflow a phone viewport; centering pushes the first
         one up underneath the fixed navbar */
      justify-content: flex-start;
    overflow-y: auto;
  }

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



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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .hero__stats {
    gap: var(--space-lg);
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .blog-post__title {
    font-size: var(--font-size-2xl);
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  :root {
    --font-size-hero: 1.625rem;
    --font-size-3xl: 1.5rem;
    --font-size-2xl: 1.25rem;
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
  }

  .hero__floating-card {
    display: none;
  }
}

/* --- Feature Cards (Text-only Service Cards) --- */
.feature-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto var(--space-lg) auto;
  transition: all var(--transition-base);
}

.feature-card:hover .feature-card__icon {
  background: var(--color-primary-dark);
  transform: scale(1.05);
}

.feature-card:hover .feature-card__icon svg {
  color: white;
}

.feature-card__title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.feature-card__description {
  color: var(--color-text-light);
  line-height: 1.6;
}

/* --- Pricing Section --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

.pricing-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: scale(1.03);
}

.pricing-card--featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.pricing-card__badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--color-navy), var(--color-primary-dark));
  color: white;
  text-align: center;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-card__badge--featured {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.pricing-card__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  color: var(--color-navy);
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
}

.pricing-card__duration {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.pricing-card__amount {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
}

.pricing-card__per {
  font-size: 1rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.pricing-card__credit {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: var(--space-lg);
  padding: 0.4rem 0.75rem;
  background: var(--color-primary-50);
  border-radius: var(--radius-sm);
  display: inline-block;
}

.pricing-card__alt-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: var(--color-primary-50);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-lg);
  font-size: 0.9rem;
}

.pricing-card__alt-price span {
  color: var(--color-text-light);
}

.pricing-card__alt-price strong {
  color: var(--color-navy);
  font-size: 1.15rem;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl) 0;
  flex-grow: 1;
}

.pricing-card__features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

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

.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.btn--full {
  width: 100%;
  text-align: center;
  display: block;
}


/* ============================================
   TESTIMONIAL CAROUSEL
   ============================================ */
.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials-track .testimonial-card {
  min-width: 100%;
  flex-shrink: 0;
  padding: var(--space-2xl);
  opacity: 0.4;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonials-track .testimonial-card.active {
  opacity: 1;
  transform: scale(1);
}

@media (min-width: 769px) {
  .testimonials-track .testimonial-card {
    min-width: 33.333%;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .testimonials-track .testimonial-card {
    min-width: 50%;
  }
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.testimonials-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-primary-200);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--color-primary);
}

.testimonials-arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  transform: scale(1.1);
}

.testimonials-dots {
  display: flex;
  gap: 8px;
}

.testimonials-dot {
  width: 24px;
  height: 24px;
  padding: 7px;
  background-clip: content-box; /* 10px visible dot, 24px tap target */
  box-sizing: border-box;
  border-radius: 50%;
  border: none;
  background-color: var(--color-primary-200);
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.testimonials-dot.active {
  background-color: var(--color-primary);
  width: 42px; /* 28px visible pill inside the 7px padded tap target */
  border-radius: var(--radius-full);
}

.testimonials-dot:hover {
  background-color: var(--color-primary-light);
}


/* ============================================
   STICKY MOBILE CTA
   ============================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: var(--color-primary-dark);
  color: white;
  font-family: var(--font-heading);
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(31, 92, 51, 0.30);
  transition: all var(--transition-base);
  min-height: 48px;
}

.sticky-cta__btn:hover {
  box-shadow: 0 6px 24px rgba(31, 92, 51, 0.45);
  color: white;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .sticky-cta {
    display: block;
  }

  /* Add bottom padding to body when sticky CTA shows */
  body {
    padding-bottom: 80px;
  }
}


/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 997;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: white;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 90px; /* Above sticky CTA */
    right: 16px;
    width: 44px;
    height: 44px;
  }
}


/* ============================================
   ENHANCED SERVICE CARD HOVERS
   ============================================ */
.service-card {
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-200);
}

.service-card:hover .service-card__icon svg {
  stroke: var(--color-primary);
  transform: scale(1.15);
  transition: all var(--transition-base);
}

.service-card__image-header img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card__image-header img {
  transform: scale(1.05);
}

.service-card__image-header {
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}


/* ============================================
   HOW IT WORKS — PROCESS STEPS
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  position: relative;
}

.process-step {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg) var(--space-xl);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

/* Dashed connector lines between cards (desktop) */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50px;
  right: -28px;
  width: 24px;
  height: 2px;
  border-top: 2px dashed var(--color-primary-200);
}

.process-step__icon-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-primary-50);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  color: var(--color-primary);
  position: relative;
  transition: background var(--transition-base), transform var(--transition-base);
  gap: 2px;
}

.process-step:hover .process-step__icon-ring {
  background: var(--color-primary-100);
  transform: scale(1.08);
}

.process-step__num {
  font-family: var(--font-heading);
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1;
}

.process-step__icon-ring svg {
  flex-shrink: 0;
}

.process-step__title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.process-step__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    gap: var(--space-xl);
  }

  .process-step:not(:last-child)::after {
    top: auto;
    bottom: -18px;
    right: 50%;
    transform: translateX(50%);
    width: 2px;
    height: 14px;
    border-top: none;
    border-left: 2px dashed var(--color-primary-200);
  }
}


/* ============================================
   SERVICE AREAS — LOCATION CARDS
   ============================================ */
.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.location-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid var(--color-primary-100);
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.location-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.location-card__flag {
  font-size: 36px;
}

.location-card__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-navy);
}

.location-card__desc {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

.location-card__cities {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.location-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--color-primary-50);
  color: var(--color-primary-dark);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 500;
  font-family: var(--font-heading);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.location-chip:hover {
  background: var(--color-primary-100);
  transform: translateY(-1px);
}

.location-chip--more {
  background: var(--color-primary);
  color: white;
  font-weight: 600;
}

.location-chip--more:hover {
  background: var(--color-primary-dark);
}

.location-card__services {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.location-card__services li {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  font-weight: 500;
  padding-left: var(--space-xs);
}

@media (max-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-card {
    padding: var(--space-xl);
  }
}


/* ============================================
   ACCESSIBILITY: REDUCED MOTION
   ============================================ */
@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;
  }

  .hero__shape { animation: none; }
  .hero__floating-card { animation: none; }
  .hero__badge-dot { animation: none; }
  .testimonials-track { transition: none; }
}


/* Long-form content pages (service detail, policies). The global reset sets
   list-style:none for nav and card lists; prose needs real bullets back. */
.prose ul,
.prose ol {
  list-style: disc;
  padding-left: 1.4rem;
  margin: 0 0 1.25rem;
}
.prose ol { list-style: decimal; }
.prose li {
  margin-bottom: 0.45rem;
  color: var(--color-text-light);
}
.prose h2 { margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }


/* ============================================
   TREATMENT PRICE MENU
   ============================================ */
.menu-card {
  background-color: var(--color-warm-white);
  border: 1px solid var(--color-cream-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.menu-card__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.menu-card__note {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.menu-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px dashed var(--color-cream-dark);
}

.menu-row:last-child { border-bottom: 0; }

.menu-row__text { flex: 1; min-width: 0; }

.menu-row__name {
  font-weight: 600;
  color: var(--color-text);
  display: block;
}

.menu-row__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.55;
}

.menu-row__price {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

.menu-row__price small {
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  display: block;
  text-align: right;
}

/* ============================================
   MEDICAL NOTICE / DISCLAIMER BOX
   ============================================ */
.notice {
  display: flex;
  gap: var(--space-md);
  background-color: var(--color-accent-50);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}

.notice__icon {
  flex-shrink: 0;
  font-size: var(--font-size-lg);
  line-height: 1.4;
}

.notice__body {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.7;
}

.notice__body strong { color: var(--color-text); }
.notice__body p + p { margin-top: var(--space-sm); }

.notice--clinical {
  background-color: var(--color-primary-50);
  border-left-color: var(--color-primary);
}

/* ============================================
   TRUST BADGE ROW
   ============================================ */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md) var(--space-xl);
  padding: var(--space-lg) 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-light);
}

.trust-item__icon {
  color: var(--color-primary);
  font-size: var(--font-size-md);
}

/* ============================================
   PROVIDER CARD
   ============================================ */
.provider-card {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary-50) 0%, var(--color-warm-white) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  border: 1px solid var(--color-primary-100);
}

.provider-card__photo {
  width: 180px;
  height: 180px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 4px solid var(--color-warm-white);
  box-shadow: var(--shadow-md);
}

.provider-card__name {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.provider-card__cred {
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-md);
}

@media (max-width: 720px) {
  .provider-card { flex-direction: column; text-align: center; padding: var(--space-xl); }
  .provider-card__photo { width: 140px; height: 140px; }
  .menu-row { flex-wrap: wrap; }
}

/* Two buttons side by side in the sticky bar, with a secondary "ghost" variant
   for the call action so it doesn't compete with Book Now. */
.sticky-cta__inner {
  display: flex;
  gap: 10px;
}

.sticky-cta__btn--ghost {
  background: transparent;
  color: var(--color-primary-dark);
  border: 1.5px solid var(--color-primary-200);
  box-shadow: none;
}

.sticky-cta__btn--ghost:hover {
  background: var(--color-primary-50);
  color: var(--color-primary-dark);
}

/* Inner pages have no hero for the nav to float over, so it ships opaque and
   the scroll handler never has to catch up. */
.nav--solid {
  background-color: rgba(254, 252, 250, 0.97);
  border-bottom: 1px solid var(--color-cream-dark);
}

/* The floating hero cards and menu bullets inherited plain black glyphs. */
.hero__floating-card-icon {
  color: var(--color-primary);
}

.service-card__icon {
  color: var(--color-primary);
}

/* Footer overrides — the wordmark and the bottom bar inherited light-ground
   text colours (measured 1.57:1 and 1.06:1 against the deep green). */
.footer .nav__logo-text,
.footer .nav__logo-text em {
  color: #fff;
}

.footer__bottom p,
.footer__bottom .footer__disclosure {
  color: rgba(255, 255, 255, 0.75);
}

/* The wordmark's colour lives on the <a> itself, so the inline white on the
   inner span never applied to it. */
.footer .nav__logo {
  color: #fff;
}

/* ============================================
   PHOTOGRAPHY
   ============================================ */
.hero__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

/* Decorative full-width band under a page header. */
.photo-band {
  width: 100%;
  max-height: 340px;
  overflow: hidden;
  display: flex;
}

.photo-band img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .photo-band, .photo-band img { height: 200px; max-height: 200px; }
}
