/* ==========================================================
   12th Street Dental — Homepage Stylesheet
   Design System: Navy + Gold + Teal | Playfair Display + Inter
   ========================================================== */

/* ----------------------------------------------------------
   1. CUSTOM PROPERTIES (Design Tokens)
   ---------------------------------------------------------- */
:root {
  --navy:        #1B3A5C;
  --navy-dark:   #122840;
  --navy-light:  #2A5080;
  --gold:        #C9A84C;
  --gold-light:  #E2C97A;
  --teal:        #2D7D7D;
  --teal-light:  #3D9E9E;
  --white:       #FAFAF8;
  --cream:       #F5F3EE;
  --cream-dark:  #EDE9E1;
  --gray-100:    #F7F7F6;
  --gray-200:    #EEECEA;
  --gray-400:    #B0ACA4;
  --gray-600:    #6E6A63;
  --gray-800:    #3A3630;
  --text:        #2C2826;
  --text-light:  #5C5652;

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-sm:   0 1px 3px rgba(27,58,92,0.08), 0 1px 2px rgba(27,58,92,0.06);
  --shadow-md:   0 4px 16px rgba(27,58,92,0.10), 0 2px 6px rgba(27,58,92,0.06);
  --shadow-lg:   0 12px 40px rgba(27,58,92,0.14), 0 4px 12px rgba(27,58,92,0.08);
  --shadow-xl:   0 24px 64px rgba(27,58,92,0.18), 0 8px 24px rgba(27,58,92,0.10);

  --transition:  0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --header-h:    76px;
  --container:   1200px;
}

/* ----------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
input, select, textarea { font-family: inherit; }

/* ----------------------------------------------------------
   3. TYPOGRAPHY
   ---------------------------------------------------------- */
h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }
h4 { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-400); margin-bottom: 1rem; }

p { line-height: 1.7; color: var(--text-light); }

/* ----------------------------------------------------------
   4. LAYOUT UTILITIES
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-label--light { color: var(--gold-light); }

.section-sub {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--text-light);
}

/* ----------------------------------------------------------
   5. BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-full { width: 100%; justify-content: center; }

/* ----------------------------------------------------------
   6. HEADER / NAVIGATION
   ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  height: var(--header-h);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon { flex-shrink: 0; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-family: var(--font-serif);
}

.logo-text strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.logo-text span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gold);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.logo--light .logo-text strong,
.logo--light .logo-text span { color: white; }

/* Nav links */
.main-nav { flex: 1; display: flex; justify-content: center; }

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

.nav-links a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a:focus-visible {
  color: var(--navy);
  background: var(--cream);
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}

