/* ==========================================================================
   75 HARLEY STREET DENTAL PRACTICE - MODERN REBUILD
   Master Stylesheet: Responsive, Accessible (WCAG 2.1 AA), Mobile-First
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --color-primary: #312029;        /* Signature Harley Street Dark Plum/Charcoal */
  --color-primary-light: #48323e;  /* Lighter Plum Tint */
  --color-primary-dark: #22151c;   /* Ultra-Deep Plum */
  --color-accent-gold: #c5a869;    /* Luminous Gold (Decorative & on Dark Backgrounds) */
  --color-accent-gold-dark: #6f644e; /* WCAG AA Accessible Deep Gold for Light Backgrounds (4.6:1+ ratio) */
  --color-accent-gold-light: #e8dcc4; /* Pale Gold Tint */
  
  /* Neutral Palette */
  --color-bg-base: #fcfbfa;        /* Warm Alabaster Off-White */
  --color-bg-alt: #f5f2ed;         /* Warm Soft Cream Surface */
  --color-bg-card: #ffffff;        /* Pure Crisp White Card Surface */
  --color-text-main: #231f20;      /* Near Black for Crisp Legibility (14:1+ ratio) */
  --color-text-muted: #575253;     /* Muted Charcoal Text (WCAG AA compliant) */
  --color-text-light: #f5f2ed;     /* Off-White Text on Dark Backgrounds */
  --color-border: #e6e0d6;         /* Subtle Warm Border */
  --color-border-dark: #55444e;    /* Border for Dark Surfaces */
  --color-border-gold: rgba(197, 168, 105, 0.4);

  /* Status Colors */
  --color-success: #1b6d3b;
  --color-focus: #185adb;
  
  /* Typography Scale (Fluid clamp) */
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --step--1: clamp(0.8125rem, 0.78rem + 0.16vw, 0.875rem);
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.35rem, 1.25rem + 0.6vw, 1.75rem);
  --step-3: clamp(1.65rem, 1.45rem + 1vw, 2.25rem);
  --step-4: clamp(2rem, 1.7rem + 1.6vw, 2.85rem);
  --step-5: clamp(2.4rem, 2rem + 2.4vw, 3.6rem);

  /* Spacing Scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 6rem;

  /* Elevations & Transitions */
  --shadow-sm: 0 2px 6px rgba(49, 32, 41, 0.05);
  --shadow-md: 0 8px 24px rgba(49, 32, 41, 0.08);
  --shadow-lg: 0 16px 36px rgba(49, 32, 41, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  
  /* Layout Bounds */
  --container-max: 1240px;
  --container-narrow: 880px;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--color-text-main);
  background-color: var(--color-bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip; /* Clip horizontal overflow without disabling sticky positioning */
}

/* Accessibility: Focus visible outline */
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

/* Media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 1rem;
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  z-index: 9999;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* 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 & Headings
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); margin-bottom: var(--space-sm); }
h3 { font-size: var(--step-2); margin-bottom: var(--space-xs); }
h4 { font-size: var(--step-1); margin-bottom: var(--space-2xs); }

p {
  margin-bottom: 1.25em;
  color: var(--color-text-main);
}
p.lead {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--color-text-muted);
}

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

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--color-accent-gold-dark);
}

/* --------------------------------------------------------------------------
   4. Layout Containers & Grid System
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}
.section-sm {
  padding-block: clamp(2rem, 4vw, 3.5rem);
}
.section-alt {
  background-color: var(--color-bg-alt);
}
.section-dark {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #ffffff;
}
.section-dark p {
  color: #dfd8dc;
}

.grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}
.grid-2 {
  grid-template-columns: 1fr;
}
.grid-3 {
  grid-template-columns: 1fr;
}
.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

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

/* --------------------------------------------------------------------------
   5. Buttons & CTAs (Touch target >= 48px)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background-color: var(--color-primary-light);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn-gold {
  background-color: var(--color-accent-gold);
  color: var(--color-primary);
  border-color: var(--color-accent-gold);
  font-weight: 700;
}
.btn-gold:hover {
  background-color: #d6ba7a;
  color: var(--color-primary-dark);
  box-shadow: 0 4px 14px rgba(197, 168, 105, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: #ffffff;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   6. Header, Top Bar & Navigation (STRICTLY STICKY)
   -------------------------------------------------------------------------- */
/* Top announcement & quick contact bar */
.top-bar {
  background-color: var(--color-primary-dark);
  color: #f1ede8;
  font-size: 0.8125rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--color-border-dark);
}
.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.top-bar a {
  color: #f1ede8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.top-bar a:hover {
  color: var(--color-accent-gold);
}
.top-bar .emergency-badge {
  background: rgba(197, 168, 105, 0.2);
  color: var(--color-accent-gold);
  border: 1px solid var(--color-accent-gold);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* STICKY MAIN HEADER */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(49, 32, 41, 0.04);
  transition: all var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
  min-height: 72px;
}

