/* ==========================================================================
   Define Aesthetic Medical Clinic — Master Stylesheet
   Art Direction: Playbook "clinic", Variant A (Calm Boutique)
   Locality: Orchard Road, Singapore
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Root Custom Properties
   Strict adherence to design_brief.json palette & typography
   -------------------------------------------------------------------------- */
:root {
  /* Exact Design Brief Palette */
  --palette-background: #fbf7f3;
  --palette-surface: #f3e8e0;
  --palette-text: #2a2320;
  --palette-muted: #6b5c55;
  --palette-primary: #97503f;
  --palette-primary-text: #ffffff;
  --palette-accent: #1d5f8f;
  --palette-dark: #172a3a;
  --palette-dark-text: #f6ece6;

  /* Refined Component Tones derived solely from brief palette */
  --color-border: rgba(107, 92, 85, 0.18);
  --color-border-dark: rgba(246, 236, 230, 0.16);
  --color-surface-hover: #ece0d7;
  --color-primary-hover: #834334;
  --color-accent-hover: #15476c;
  --color-accent-light: rgba(29, 95, 143, 0.08);
  --color-badge-bg: rgba(151, 80, 63, 0.09);

  /* Exact Font Families */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Figtree', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Typography Scale */
  --fs-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --fs-sm: clamp(0.875rem, 0.84rem + 0.18vw, 0.9375rem);
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-md: clamp(1.125rem, 1.05rem + 0.38vw, 1.25rem);
  --fs-lg: clamp(1.3125rem, 1.2rem + 0.56vw, 1.5rem);
  --fs-xl: clamp(1.625rem, 1.45rem + 0.88vw, 2rem);
  --fs-2xl: clamp(2rem, 1.7rem + 1.5vw, 2.625rem);
  --fs-3xl: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
  --fs-display: clamp(2.85rem, 2.2rem + 3.2vw, 4.25rem);

  /* Fluid Spacing Scale */
  --space-2xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.375rem);
  --space-xs: clamp(0.5rem, 0.45rem + 0.25vw, 0.625rem);
  --space-sm: clamp(0.75rem, 0.68rem + 0.35vw, 1rem);
  --space-md: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
  --space-lg: clamp(2rem, 1.7rem + 1.5vw, 3rem);
  --space-xl: clamp(3rem, 2.5rem + 2.5vw, 5rem);
  --space-2xl: clamp(4.5rem, 3.8rem + 3.5vw, 7.5rem);

  /* Borders & Radii - Variant A specifies 20px radii for cards */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-subtle: 0 2px 10px rgba(42, 35, 32, 0.04);
  --shadow-card: 0 8px 30px rgba(42, 35, 32, 0.06);
  --shadow-hover: 0 16px 40px rgba(42, 35, 32, 0.1);
  --shadow-header: 0 4px 20px rgba(42, 35, 32, 0.05);

  /* Layout Containers */
  --container-max: 1240px;
  --container-wide: 1360px;
  --container-narrow: 880px;
  --header-height: 78px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   Strict no-overflow-x:hidden on html/body rule for sticky header integrity
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip; /* Safely clips horizontal overflow without disabling sticky navigation */
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--palette-text);
  background-color: var(--palette-background);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; /* Strictly clip, never hidden/auto */
}

main {
  flex: 1 0 auto;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: var(--palette-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-hover);
}

/* High contrast & visible keyboard navigation focus ring (WCAG AA Compliance) */
:focus-visible {
  outline: 2px solid var(--palette-primary);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* Screen reader only utility */
.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;
}

/* --------------------------------------------------------------------------
   3. Typography Presets
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--palette-text);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.heading-display {
  font-size: var(--fs-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.heading-1 {
  font-size: var(--fs-3xl);
  line-height: 1.15;
}

.heading-2 {
  font-size: var(--fs-2xl);
  line-height: 1.2;
}

.heading-3 {
  font-size: var(--fs-xl);
  line-height: 1.25;
}

.heading-4 {
  font-size: var(--fs-lg);
  line-height: 1.3;
}

.heading-italic {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--palette-primary);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em; /* Match design brief: 0.14em uppercase Figtree 600 */
  color: var(--palette-primary);
  display: inline-block;
  margin-bottom: var(--space-xs);
}

