/* Palm City Dentistry — Modern Minimal Healthcare Design System */
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Inter:wght@400;500;600&display=swap');

:root {
  --navy-900: #071828;
  --navy-800: #0A2540;
  --navy-700: #0E3558;
  --navy-600: #174872;
  --teal-600: #008B7A;
  --teal-500: #00A896;
  --teal-400: #02C39A;
  --teal-100: #E6F7F5;
  --teal-50:  #F0FBF9;
  --white: #FFFFFF;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  
  --font-heading: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(10, 37, 64, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(10, 37, 64, 0.08), 0 2px 4px -1px rgba(10, 37, 64, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(10, 37, 64, 0.12), 0 4px 8px -2px rgba(10, 37, 64, 0.06);
  --shadow-xl: 0 20px 40px -8px rgba(10, 37, 64, 0.16);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-800);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 600; }

p { margin-bottom: 1rem; color: var(--slate-700); font-size: 1.05rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--navy-800);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--teal-500);
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 860px;
}

/* Top Trust Bar */
.trust-bar {
  background-color: var(--navy-900);
  color: var(--white);
  font-size: 0.85rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.trust-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trust-bar-items {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #E2E8F0;
}

.trust-badge-pill svg {
  color: #F59E0B;
}

.trust-bar a {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.trust-bar a:hover {
  color: var(--teal-400);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
  transition: all 0.2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1.25rem;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-brand img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: nowrap;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-700);
  padding: 0.5rem 0;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--navy-800);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--teal-500);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.phone-quick-link {
  display: flex;
  flex-direction: column;
  text-align: right;
  font-family: var(--font-heading);
  white-space: nowrap;
}

.phone-quick-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-600);
  font-weight: 600;
}

.phone-quick-number {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-800);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--navy-800);
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--navy-800);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.25);
}

.btn-primary:hover {
  background-color: var(--navy-900);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 37, 64, 0.35);
}

.btn-teal {
  background-color: var(--teal-500);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 168, 150, 0.3);
}

.btn-teal:hover {
  background-color: var(--teal-600);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 150, 0.4);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--navy-800);
  border-color: var(--slate-300);
}

.btn-secondary:hover {
  border-color: var(--navy-800);
  color: var(--navy-800);
  background-color: var(--slate-50);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.05rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #F8FAFC 0%, #EDF2F7 100%);
  padding: 4.5rem 0 4rem;
  border-bottom: 1px solid var(--slate-200);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--teal-500);
  border-radius: 50%;
  display: inline-block;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--navy-800);
  line-height: 1.18;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--teal-500);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--slate-700);
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--slate-200);
}

.trust-stat {
  display: flex;
  flex-direction: column;
}

.trust-stat-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy-800);
}

.trust-stat-label {
  font-size: 0.82rem;
  color: var(--slate-600);
}

/* Hero Doctor Card */
.hero-doctor-card {
  position: relative;
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
}

.hero-doctor-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/4.5;
  background-color: var(--slate-100);
}

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

.hero-doctor-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background-color: rgba(10, 37, 64, 0.94);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-doctor-badge h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

.hero-doctor-badge p {
  color: var(--teal-400);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
}

/* Emergency Banner */
.emergency-strip {
  background: linear-gradient(90deg, #0A2540 0%, #0E3558 100%);
  color: var(--white);
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.emergency-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.emergency-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.emergency-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #EF4444;
}

.emergency-text h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.emergency-text p {
  color: #CBD5E1;
  font-size: 0.92rem;
  margin: 0;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--slate-50);
}

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

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: #CBD5E1;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--teal-500);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--slate-600);
}

/* Service Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--teal-50);
  color: var(--teal-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.service-card p {
  font-size: 0.98rem;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-link:hover {
  color: var(--teal-500);
  gap: 0.6rem;
}

/* Doctor Feature Section */
.doctor-feature-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.bleaching-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.bleaching-result-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.bleaching-result-card img {
  display: block;
  width: 100%;
  aspect-ratio: 2.22 / 1;
  object-fit: cover;
}

.bleaching-result-card figcaption {
  padding: 0.9rem 1rem;
  color: var(--navy-800);
  font-family: var(--font-heading);
  font-weight: 700;
}