/* Logo Home Link (Strict rule: Brand Logo sits at start and IS the home link) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-height: 48px;
  min-width: 48px;
}
.brand-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}
.brand-name-group {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.brand-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent-gold-dark);
  font-weight: 600;
}

/* Desktop Navigation (No "Home" item as per strict instruction) */
.desktop-nav {
  display: none;
}
@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color var(--transition-fast);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-gold);
  transition: width var(--transition-fast);
}
.nav-link:hover,
.nav-link.active {
  color: var(--color-accent-gold-dark);
}
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Hamburger Menu Toggle (>= 48px) */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  transition: border-color var(--transition-fast);
}
.menu-toggle:hover {
  border-color: var(--color-primary);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile Drawer (Responsive Drawer) */
.mobile-nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline-end: 0;
  width: min(85vw, 360px);
  height: 100vh;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 5.5rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  z-index: 1050;
  overflow-y: auto;
}
.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.mobile-nav-link {
  color: #f1ede8;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  text-decoration: none;
  display: block;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--color-border-dark);
  transition: color var(--transition-fast), padding var(--transition-fast);
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-accent-gold);
  padding-inline-start: 0.5rem;
}

.mobile-nav-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border-dark);
}
.mobile-nav-contact {
  font-size: 0.875rem;
  color: #cfc6ca;
  margin-bottom: 1.25rem;
}
.mobile-nav-contact a {
  color: var(--color-accent-gold);
  text-decoration: none;
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Mobile Drawer Backdrop */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(49, 32, 41, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(49, 32, 41, 0.94) 0%, rgba(34, 21, 28, 0.92) 100%),
              url('./images/banners/75_banner_reception.jpg') center/cover no-repeat;
  color: #ffffff;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  border-bottom: 4px solid var(--color-accent-gold);
}
.hero-content {
  max-width: 820px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(197, 168, 105, 0.18);
  border: 1px solid var(--color-accent-gold);
  color: var(--color-accent-gold);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero h1 {
  color: #ffffff;
  margin-bottom: 1.25rem;
  font-size: var(--step-5);
  line-height: 1.15;
}
.hero .hero-lead {
  font-size: var(--step-1);
  color: #e5dedf;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 720px;
}
.hero-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-meta-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(197, 168, 105, 0.15);
  border: 1px solid var(--color-accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-gold);
  font-size: 1.1rem;
}
.hero-meta-text {
  font-size: 0.8125rem;
  line-height: 1.3;
}
.hero-meta-text strong {
  display: block;
  color: #ffffff;
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   8. Trust Badges & Accreditations Banner
   -------------------------------------------------------------------------- */
.accreditations-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
  padding-block: 1.75rem;
}
.accreditations-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3.5vw, 3rem);
}
.accreditation-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}
.accreditation-item:hover {
  opacity: 1;
}
.accreditation-item img {
  max-height: 38px;
  width: auto;
  filter: grayscale(10%) contrast(105%);
}

/* --------------------------------------------------------------------------
   9. Cards, Features & Service Grids
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 168, 105, 0.5);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--color-bg-alt);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}
.card:hover .card-media img {
  transform: scale(1.04);
}

.card-tag {
  position: absolute;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.card-body p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
}
.card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent-gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}
.card-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   10. Team Profiles (Accessible by default - NO hidden hover states!)
   -------------------------------------------------------------------------- */
.team-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  display: flex;
  flex-direction: column;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-image-wrap {
  aspect-ratio: 1 / 1.1;
  position: relative;
  background-color: var(--color-bg-alt);
  overflow: hidden;
}
.team-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.team-name {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
  color: var(--color-primary);
}
.team-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.team-gdc {
  display: inline-block;
  font-size: 0.75rem;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  font-weight: 500;
  align-self: flex-start;
}
.team-bio {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.team-qualifications {
  font-size: 0.8125rem;
  color: var(--color-text-main);
  background: #fbf9f7;
  border-left: 2px solid var(--color-accent-gold);
  padding: 0.5rem 0.75rem;
  margin-top: auto;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* --------------------------------------------------------------------------
   11. Practice Highlights & Cameo Gallery
   -------------------------------------------------------------------------- */
.cameo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .cameo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.cameo-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cameo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}
.cameo-item:hover img {
  transform: scale(1.06);
}
.cameo-caption {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  background: linear-gradient(to top, rgba(49, 32, 41, 0.85) 0%, transparent 100%);
  color: #ffffff;
  padding: 1.5rem 1rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   12. Testimonials & Social Proof
   -------------------------------------------------------------------------- */
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.rating-stars {
  display: flex;
  gap: 0.25rem;
  color: #f5a623;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.testimonial-text {
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--color-text-main);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
}
.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}
.author-info strong {
  display: block;
  font-size: 0.875rem;
  color: var(--color-primary);
}
.author-info span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   13. Pricing & Fee Schedule Tables (Tabular Data)
   -------------------------------------------------------------------------- */
