/* === Protego Dental — styles.css === */

/* 1. Variables */
:root {
  --purple: #7c3ea8;
  --purple-dark: #633186;
  --purple-darkest: #251232;
  --purple-darker: #311843;
  --purple-light: #a377c2;
  --purple-lighter: #e4d8ed;
  --purple-lightest: #f1ebf6;
  --text: #060308;
  --neutral: #828183;
  --neutral-light: #b4b3b4;
  --neutral-lighter: #d9d9d9;
  --neutral-lightest: #f2f2f2;
  --white: #fff;
  --font-heading: 'Tenor Sans', Georgia, serif;
  --font-body: 'Work Sans', system-ui, sans-serif;
  --max-width: 1200px;
  --nav-h: 76px;
  --radius: 8px;
  --shadow-sm: 0 1px 4px rgba(6,3,8,0.08);
  --shadow: 0 4px 20px rgba(6,3,8,0.10);
  --shadow-lg: 0 8px 40px rgba(6,3,8,0.14);
  --t: 200ms ease;
}

/* Page transitions */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: 180ms ease out-fade;
}
::view-transition-new(root) {
  animation: 280ms ease in-fade;
}
@keyframes out-fade {
  to { opacity: 0; transform: translateY(-6px); }
}
@keyframes in-fade {
  from { opacity: 0; transform: translateY(8px); }
}
@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page loader */
.page-loader {
  display: none;
}
.show-loader .page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--purple-lightest);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
.page-loader.fade-out {
  opacity: 0;
  pointer-events: none;
}
.loader-logo {
  width: 220px;
  max-width: 55vw;
  opacity: 0;
  transform: translateY(18px);
  animation: loader-fade-up 1.1s ease 0.1s forwards;
}
@keyframes loader-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* Skip-to-content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.625rem 1.25rem;
  background: var(--purple);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: top 0.15s;
}
.skip-link:focus { top: 1rem; }

/* 2. Reset */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1,h2,h3,h4,h5,h6,p { margin: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; background: none; border: none; font: inherit; padding: 0; }

/* 3. Base */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.875rem, 4vw, 2.875rem); font-weight: 400; line-height: 1.2; letter-spacing: 0.02em; }
h3 { font-size: clamp(1.375rem, 3vw, 2.125rem); font-weight: 400; line-height: 1.25; letter-spacing: 0.02em; }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); font-weight: 700; line-height: 1.3; }
h5 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
h6 { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--neutral); }

/* 4. Utilities */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 860px; }
.section { padding: 6rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-white { background: var(--white); }
.section-soft { background: var(--purple-lightest); }
.section-muted { background: var(--neutral-lightest); }
.page-top { padding-top: var(--nav-h); }
.text-muted { color: var(--neutral); }
.text-link { color: var(--purple); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-25 { margin-top: 2.5rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mt-15 { margin-top: 1.5rem; }
.mb-15 { margin-bottom: 1.5rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-25 { margin-bottom: 2.5rem; }
.mb-5 { margin-bottom: 5rem; }
.section-heading-sm { font-size: 1.75rem; }
.section-heading-tight { margin-bottom: 1.25rem; }
.section-subhead {
  color: var(--neutral);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}
.section-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--neutral);
  margin-top: 2rem;
}
.inline-note { opacity: 0.7; }
.fine-print {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--neutral);
  margin-top: 1.5rem;
}
.compact-header { margin-bottom: 2rem; }
.medium-header { margin-bottom: 2.5rem; }
.center-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}
.body-copy {
  color: var(--neutral);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.muted-copy {
  color: var(--neutral);
  font-size: 0.9375rem;
}
.small-muted {
  color: var(--neutral);
  font-size: 0.875rem;
}
.form-panel-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.form-panel-subtitle {
  color: var(--neutral);
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}
.required-mark { color: var(--purple); }
.body-copy + .body-copy { margin-top: 1.5rem; }
.section-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--neutral-lighter);
}
.section-cta-text {
  color: var(--neutral);
  margin-bottom: 1.5rem;
}
.category-nav {
  background: var(--purple-lightest);
  border-bottom: 1px solid var(--purple-lighter);
  padding: 1.25rem 0;
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
}
.category-nav-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.category-nav-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neutral);
}
.category-nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--purple);
}
.category-section { margin-bottom: 4rem; }
.category-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--purple);
}
.category-section-header h2 { font-size: 1.75rem; }
.category-section-header a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple);
  white-space: nowrap;
}
.btn-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-full {
  width: 100%;
  justify-content: center;
}
.footer-address { line-height: 1.5; }