.nav-phone:hover { color: var(--teal); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px 24px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.mobile-menu.open { display: flex; }

.mobile-menu ul { display: flex; flex-direction: column; gap: 2px; }
.mobile-link {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-link:hover { background: var(--cream); color: var(--navy); }
.mobile-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}
.mobile-cta { margin-top: 4px; justify-content: center; }

/* ----------------------------------------------------------
   7. HERO
   ---------------------------------------------------------- */
.hero {
  background: linear-gradient(150deg, var(--cream) 0%, #EBE6DC 60%, #DCD5C8 100%);
  overflow: hidden;
  padding-top: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - var(--header-h));
  max-width: var(--container);
  margin-inline: auto;
  padding: 80px 24px;
}

.hero-content { order: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  color: #8B6914;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-headline {
  margin-bottom: 1.5rem;
  color: var(--navy-dark);
}

.hero-headline em {
  font-style: italic;
  color: var(--teal);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero image */
.hero-image { order: 2; position: relative; }

.hero-image-inner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.hero-photo-placeholder {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.hero-stat {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 5s ease-in-out infinite;
}

.hero-stat-1 {
  bottom: -16px;
  left: -24px;
  animation-delay: 0s;
}

.hero-stat-2 {
  top: -16px;
  right: -24px;
  animation-delay: 2.5s;
}

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

.stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-stars {
  font-size: 1.2rem;
  color: var(--gold);
  line-height: 1;
}

/* Trust bar */
.trust-bar {
  background: var(--navy);
  padding: 20px 24px;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 32px;
  max-width: var(--container);
  margin-inline: auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.trust-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.2);
}

/* ----------------------------------------------------------
   8. SERVICES
   ---------------------------------------------------------- */
.services {
  padding: 100px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.service-card:hover, .service-card:focus-visible {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card--emergency {
  background: linear-gradient(135deg, #FFF8F0 0%, #FFF3E8 100%);
  border-color: #E8C07A;
}

.service-card--emergency:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(201,168,76,0.25);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon svg { width: 24px; height: 24px; }

.service-icon--navy { background: rgba(27,58,92,0.08); color: var(--navy); }
.service-icon--teal { background: rgba(45,125,125,0.10); color: var(--teal); }
.service-icon--emergency { background: rgba(201,168,76,0.15); color: #8B6914; }

.service-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: auto;
  transition: var(--transition);
}

.service-card:hover .service-link { color: var(--teal); }

.emergency-link { color: #8B6914; }
.service-card--emergency:hover .emergency-link { color: var(--gold); }

/* ----------------------------------------------------------
   9. REVIEWS
   ---------------------------------------------------------- */
.reviews {
  padding: 100px 0;
  background: var(--cream);
}

.reviews-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.reviews-left h2 { margin-bottom: 1.5rem; }

.review-overall {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 2rem;
}

.review-stars { font-size: 1.8rem; color: var(--gold); letter-spacing: 2px; }

.review-score {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.review-score-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-count { font-size: 0.85rem; color: var(--gray-600); }

.review-btn { margin-bottom: 2.5rem; }

.credentials { display: flex; flex-direction: column; gap: 16px; }

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.credential-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.credential-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.credential-item span { font-size: 0.85rem; color: var(--gray-600); }

/* Review carousel */
.review-carousel { width: 100%; }

.review-track {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

.review-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: none;
  flex-direction: column;
  gap: 20px;
  animation: fadeSlide 0.4s ease;
}

.review-card.active { display: flex; }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviewer-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reviewer-info strong { font-size: 0.95rem; color: var(--navy); }
.reviewer-info span { font-size: 0.8rem; color: var(--gray-600); }

.review-rating { font-size: 1rem; color: var(--gold); }

.review-card blockquote {
  font-style: italic;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.75;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 0;
}

.review-source { font-size: 0.8rem; color: var(--gray-400); font-weight: 500; margin-top: auto; }

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

.carousel-prev, .carousel-next {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--gray-200);
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: var(--transition);
}

.carousel-prev:hover, .carousel-next:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--navy);
  width: 24px;
  border-radius: 4px;
}

/* ----------------------------------------------------------
   10. TEAM
   ---------------------------------------------------------- */
.team {
  padding: 100px 0;
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.team-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  transition: var(--transition);
}

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

.team-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo-placeholder svg { width: 100%; height: 100%; object-fit: cover; }

.team-info { padding: 24px; }

.team-info h3 { margin-bottom: 6px; font-size: 1.2rem; }

.team-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 12px;
}

.team-bio { font-size: 0.9rem; color: var(--gray-600); line-height: 1.65; }

/* Values card */
.team-card--values {
  background: var(--navy);
  display: flex;
}

.team-values-inner {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.team-values-inner h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: white;
  line-height: 1.2;
}

.team-values-inner p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }

.values-list { display: flex; flex-direction: column; gap: 10px; }

.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  line-height: 1.4;
}

.values-list li svg { flex-shrink: 0; margin-top: 2px; }

/* ----------------------------------------------------------
   11. WHY CHOOSE US
   ---------------------------------------------------------- */
.why-us {
  padding: 100px 0;
  background: var(--navy);
  color: white;
}

.why-us-layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 80px;
  align-items: start;
}

.why-us-left h2 { color: white; }
.why-us-left p { color: rgba(255,255,255,0.75); margin: 1.5rem 0 2.5rem; }

.why-list { display: flex; flex-direction: column; gap: 0; }