.bonding-case-card {
  max-width: 720px;
  margin: 2rem auto 0;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.bonding-case-card img {
  display: block;
  width: 100%;
  height: auto;
}

.bonding-case-card figcaption {
  padding: 0.9rem 1rem;
  color: var(--navy-800);
  font-family: var(--font-heading);
  font-weight: 700;
}

.doctor-portrait-box {
  position: relative;
}

.doctor-portrait-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--white);
  background-color: var(--slate-100);
}

.doctor-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-exp-stamp {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background-color: var(--teal-500);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 3px solid var(--white);
}

.doctor-exp-stamp strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.doctor-exp-stamp span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.doctor-content h2 {
  margin-bottom: 1.25rem;
}

.doctor-credentials-list {
  list-style: none;
  margin: 1.75rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.doctor-credentials-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.98rem;
  color: var(--slate-700);
}

.doctor-credentials-list svg {
  color: var(--teal-500);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Testimonials Carousel/Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.stars-row {
  color: #F59E0B;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-headline {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 0.85rem;
}

.testimonial-quote {
  font-size: 0.96rem;
  color: var(--slate-700);
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

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

.author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-800);
  font-size: 0.95rem;
}

.author-treatment {
  font-size: 0.82rem;
  color: var(--teal-600);
  font-weight: 500;
}

/* Feature Checklist / Trust Badges */
.feature-badges-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.trust-badge-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.trust-badge-card svg {
  color: var(--navy-800);
  margin-bottom: 0.75rem;
}

.trust-badge-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.trust-badge-card p {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin: 0;
}

/* Page Header Banner for inner pages */
.page-header-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  color: #94A3B8;
}

.breadcrumbs a {
  color: #CBD5E1;
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs span {
  color: var(--teal-400);
}

.page-header-banner h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-header-banner p {
  color: #E2E8F0;
  font-size: 1.15rem;
  max-width: 680px;
}

/* Appointment Form Component */
.contact-form-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

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

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-800);
}

.form-control {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  color: var(--slate-900);
  transition: all 0.2s ease;
  background-color: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.15);
}

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

.form-privacy-note {
  font-size: 0.82rem;
  color: var(--slate-600);
  margin-top: 0.75rem;
}

.form-status-alert {
  display: none;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

.form-status-alert.success {
  display: block;
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

/* Location Page Details */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.location-info-card {
  background-color: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

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

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--teal-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.info-item p {
  font-size: 0.95rem;
  margin: 0;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

.hours-table tr {
  border-bottom: 1px solid var(--slate-200);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 0.5rem 0;
  font-size: 0.92rem;
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--navy-800);
}

.map-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  height: 480px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Blog Container */
.blog-content-area {
  padding: 3rem 0 5rem;
  min-height: 400px;
}

#dib-posts {
  margin-bottom: 3rem;
}

.blog-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
}

.blog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--teal-500);
  margin-bottom: 0.5rem;
}

.blog-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.blog-card-body p {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background-color: var(--white);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--slate-700);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Call to Action Strip */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #CBD5E1;
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 2.25rem;
}

.cta-banner-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Site Footer */
.site-footer {
  background-color: var(--navy-900);
  color: #94A3B8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-col p {
  color: #94A3B8;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #CBD5E1;
  font-size: 0.92rem;
}

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

.footer-social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1;
  transition: all 0.2s ease;
}

.footer-social-btn:hover {
  background-color: var(--teal-500);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
}

.footer-bottom a {
  color: #CBD5E1;
}

.footer-bottom a:hover {
  color: var(--teal-400);
}

.footer-attribution {
  font-weight: 500;
  color: #CBD5E1;
}

.footer-attribution a {
  color: var(--teal-400);
  font-weight: 700;
  text-decoration: underline;
}

.footer-attribution a:hover {
  color: var(--white);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .doctor-feature-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
    gap: 0.5rem;
  }

  .logo-brand img {
    height: 32px;
  }

  .header-actions .btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }

  .mobile-toggle {
    display: block;
    padding: 0.25rem;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--slate-200);
    gap: 1rem;
    align-items: stretch;
  }

  .main-nav.is-open {
    display: flex;
  }

  .phone-quick-link {
    display: none;
  }

  .bleaching-comparison {
    grid-template-columns: 1fr;
  }

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

  .contact-form-card {
    padding: 1.75rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .trust-bar .container {
    justify-content: center;
    text-align: center;
  }
}