.ui-icon {
  color: var(--purple);
}
.ui-icon::before {
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.icon-check { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.icon-arrow-up { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E"); }
.icon-award { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 15a6 6 0 1 0 0-12 6 6 0 0 0 0 12ZM9 14l-2 7 5-3 5 3-2-7'/%3E%3C/svg%3E"); }
.icon-graduation { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M22 10 12 5 2 10l10 5 10-5ZM6 12v5c3 2 9 2 12 0v-5M22 10v6'/%3E%3C/svg%3E"); }
.icon-stethoscope { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 4v5a4 4 0 0 0 8 0V4M4 4h4M12 4h4M10 13v2a5 5 0 0 0 10 0v-1M20 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z'/%3E%3C/svg%3E"); }
.icon-star { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m12 3 2.8 5.7 6.2.9-4.5 4.4 1.1 6.2L12 17.3l-5.6 2.9 1.1-6.2L3 9.6l6.2-.9L12 3Z'/%3E%3C/svg%3E"); }
.icon-clock { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' d='M12 7v5l3 2M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z'/%3E%3C/svg%3E"); }
.icon-home { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' d='m3 11 9-8 9 8M5 10v10h14V10M9 20v-6h6v6'/%3E%3C/svg%3E"); }
.icon-tooth { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M8.5 3.5c1.2 0 2 .5 3.5.5s2.3-.5 3.5-.5c2.7 0 4.5 2.3 4.5 5.2 0 2.5-1.1 4.4-2 6.3-.9 1.8-1.2 5.5-3.5 5.5-1.6 0-1.2-4.5-2.5-4.5s-.9 4.5-2.5 4.5C7.2 20.5 6.9 16.8 6 15c-.9-1.9-2-3.8-2-6.3 0-2.9 1.8-5.2 4.5-5.2Z'/%3E%3C/svg%3E"); }
.icon-heart-hand { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M12 21s-7-4.4-9.2-8.3C1.5 10.2 2.5 7 5.3 6.2 7 5.7 8.8 6.4 10 8c1.2-1.6 3-2.3 4.7-1.8 2.8.8 3.8 4 2.5 6.5C15 16.6 12 21 12 21ZM2 14h5l2 2h4l2-2h7'/%3E%3C/svg%3E"); }
.icon-map-pin { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0ZM12 10.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z'/%3E%3C/svg%3E"); }
.icon-phone { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 5a2 2 0 0 1 2-2h3.28a1 1 0 0 1 .948.684l1.498 4.493a1 1 0 0 1-.502 1.21l-2.257 1.13a11.042 11.042 0 0 0 5.516 5.516l1.13-2.257a1 1 0 0 1 1.21-.502l4.493 1.498A1 1 0 0 1 21 17.72V19a2 2 0 0 1-2 2h-1C9.716 21 3 14.284 3 6V5z'/%3E%3C/svg%3E"); }
.icon-mail { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round' d='M4 5h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm18 3-10 6L2 8'/%3E%3C/svg%3E"); }
.icon-play { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 5v14l11-7L8 5Z'/%3E%3C/svg%3E"); }
.icon-camera { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 7h3l2-3h6l2 3h3a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2Zm8 10a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z'/%3E%3C/svg%3E"); }

/* 5. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.625rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition:
    background var(--t),
    border-color var(--t),
    color var(--t),
    box-shadow var(--t),
    transform var(--t);
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.2;
}
.btn-primary { background: var(--purple); color: var(--white); border-color: var(--purple); }
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  box-shadow: 0 8px 18px rgba(124,62,168,0.22);
  transform: translateY(-1px);
}
.btn-outline { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(124,62,168,0.16);
  transform: translateY(-1px);
}
.btn-white { background: var(--white); color: var(--purple); border-color: var(--white); }
.btn-white:hover,
.btn-white:focus-visible {
  background: var(--purple-lightest);
  box-shadow: 0 8px 18px rgba(255,255,255,0.16);
  transform: translateY(-1px);
}
.btn-white-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-white-outline:hover,
.btn-white-outline:focus-visible {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-1px);
}

/* 6. Navigation */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: box-shadow var(--t), background var(--t);
  border-bottom: 1px solid rgba(180, 163, 196, 0.25);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  border-bottom-color: var(--neutral-lighter);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
}
.nav-logo img {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.nav-logo-location {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--neutral);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1;
  white-space: nowrap;
}
.nav-logo-location::before {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  margin-right: 0.875rem;
  background: var(--purple-lighter);
}

.nav-links { display: flex; align-items: center; gap: 0.125rem; }
.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: color var(--t);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--purple); }
.nav-link .chevron {
  display: inline-block;
  font-size: 0.8em;
  line-height: 1;
  transform-origin: center 55%;
  transition: transform var(--t);
}
.nav-item.open .chevron { transform: rotate(180deg); }

/* Dropdowns */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(37,18,50,0.16);
  min-width: 210px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.985);
  transform-origin: top center;
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 180ms ease;
  pointer-events: none;
  border: 1px solid rgba(124,62,168,0.14);
}
.nav-item.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.dropdown-link {
  display: block;
  padding: 0.6rem 0.875rem;
  color: var(--text);
  border-radius: 6px;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(4px);
  transition:
    color var(--t),
    background var(--t),
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.dropdown-link:hover { color: var(--purple); background: var(--purple-lightest); }
.nav-item.open .dropdown-link {
  opacity: 1;
  transform: translateY(0);
}
.nav-item.open .dropdown-link:nth-child(2) { transition-delay: 25ms; }
.nav-item.open .dropdown-link:nth-child(3) { transition-delay: 50ms; }
.nav-item.open .dropdown-link:nth-child(4) { transition-delay: 75ms; }

/* Mega menu */
.mega-menu {
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.985);
  min-width: 1000px;
  padding: 1.5rem 1.5rem 1rem;
}
.nav-item.open .mega-menu { transform: translateX(-50%) translateY(0) scale(1); }

.mega-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.25rem 1.25rem;
}
.mega-col-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
  padding: 0.375rem 0.75rem 0.625rem;
  border-bottom: 1.5px solid var(--purple-lighter);
  margin-bottom: 0.25rem;
  opacity: 0;
  transform: translateY(4px);
  transition:
    color var(--t),
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-col-title:hover { color: var(--purple-dark); }
.mega-service-link {
  display: block;
  padding: 0.35rem 0.75rem;
  color: var(--text);
  font-size: 0.875rem;
  border-radius: 5px;
  opacity: 0;
  transform: translateY(4px);
  transition:
    color var(--t),
    background var(--t),
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-service-link:hover { color: var(--purple); background: var(--purple-lightest); }
.nav-item.open .mega-col-title,
.nav-item.open .mega-service-link {
  opacity: 1;
  transform: translateY(0);
}
.nav-item.open .mega-col:nth-child(1) :is(.mega-col-title, .mega-service-link) { transition-delay: 20ms; }
.nav-item.open .mega-col:nth-child(2) :is(.mega-col-title, .mega-service-link) { transition-delay: 45ms; }
.nav-item.open .mega-col:nth-child(3) :is(.mega-col-title, .mega-service-link) { transition-delay: 70ms; }
.nav-item.open .mega-col:nth-child(4) :is(.mega-col-title, .mega-service-link) { transition-delay: 95ms; }
.nav-item.open .mega-col:nth-child(5) :is(.mega-col-title, .mega-service-link) { transition-delay: 120ms; }

.mega-all-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--neutral-lighter);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--purple);
  gap: 0.375rem;
  opacity: 0;
  transform: translateY(4px);
  transition:
    color var(--t),
    gap var(--t),
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-all-link:hover { gap: 0.625rem; }
.nav-item.open .mega-all-link {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 120ms;
}

/* Tap-to-call mobile nav button */
.nav-call-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-height: 36px;
  padding: 0 0.75rem;
  border: 1px solid var(--purple-lighter);
  border-radius: 100px;
  color: var(--purple);
  font-size: 0.8125rem;
  font-weight: 600;
  flex-shrink: 0;
}
.nav-call-mobile::after { content: "Call"; }
.nav-call-mobile svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

/* Book Online nav button */
.nav-book {
  display: inline-flex;
  align-items: center;
  padding: 0.5625rem 1.25rem;
  background: var(--purple);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--t);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-book:hover { background: var(--purple-dark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  z-index: 999;
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav-inner { padding: 1rem 1.5rem 2.5rem; }

.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem;
  background: var(--purple);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  transition: background var(--t);
}
.mobile-call-btn:hover { background: var(--purple-dark); }

.mobile-nav-link {
  display: block;
  padding: 0.875rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--neutral-lighter);
  transition: color var(--t);
}
.mobile-nav-link:hover { color: var(--purple); }

.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.875rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border: none;
  border-bottom: 1px solid var(--neutral-lighter);
  background: none;
  cursor: pointer;
  transition: color var(--t);
  text-align: left;
}
.mobile-nav-toggle:hover { color: var(--purple); }
.toggle-icon { font-size: 1.25rem; line-height: 1; font-weight: 300; color: var(--neutral); }

.mobile-subnav { display: none; padding: 0.5rem 0 0.75rem 0.75rem; }
.mobile-subnav.open { display: block; }
.mobile-subnav-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
  padding: 0.625rem 0 0.25rem;
  margin-top: 0.25rem;
}
.mobile-subnav-link {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--neutral);
  transition: color var(--t);
}
.mobile-subnav-link:hover { color: var(--purple); }

.mobile-book-btn {
  display: block;
  padding: 0.875rem;
  background: var(--purple);
  color: var(--white);
  border-radius: var(--radius);
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  transition: background var(--t);
}
.mobile-book-btn:hover { background: var(--purple-dark); }

/* Mobile sticky booking bar */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--white);
  border-top: 1px solid var(--neutral-lighter);
  box-shadow: 0 -4px 16px rgba(6,3,8,0.08);
  padding: 0.625rem 1rem;
  gap: 0.625rem;
}
.mobile-sticky-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  flex: 1;
  padding: 0.6875rem 1rem;
  border: 1.5px solid var(--purple);
  border-radius: var(--radius);
  color: var(--purple);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background var(--t);
}
.mobile-sticky-call:hover { background: var(--purple-lightest); }
.mobile-sticky-book {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 0.6875rem 1rem;
  background: var(--purple);
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background var(--t);
}
.mobile-sticky-book:hover { background: var(--purple-dark); }

/* 7. Section headers */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple);
  margin-bottom: 0.875rem;
}
.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.875rem; }
.section-header p { font-size: 1.0625rem; color: var(--neutral); max-width: 580px; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* 8. Hero */
.hero {
  min-height: calc(100vh - var(--nav-h));
  position: relative;
  display: flex;
  align-items: center;
  background: var(--purple-darkest);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,18,50,0.88) 0%, rgba(124,62,168,0.45) 100%);
}
.hero-content { position: relative; z-index: 1; color: var(--white); max-width: 680px; }
.hero-eyebrow,
.hero h1,
.hero-sub,
.hero-ctas,
.hero-learn-link {
  animation: hero-rise 520ms ease both;
}
.hero h1 { animation-delay: 80ms; }
.hero-sub { animation-delay: 150ms; }
.hero-ctas { animation-delay: 220ms; }
.hero-learn-link { animation-delay: 280ms; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple-lighter);
  margin-bottom: 1.125rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-sub { font-size: 1.125rem; color: rgba(255,255,255,0.82); margin-bottom: 2.25rem; max-width: 520px; }