.lead-text {
  font-size: var(--fs-md);
  color: var(--palette-muted);
  line-height: 1.6;
  max-width: 65ch;
}

/* --------------------------------------------------------------------------
   4. Layout Containers & Grid System
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 0.75rem + 1.25vw, 2rem);
  padding-right: clamp(1rem, 0.75rem + 1.25vw, 2rem);
}

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

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

.section-padding {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.section-padding-lg {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

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

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

.section-header.text-center .lead-text {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   5. Buttons & Interactive Links
   Ergonomic minimum touch target: >= 48px
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  min-height: 48px;
  padding: 0.75rem 1.625rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--palette-primary);
  color: var(--palette-primary-text);
  border: 1px solid var(--palette-primary);
  box-shadow: 0 3px 12px rgba(151, 80, 63, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(151, 80, 63, 0.32);
}

.btn-secondary {
  background-color: transparent;
  color: var(--palette-text);
  border: 1px solid var(--palette-muted);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: var(--palette-surface);
  border-color: var(--palette-text);
  color: var(--palette-text);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--palette-surface);
  color: var(--palette-dark);
  border: 1px solid var(--palette-surface);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--palette-dark);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--palette-dark-text);
  border: 1px solid rgba(246, 236, 230, 0.4);
}

.btn-outline-white:hover,
.btn-outline-white:focus-visible {
  background-color: rgba(246, 236, 230, 0.1);
  border-color: var(--palette-dark-text);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-xs);
}

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

/* --------------------------------------------------------------------------
   6. Header & Navigation Component
   Pinned sticky header (direct child of body, position: sticky; top: 0)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(251, 247, 243, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header.scrolled {
  box-shadow: var(--shadow-header);
  background-color: rgba(251, 247, 243, 0.98);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-md);
}

/* Logo sits at the start and links to home; no separate "Home" item in nav menu */
.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
  padding: 0.25rem 0;
}

.brand-logo-img {
  width: 180px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: clamp(1rem, 0.8rem + 1vw, 2rem);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(0.75rem, 0.5rem + 0.8vw, 1.75rem);
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--palette-text);
  text-decoration: none;
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--palette-primary);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--palette-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--palette-primary);
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}

.nav-action-wrap {
  display: none;
  align-items: center;
  gap: var(--space-sm);
}

/* Mobile Hamburger Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background-color: var(--palette-surface);
  color: var(--palette-text);
  cursor: pointer;
  z-index: 1002;
  transition: background-color var(--transition-fast);
}

.menu-toggle:hover {
  background-color: var(--color-surface-hover);
}

.menu-toggle-bar {
  width: 22px;
  height: 2px;
  background-color: currentColor;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: var(--palette-background);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  padding: var(--space-md) var(--space-md) calc(var(--space-xl) + 60px);
  overflow-y: auto;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal);
  z-index: 999;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--palette-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--palette-primary);
}

.mobile-drawer-contact {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.mobile-drawer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-sm);
  color: var(--palette-muted);
}

/* --------------------------------------------------------------------------
   7. Hero Section (Split Layout specified in design_brief.json)
   Warm white text left, 4:5 real photo right. On mobile: photo 70vh first!
   -------------------------------------------------------------------------- */
.hero-section {
  background-color: var(--palette-background);
  padding-top: clamp(1.5rem, 1rem + 2vw, 3.5rem);
  padding-bottom: clamp(2rem, 1.5rem + 2.5vw, 4rem);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero-media-wrapper {
  order: 1; /* On mobile: photo comes first */
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 5;
  background-color: var(--palette-surface);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%; /* Cropped to highlight the oak wall, lit sign and two clinicians */
  border-radius: var(--radius-lg);
}

.hero-content {
  order: 2; /* On mobile: text comes after photo */
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hero-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background-color: var(--palette-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--palette-text);
  width: fit-content;
}

.hero-proof-badge .stars {
  color: var(--palette-accent);
  letter-spacing: 2px;
}

.hero-headline {
  font-size: var(--fs-display);
  line-height: 1.1;
  color: var(--palette-text);
}

.hero-subheadline {
  font-size: var(--fs-md);
  color: var(--palette-muted);
  line-height: 1.6;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-xs);
}