/* --- Engaging Rich Media & Interactive Components --- */

/* Professional Affiliations Bar */
.affiliations-section {
  background-color: var(--navy-900);
  padding: 2.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.affiliations-title {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #94A3B8;
  margin-bottom: 1.75rem;
  font-weight: 700;
}

.affiliations-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.affiliation-item {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: brightness(0) invert(1);
  opacity: 0.82;
  transition: all 0.25s ease;
}

.affiliation-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.affiliation-item img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

/* Patient Video Feature */
.video-showcase-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--slate-50) 100%);
  padding: 5rem 0;
}

.video-showcase-card {
  background: var(--navy-900);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  color: var(--white);
}

.video-embed-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
}

.video-embed-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-content-wrap {
  padding: 3rem;
}

.video-content-wrap h3 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.video-content-wrap p {
  color: #CBD5E1;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* Interactive Interactive Procedure Tabs */
.procedure-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.procedure-tab-btn {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  border: 1px solid var(--slate-200);
  background-color: var(--white);
  color: var(--navy-800);
  cursor: pointer;
  transition: all 0.2s ease;
}

.procedure-tab-btn:hover {
  background-color: var(--teal-50);
  border-color: var(--teal-400);
  color: var(--teal-600);
}

.procedure-tab-btn.active {
  background-color: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.procedure-tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.procedure-tab-panel.active {
  display: block;
}

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

/* Patient Resources Quick Cards */
.patient-resource-banner {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin: 3rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.resource-card-mini {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.resource-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--teal-100);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.resource-card-mini h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--navy-800);
}

.resource-card-mini p {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-bottom: 0.5rem;
}

.resource-card-mini a {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal-600);
}

/* Testimonial Reviewer Badge */
.reviewer-header-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--teal-400);
}

/* Responsive adjustments for extra components */
@media (max-width: 991px) {
  .video-showcase-card {
    grid-template-columns: 1fr;
  }
  .video-content-wrap {
    padding: 2rem;
  }
  .affiliations-grid {
    gap: 2rem;
  }
}


/* ==========================================================================
   AUTHENTIC OLD-SITE VISUAL ARCHITECTURE WITH DARK BLUE & WHITE BRANDING
   ========================================================================== */

/* Old-Site Centered Top-Bar Header with Left/Right Menu & Centered Logo */
.old-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.old-site-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.85rem 1.5rem;
}

.nav-col-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.nav-col-center a img {
  height: 52px;
  width: auto;
}

.nav-col-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

.nav-link-btn {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.nav-link-btn:hover {
  color: var(--teal-600);
}

/* Old-Site Full-Width Hero with Background Video & Poster */
.old-site-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--navy-900);
  color: var(--white);
}

.old-site-hero video.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.45;
  z-index: 1;
}

.old-site-hero .hero-bg-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/hero-building-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  z-index: 1;
}

.old-site-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 24, 40, 0.6) 0%, rgba(10, 37, 64, 0.8) 100%);
  z-index: 2;
}

.old-site-hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
  padding: 4rem 1.5rem;
}

.old-site-hero-content h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.old-site-hero-btn {
  display: inline-block;
  background-color: var(--teal-500);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 168, 150, 0.4);
}

.old-site-hero-btn:hover {
  background-color: var(--teal-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 150, 0.5);
}

/* Old-Site Announcement Strip: Same-Day Emergency Care */
.old-site-announcement {
  background-color: var(--navy-800);
  color: var(--white);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.old-site-announcement .announcement-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.old-site-announcement p {
  color: #E2E8F0;
  font-size: 1.05rem;
  max-width: 760px;
  margin: 0 auto;
}

.old-site-announcement a {
  color: var(--teal-400);
  font-weight: 700;
  text-decoration: underline;
}

/* Old-Site Two-Column Intro & Quote */
.old-site-intro-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.old-site-quote-box {
  background-color: var(--slate-50);
  border-left: 4px solid var(--teal-500);
  padding: 2.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
}

.old-site-quote-box blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--slate-700);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.old-site-quote-box .quote-author {
  font-weight: 700;
  color: var(--navy-800);
}