.hero-ctas { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.6rem 0;
  transition: color var(--t);
}
.hero-phone:hover { color: var(--purple-lighter); }

/* 9. Credibility strip */
.credibility-strip {
  background: var(--purple-darkest);
  color: var(--white);
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.credibility-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.credibility-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 88px;
  padding: 1.125rem 1.25rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
}
.credibility-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(255,255,255,0.1);
  color: var(--purple-lighter);
  font-size: 1rem;
  font-weight: 700;
}
.credibility-icon::before { width: 1.1em; height: 1.1em; }
.credibility-card strong {
  display: block;
  color: var(--white);
  font-size: 0.9375rem;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}
.credibility-card span:not(.credibility-icon) {
  display: block;
  color: rgba(255,255,255,0.68);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.review-placeholder {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  min-width: 200px;
}
.review-stars { color: #f5c842; font-size: 0.9375rem; letter-spacing: 2px; }
.review-text { font-size: 0.8rem; color: rgba(255,255,255,0.7); line-height: 1.4; }
.review-text strong { display: block; color: var(--white); font-size: 0.875rem; }
.review-placeholder.centered-card {
  justify-content: center;
  max-width: 380px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  background: var(--white);
  border: 2px solid var(--purple-lighter);
  text-align: center;
}
.review-placeholder.centered-card .review-stars {
  font-size: 1.25rem;
  margin-bottom: 0.625rem;
}
.review-placeholder-title {
  font-size: 1rem;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 0.375rem;
}

/* 10. Team teaser (homepage) */
.team-teaser { background: var(--purple-lightest); }
.team-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.team-teaser-img {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.team-teaser-img img { width: 100%; height: 100%; object-fit: cover; }
.team-teaser-img.placeholder {
  background: linear-gradient(135deg, var(--purple-lighter), var(--purple-lightest));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 0.9rem;
}
.team-teaser-text h2 { margin-bottom: 1rem; }
.team-teaser-text p { color: var(--neutral); font-size: 1.0625rem; margin-bottom: 2rem; line-height: 1.7; }

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
}
.credential-icon {
  width: 36px;
  height: 36px;
  background: var(--purple-lighter);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
  color: var(--purple);
}
.credential-text { font-size: 0.9rem; line-height: 1.45; }
.credential-text strong { display: block; font-weight: 600; font-size: 0.9375rem; margin-bottom: 2px; }

/* 11. Feature cards (What Sets Us Apart) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  border: 1px solid var(--neutral-lighter);
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--purple-lighter); }
.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--purple-lightest);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 1.25rem;
  color: var(--purple);
}
.feature-card h5 { margin-bottom: 0.625rem; }
.feature-card p { color: var(--neutral); font-size: 0.9375rem; line-height: 1.65; }

/* 12. Service category cards (homepage) */
.service-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1024px) {
  .service-overview-grid { grid-template-columns: repeat(2, 1fr); }
}
.service-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/10;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t), transform var(--t);
}
.service-cat-card:hover,
.service-cat-card:focus-visible {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px) scale(1.012);
}
.service-cat-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple-darker));
  transition: transform 500ms ease;
}
.service-cat-card:hover .service-cat-bg,
.service-cat-card:focus-visible .service-cat-bg { transform: scale(1.035); }
.service-cat-card:nth-child(2) .service-cat-bg { background: linear-gradient(135deg, #1a3a4a, #12333a); }
.service-cat-card:nth-child(3) .service-cat-bg { background: linear-gradient(135deg, #1e1c20, #311843); }
.service-cat-card:nth-child(4) .service-cat-bg { background: linear-gradient(135deg, #32889c, #251232); }
.service-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(37,18,50,0.92) 0%, rgba(37,18,50,0.2) 60%, transparent 100%);
  transition: opacity var(--t);
}
.service-cat-card:hover .service-cat-overlay,
.service-cat-card:focus-visible .service-cat-overlay { opacity: 0.88; }
.service-cat-content {
  position: relative;
  z-index: 1;
  padding: 1.75rem 2rem;
  color: var(--white);
  transition: transform var(--t);
}
.service-cat-card:hover .service-cat-content,
.service-cat-card:focus-visible .service-cat-content { transform: translateY(-2px); }
.service-cat-content h3 { font-size: 1.375rem; color: var(--white); margin-bottom: 0.375rem; }
.service-cat-content p { font-size: 0.875rem; opacity: 0.75; margin-bottom: 0.875rem; }
.service-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple-lighter);
  transition: color var(--t), gap var(--t), transform var(--t);
}
.service-cat-card:hover .service-cat-link,
.service-cat-card:focus-visible .service-cat-link {
  color: var(--white);
  gap: 0.625rem;
  transform: translateX(2px);
}

/* 13. Photo strip (homepage office) */
.photo-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 0.875rem;
  border-radius: 14px;
  overflow: hidden;
}
.photo-strip-item { position: relative; overflow: hidden; }
.photo-strip-item:first-child { grid-row: 1 / 3; }
.photo-strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.photo-strip-item:hover img { transform: scale(1.04); }
.photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--purple-lighter), var(--purple-lightest));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  padding: 1rem;
}

