@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;600;700&family=Marcellus&display=swap');

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #ffffff;
  color: #18181b;
  line-height: 1.5;
}

:root {
  --site-header-offset: 9.5rem;
  --site-header-offset-lg: 10.5rem;
}

/* Skip Links */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  background: white;
  color: #18181b;
  padding: 0.75rem 1rem;
  text-decoration: none;
  z-index: 100;
  border-radius: 0 0 0.25rem 0;
  font-weight: 600;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid #ea580c;
  outline-offset: 2px;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Top Banner */
.top-banner {
  background-color: #78716c;
  padding: 0.5rem 0;
}

.top-banner .container {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.top-banner-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}

.top-banner-cdcp {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #fff7ed;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .top-banner .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .top-banner .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.top-banner-cdcp-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.top-banner-cta {
  color: #fff7ed;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.025em;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.top-banner-phone:hover,
.top-banner-appointment:hover {
  color: white;
}

.top-banner-inner .top-banner-appointment {
  padding-left: 1.5rem;
  border-left: 1px solid #a8a29e;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  z-index: 50;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: 'Marcellus', serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #ea580c;
  text-decoration: none;
}

.logo img {
  height: 68px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.logo:hover img {
  transform: scale(1.04);
}

/* Navigation */
nav {
  display: none;
}

@media (min-width: 768px) {
  nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

nav a {
  font-family: 'Marcellus', serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
}

nav a:hover {
  color: #ea580c;
}

nav a:focus {
  outline: 2px solid #ea580c;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

nav a.active {
  color: #ea580c;
  font-weight: 600;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown-arrow {
  font-size: 0.7em;
  opacity: 0.8;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0.25rem);
  min-width: 160px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0.5rem);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #374151;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: #fff7ed;
  color: #ea580c;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: #374151;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: all 0.2s;
}

.mobile-menu-btn:focus {
  outline: 3px solid #ea580c;
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid #e5e7eb;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  color: #374151;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: #ea580c;
}

.mobile-menu a:focus {
  outline: 2px solid #ea580c;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background-color: #ea580c;
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: #c2410c;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary:focus,
.btn-secondary:focus,
.btn:focus {
  outline: 3px solid #ea580c;
  outline-offset: 2px;
}

.btn-secondary {
  background-color: white;
  color: #ea580c;
  border: 2px solid #ea580c;
}

.btn-secondary:hover {
  background-color: #fff7ed;
}

.btn-link-cta {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ea580c;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.2s;
}

.btn-link-cta:hover {
  color: #c2410c;
}

.btn-link-cta:focus {
  outline: 2px solid #ea580c;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

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

.section-header {
  padding-top: var(--site-header-offset);
  padding-bottom: 4rem;
  background: linear-gradient(to bottom, #fff0e0 0%, #fff7ed 50%, #ffffff 100%);
}

.section-header-fade-gray {
  background: linear-gradient(to bottom, #fff0e0 0%, #fff7ed 50%, #f9fafb 100%);
}

h1, h2, h3, h4,
.section-title,
.section-title-large,
.service-title,
.cta-title,
.footer-brand h3,
.footer-section h4,
.contact-info h3,
.contact-details h4,
.about-content h2 {
  font-family: 'Marcellus', serif;
}

.about-content-centered {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-grid-single {
  grid-template-columns: 1fr;
}

.about-grid-single .about-content {
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: #c2410c;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #78716c;
  max-width: 48rem;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--site-header-offset) - 0.75rem);
  padding-bottom: 5rem;
  background: linear-gradient(to bottom, #fff0e0 0%, #fff7ed 50%, #ffffff 100%);
}

@media (min-width: 1024px) {
  .hero {
    padding-top: calc(var(--site-header-offset-lg) - 0.75rem);
    padding-bottom: 7rem;
  }
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #c2410c;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-text {
  font-size: 1.25rem;
  color: #57534e;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
}

.hero-stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: #ea580c;
}

.hero-stat-label {
  color: #4b5563;
}

.hero-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* New Patients Banner (index) */
.new-patients-banner-section {
  background: #fff7ed;
}

.new-patients-banner {
  background: #fff;
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid #fed7aa;
  border-left: 4px solid #ea580c;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.08);
}

.new-patients-banner-title {
  font-family: 'Marcellus', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #ea580c;
  margin-bottom: 1rem;
}

.new-patients-banner-subtitle {
  font-size: 1.125rem;
  color: #57534e;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

/* Location Benefits (index) */
.location-benefits-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .location-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .location-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.location-benefit-card {
  padding: 2rem;
  background-color: white;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}

.location-benefit-card:hover {
  border-color: #ea580c;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.location-benefit-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: #ffedd5;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background-color 0.3s;
}

.location-benefit-card:hover .location-benefit-icon {
  background-color: #ea580c;
}

.location-benefit-icon .dentist-pack-icon {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(48%) sepia(89%) saturate(1582%) hue-rotate(358deg) brightness(98%) contrast(91%);
}

.location-benefit-card:hover .location-benefit-icon .dentist-pack-icon {
  filter: brightness(0) saturate(100%) invert(100%);
}

.location-benefit-title {
  font-family: 'Marcellus', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #c2410c;
  margin-bottom: 0.5rem;
}

.location-benefit-description {
  color: #57534e;
  font-size: 1rem;
  line-height: 1.5;
}

/* FAQ (index) */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: #ea580c;
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-question:hover {
  color: #ea580c;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid #f3f4f6;
}

.faq-answer p {
  margin: 1rem 0 0;
  color: #4b5563;
  line-height: 1.6;
}

/* Services Grid */
.services-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.services-grid-animate-out {
  animation: servicesGridFadeOut 0.18s ease forwards;
}

.services-grid-animate-in {
  animation: servicesGridFadeIn 0.26s ease forwards;
}

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

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

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: #ea580c;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: #ffedd5;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s;
}

.service-card:hover .service-icon {
  background-color: #ea580c;
}

.service-icon svg,
.service-icon img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  transition: filter 0.3s;
}

.service-icon svg {
  color: #ea580c;
}

.service-icon img {
  filter: brightness(0) saturate(100%) invert(48%) sepia(89%) saturate(1582%) hue-rotate(358deg) brightness(98%) contrast(91%) drop-shadow(0 0 0.5px rgba(234, 88, 12, 0.5));
}

.service-icon-placeholder {
  width: 2.1rem;
  height: 2.1rem;
  border: 2px dashed #fdba74;
  border-radius: 0.35rem;
}

.service-card:hover .service-icon svg {
  color: white;
}

.service-card:hover .service-icon img {
  filter: brightness(0) saturate(100%) invert(100%) drop-shadow(0 0 0.5px rgba(255, 255, 255, 0.5));
}

.service-card:hover .service-icon .service-icon-placeholder {
  border-color: #fff7ed;
}

.services-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.services-pagination-summary {
  font-size: 0.9rem;
  color: #57534e;
}

.services-expand-toggle {
  background: none;
  border: none;
  color: #78716c;
  font-family: 'Marcellus', serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  padding: 0.2rem 0.25rem;
  transition: color 0.2s ease;
}

.services-expand-toggle:hover {
  color: #57534e;
}

.services-pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.services-pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.services-page-dot {
  width: 0.62rem;
  height: 0.62rem;
  border: none;
  border-radius: 999px;
  background: #d6d3d1;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.services-page-dot:hover {
  background: #a8a29e;
}

.services-page-dot.active {
  background: #ea580c;
  transform: scale(1.15);
}

.services-page-dot:focus-visible {
  outline: 2px solid #ea580c;
  outline-offset: 3px;
}

.services-pagination-link {
  background: none;
  border: none;
  color: #78716c;
  font-family: 'Marcellus', serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.2rem 0.2rem;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

.services-pagination-link:hover {
  color: #57534e;
}

.services-pagination-link[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #c2410c;
  margin-bottom: 0.75rem;
}

.service-description {
  color: #4b5563;
  line-height: 1.625;
}

.service-learn-more {
  background: none;
  border: none;
  color: #ea580c;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 0.5rem 0 0;
  text-decoration: none;
  font-family: inherit;
  transition: color 0.2s;
}

.service-learn-more:hover {
  color: #c2410c;
}

/* Service Modal */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: service-modal-fade-in 0.2s ease-out;
}

@keyframes service-modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.service-modal[hidden] {
  display: none;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.service-modal-content {
  position: relative;
  background: #fffbf7;
  border-radius: 1rem;
  max-width: 36rem;
  max-height: 88vh;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  animation: service-modal-slide-in 0.3s ease-out;
}

@keyframes service-modal-slide-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.service-modal-header {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  padding: 1.5rem 3rem 1.5rem 1.5rem;
  border-bottom: 1px solid #ffedd5;
}

.service-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #ffedd5;
  border: 1px solid #fed7aa;
  font-size: 1.25rem;
  line-height: 1;
  color: #78716c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.service-modal-close:hover {
  background: #fed7aa;
  color: #78350f;
  border-color: #fdba74;
}

.service-modal-title {
  font-family: 'Marcellus', serif;
  font-size: 1.5rem;
  color: #c2410c;
  margin: 0;
  font-weight: 600;
}

.service-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  max-height: calc(88vh - 6rem);
}

.service-modal-section {
  margin-bottom: 1.5rem;
}

.service-modal-section:last-child {
  margin-bottom: 0;
}

.service-modal-body h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ea580c;
  margin: 0 0 0.5rem;
}

.service-modal-body p {
  color: #4b5563;
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

.service-modal-footer {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid #ffedd5;
}

.service-modal-footer .btn {
  width: 100%;
  justify-content: center;
}

/* Booking Modal */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: service-modal-fade-in 0.2s ease-out;
}

.booking-modal[hidden] {
  display: none;
}

.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.booking-modal-content {
  position: relative;
  background: #fffbf7;
  border-radius: 1rem;
  width: min(32rem, 100%);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  animation: service-modal-slide-in 0.3s ease-out;
}

.booking-modal-header {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  padding: 1.5rem 3rem 1.2rem 1.5rem;
  border-bottom: 1px solid #ffedd5;
}

.booking-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #ffedd5;
  border: 1px solid #fed7aa;
  font-size: 1.25rem;
  line-height: 1;
  color: #78716c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.booking-modal-close:hover {
  background: #fed7aa;
  color: #78350f;
  border-color: #fdba74;
}

.booking-modal-title {
  margin: 0;
  font-family: 'Marcellus', serif;
  font-size: 1.5rem;
  color: #c2410c;
  font-weight: 600;
}

.booking-modal-body {
  padding: 1.25rem 1.5rem;
}

.booking-modal-subtitle {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
}

.booking-modal-footer {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid #ffedd5;
}

.booking-modal-actions {
  display: grid;
  gap: 0.75rem;
}

.booking-modal-actions .btn {
  width: 100%;
  justify-content: center;
}

.booking-modal-existing-link {
  display: block;
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.875rem;
  color: #78716c;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.booking-modal-existing-link:hover {
  color: #c2410c;
}

.booking-modal-existing-link:focus-visible {
  outline: 2px solid #ea580c;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* Team Grid */
.team-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

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

.team-card {
  display: grid;
  grid-template-columns: 1fr;
  background-color: white;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.3s;
}

@media (min-width: 768px) {
  .team-card {
    grid-template-columns: minmax(260px, 340px) 1fr;
  }
}

.team-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.team-image-container {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.team-card:hover .team-image {
  transform: scale(1.05);
}

.team-info {
  padding: 1.5rem;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #c2410c;
  margin-bottom: 0.25rem;
}

.team-role {
  color: #ea580c;
  font-weight: 500;
  margin-bottom: 0.9rem;
}

.team-bio {
  color: #57534e;
  line-height: 1.6;
}

.team-experience {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.9rem;
}

.team-meta-group h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ea580c;
  margin: 1rem 0 0.5rem;
}

.team-meta-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #57534e;
}

.team-meta-list li {
  margin-bottom: 0.25rem;
}

/* Contact Form */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #c2410c;
  margin: 0;
}

.contact-info > p {
  color: #57534e;
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 3.5rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  background-color: transparent;
  border: 2px solid #ea580c;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon .dentist-pack-icon {
  filter: brightness(0) saturate(100%) invert(48%) sepia(89%) saturate(1582%) hue-rotate(358deg) brightness(98%) contrast(91%);
}

.contact-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #ea580c;
}