.fee-table-wrap {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  margin-bottom: 2rem;
}
.fee-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.fee-table th {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.fee-table td {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
}
.fee-table tbody tr:nth-child(even) {
  background-color: #fbf9f6;
}
.fee-table tbody tr:hover {
  background-color: #f5efe6;
}
.fee-table .fee-price {
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
  text-align: right;
}
.fee-table .fee-desc {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  margin-top: 0.15rem;
}

/* --------------------------------------------------------------------------
   14. FAQ Accordion (AEO / GEO Optimized)
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-item details summary {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-fast);
}
.faq-item details summary::-webkit-details-marker {
  display: none;
}
.faq-item details summary:hover {
  background-color: #faf7f2;
}
.faq-item details summary::after {
  content: "+";
  font-size: 1.4rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-accent-gold-dark);
  transition: transform 0.25s ease;
}
.faq-item details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}
.faq-item details[open] summary {
  border-bottom: 1px solid var(--color-border);
  background-color: #fbf9f6;
}
.faq-answer {
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-main);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   15. Interactive Appointment & Inquiry Forms (WCAG AA Form Controls)
   -------------------------------------------------------------------------- */
.form-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}
label .required {
  color: #c92a2a;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--color-text-main);
  font-size: 0.9375rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent-gold-dark);
  box-shadow: 0 0 0 3px rgba(197, 168, 105, 0.25);
}

.form-feedback {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  font-size: 0.875rem;
}
.form-feedback.success {
  display: block;
  background-color: #e6f4ea;
  color: #137333;
  border: 1px solid #ceead6;
}

/* --------------------------------------------------------------------------
   16. Step-by-Step Journey Timeline
   -------------------------------------------------------------------------- */
.journey-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
}
@media (min-width: 768px) {
  .journey-timeline {
    grid-template-columns: repeat(5, 1fr);
  }
}
.journey-step {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-number {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: var(--color-accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.journey-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.journey-step p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   17. Site Footer (Comprehensive Multi-Column)
   -------------------------------------------------------------------------- */
footer.site-footer {
  background-color: var(--color-primary-dark);
  color: #d1c7cc;
  padding-block: clamp(3.5rem, 6vw, 5rem) 1.5rem;
  border-top: 6px solid var(--color-accent-gold);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  }
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links a {
  color: #d1c7cc;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--color-accent-gold);
}

.footer-contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.9375rem;
}
.footer-contact-info li {
  display: flex;
  gap: 0.5rem;
}
.footer-contact-info a {
  color: var(--color-accent-gold);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--color-border-dark);
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #9f949a;
}
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-bottom-links a {
  color: #9f949a;
  text-decoration: none;
}
.footer-bottom-links a:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   18. Back to Top Button (Fixed >= 48px)
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  inset-block-end: 1.5rem;
  inset-inline-end: 1.5rem;
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  color: #ffffff;
  border: 1px solid var(--color-accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform var(--transition-fast), background-color var(--transition-fast);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-3px);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   19. Sub-page Banner / Breadcrumbs
   -------------------------------------------------------------------------- */
.page-banner {
  background: linear-gradient(135deg, rgba(49, 32, 41, 0.95) 0%, rgba(34, 21, 28, 0.92) 100%),
              url('./images/banners/banner-team-inside.jpg') center/cover no-repeat;
  color: #ffffff;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 3px solid var(--color-accent-gold);
}
.page-banner h1 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.page-banner p {
  color: #ded6da;
  font-size: var(--step-1);
  margin-bottom: 0;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-accent-gold);
  margin-bottom: 1rem;
}
.breadcrumbs a {
  color: #f1ede8;
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--color-accent-gold);
}

/* --------------------------------------------------------------------------
   20. Print Stylesheet
   -------------------------------------------------------------------------- */
@media print {
  header.site-header,
  .top-bar,
  .back-to-top,
  .menu-toggle,
  .btn,
  footer.site-footer {
    display: none !important;
  }
  body {
    background: #ffffff;
    color: #000000;
    font-size: 12pt;
  }
  .card, .team-card, .fee-table-wrap {
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
}