/* 14. Page hero (non-homepage) */
.page-hero {
  background: var(--purple-darkest);
  padding: 5.5rem 0 4rem;
  color: var(--white);
}
.page-hero .breadcrumb,
.page-hero h1,
.page-hero p {
  animation: hero-rise 500ms ease both;
}
.page-hero h1 { animation-delay: 80ms; }
.page-hero p { animation-delay: 150ms; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { font-size: 1.0625rem; opacity: 0.8; max-width: 560px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  opacity: 0.6;
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { opacity: 1; color: var(--purple-lighter); }
.bc-sep { opacity: 0.5; }

/* 15. Accordion */
.accordion-list { border-top: 1px solid var(--neutral-lighter); }
.accordion-item { border-bottom: 1px solid var(--neutral-lighter); }

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.375rem 0;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text);
  transition: color var(--t);
}
.accordion-header:hover { color: var(--purple); }
.accordion-header.active { color: var(--purple); }

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--purple-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: all var(--t);
  user-select: none;
}
.accordion-header.active .accordion-icon {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
  transform: rotate(45deg);
}

.accordion-body {
  display: none;
  padding: 0.25rem 0 1.75rem;
  color: var(--neutral);
  font-size: 0.9375rem;
  line-height: 1.75;
  max-width: 780px;
}
.accordion-body.open { display: block; }
.accordion-body p + p { margin-top: 0.875rem; }
.accordion-body ul { list-style: disc; margin: 0.75rem 0 0.75rem 1.25rem; padding: 0; }
.accordion-body ul li { margin-bottom: 0.375rem; color: var(--neutral); padding: 0; }