.hero-proof-footnote {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  color: var(--palette-muted);
  margin-top: var(--space-2xs);
}

.hero-proof-footnote svg {
  width: 16px;
  height: 16px;
  color: var(--palette-accent);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. Trust Bar Section
   Thin strip directly under hero with large DM Serif numbers and hairline dividers
   -------------------------------------------------------------------------- */
.trust-bar-section {
  background-color: var(--palette-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md) 0;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
}

.trust-number {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.5rem);
  line-height: 1.1;
  color: var(--palette-text);
}

.trust-number .star-accent {
  color: var(--palette-accent);
  font-size: 0.85em;
}

.trust-label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--palette-muted);
  line-height: 1.35;
}

/* Hairline dividers in accent color */
.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 10%;
  right: calc(var(--space-md) * -0.5);
  height: 80%;
  width: 1px;
  background-color: rgba(29, 95, 143, 0.25);
  display: none;
}

/* --------------------------------------------------------------------------
   9. Treatments Hub & Dynamic Tabs / Cards
   Varied 20px-radius cards, Face & Skin tall cards with photos
   -------------------------------------------------------------------------- */
.treatments-section {
  background-color: var(--palette-background);
}

.treatment-tabs-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: var(--space-lg);
  scrollbar-width: thin;
  scrollbar-color: var(--palette-primary) transparent;
  -webkit-overflow-scrolling: touch;
}

.tab-chip {
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--palette-muted);
  background-color: var(--palette-surface);
  border: 1px solid var(--color-border);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.tab-chip:hover {
  color: var(--palette-text);
  border-color: var(--palette-muted);
}

.tab-chip.active {
  background-color: var(--palette-primary);
  color: #ffffff;
  border-color: var(--palette-primary);
  box-shadow: 0 4px 12px rgba(151, 80, 63, 0.2);
}

.treatment-tab-content {
  display: none;
}

.treatment-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.treatments-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.treatment-card {
  background-color: var(--palette-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(151, 80, 63, 0.3);
}

.treatment-card-tall {
  padding: 0;
  display: grid;
  grid-template-rows: auto 1fr;
}

.treatment-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #e5d7cc;
}

.treatment-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.treatment-card:hover .treatment-card-img {
  transform: scale(1.04);
}

.treatment-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex-grow: 1;
}

.treatment-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.treatment-tag {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--palette-primary);
  background-color: var(--color-badge-bg);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
}

.downtime-badge {
  font-size: var(--fs-xs);
  color: var(--palette-accent);
  font-weight: 500;
}

.treatment-title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--palette-text);
  line-height: 1.25;
}

.treatment-desc {
  font-size: var(--fs-sm);
  color: var(--palette-muted);
  line-height: 1.5;
}

.treatment-footer {
  margin-top: auto;
  padding-top: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.treatment-price-tag {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--palette-text);
}

.treatment-link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--palette-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.treatment-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   10. Signature Section: Price Table & "What to Expect" Journey
   Editorial price list with dotted leader lines & 3-step consultation flow
   -------------------------------------------------------------------------- */
.signature-section {
  background-color: var(--palette-background);
}

.price-list-wrapper {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
  box-shadow: var(--shadow-subtle);
  margin-bottom: var(--space-lg);
}

.price-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.price-category-block {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.price-category-title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--palette-primary);
  border-bottom: 2px solid var(--palette-surface);
  padding-bottom: 0.5rem;
}

.price-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Dotted leader line styling */
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: var(--fs-sm);
}

.price-item-name {
  font-weight: 500;
  color: var(--palette-text);
  white-space: nowrap;
}

.price-leader-dots {
  flex-grow: 1;
  border-bottom: 1px dotted rgba(107, 92, 85, 0.4);
  height: 1px;
  margin: 0 0.25rem;
}