.why-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.why-item:last-child { border-bottom: none; padding-bottom: 0; }
.why-item:first-child { padding-top: 0; }

.why-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,168,76,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.why-icon svg { width: 22px; height: 22px; }

.why-content h3 { color: white; font-size: 1.05rem; margin-bottom: 6px; }
.why-content p { color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 1.65; }

/* ----------------------------------------------------------
   12. BEFORE & AFTER
   ---------------------------------------------------------- */
.transformations {
  padding: 100px 0;
  background: var(--cream);
}

.transformation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 3rem;
}

.transformation-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ba-image {
  position: relative;
  aspect-ratio: 280/200;
  overflow: hidden;
}

.ba-placeholder {
  position: absolute;
  inset: 0;
}

.ba-placeholder svg { width: 100%; height: 100%; object-fit: cover; }

.ba-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 1;
}

.ba-after .ba-label { background: rgba(45,125,125,0.85); }

.transformation-info { padding: 20px; }
.transformation-info h3 { font-size: 1.05rem; margin-bottom: 8px; }
.transformation-info p { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; }

.transformation-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.transformation-cta p { font-size: 1.1rem; color: var(--text-light); margin: 0; }

/* ----------------------------------------------------------
   13. NEW PATIENTS
   ---------------------------------------------------------- */
.new-patients {
  background: var(--teal);
  overflow: hidden;
}

.new-patients-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 100px 24px;
}

.new-patients-content { max-width: 720px; }

.new-patients-content h2 { color: white; margin-bottom: 1rem; }
.new-patients-content > p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 2.5rem; }

.new-patient-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 2.5rem;
}

.new-patient-steps li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text { display: flex; flex-direction: column; gap: 4px; }
.step-text strong { font-size: 1rem; color: white; }
.step-text span { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.55; }

.new-patient-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.new-patient-ctas .btn-primary {
  background: white;
  color: var(--teal);
  border-color: white;
}

.new-patient-ctas .btn-primary:hover {
  background: var(--cream);
  border-color: var(--cream);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ----------------------------------------------------------
   14. CONTACT
   ---------------------------------------------------------- */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-left h2 { margin-bottom: 2rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.contact-detail-item a {
  color: var(--navy);
  font-weight: 500;
  transition: var(--transition);
  line-height: 1.6;
}

.contact-detail-item a:hover { color: var(--teal); text-decoration: underline; }

.hours-table { border-collapse: collapse; width: 100%; }

.hours-table td {
  padding: 3px 0;
  font-size: 0.875rem;
  color: var(--text-light);
}

.hours-table td:first-child { color: var(--navy); font-weight: 500; padding-right: 24px; }
.hours-table .closed td { color: var(--gray-400); }

.directions-btn { margin-top: 8px; }

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  margin-top: 24px;
}

/* Contact form */
.contact-form-card {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--cream-dark);
}

.contact-form-card h3 { margin-bottom: 8px; }
.contact-form-card > p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.6;
}

.contact-form-card a { color: var(--teal); font-weight: 600; }

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group label span { color: var(--gold); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  background: white;
  font-size: 0.95rem;
  color: var(--text);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,58,92,0.1);
}