/* 16. Team members */
.team-grid { display: flex; flex-direction: column; gap: 0; }
.team-member {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 4rem;
  align-items: start;
  padding: 5rem 0;
  border-bottom: 1px solid var(--neutral-lighter);
}
.team-member:last-child { border-bottom: none; }
.team-member.reverse { direction: rtl; }
.team-member.reverse > * { direction: ltr; }
.team-member.reverse .team-photo { justify-self: center; }

.team-photo {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow);
  position: relative;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-photo .team-img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
@media (hover: hover) {
  .team-photo:hover .team-img-hover { opacity: 1; }
}
@media (hover: none) {
  .team-photo .team-img-hover { display: none; }
}
.team-photo.placeholder {
  background: linear-gradient(135deg, var(--purple-lighter), var(--purple-lightest));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 0.9rem;
  text-align: center;
  min-height: 360px;
}

.team-role { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--purple); margin-bottom: 0.5rem; }
.team-name { margin-bottom: 1rem; }
.team-cred-list { margin: 1.25rem 0 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.team-cred-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--neutral);
  line-height: 1.4;
}
.cred-dot { color: var(--purple); margin-top: 0.35em; flex-shrink: 0; font-size: 0.5em; }
.team-bio { color: var(--neutral); line-height: 1.75; font-size: 1rem; margin-bottom: 1.5rem; }
.team-bio p + p { margin-top: 0.875rem; }