/* Old-Site Photo Grid for Featured Procedures */
.old-site-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.old-site-featured-grid-3up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.old-site-procedure-tile {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.old-site-procedure-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.2) 0%, rgba(10, 37, 64, 0.85) 100%);
  transition: background 0.3s ease;
}

.old-site-procedure-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.old-site-procedure-tile:hover::before {
  background: linear-gradient(180deg, rgba(0, 168, 150, 0.2) 0%, rgba(10, 37, 64, 0.95) 100%);
}

.old-site-procedure-label {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.01em;
}

/* Full List of Services 2-Column List */
.services-twocol-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 2rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.services-twocol-list li {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.services-twocol-list li a {
  color: var(--navy-800);
  font-weight: 600;
  transition: color 0.2s ease;
}

.services-twocol-list li a:hover {
  color: var(--teal-600);
}

.services-twocol-list li::before {
  content: '•';
  color: var(--teal-500);
  font-size: 1.4rem;
  line-height: 1;
}

/* Patient Resources 2-Column Icon Menu */
.old-site-resources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.old-site-resource-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.old-site-resource-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-400);
  transform: translateY(-2px);
}

.old-site-resource-card img {
  height: 54px;
  width: auto;
  margin-bottom: 1.25rem;
}

.old-site-resource-card h3 {
  font-size: 1.35rem;
  color: var(--navy-800);
  margin-bottom: 0.5rem;
}

.old-site-resource-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  margin: 0;
}

/* Stunning Results Gallery Cards */
.old-site-stunning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
}

.old-site-stunning-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.25s ease;
}

.old-site-stunning-card:hover {
  transform: translateY(-4px);
}

.old-site-stunning-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.old-site-stunning-card figcaption {
  padding: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-800);
}

/* Rate Us & Google Review Cards */
.old-site-reviews-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.old-site-review-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.review-author-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.review-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--teal-400);
}

.review-initials {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--white);
  border: 2px solid var(--teal-400);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
}

.review-meta h4 {
  font-size: 1.1rem;
  color: var(--navy-800);
  margin-bottom: 0.15rem;
}

.review-meta span {
  font-size: 0.8rem;
  color: var(--slate-600);
}

.review-badge-logo {
  margin-left: auto;
  height: 24px;
  width: auto;
}

.review-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.old-site-review-card p.review-body {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.review-source-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Old-Site Map & Office Location Strip */
.old-site-location-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.old-site-location-details {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.old-site-location-details h3 {
  font-size: 1.75rem;
  color: var(--navy-800);
  margin-bottom: 1rem;
}

.old-site-location-details p {
  color: var(--slate-700);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.old-site-location-map {
  width: 100%;
  min-height: 380px;
}

.old-site-location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: none;
  display: block;
}

/* Get In Touch Footer Banner with Background */
.old-site-contact-strip {
  position: relative;
  background-color: var(--navy-900);
  color: var(--white);
  padding: 5rem 1.5rem;
  text-align: center;
  overflow: hidden;
}

.old-site-contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/contact-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  z-index: 1;
}

.old-site-contact-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.old-site-contact-content h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.old-site-contact-content p {
  color: #CBD5E1;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .old-site-nav-container {
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }
  .nav-col-left {
    display: none;
  }
  .old-site-intro-grid {
    grid-template-columns: 1fr;
  }
  .old-site-featured-grid-3up {
    grid-template-columns: 1fr;
  }
  .old-site-location-section {
    grid-template-columns: 1fr;
  }
  .old-site-reviews-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .old-site-featured-grid {
    grid-template-columns: 1fr;
  }
  .old-site-resources-grid {
    grid-template-columns: 1fr;
  }
  .old-site-stunning-grid {
    grid-template-columns: 1fr;
  }
  .services-twocol-list {
    grid-template-columns: 1fr;
  }
}


/* Header Flyout Behavior: Hidden by default, toggled via JavaScript */
.old-site-header .main-nav {
  display: none;
  background-color: var(--white);
  border-top: 1px solid var(--slate-200);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  animation: fadeInNav 0.25s ease forwards;
}