.dentist-pack-icon {
  filter: brightness(0) saturate(100%) invert(48%) sepia(89%) saturate(1582%) hue-rotate(358deg) brightness(98%) contrast(91%);
}

.contact-icon .dentist-pack-icon {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.feature-card-icon .dentist-pack-icon {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
  transition: filter 0.3s;
}

.feature-card:hover .feature-card-icon .dentist-pack-icon {
  filter: brightness(0) saturate(100%) invert(100%);
}

.about-feature-icon .dentist-pack-icon {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(100%);
}

.value-icon .dentist-pack-icon {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  transition: filter 0.3s;
}

.contact-details {
  flex: 1;
  min-width: 0;
}

.contact-details h4 {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.contact-details p,
.contact-details address {
  color: #57534e;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-details address a {
  font-style: normal;
}

.contact-details a {
  color: #57534e;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease-out;
  position: relative;
}

.contact-details a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: #ea580c;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-details a:hover {
  color: #ea580c;
}

.contact-details a:hover::after {
  transform: scaleX(1);
}

.contact-details a:focus {
  outline: 2px solid #ea580c;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

.contact-form {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.careers-grid {
  align-items: start;
}

.careers-submit {
  width: 100%;
}

.careers-mission {
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.careers-mission h2 {
  color: #c2410c;
  font-size: 2rem;
  margin: 0 0 0.9rem;
}

.careers-mission p {
  color: #57534e;
  margin: 0 0 1rem;
  line-height: 1.7;
}

.careers-points {
  margin: 0;
  padding-left: 1.2rem;
  color: #57534e;
  line-height: 1.7;
}

.careers-points li {
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  color: #111827;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: 3px solid #ea580c;
  outline-offset: 2px;
  border-color: #ea580c;
}

.form-textarea {
  resize: none;
  min-height: 100px;
}

/* Values/Features Grid */
.values-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  text-align: center;
  padding: 1.5rem;
}

.value-icon {
  width: 4.5rem;
  height: 4.5rem;
  background-color: #ffedd5;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.value-icon svg {
  width: 2rem;
  height: 2rem;
  color: #ea580c;
}

.value-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #c2410c;
  margin-bottom: 0.75rem;
}

.value-description {
  color: #57534e;
}

/* Stats Section */
.stats-section {
  background: #fff7ed;
  padding: 5rem 0;
}

.stats-grid {
  display: grid;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-value {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ea580c;
  font-family: 'Marcellus', serif;
}

.stat-label {
  font-size: 1.25rem;
  color: #57534e;
}

/* About Section */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

.about-content h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #c2410c;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.125rem;
  color: #57534e;
  line-height: 1.625;
  margin-bottom: 1.5rem;
}

.about-features {
  margin-top: 1rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.about-feature-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  background-color: #ea580c;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
}

.about-feature-icon svg {
  width: 1rem;
  height: 1rem;
  color: white;
}

.about-feature-text {
  font-size: 1.125rem;
  color: #44403c;
}

/* Feature Cards */
.feature-cards {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .feature-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: #ea580c;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Numbered steps (e.g. What to Expect) */
.feature-card-numbered .step-number {
  width: 3rem;
  height: 3rem;
  background-color: #ea580c;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.feature-card-numbered:hover .step-number {
  background-color: #c2410c;
}

.feature-card-numbered .feature-card-title {
  margin-top: 0;
}

.feature-card-icon {
  width: 4rem;
  height: 4rem;
  background-color: #ffedd5;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s;
}

.feature-card:hover .feature-card-icon {
  background-color: #ea580c;
}

.feature-card-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #ea580c;
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #c2410c;
  margin-bottom: 0.75rem;
}

.feature-card-description {
  color: #57534e;
}

/* CTA Section */
.cta-section {
  background-color: #f9fafb;
  padding: 5rem 0;
}

.cta-content {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #c2410c;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.cta-buttons .btn,
.cta-buttons .btn-link-cta {
  min-height: 3rem;
  align-items: center;
}

.cta-buttons .btn-link-cta {
  padding: 0.75rem 1.5rem;
  display: inline-flex;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* Footer */
footer {
  background-color: #57534e;
  color: #e7e5e4;
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
}

.footer-brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-brand h3 {
  font-family: 'Marcellus', serif;
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #fff7ed;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #d6d3d1;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 2.25rem;
  height: 2.25rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #e7e5e4;
  transition: background-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  background-color: #ea580c;
  color: white;
}

.footer-social svg {
  width: 1.125rem;
  height: 1.125rem;
}

.footer-social-img {
  width: 62%;
  height: 62%;
  max-width: 62%;
  max-height: 62%;
  display: block;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(89%) sepia(5%) saturate(276%) hue-rotate(326deg) brightness(96%) contrast(89%);
  transition: filter 0.2s;
}

.footer-social a:hover .footer-social-img {
  filter: brightness(0) saturate(100%) invert(100%);
}

.footer-section h4 {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff7ed;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #d6d3d1;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #fff7ed;
}

.footer-section p {
  color: #d6d3d1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: #a8a29e;
  font-size: 0.875rem;
}

/* Contact Page - Background Sectioning */
.contact-header-section {
  padding: var(--site-header-offset) 0 4rem;
  background: linear-gradient(to bottom, #fff0e0 0%, #fff7ed 50%, #f9fafb 100%);
}

.contact-content-section {
  background-color: #f9fafb;
}

.contact-map-section {
  background-color: #ffffff;
}

/* Map Section */
.map-section {
  padding: 5rem 0;
}

.map-embed {
  border-radius: 1rem;
  overflow: hidden;
  height: 24rem;
}

.map-embed iframe {
  display: block;
}

.contact-form-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #c2410c;
  margin-bottom: 0.25rem;
}

.contact-form-subtitle {
  color: #57534e;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.form-optional {
  font-weight: 400;
  color: #78716c;
  font-size: 0.85em;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-gray {
  color: #525252;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mt-8 {
  margin-top: 2rem;
}

.bg-white {
  background-color: #ffffff;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

.bg-gray-100 {
  background-color: #f3f4f6;
}

.min-h-screen {
  min-height: 100vh;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

/* Icon Styles */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-block;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-xl {
  width: 2rem;
  height: 2rem;
}

/* Utility Classes for Inline Style Replacements */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ea580c;
  padding-top: 0.5rem;
  border-top: 1px solid #e5e7eb;
  margin-top: 0.5rem;
}

.desktop-phone {
  display: none;
}

.desktop-phone span,
.desktop-phone a {
  color: #ea580c;
  text-decoration: none;
}

.desktop-phone a:hover {
  text-decoration: underline;
}

.icon-spacing {
  margin-right: 0.5rem;
}

.btn-margin-top {
  margin-top: 2rem;
}

.footer-contact-list {
  list-style: none;
  color: #d6d3d1;
  font-style: normal;
  font-size: 0.9375rem;
}

.footer-contact-list div {
  margin-bottom: 0.5rem;
}

.footer-contact-list a {
  color: #d6d3d1;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-list a:hover {
  color: #fff7ed;
}

.section-title-large {
  font-size: 2.25rem;
  color: #c2410c;
}

.section-subtitle-constrained {
  max-width: 42rem;
}

.cta-content-centered {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.cta-title-white {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.cta-text-light {
  font-size: 1.25rem;
  color: #ffedd5;
  margin-bottom: 2rem;
}

.btn-white {
  background-color: white;
  color: #ea580c;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-white:hover {
  background-color: #f9fafb;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* New Patients page - unified content width and alignment */
.new-patients-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.new-patients-bring-list.about-features {
  padding-left: 0;
  margin-left: 0;
}

.new-patients-bring-list .about-feature {
  align-items: center;
  padding-left: 0;
}

.new-patients-bring-list .about-feature-icon {
  margin-top: 0;
}

.new-patients-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0;
  color: #57534e;
  line-height: 1.75;
}

.new-patients-list li {
  margin-bottom: 0.5rem;
}

.new-patients-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: #c2410c;
}

.new-patients-note {
  background-color: #fff7ed;
  border-left: 4px solid #ea580c;
  padding: 1rem 1.5rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

.new-patients-note p {
  color: #374151;
  margin: 0;
}