.team-interests { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.interests-label { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.interest-tag {
  padding: 0.2rem 0.75rem;
  background: var(--purple-lightest);
  color: var(--purple);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Video embed */
.video-wrap {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--purple-darkest);
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.play-btn {
  width: 64px;
  height: 64px;
  background: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.375rem;
}

/* 17. Timeline */
.timeline { position: relative; padding-left: 2.25rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--purple-lighter);
}
.timeline-item { position: relative; padding-bottom: 2.75rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -2.25rem;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--purple);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--purple-lighter);
}
.timeline-date {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple);
  margin-bottom: 0.375rem;
}
.timeline-item h4 { margin-bottom: 0.5rem; font-size: 1.125rem; }
.timeline-item p { color: var(--neutral); font-size: 0.9375rem; line-height: 1.65; }

/* 18. Photo gallery (Our Office) */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--purple-lighter), var(--purple-lightest));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  padding: 1rem;
  min-height: 200px;
}

/* 19. Membership cards */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 920px;
  margin: 0 auto;
}
.membership-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  border: 2px solid var(--neutral-lighter);
  position: relative;
  transition: border-color var(--t), box-shadow var(--t);
}
.membership-card:hover { border-color: var(--purple-light); box-shadow: var(--shadow); }
.membership-card.featured { border-color: var(--purple); box-shadow: var(--shadow); }
.membership-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}
.membership-name { font-family: var(--font-heading); font-size: 1.625rem; margin-bottom: 0.5rem; }
.membership-desc { font-size: 0.9rem; color: var(--neutral); margin-bottom: 1.5rem; }
.membership-price { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--neutral-lighter); }
.membership-amount { font-family: var(--font-heading); font-size: 2.75rem; color: var(--purple); font-weight: 700; line-height: 1; }
.membership-amount-contact { font-size: 2rem; }
.membership-period { font-size: 0.875rem; color: var(--neutral); margin-top: 0.25rem; }
.membership-features { margin-bottom: 2rem; }
.membership-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.5625rem 0;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--neutral-lightest);
}
.membership-feature:last-child { border-bottom: none; }
.check { color: var(--purple); flex-shrink: 0; margin-top: 2px; font-size: 0.9rem; }

/* 20. Steps — first visit */
.steps-wrap { position: relative; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.steps-connector { display: none; }
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step::before {
  content: "";
  position: absolute;
  top: 32px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--purple-lighter);
  z-index: 0;
}
.step:nth-child(3n + 1)::before { display: none; }
.step-num {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.125rem;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--purple-lighter);
}
.step h5 { margin-bottom: 0.375rem; font-size: 1rem; }
.step p { font-size: 0.875rem; color: var(--neutral); line-height: 1.55; }

/* 21. Financing / Insurance */
.financing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.financing-card {
  padding: 1.25rem 1.125rem;
  background: var(--purple-lightest);
  border-radius: var(--radius);
  border-left: 3px solid var(--purple);
}
.financing-card h6 { color: var(--purple); margin-bottom: 0.375rem; font-size: 0.875rem; letter-spacing: 0; text-transform: none; font-weight: 700; }
.financing-card p { font-size: 0.875rem; color: var(--neutral); }
.insurance-heading {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.insurance-heading.with-offset { margin-top: 2.5rem; }
.insurance-copy {
  color: var(--neutral);
  font-size: 0.9375rem;
}
.insurance-copy.spaced { margin-bottom: 1.25rem; }
.insurance-help {
  color: var(--neutral);
  font-size: 0.875rem;
  margin-top: 1.25rem;
}

.insurance-tags { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 1.25rem; }
.insurance-tag {
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--neutral-lighter);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral);
}

/* 22. Before/After gallery */
.gallery-section { margin-top: 4rem; }
.gallery-section-header { margin-bottom: 2rem; }
.gallery-section-header h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.gallery-section-header p { color: var(--neutral); }
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.before-after-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--neutral-lighter);
  box-shadow: var(--shadow-sm);
}
.before-after-imgs { display: grid; grid-template-columns: 1fr 1fr; }
.ba-side { position: relative; }
.ba-side img { width: 100%; height: 200px; object-fit: cover; display: block; }
.ba-placeholder {
  width: 100%;
  height: 200px;
  background: var(--purple-lightest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--purple);
  font-weight: 500;
  text-align: center;
  padding: 0.5rem;
}
.ba-label {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--white);
}
.ba-label.before { background: rgba(6,3,8,0.55); }
.ba-label.after { background: var(--purple); }
.ba-caption { padding: 0.875rem 1rem; font-size: 0.875rem; color: var(--neutral); background: var(--white); }