.old-site-header .main-nav.active {
  display: block;
}

@keyframes fadeInNav {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .old-site-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
  }
  .old-site-nav-container .nav-col-left {
    display: flex;
  }
  .old-site-nav-container .nav-col-center img {
    height: 38px !important;
  }
  .old-site-nav-container .nav-col-right {
    gap: 0.5rem;
  }
  .old-site-nav-container .hide-on-mobile {
    display: none !important;
  }
}


/* Clean 375px responsive mobile header */
@media (max-width: 580px) {
  .old-site-nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.5rem 0.75rem !important;
  }
  .old-site-nav-container .nav-col-left {
    display: flex !important;
  }
  .old-site-nav-container .nav-col-left button {
    padding: 0.25rem 0.4rem !important;
    font-size: 0.8rem !important;
  }
  .old-site-nav-container .nav-col-center {
    display: flex !important;
    flex: 1 !important;
    justify-content: center !important;
  }
  .old-site-nav-container .nav-col-center img {
    height: 32px !important;
    max-width: 140px !important;
  }
  .old-site-nav-container .nav-col-right {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
  }
  .old-site-nav-container .nav-col-right a.nav-link-btn {
    display: none !important;
  }
  .old-site-nav-container .nav-col-right .btn {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.75rem !important;
  }
}


/* Clinical image visibility improvements */
.old-site-procedure-tile {
  min-height: 330px;
  background-color: #dbe8e8;
  background-blend-mode: normal;
}

.old-site-procedure-tile::before {
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.04) 0%, rgba(10, 37, 64, 0.10) 42%, rgba(10, 37, 64, 0.72) 100%);
}

.old-site-procedure-tile:hover::before {
  background: linear-gradient(180deg, rgba(0, 168, 150, 0.08) 0%, rgba(10, 37, 64, 0.18) 42%, rgba(10, 37, 64, 0.78) 100%);
}

.old-site-procedure-label {
  background: rgba(5, 27, 45, 0.80);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.45rem;
  padding: 0.6rem 0.9rem;
  max-width: 92%;
}

.old-site-stunning-card {
  background: #f8fafc;
  border: 1px solid var(--slate-200);
}

.old-site-stunning-card img {
  height: 360px;
  object-fit: contain;
  object-position: center;
  background: #f8fafc;
  padding: 0.75rem;
}

.clinical-case-grid {
  align-items: stretch;
}

.clinical-case-grid > .service-card {
  padding: 1.75rem !important;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.clinical-case-grid > .service-card > div[style*="grid-template-columns"] {
  align-items: start;
}

.clinical-case-grid img {
  height: 220px !important;
  min-height: 220px;
  width: 100%;
  object-fit: contain !important;
  object-position: center;
  background: #f8fafc;
  padding: 0.35rem;
  border: 1px solid var(--slate-200) !important;
}

.clinical-case-grid figure {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding-bottom: 0.35rem;
}

.clinical-case-grid figcaption {
  padding-inline: 0.25rem;
}

.clinical-gallery-grid {
  align-items: start;
}

.clinical-gallery-grid > .service-card {
  padding: 1.25rem !important;
  background: var(--white);
  border: 1px solid var(--slate-200);
}

.clinical-gallery-grid img {
  height: 260px !important;
  object-fit: contain !important;
  object-position: center;
  background: #f8fafc;
  padding: 0.35rem;
  border: 1px solid var(--slate-200);
}

@media (max-width: 768px) {
  .old-site-procedure-tile {
    min-height: 280px;
  }

  .old-site-stunning-card img {
    height: 300px;
  }

  .clinical-case-grid {
    grid-template-columns: 1fr !important;
  }

  .clinical-case-grid img,
  .clinical-gallery-grid img {
    height: auto !important;
    min-height: 0;
    max-height: 360px;
  }
}

/* ======================================================================
   Professional Header + Video Hero Refresh
   ====================================================================== */
.site-header-pro {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: var(--white);
  border-bottom: 1px solid rgba(10, 37, 64, 0.12);
  box-shadow: 0 4px 18px rgba(7, 24, 40, 0.08);
}

.header-utility-bar {
  background: var(--navy-900);
  color: #dbe7ef;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  letter-spacing: 0.025em;
}

.header-utility-inner {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 34px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-utility-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-utility-links a {
  color: #ffffff;
  font-weight: 600;
}

.header-utility-links a:hover {
  color: var(--teal-400);
}

.header-main-pro {
  max-width: 1240px;
  min-height: 86px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.header-logo-pro {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.header-logo-pro img {
  width: 184px;
  height: auto;
}

.main-nav-pro {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.9rem, 1.7vw, 1.65rem);
}

.nav-link-pro {
  position: relative;
  padding: 0.6rem 0.1rem;
  color: var(--navy-800);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.nav-link-pro::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 2px;
  background: var(--teal-500);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link-pro:hover,
.nav-link-pro.active {
  color: var(--teal-600);
}

.nav-link-pro:hover::after,
.nav-link-pro.active::after {
  transform: scaleX(1);
}

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

.header-phone-pro {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--navy-800);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.phone-icon-pro {
  color: var(--teal-600);
  font-size: 1rem;
}

.header-cta-pro,
.video-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.1rem;
  border-radius: 4px;
  background: var(--teal-500);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  box-shadow: 0 5px 14px rgba(0, 168, 150, 0.22);
  white-space: nowrap;
}

.header-cta-pro:hover,
.video-hero-primary:hover {
  background: var(--teal-600);
  color: var(--white);
  transform: translateY(-1px);
}

.mobile-toggle-pro {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--slate-300);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
  padding: 0.65rem;
}

.mobile-toggle-pro span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--navy-800);
}