.price-item-cost {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--palette-text);
  white-space: nowrap;
}

.price-footnote {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
  font-size: var(--fs-xs);
  color: var(--palette-muted);
  font-style: italic;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* "What to Expect" 3-Step Journey (Single Surface Panel with 20px radius) */
.journey-panel {
  background-color: var(--palette-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: clamp(1.5rem, 1.2rem + 1.8vw, 3rem);
}

.journey-header {
  margin-bottom: var(--space-md);
}

.journey-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.journey-step {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.journey-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.2vw, 3rem);
  color: var(--palette-primary);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}

.journey-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.journey-title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--palette-text);
}

.journey-text {
  font-size: var(--fs-sm);
  color: var(--palette-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   11. Doctors Section
   Two clinician panels (not cards). Dr Michelle with real photo, Dr David typographic block
   -------------------------------------------------------------------------- */
.doctors-section {
  background-color: var(--palette-background);
}

.doctors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.doctor-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background-color: #ffffff;
  display: grid;
  grid-template-columns: 1fr;
}

.doctor-panel-dr-michelle {
  box-shadow: var(--shadow-card);
}

.doctor-media {
  aspect-ratio: 1 / 1;
  background-color: var(--palette-surface);
  overflow: hidden;
}

.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.doctor-info {
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-xs);
}

.doctor-role {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--palette-primary);
}

.doctor-name {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  color: var(--palette-text);
}

.doctor-creds {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--palette-muted);
}

.doctor-bio {
  font-size: var(--fs-sm);
  color: var(--palette-muted);
  line-height: 1.6;
}

.doctor-quote {
  margin-top: var(--space-xs);
  padding-left: var(--space-sm);
  border-left: 3px solid var(--palette-primary);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-base);
  color: var(--palette-text);
  line-height: 1.45;
}

/* Typographic Name-and-Credentials Block on surface #f3e8e0 for Dr David */
.doctor-panel-dr-david {
  background-color: var(--palette-surface);
  padding: clamp(1.75rem, 1.5rem + 2vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-sm);
}

.care-team-strip {
  margin-top: var(--space-lg);
  padding: var(--space-sm) var(--space-md);
  background-color: var(--palette-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--palette-muted);
}

.care-team-strip strong {
  color: var(--palette-text);
}

/* --------------------------------------------------------------------------
   12. Our Story Section
   Dark background band (#172a3a) beside rendered reception view
   -------------------------------------------------------------------------- */
.story-section {
  background-color: var(--palette-dark);
  color: var(--palette-dark-text);
  position: relative;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

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

.story-content .eyebrow {
  color: #d89688;
}

.story-title {
  color: #ffffff;
}

.story-text {
  font-size: var(--fs-base);
  color: var(--palette-dark-text);
  line-height: 1.7;
}

.story-philosophy {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-lg);
  color: #ffffff;
  padding-top: var(--space-xs);
  border-top: 1px solid var(--color-border-dark);
}

.story-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  aspect-ratio: 16 / 11;
  background-color: #0d1a24;
}

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

/* --------------------------------------------------------------------------
   13. Patient Reviews & Testimonials Section
   Real Google reviews quoted word for word
   -------------------------------------------------------------------------- */
.reviews-section {
  background-color: var(--palette-background);
}

.reviews-header-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--palette-text);
  margin-top: 0.5rem;
}

.reviews-header-proof a {
  color: var(--palette-accent);
  text-decoration: underline;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* Feature Pull Quote Review */
.review-card-featured {
  background-color: var(--palette-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.25rem + 1.5vw, 2.75rem);
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.review-stars {
  color: var(--palette-accent);
  letter-spacing: 2px;
  font-size: 1.15rem;
}

.review-quote-large {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.45;
  color: var(--palette-text);
}

.review-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--space-xs);
  border-top: 1px solid var(--color-border);
}

.review-author-name {
  font-weight: 700;
  color: var(--palette-text);
}

.review-source-tag {
  font-size: var(--fs-xs);
  color: var(--palette-muted);
}