/* 23. Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}
.contact-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.contact-panel form {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.contact-panel-cta {
  margin-top: auto;
  padding-top: 1rem;
}
.form-honeypot { display: none; }
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
input, select, textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--neutral-lighter);
  border-radius: var(--radius);
  transition: border-color var(--t), box-shadow var(--t);
  -webkit-appearance: none;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124,62,168,0.1);
  outline: none;
}
:is(a, button, input, select, textarea, [tabindex]):focus { outline: none; }
:is(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}
textarea { min-height: 130px; resize: vertical; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23828183' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
}
.form-btn { margin-top: auto; }
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.08);
}
.form-error-msg {
  display: none;
  font-size: 0.8125rem;
  color: #c0392b;
  margin-top: 0.3rem;
}
.form-group.has-error .form-error-msg { display: block; }

.contact-info-list { display: flex; flex-direction: column; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--neutral-lighter);
}
.contact-info-item:first-child { padding-top: 0; }
.ci-icon {
  width: 44px;
  height: 44px;
  background: var(--purple-lightest);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
  color: var(--purple);
}
.ci-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--neutral); margin-bottom: 0.25rem; }
.ci-value { font-size: 0.9375rem; line-height: 1.5; }
.ci-value a { color: var(--purple); }
.hours-rows { display: flex; flex-direction: column; gap: 0.25rem; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9375rem; }
.hours-row .day { font-weight: 500; }

.map-container {
  border-radius: 12px;
  overflow: hidden;
  margin-top: 2rem;
  aspect-ratio: 16/9;
  background: var(--neutral-lightest);
}
.map-container iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-container.map-spacious { margin-top: 4rem; }

/* Instagram placeholder */
.instagram-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.ig-placeholder-item {
  aspect-ratio: 1;
  background: var(--purple-lighter);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  padding: 0.5rem;
  flex-direction: column;
  gap: 0.625rem;
}
.ig-placeholder-item .ui-icon { font-size: 1.25rem; }
.instagram-placeholder-grid.compact { max-width: 680px; margin: 0 auto; }

/* 24. Footer block (homepage) */
.footer-block {
  background: var(--purple-darkest);
  color: var(--white);
  padding: 5.5rem 0;
}
.footer-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.footer-block h2 { color: var(--white); margin-bottom: 2rem; }
.footer-info-rows { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-info-row { display: flex; align-items: flex-start; gap: 1rem; }
.fi-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--purple-lighter);
}
.fi-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,0.5); margin-bottom: 0.2rem; }
.fi-value { font-size: 0.9375rem; color: rgba(255,255,255,0.85); line-height: 1.5; }
.fi-value a { color: var(--purple-lighter); }
.fi-note {
  display: inline-block;
  opacity: 0.7;
}
.footer-map {
  border-radius: 12px;
  overflow: hidden;
  height: 320px;
}
.footer-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* 25. Global footer strip */
.footer-strip {
  background: var(--purple-darker);
  color: var(--white);
  padding: 4rem 0 2rem;
}
.footer-strip-grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}
.footer-brand-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-brand-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.footer-brand-logo-name { font-family: var(--font-heading); font-size: 1.0625rem; color: var(--white); font-weight: 700; }
.footer-brand-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.65; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.625rem; }
.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--t);
  font-size: 1rem;
}
.footer-social-link:hover { background: var(--purple); }
.footer-col-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-link { font-size: 0.9rem; color: rgba(255,255,255,0.7); transition: color var(--t); }
.footer-link:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* Story grid */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* Insurance / financing two-col */
.ins-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) {
  .ins-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Divider */
.divider { height: 1px; background: var(--neutral-lighter); margin: 3rem 0; }

/* Inline alert / callout */
.callout {
  padding: 1.25rem 1.5rem;
  background: var(--purple-lightest);
  border-radius: var(--radius);
  border-left: 3px solid var(--purple);
  font-size: 0.9375rem;
  color: var(--text);
  margin: 2rem 0;
}
.callout strong { color: var(--purple); }

/* Utility overrides */
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.8125rem; }
.color-neutral { color: var(--neutral); }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.section-h2 { font-size: 1.75rem; margin-bottom: 0.5rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .mega-menu { min-width: 680px; }
  .team-teaser-grid { gap: 3rem; }
}