/* True background video header: one continuous video element, no slideshow layers. */
.video-hero-header {
  position: relative;
  min-height: min(650px, calc(100vh - 120px));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-900);
}

.video-hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  z-index: 0;
}

.video-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(5, 24, 40, 0.86) 0%, rgba(5, 24, 40, 0.62) 45%, rgba(5, 24, 40, 0.30) 100%);
}

.video-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.video-hero-copy {
  max-width: 690px;
}

.video-hero-eyebrow {
  margin-bottom: 1rem;
  color: var(--teal-400);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.video-hero-copy h1 {
  margin-bottom: 1.25rem;
  color: var(--white);
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.22);
}

.video-hero-lede {
  max-width: 620px;
  margin-bottom: 1.75rem;
  color: #edf5f7;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.video-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.video-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.video-hero-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
}

.video-hero-note {
  margin-top: 1.5rem;
  color: #d4e3e8;
  font-family: var(--font-heading);
  font-size: 0.83rem;
  letter-spacing: 0.025em;
}

/* Keep inner-page headers consistent with the video-led brand treatment. */
.page-header-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: url('/assets/hero-building-bg.jpg');
  background-size: cover;
  background-position: center 58%;
  border-bottom: 0;
}

.page-header-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 24, 40, 0.93), rgba(10, 37, 64, 0.78));
}

.page-header-banner .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 1120px) {
  .header-main-pro {
    grid-template-columns: 180px 1fr auto;
    gap: 0.8rem;
  }

  .header-logo-pro img {
    width: 165px;
  }

  .header-phone-pro {
    display: none;
  }

  .main-nav-pro {
    gap: 0.85rem;
  }

  .nav-link-pro {
    font-size: 0.76rem;
  }
}

@media (max-width: 820px) {
  .header-utility-inner {
    justify-content: center;
    min-height: 32px;
  }

  .header-utility-inner > span {
    display: none;
  }

  .header-utility-links {
    width: 100%;
    justify-content: center;
    gap: 1rem;
  }

  .header-main-pro {
    position: relative;
    min-height: 70px;
    grid-template-columns: 1fr auto auto;
    padding: 0.7rem 1rem;
  }

  .header-logo-pro img {
    width: 155px;
  }

  .mobile-toggle-pro {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }

  .main-nav-pro {
    display: none;
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: var(--white);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
  }

  .main-nav-pro.is-open {
    display: flex;
  }

  .nav-link-pro {
    padding: 0.8rem 0.75rem;
    border-bottom: 1px solid var(--slate-100);
  }

  .nav-link-pro:last-child {
    border-bottom: 0;
  }

  .nav-link-pro::after {
    display: none;
  }

  .header-actions-pro {
    grid-column: 3;
    grid-row: 1;
  }

  .header-cta-pro {
    min-height: 38px;
    padding: 0.55rem 0.7rem;
    font-size: 0.68rem;
  }

  .video-hero-header {
    min-height: 610px;
  }

  .video-hero-overlay {
    background: linear-gradient(180deg, rgba(5, 24, 40, 0.56) 0%, rgba(5, 24, 40, 0.86) 100%);
  }

  .video-hero-content {
    padding: 4.25rem 1.5rem;
  }

  .video-hero-copy h1 {
    font-size: clamp(2.15rem, 10vw, 3.25rem);
  }
}