.review-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.review-text {
  font-size: var(--fs-sm);
  color: var(--palette-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   14. FAQ Accordion Section
   Semantic <details>/<summary> with FAQPage schema
   -------------------------------------------------------------------------- */
.faq-section {
  background-color: var(--palette-background);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--palette-primary);
  box-shadow: var(--shadow-subtle);
}

.faq-summary {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--palette-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  gap: 1rem;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
  color: var(--palette-primary);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: var(--fs-sm);
  color: var(--palette-muted);
  line-height: 1.65;
  border-top: 1px solid rgba(107, 92, 85, 0.08);
  padding-top: 0.875rem;
}

/* --------------------------------------------------------------------------
   15. Visit & Location Section
   Split: Address, hours table with today highlighted, map iframe, building photo
   -------------------------------------------------------------------------- */
.visit-section {
  background-color: var(--palette-surface);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.visit-details-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.visit-info-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.visit-info-title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--palette-text);
}

.visit-address-text {
  font-size: var(--fs-sm);
  color: var(--palette-muted);
  line-height: 1.5;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.hours-table tr {
  border-bottom: 1px solid rgba(107, 92, 85, 0.12);
}

.hours-table td {
  padding: 0.5rem 0.25rem;
  color: var(--palette-muted);
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 500;
}

/* Dynamic current day highlight */
.hours-table tr.today {
  background-color: rgba(151, 80, 63, 0.08);
  font-weight: 600;
}

.hours-table tr.today td {
  color: var(--palette-primary);
}

.visit-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.visit-map-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.map-embed-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-subtle);
  background-color: #e5d7cc;
}

.map-embed-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.building-photo-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem;
}

.building-photo-img {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.building-photo-caption {
  font-size: var(--fs-xs);
  color: var(--palette-muted);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   16. Closing Booking Band
   Dark #172a3a background with Primary WhatsApp CTA & Secondary Call Link
   -------------------------------------------------------------------------- */
.booking-band-section {
  background-color: var(--palette-dark);
  color: var(--palette-dark-text);
  text-align: center;
}

.booking-band-content {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.booking-band-title {
  color: #ffffff;
}

.booking-band-text {
  font-size: var(--fs-md);
  color: var(--palette-dark-text);
  line-height: 1.6;
}

.booking-band-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: var(--space-xs);
}

/* --------------------------------------------------------------------------
   17. Footer Component
   Multi-column footer on dark #172a3a background
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--palette-dark);
  color: var(--palette-dark-text);
  border-top: 1px solid var(--color-border-dark);
  padding-top: var(--space-xl);
  padding-bottom: clamp(5rem, 4rem + 2vw, 6rem); /* Space for mobile sticky bar */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: #ffffff;
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-size: var(--fs-sm);
  color: rgba(246, 236, 230, 0.75);
  line-height: 1.5;
  max-width: 32ch;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: #ffffff;
  margin-bottom: var(--space-xs);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  font-size: var(--fs-sm);
  color: rgba(246, 236, 230, 0.75);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: var(--space-xs);
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: rgba(246, 236, 230, 0.08);
  color: #ffffff;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background-color: var(--palette-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-social-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom-bar {
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-dark);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  color: rgba(246, 236, 230, 0.6);
}

.footer-bottom-bar a {
  color: rgba(246, 236, 230, 0.8);
}

.footer-bottom-bar a:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   18. Mobile Sticky Bottom CTA Bar
   Repeats WhatsApp and Call across the whole page on mobile
   -------------------------------------------------------------------------- */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(251, 247, 243, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--color-border);
  padding: 0.5rem 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 998;
  box-shadow: 0 -4px 16px rgba(42, 35, 32, 0.08);
}

.mobile-sticky-btn {
  flex: 1;
  min-height: 48px;
  font-size: var(--fs-sm);
  padding: 0.5rem 0.75rem;
}

/* --------------------------------------------------------------------------
   19. Back to Top Button
   Fixed bottom right, >= 48px, appears smoothly on scroll
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: calc(64px + 1rem); /* Positioned above mobile sticky bar */
  right: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--palette-primary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(42, 35, 32, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 997;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition-normal), visibility var(--transition-normal), transform var(--transition-normal), background-color var(--transition-fast);
}

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

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