@media (max-width: 900px) {
  .nav-inner { justify-content: flex-start; }
  .nav-links, .nav-book { display: none; }
  .hamburger { display: flex; }
  .nav-call-mobile {
    display: flex;
    margin-left: auto;
  }
  .nav-logo img { max-width: 210px; }
  .category-nav {
    padding: 0.875rem 0;
  }
  .category-nav-inner {
    flex-wrap: nowrap;
    gap: 0.625rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .category-nav-inner::-webkit-scrollbar { display: none; }
  .category-nav-label,
  .category-nav-link {
    flex: 0 0 auto;
  }
  .category-nav-label {
    padding-right: 0.25rem;
  }
  .category-nav-link {
    padding: 0.45rem 0.75rem;
    background: var(--white);
    border: 1px solid var(--purple-lighter);
    border-radius: 999px;
  }

  .team-teaser-grid { grid-template-columns: 1fr; }
  .team-teaser-img { max-width: 460px; aspect-ratio: 4/3; }
  .credibility-inner { grid-template-columns: 1fr; }

  .service-overview-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-block-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-strip-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .team-member { grid-template-columns: 1fr; gap: 2.5rem; }
  .team-member.reverse { direction: ltr; }
  .team-member.reverse .team-photo { justify-self: auto; }
  .team-photo { max-width: 360px; aspect-ratio: 4/3; margin: 0 auto; }
  .team-photo.placeholder { min-height: 280px; }

  .steps-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .step::before { display: none; }

  .photo-strip {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 200px 200px;
  }
  .photo-strip-item:first-child { grid-row: auto; grid-column: 1 / 3; }
  .mobile-sticky-cta { display: flex; }
  body { padding-bottom: 72px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 1.25rem; }
  .nav-inner { padding: 0 1.25rem; }
  .nav-logo img { height: 38px; max-width: 190px; }
  .nav-logo-location { display: none; }
  .section { padding: 4rem 0; }
  .page-hero { padding: 4rem 0 3rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .membership-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-strip-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .photo-strip { display: flex; flex-direction: column; }
  .photo-strip-item { min-height: 220px; }
  .credibility-card {
    min-height: auto;
    padding: 1rem;
  }
  .footer-bottom { flex-direction: column; }
  .emergency-bar-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

/* Emergency dental bar */
.emergency-bar {
  background: var(--purple-dark);
  padding: 0.875rem 0;
}
.emergency-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.emergency-bar-text {
  color: var(--white);
  font-size: 0.9375rem;
}
.emergency-bar-btn {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

/* Hero secondary CTA link */
.hero-learn-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t);
}
.hero-learn-link:hover { color: var(--white); }

/* Cards carousel — "What Sets Us Apart" */
.cards-carousel { position: relative; }
.cards-carousel-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.25rem;
}
.cards-carousel-track::-webkit-scrollbar { display: none; }
.cards-carousel-track .feature-card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  scroll-snap-align: start;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--neutral-lighter);
  color: var(--purple);
  font-size: 1.375rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.carousel-btn:hover:not(:disabled) { background: var(--purple-lightest); border-color: var(--purple-lighter); box-shadow: var(--shadow); }
.carousel-btn:disabled { opacity: 0.3; pointer-events: none; }
.carousel-prev { left: -21px; }
.carousel-next { right: -21px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neutral-lighter);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--t), transform var(--t);
}
.carousel-dot.active { background: var(--purple); transform: scale(1.3); }

/* Patient reviews placeholder */
.reviews-placeholder {
  text-align: center;
  padding: 3rem 2rem;
  border: 2px dashed var(--purple-lighter);
  border-radius: 12px;
  color: var(--neutral);
  font-size: 0.9375rem;
}

@media (max-width: 900px) {
  .cards-carousel-track .feature-card { flex: 0 0 calc((100% - 1.25rem) / 2); }
  .carousel-prev { left: -14px; }
  .carousel-next { right: -14px; }
}
@media (max-width: 600px) {
  .cards-carousel-track .feature-card { flex: 0 0 100%; }
  .carousel-prev, .carousel-next { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .service-cat-card,
  .service-cat-bg,
  .service-cat-content,
  .service-cat-link,
  .hero-eyebrow,
  .hero h1,
  .hero-sub,
  .hero-ctas,
  .hero-learn-link,
  .page-hero .breadcrumb,
  .page-hero h1,
  .page-hero p,
  .dropdown-menu,
  .dropdown-link,
  .mega-col-title,
  .mega-service-link,
  .mega-all-link {
    animation: none;
    transition: none;
  }
  .btn:hover,
  .btn:focus-visible,
  .service-cat-card:hover,
  .service-cat-card:focus-visible,
  .service-cat-card:hover .service-cat-bg,
  .service-cat-card:focus-visible .service-cat-bg,
  .service-cat-card:hover .service-cat-content,
  .service-cat-card:focus-visible .service-cat-content,
  .service-cat-card:hover .service-cat-link,
  .service-cat-card:focus-visible .service-cat-link,
  .hero-eyebrow,
  .hero h1,
  .hero-sub,
  .hero-ctas,
  .hero-learn-link,
  .page-hero .breadcrumb,
  .page-hero h1,
  .page-hero p,
  .nav-item.open .dropdown-menu,
  .nav-item.open .mega-menu,
  .dropdown-link,
  .mega-col-title,
  .mega-service-link,
  .mega-all-link {
    opacity: 1;
    transform: none;
  }
}