@media (max-width: 520px) {
  .header-utility-links a:first-child {
    display: none;
  }

  .header-utility-links {
    font-size: 0.72rem;
  }

  .header-main-pro {
    grid-template-columns: 1fr auto auto;
  }

  .header-logo-pro img {
    width: 140px;
  }

  .header-cta-pro {
    max-width: 116px;
    white-space: normal;
    text-align: center;
    line-height: 1.1;
  }

  .video-hero-header {
    min-height: 600px;
  }

  .video-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .video-hero-primary,
  .video-hero-secondary {
    width: 100%;
  }
}

/* Transcript-requested clinical image presentation: sharp, uncropped, and easy to compare. */
.old-site-stunning-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.old-site-stunning-card {
  margin: 0;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stunning-case-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  text-decoration: none;
}

.stunning-case-pair img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: var(--radius-sm);
}

.old-site-stunning-card figcaption {
  padding: 0.9rem 0.15rem 0.1rem;
  color: var(--navy-800);
  font-family: var(--font-heading);
  font-weight: 800;
  text-align: center;
}

.clinical-case-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.clinical-case-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: var(--radius-sm);
}

@media (max-width: 900px) {
  .old-site-stunning-grid {
    grid-template-columns: 1fr;
  }
  .stunning-case-pair img {
    height: auto;
    max-height: 360px;
  }
}

.legacy-section-image {
  max-width: 520px;
  margin: 1.75rem auto 0;
  padding: 0.75rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.legacy-section-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: #f8fafc;
}

.legacy-section-image figcaption {
  padding: 0.85rem 0.35rem 0.15rem;
  color: var(--navy-800);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.patient-forms-note,
.patient-forms-contact-note {
  color: var(--slate-600);
}

.patient-form-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.patient-form-download-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--slate-200);
  border-top: 4px solid var(--teal-500);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.patient-form-type {
  margin-bottom: 0.5rem;
  color: var(--teal-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.patient-form-download-card h3 {
  margin-bottom: 0.65rem;
  color: var(--navy-800);
  font-size: 1.15rem;
}

.patient-form-download-card p {
  flex: 1;
  margin-bottom: 1.25rem;
  color: var(--slate-600);
  font-size: 0.93rem;
}

.patient-form-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.patient-form-download-link {
  color: var(--teal-600);
  font-size: 0.9rem;
  font-weight: 700;
}

/* DearDoc chat controls and widget stacking */
.header-chat-cta,
.video-hero-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--teal-500);
  border-radius: 4px;
  background: var(--white);
  color: var(--teal-600);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  cursor: pointer;
}

.header-chat-cta:hover,
.video-hero-chat:hover {
  background: var(--teal-100);
  color: var(--teal-600);
}

#quriobotWidgetContainer,
#quriobotWidgetButton,
#quriobotWidgetFoldOut {
  z-index: 2147483000 !important;
}

@media (max-width: 820px) {
  .header-actions-pro {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: stretch;
    gap: 0.5rem;
  }

  .header-actions-pro .header-cta-pro,
  .header-actions-pro .header-chat-cta {
    flex: 1;
    min-height: 38px;
    padding: 0.55rem 0.7rem;
    font-size: 0.68rem;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .header-main-pro {
    grid-template-columns: 1fr auto;
  }

  .video-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .video-hero-primary,
  .video-hero-secondary,
  .video-hero-chat {
    width: 100%;
  }
}