.back-to-top-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   20. Appointment / Inquiry Modal
   Accessible modal with focus trap, backdrop, ESC key handling
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(23, 42, 58, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background-color: var(--palette-background);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-hover);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(1.5rem, 1.25rem + 1vw, 2.25rem);
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-overlay.open .modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--palette-muted);
  border: 1px solid var(--color-border);
  background-color: var(--palette-surface);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--palette-text);
  background-color: var(--color-surface-hover);
}

.modal-header {
  margin-bottom: var(--space-md);
  padding-right: 2rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--palette-text);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--palette-text);
  font-size: var(--fs-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--palette-primary);
  box-shadow: 0 0 0 3px rgba(151, 80, 63, 0.15);
}

.form-note {
  font-size: var(--fs-xs);
  color: var(--palette-muted);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   21. Secondary Pages Specific Styling (Services, About, Contact, Privacy)
   -------------------------------------------------------------------------- */
.page-hero {
  background-color: var(--palette-surface);
  border-bottom: 1px solid var(--color-border);
  padding: clamp(2.5rem, 2rem + 2.5vw, 4.5rem) 0;
  text-align: center;
}

.page-hero .lead-text {
  margin: var(--space-xs) auto 0;
}

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

.service-category-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

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

.service-detailed-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-xs);
  margin-top: 0.5rem;
  background-color: var(--palette-surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.service-specs-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(107, 92, 85, 0.08);
}

.service-specs-table td:first-child {
  font-weight: 600;
  color: var(--palette-text);
  width: 35%;
}

.service-specs-table td:last-child {
  color: var(--palette-muted);
}

.about-story-block {
  max-width: var(--container-narrow);
  margin: 0 auto;
  font-size: var(--fs-base);
  color: var(--palette-text);
  line-height: 1.8;
}

.about-story-block p {
  margin-bottom: var(--space-md);
}

.about-story-block blockquote {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-style: italic;
  padding: var(--space-md);
  margin: var(--space-md) 0;
  background-color: var(--palette-surface);
  border-left: 4px solid var(--palette-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

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

.contact-form-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.25rem + 1.5vw, 2.5rem);
  box-shadow: var(--shadow-subtle);
}

.privacy-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  font-size: var(--fs-base);
  color: var(--palette-text);
  line-height: 1.75;
}

.privacy-content h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
  font-size: var(--fs-xl);
}

.privacy-content p {
  margin-bottom: var(--space-sm);
  color: var(--palette-muted);
}

.privacy-content ul {
  margin-bottom: var(--space-md);
  padding-left: 1.5rem;
  color: var(--palette-muted);
}

.privacy-content li {
  margin-bottom: 0.35rem;
}

/* --------------------------------------------------------------------------
   22. Responsive Breakpoints
   Tablet (768px - 1024px) & Desktop (1025px - 1920px+)
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .trust-bar-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-item:not(:last-child)::after {
    display: block;
  }

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

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

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

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

  .hero-media-wrapper {
    order: 2; /* On tablet/desktop: text left, photo right */
  }

  .hero-content {
    order: 1;
  }

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

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

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

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

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

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer-bottom-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .site-header {
    height: 84px;
  }

  .nav-desktop {
    display: flex;
  }

  .nav-action-wrap {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-sticky-bar {
    display: none; /* Hide mobile sticky bar on desktop */
  }

  .site-footer {
    padding-bottom: var(--space-xl);
  }

  .back-to-top {
    bottom: 2rem;
    right: 2rem;
  }

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

  .doctor-panel-dr-michelle {
    grid-template-columns: 2fr 3fr;
  }
}

/* --------------------------------------------------------------------------
   23. Motion & Animation Standards
   Wrapped in prefers-reduced-motion: no-preference
   Content strictly visible without JS
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }

  .reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fallback for 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;
  }

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .mobile-sticky-bar,
  .back-to-top,
  .modal-overlay,
  .btn {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
}