.form-group input.error,
.form-group select.error {
  border-color: #C0392B;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}

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

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236E6A63' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.form-disclaimer svg { flex-shrink: 0; margin-top: 1px; color: var(--gray-400); }

/* ----------------------------------------------------------
   15. FOOTER
   ---------------------------------------------------------- */
.site-footer { background: var(--navy-dark); }

.footer-top { padding: 72px 0 56px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-tagline {
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  font-style: italic;
  max-width: 320px;
}

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

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-contact address {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-contact address p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.footer-contact address p svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.footer-contact address a { color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-contact address a:hover { color: var(--gold); }

.footer-hours p {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
  line-height: 1.4;
}

.footer-hours strong { color: rgba(255,255,255,0.7); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.825rem; color: rgba(255,255,255,0.4); margin: 0; }

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}

.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ----------------------------------------------------------
   16. MOBILE STICKY BAR
   ---------------------------------------------------------- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: white;
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 10px;
}

.sticky-call, .sticky-book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.sticky-call {
  background: var(--cream);
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
}

.sticky-book {
  background: var(--gold);
  color: var(--navy-dark);
}

/* ----------------------------------------------------------
   17. ANIMATION UTILITIES
   ---------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Focus visible */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----------------------------------------------------------
   18. RESPONSIVE
   ---------------------------------------------------------- */

/* Large tablets */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .reviews-layout { gap: 48px; }
  .why-us-layout { gap: 48px; }
}

/* Tablets */
@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .main-nav, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }

  .mobile-sticky-bar { display: grid; }
  body { padding-bottom: 74px; }

  .hero-container {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 60px 24px;
    text-align: center;
  }

  .hero-content { order: 2; }
  .hero-image { order: 1; max-width: 480px; margin-inline: auto; width: 100%; }
  .hero-sub { max-width: 100%; }
  .hero-ctas { justify-content: center; }

  .hero-stat-1 { bottom: 8px; left: 8px; }
  .hero-stat-2 { top: 8px; right: 8px; }

  .trust-bar-inner { gap: 12px; }
  .trust-divider { display: none; }
  .trust-item { font-size: 0.8rem; }

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

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

  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-card--values { grid-column: span 2; }

  .why-us-layout { grid-template-columns: 1fr; gap: 48px; }

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

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

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

/* Mobile */
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }

  .team-grid { grid-template-columns: 1fr; }
  .team-card--values { grid-column: auto; }

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

  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-tagline { max-width: 100%; }

  .footer-bottom .container { flex-direction: column; gap: 12px; text-align: center; }
  .footer-legal { justify-content: center; flex-wrap: wrap; gap: 12px; }

  .new-patient-ctas { flex-direction: column; }
  .new-patient-ctas .btn { justify-content: center; }

  .why-us-layout { gap: 40px; }

  .section-header { margin-bottom: 2.5rem; }
  .services, .reviews, .team, .why-us, .transformations, .new-patients, .contact {
    padding: 72px 0;
  }
}

/* Very small */
@media (max-width: 380px) {
  .trust-bar-inner { flex-direction: column; align-items: flex-start; gap: 8px; padding: 4px 0; }
  .hero-stat { padding: 10px 14px; }
  .stat-number { font-size: 1.5rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ----------------------------------------------------------
   19. REAL PHOTO STYLES
   ---------------------------------------------------------- */

/* Hero photo */
.hero-photo {
  width: 100%;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  aspect-ratio: 16/9;
  border: 4px solid white;
}

/* Team photo card — spans 2 columns, shows group photo */
.team-card--photo {
  grid-column: span 2;
}

.team-photo--wide {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--cream-dark);
}

.team-photo img,
.team-photo--wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.team-card:hover .team-photo img,
.team-card:hover .team-photo--wide img {
  transform: scale(1.03);
}

/* Team values card — TC room background photo with overlay */
.team-card--values {
  position: relative;
}

.team-card--values::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 40, 64, 0.88);
  border-radius: inherit;
  z-index: 0;
}

.team-values-inner {
  position: relative;
  z-index: 1;
}

/* New patients — split layout with reception photo */
.new-patients-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--container);
  margin-inline: auto;
}

.new-patients-content {
  max-width: 560px;
}

.new-patients-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.new-patients-photo img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.5s ease;
}

.new-patients-photo:hover img {
  transform: scale(1.02);
}

/* Building exterior photo — contact section */
.building-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  border: 1px solid var(--gray-200);
}

.building-photo img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
  transition: transform 0.5s ease;
}

.building-photo:hover img {
  transform: scale(1.02);
}

/* Responsive photo adjustments */
@media (max-width: 900px) {
  .team-card--photo {
    grid-column: span 1;
  }

  .new-patients-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .new-patients-content {
    max-width: 100%;
  }

  .new-patients-photo {
    order: -1; /* Photo appears above text on mobile */
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .hero-photo {
    border-radius: var(--radius-lg);
    border-width: 3px;
  }
}

