/* ==========================================================================
   FAMILY DENTAL CARE DEMO STYLESHEET
   Practice: HappyRoots Family Dentistry
   Target: Family Practices, Pediatric Care & Multi-Dentist Clinics
   Palette: Sky Blue (#0284C7), Deep Ocean (#0C4A6E), Leaf Green (#16A34A),
            Warm Amber (#F59E0B), Mint Dew (#F0FDF4), Soft Cloud (#F8FAFC)
   Font: 'Quicksand', 'Inter', sans-serif
   ========================================================================== */

.demo-family-body {
  font-family: 'Quicksand', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1E293B;
  background-color: #FFFFFF;
  line-height: 1.6;
  width: 100%;
  overflow-x: clip;
}

.demo-family-body h1,
.demo-family-body h2,
.demo-family-body h3,
.demo-family-body h4 {
  font-family: 'Quicksand', 'Inter', sans-serif;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.2px;
}

/* ==========================================================================
   PRACTICE TOP UTILITY BAR
   ========================================================================== */
.fm-top-bar {
  background: #0C4A6E;
  color: #E0F2FE;
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fm-top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.fm-top-info {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.fm-top-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #BAE6FD;
}

.fm-top-info span svg {
  color: #38BDF8;
  flex-shrink: 0;
}

.fm-badge-pill {
  background: #16A34A;
  color: #FFFFFF !important;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
}

.fm-std-chip {
  background: rgba(2, 132, 199, 0.35);
  border: 1px solid rgba(186, 230, 253, 0.32);
  color: #E0F2FE !important;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
}

/* ==========================================================================
   FRIENDLY STICKY HEADER & NAVIGATION
   ========================================================================== */
.fm-header {
  background: #FFFFFF;
  border-bottom: 2px solid #E0F2FE;
  padding: 14px 0;
  position: sticky;
  top: 44px;
  z-index: 900;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.06);
  transition: all 0.25s ease;
  width: 100%;
}

.fm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.fm-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.fm-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #0284C7 0%, #16A34A 100%);
  color: #FFFFFF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
  flex-shrink: 0;
}

.fm-logo-text strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #0284C7;
  line-height: 1.15;
}

.fm-logo-text span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #16A34A;
  letter-spacing: 0.3px;
}

.fm-nav-menu {
  display: flex;
  align-items: center;
}

.fm-nav-list,
.fm-nav-menu ul {
  display: flex;
  list-style: none;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.fm-nav-list li,
.fm-nav-menu li {
  list-style: none;
}

.fm-nav-list a,
.fm-nav-menu a {
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
  padding: 6px 12px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.fm-nav-list a:hover,
.fm-nav-list a.active,
.fm-nav-menu a:hover,
.fm-nav-menu a.active {
  color: #0284C7;
  background: #E0F2FE;
}

.fm-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   BUTTONS & FORM CONTROLS
   ========================================================================== */
.fm-btn-primary {
  background: #16A34A;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.fm-btn-primary:hover {
  background: #15803D;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35);
}

.fm-btn-secondary {
  background: #0284C7;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.fm-btn-secondary:hover {
  background: #0369A1;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.fm-btn-outline {
  background: #FFFFFF;
  color: #0284C7;
  border: 1.5px solid #0284C7;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.fm-btn-outline:hover {
  background: #E0F2FE;
  color: #0369A1;
}

.fm-btn-white-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.fm-btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.fm-btn-danger {
  background: #DC2626;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.fm-btn-danger:hover {
  background: #B91C1C;
  color: #FFFFFF;
  transform: translateY(-2px);
}

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

.fm-form-group label {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.fm-input,
.fm-select,
.fm-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  background-color: #FFFFFF;
  color: #0F172A;
  font-family: inherit;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.fm-input:focus,
.fm-select:focus,
.fm-textarea:focus {
  border-color: #0284C7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.16);
}

/* Mobile Toggle & Menu */
.fm-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid #BAE6FD;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
}

.fm-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #0284C7;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.fm-mobile-toggle[aria-expanded="true"] span:nth-child(1),
.fm-mobile-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.fm-mobile-toggle[aria-expanded="true"] span:nth-child(2),
.fm-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.fm-mobile-toggle[aria-expanded="true"] span:nth-child(3),
.fm-mobile-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.fm-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-bottom: 3px solid #16A34A;
  padding: 18px 24px 24px;
  box-shadow: 0 15px 30px rgba(12, 74, 110, 0.12);
  z-index: 899;
}

.fm-mobile-menu.is-open,
.fm-mobile-menu.open {
  display: block;
}

.fm-mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fm-mobile-nav-links a {
  font-size: 15px;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
}

.fm-mobile-nav-links a:hover,
.fm-mobile-nav-links a.active {
  color: #0284C7;
  background: #E0F2FE;
}

/* ==========================================================================
   HERO + PHOTO SHOWCASE + DOCKED FAMILY BLOCK BAR
   ========================================================================== */
.fm-hero {
  padding: 56px 0 64px;
  background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 55%, #F0F9FF 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #E2E8F0;
}

.fm-hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 48px;
  align-items: center;
}

.fm-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #DCFCE7;
  color: #15803D;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 15px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.fm-hero-h1 {
  font-size: 42px;
  line-height: 1.18;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 18px;
}

.fm-hero-h1 span {
  color: #0284C7;
}

.fm-hero-lead {
  font-size: 17px;
  line-height: 1.66;
  color: #475569;
  margin-bottom: 26px;
  max-width: 590px;
}

.fm-hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.fm-hero-trust {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: #475569;
  font-weight: 700;
  border-top: 1px solid #E2E8F0;
  padding-top: 20px;
}

.fm-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fm-trust-item svg {
  color: #16A34A;
  flex-shrink: 0;
}

/* Right Photo Showcase */
.fm-photo-showcase {
  position: relative;
  padding-bottom: 22px;
}

.fm-photo-frame {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #E0F2FE;
  border: 4px solid #FFFFFF;
  box-shadow: 0 20px 45px rgba(2, 132, 199, 0.14);
}

.fm-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fm-floating-stat {
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  background: #FFFFFF;
  border: 1.5px solid #DCFCE7;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.fm-floating-stat-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fm-floating-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #FEF3C7;
  color: #D97706;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fm-floating-stat-left strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
}

.fm-floating-stat-left span {
  display: block;
  font-size: 12px;
  color: #64748B;
}

.fm-floating-stat-pill {
  background: #E0F2FE;
  color: #0369A1;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  white-space: nowrap;
}

/* Docked Horizontal Quick Family Visit Bar */
.fm-hero-booking-bar {
  margin-top: 40px;
  background: #FFFFFF;
  border: 2px solid #DCFCE7;
  border-radius: 20px;
  padding: 22px 26px;
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.08);
}

.fm-hero-booking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.fm-quick-booking-title {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.fm-hero-booking-note {
  font-size: 12.5px;
  font-weight: 700;
  color: #15803D;
}

.fm-hero-booking-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr auto;
  gap: 14px;
  align-items: end;
}

.fm-hero-booking-row .fm-form-group {
  margin-bottom: 0;
}

.fm-hero-booking-row .fm-btn-primary {
  height: 45px;
  padding: 0 22px;
}

/* ==========================================================================
   OCEAN TRUST METRICS STRIP
   ========================================================================== */
.fm-metrics-strip {
  background: #0C4A6E;
  color: #FFFFFF;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fm-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.fm-metric-item strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #38BDF8;
  line-height: 1.2;
  margin-bottom: 4px;
}

.fm-metric-item:nth-child(even) strong {
  color: #4ADE80;
}

.fm-metric-item span {
  font-size: 13px;
  color: #BAE6FD;
  font-weight: 600;
}

/* ==========================================================================
   LIFE-STAGE INTERACTIVE TABS (WIRED TO main.js)
   ========================================================================== */
.fm-stages-section {
  background: #F0FDF4;
  padding: 68px 0;
  border-bottom: 1px solid #DCFCE7;
}

.fm-life-stage-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.fm-life-stage-tab {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.fm-life-stage-tab:hover {
  background: #F8FAFC;
  border-color: #86EFAC;
}

.fm-life-stage-tab.is-active {
  background: #16A34A;
  color: #FFFFFF;
  border-color: #16A34A;
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.28);
}

.fm-life-stage-panel {
  display: none;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 36px 40px;
  border: 1.5px solid #DCFCE7;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

.fm-life-stage-panel.is-active {
  display: block;
  animation: fmFadeIn 0.3s ease;
}

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

.fm-stage-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.fm-stage-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  background: #DCFCE7;
  color: #166534;
}

.fm-stage-pill.is-kids {
  background: #FEF3C7;
  color: #92400E;
}

.fm-stage-pill.is-teens {
  background: #E0F2FE;
  color: #0369A1;
}

.fm-stage-pill.is-adults {
  background: #FCE7F3;
  color: #9D174D;
}

.fm-stage-grid h3 {
  font-size: 25px;
  color: #0F172A;
  margin: 12px 0;
}

.fm-stage-grid p {
  color: #475569;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.fm-stage-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: #1E293B;
  font-weight: 600;
}

.fm-stage-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fm-stage-list li svg {
  color: #16A34A;
  flex-shrink: 0;
}

.fm-stage-photo-visual {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  height: 270px;
  background: #E0F2FE;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.fm-stage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fm-stage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 74, 110, 0.9) 0%, rgba(12, 74, 110, 0.25) 58%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: #FFFFFF;
  text-align: center;
}

.fm-stage-overlay strong {
  color: #FFFFFF !important;
  font-size: 17px;
  font-weight: 800;
}

.fm-stage-overlay span {
  color: #E0F2FE !important;
  font-size: 13px;
}

/* Interactive Sensory & Anxiety-Free Comfort Menu */
.fm-comfort-menu {
  margin-top: 28px;
  background: #FFFFFF;
  border: 1.5px solid #DCFCE7;
  border-radius: 22px;
  padding: 28px 32px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.fm-comfort-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}

.fm-comfort-head h3 {
  font-size: 21px;
  color: #0F172A;
  margin: 0 0 4px;
}

.fm-comfort-head p {
  font-size: 14px;
  color: #475569;
  margin: 0;
}

.fm-comfort-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fm-comfort-chip {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 14px;
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  font-family: inherit;
}

.fm-comfort-chip:hover {
  border-color: #16A34A;
  background: #F0FDF4;
}

.fm-comfort-chip.is-selected {
  background: #DCFCE7;
  border-color: #16A34A;
  color: #14532D;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.14);
}

/* Interactive Household Membership Calculator */
.fm-plan-calc {
  background: #FFFFFF;
  border: 1px solid #BBF7D0;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 18px;
}

.fm-plan-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.fm-plan-tab {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #334155;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.fm-plan-tab:hover {
  border-color: #16A34A;
}

.fm-plan-tab.is-active {
  background: #16A34A;
  border-color: #16A34A;
  color: #FFFFFF;
}

.fm-plan-summary {
  background: #F0FDF4;
  border: 1px solid #DCFCE7;
  border-radius: 12px;
  padding: 12px 14px;
}

.fm-plan-summary strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #15803D;
  margin-bottom: 2px;
}

.fm-plan-summary span {
  display: block;
  font-size: 12.5px;
  color: #1E293B;
  line-height: 1.45;
  font-weight: 600;
}

/* Consent Checkbox & Footer Compliance */
.fm-consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 12.5px;
  color: #1E293B;
  line-height: 1.5;
  cursor: pointer;
}

.fm-consent-check input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #16A34A;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.fm-footer-compliance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  font-weight: 700;
  color: #BAE6FD;
}

.fm-footer-compliance span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fm-footer-compliance span::before {
  content: '✓';
  color: #4ADE80;
}

/* ==========================================================================
   SECTIONS, HEADINGS & SERVICE CARDS
   ========================================================================== */
.fm-section {
  padding: 72px 0;
}

.fm-section-muted {
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.fm-section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 44px;
}

.fm-section-head .fm-tag {
  margin-bottom: 12px;
}

.fm-section-title {
  font-size: 34px;
  font-weight: 800;
  color: #0F172A;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.24;
}

.fm-section-lead {
  font-size: 16px;
  color: #64748B;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}

.fm-sub-h2 {
  font-size: 32px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 14px;
}

.fm-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fm-service-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.28s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.fm-service-card:hover {
  transform: translateY(-4px);
  border-color: #16A34A;
  box-shadow: 0 16px 30px rgba(22, 163, 74, 0.1);
}

.fm-service-thumb {
  height: 165px;
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #E0F2FE;
}

.fm-service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.fm-service-card:hover .fm-service-img {
  transform: scale(1.05);
}

.fm-service-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.fm-service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.fm-icon-green { background: #DCFCE7; color: #16A34A; }
.fm-icon-blue  { background: #E0F2FE; color: #0284C7; }
.fm-icon-amber { background: #FEF3C7; color: #D97706; }

.fm-service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: #0F172A;
}

.fm-service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  flex-grow: 1;
  margin-bottom: 16px;
}

.fm-svc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.fm-svc-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 4px 10px;
  border-radius: 8px;
}

.fm-svc-meta-pill.is-accent {
  background: #DCFCE7;
  border-color: #A7F3D0;
  color: #15803D;
}

.fm-svc-card-foot {
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
  margin-top: auto;
}

.fm-service-link {
  font-size: 13px;
  font-weight: 700;
  color: #0284C7;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fm-service-link:hover {
  color: #15803D;
  text-decoration: underline;
}

/* ==========================================================================
   SPLIT CLINIC & KIDS CLUB SHOWCASE
   ========================================================================== */
.fm-split-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 48px;
  align-items: center;
}

.fm-media-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid #DCFCE7;
  background: #FFFFFF;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}

.fm-media-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #E0F2FE;
}

.fm-media-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fm-media-card-caption {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #E2E8F0;
  background: #FFFFFF;
}

.fm-media-caption-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #DCFCE7;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fm-media-card-caption strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: #0F172A;
}

.fm-media-card-caption span {
  display: block;
  font-size: 12.5px;
  color: #64748B;
}

.fm-split-body p {
  font-size: 15.5px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 16px;
}

.fm-check-grid-2 {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  padding: 0;
  margin: 20px 0 26px;
}

.fm-check-grid-2 li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
}

.fm-check-grid-2 li svg {
  color: #16A34A;
  flex-shrink: 0;
}

/* ==========================================================================
   MULTI-DENTIST TEAM CARDS & FEATURE BOX
   ========================================================================== */
.fm-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fm-team-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fm-team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #E0F2FE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  border: 3px solid #0284C7;
  overflow: hidden;
}

.fm-team-avatar.is-green {
  border-color: #16A34A;
  background: #DCFCE7;
}

.fm-team-avatar.is-amber {
  border-color: #F59E0B;
  background: #FEF3C7;
}

.fm-team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.fm-team-card h4 {
  font-size: 18px;
  color: #0F172A;
  margin-bottom: 4px;
}

.fm-team-role {
  font-size: 12.5px;
  font-weight: 700;
  color: #0284C7;
  margin-bottom: 10px;
}

.fm-team-role.is-green { color: #16A34A; }
.fm-team-role.is-amber { color: #D97706; }

.fm-team-card p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.fm-dentist-box {
  background: #F0FDF4;
  border-radius: 22px;
  padding: 42px;
  border: 1.5px solid #BBF7D0;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 40px;
  align-items: center;
}

.fm-dentist-avatar-wrap {
  text-align: center;
}

.fm-dentist-portrait {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: #FFFFFF;
  margin: 0 auto;
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.16);
  border: 4px solid #FFFFFF;
  overflow: hidden;
}

.fm-dentist-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.fm-dentist-badge {
  background: #FFFFFF;
  border: 1px solid #BBF7D0;
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  display: inline-block;
  margin-top: 14px;
  text-align: center;
}

.fm-dentist-badge strong {
  font-size: 15px;
  color: #0F172A;
  display: block;
}

.fm-dentist-badge small {
  font-size: 12px;
  font-weight: 700;
  color: #16A34A;
}

.fm-dentist-details h3 {
  font-size: 26px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
  line-height: 1.3;
}

.fm-dentist-role {
  font-size: 14px;
  font-weight: 700;
  color: #0284C7;
  margin-bottom: 14px;
}

.fm-dentist-bio {
  font-size: 15px;
  color: #475569;
  line-height: 1.68;
  margin-bottom: 20px;
}

.fm-team-support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.fm-team-support-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 26px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  align-items: center;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.fm-team-support-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid #16A34A;
  overflow: hidden;
  background: #DCFCE7;
}

.fm-team-support-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.fm-team-support-card h4 {
  margin: 0 0 4px;
  font-size: 18px;
  color: #0F172A;
}

.fm-team-support-card p {
  font-size: 13.5px;
  color: #475569;
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   INSURANCE, MEMBERSHIP & FIRST VISIT PANELS + REVIEWS
   ========================================================================== */
.fm-patient-info-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.fm-info-panel {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
}

.fm-info-panel.is-tinted {
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.fm-info-panel .fm-tag {
  margin-bottom: 12px;
  align-self: flex-start;
}

.fm-info-panel.is-tinted .fm-tag {
  background: #FFFFFF;
  color: #15803D;
}

.fm-info-panel h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 10px;
  line-height: 1.3;
}

.fm-info-panel > p {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 18px;
}

.fm-insurance-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.fm-insurance-pill {
  background: #FFFFFF;
  border: 1px solid #BAE6FD;
  color: #0C4A6E;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 10px;
}

.fm-mini-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.fm-mini-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
}

.fm-mini-step-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #DCFCE7;
  color: #15803D;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fm-mini-step strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 2px;
}

.fm-mini-step span {
  display: block;
  font-size: 12.5px;
  color: #64748B;
  line-height: 1.45;
}

/* Parent Reviews */
.fm-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fm-testi-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
}

.fm-testi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.fm-testi-stars {
  display: flex;
  gap: 3px;
  color: #F59E0B;
  font-size: 15px;
}

.fm-testi-source {
  font-size: 11px;
  font-weight: 700;
  color: #0369A1;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  padding: 3px 9px;
  border-radius: 9999px;
}

.fm-testi-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.64;
  margin-bottom: 16px;
  font-style: italic;
  flex-grow: 1;
}

.fm-testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
}

.fm-testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #15803D;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fm-testi-author strong {
  display: block;
  font-size: 14px;
  color: #0F172A;
  font-weight: 800;
}

.fm-testi-author span {
  font-size: 12px;
  color: #64748B;
  display: block;
}

.demo-content-tag {
  display: inline-block;
  background: #E0F2FE;
  color: #0369A1;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   PRACTICE CTA BANNER
   ========================================================================== */
.fm-cta-wrap {
  padding: 70px 0;
}

.fm-cta-wrap.is-muted-top {
  padding-top: 0;
}

.fm-cta-card {
  background: linear-gradient(135deg, #0C4A6E 0%, #0369A1 55%, #047857 100%);
  border-radius: 24px;
  padding: 44px 48px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: 0 20px 45px rgba(12, 74, 110, 0.2);
}

.fm-cta-copy {
  max-width: 620px;
}

.fm-cta-copy .fm-tag {
  background: rgba(255, 255, 255, 0.16);
  color: #BAE6FD;
  margin-bottom: 14px;
}

.fm-cta-copy h2 {
  font-size: 30px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 12px;
}

.fm-cta-copy p {
  font-size: 15.5px;
  color: #E0F2FE;
  line-height: 1.65;
  margin-bottom: 12px;
}

.fm-cta-meta {
  font-size: 13px;
  color: #BAE6FD;
  font-weight: 600;
}

.fm-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  min-width: 240px;
}

/* ==========================================================================
   ABOUT SUBPAGE & FACILITY GALLERY (view=about)
   ========================================================================== */
.fm-about-hero {
  padding: 52px 0 64px;
  background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 55%, #F0F9FF 100%);
  border-bottom: 1px solid #E2E8F0;
}

.fm-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 16px;
}

.fm-breadcrumb a {
  color: #0284C7;
  text-decoration: none;
}

.fm-breadcrumb a:hover {
  text-decoration: underline;
}

.fm-about-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.fm-about-quote {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-left: 4px solid #16A34A;
  border-radius: 0 14px 14px 0;
  padding: 18px 20px;
  margin: 20px 0;
}

.fm-about-quote p {
  font-size: 14.5px;
  font-style: italic;
  color: #1E293B;
  line-height: 1.65;
  margin-bottom: 8px;
}

.fm-about-quote cite {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 800;
  color: #15803D;
  display: block;
}

.fm-about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.fm-about-pillar {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 18px;
}

.fm-about-pillar strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
}

.fm-about-pillar span {
  display: block;
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
}

.fm-about-facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fm-about-facility-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fm-about-facility-card:hover {
  transform: translateY(-4px);
  border-color: #16A34A;
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.09);
}

.fm-about-facility-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #E0F2FE;
}

.fm-about-facility-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.fm-about-facility-card:hover .fm-about-facility-img img {
  transform: scale(1.04);
}

.fm-about-facility-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(12, 74, 110, 0.88);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  backdrop-filter: blur(6px);
}

.fm-about-facility-body {
  padding: 20px 22px 22px;
}

.fm-about-facility-body h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
}

.fm-about-facility-body p {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   SERVICES CATEGORY SWITCHER (view=family | children | preventive)
   ========================================================================== */
.fm-svc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.fm-svc-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: #FFFFFF;
  color: #475569;
  border: 1.5px solid #CBD5E1;
  transition: all 0.2s ease;
}

.fm-svc-tab:hover {
  border-color: #16A34A;
  color: #15803D;
  background: #F0FDF4;
}

.fm-svc-tab.is-active {
  background: #16A34A;
  color: #FFFFFF;
  border-color: #16A34A;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

/* ==========================================================================
   NEW PATIENTS GUIDE & ACCORDION (view=new-patients)
   ========================================================================== */
.fm-np-hero {
  padding: 52px 0 64px;
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
  border-bottom: 1px solid #E2E8F0;
}

.fm-np-hero-top {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.fm-np-hero-top .fm-hero-lead {
  margin: 0 auto 24px;
}

.fm-np-hero-top .fm-hero-actions {
  justify-content: center;
  margin-bottom: 16px;
}

.fm-np-quick-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.fm-np-quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  background: #FFFFFF;
  border: 1px solid #DCFCE7;
  padding: 6px 13px;
  border-radius: 9999px;
}

.fm-np-quick-pill svg {
  color: #16A34A;
  flex-shrink: 0;
}

.fm-np-welcome-card {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  background: #FFFFFF;
  border: 1.5px solid #DCFCE7;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.fm-np-welcome-media {
  position: relative;
  min-height: 360px;
  background: #E0F2FE;
}

.fm-np-welcome-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fm-np-media-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(12, 74, 110, 0.9);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.fm-np-welcome-body {
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fm-np-welcome-body h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
}

.fm-np-welcome-sub {
  font-size: 14.5px;
  color: #64748B;
  margin-bottom: 22px;
}

.fm-np-timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fm-np-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
}

.fm-np-timeline-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.fm-np-timeline-num {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #DCFCE7;
  color: #15803D;
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fm-np-timeline-item strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 2px;
}

.fm-np-timeline-item span {
  display: block;
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
}

.fm-np-plan-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 28px;
  align-items: start;
}

.fm-np-prep-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fm-np-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fm-np-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #1E293B;
  line-height: 1.5;
}

.fm-np-checklist li svg {
  color: #16A34A;
  flex-shrink: 0;
  margin-top: 2px;
}

.fm-np-coord-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.fm-np-coord-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid #86EFAC;
  flex-shrink: 0;
}

.fm-np-coord-card strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 3px;
}

.fm-np-coord-card span {
  display: block;
  font-size: 13px;
  color: #64748B;
  line-height: 1.45;
}

.fm-np-membership-box {
  background: #FFFFFF;
  border: 1px solid #BBF7D0;
  border-radius: 16px;
  padding: 20px;
  margin-top: 20px;
}

.fm-np-membership-box h4 {
  font-size: 16px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
}

.fm-np-membership-box > p {
  font-size: 13.5px;
  color: #475569;
  margin-bottom: 14px;
}

.fm-np-membership-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fm-np-perk-tile {
  background: #F0FDF4;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.fm-np-perk-tile strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #15803D;
  margin-bottom: 2px;
}

.fm-np-perk-tile span {
  display: block;
  font-size: 11.5px;
  color: #475569;
  font-weight: 700;
}

/* Split FAQ Accordion */
.fm-np-faq-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: start;
}

.fm-np-faq-side p {
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 22px;
}

.fm-np-faq-photo {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid #DCFCE7;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.fm-np-faq-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fm-np-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fm-np-faq-item {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fm-np-faq-item[open] {
  border-color: #86EFAC;
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.08);
}

.fm-np-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 800;
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fm-np-faq-item summary::-webkit-details-marker {
  display: none;
}

.fm-np-faq-toggle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.fm-np-faq-item[open] .fm-np-faq-toggle {
  background: #16A34A;
  color: #FFFFFF;
  transform: rotate(45deg);
}

.fm-np-faq-answer {
  padding: 0 22px 18px;
  font-size: 14px;
  color: #475569;
  line-height: 1.65;
}

/* ==========================================================================
   CONTACT SUBPAGE & CLINIC LOCATOR (view=contact)
   ========================================================================== */
.fm-ct-hero {
  padding: 52px 0 64px;
  background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 55%, #F0F9FF 100%);
  border-bottom: 1px solid #E2E8F0;
}

.fm-ct-hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 44px;
  align-items: center;
}

.fm-ct-channel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}

.fm-ct-channel-item {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.fm-ct-channel-item:hover {
  border-color: #16A34A;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.09);
}

.fm-ct-channel-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.fm-ct-channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #E0F2FE;
  color: #0284C7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fm-ct-channel-icon.is-green {
  background: #DCFCE7;
  color: #16A34A;
}

.fm-ct-channel-text {
  min-width: 0;
}

.fm-ct-channel-text small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  color: #64748B;
  margin-bottom: 2px;
}

.fm-ct-channel-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.3;
}

.fm-ct-channel-text span {
  display: block;
  font-size: 12.5px;
  color: #64748B;
}

.fm-ct-channel-arrow {
  color: #94A3B8;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.fm-ct-channel-item:hover .fm-ct-channel-arrow {
  color: #16A34A;
  transform: translateX(3px);
}

.fm-ct-locator-card {
  background: #0C4A6E;
  color: #FFFFFF;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 22px 48px rgba(12, 74, 110, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.fm-ct-locator-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.fm-ct-locator-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #BAE6FD;
}

.fm-ct-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22, 163, 74, 0.24);
  border: 1px solid rgba(74, 222, 128, 0.45);
  color: #DCFCE7;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
}

.fm-ct-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
}

.fm-ct-map-canvas {
  position: relative;
  height: 190px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #08334D;
  background-image:
    linear-gradient(to right, rgba(186, 230, 253, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(186, 230, 253, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  border: 1px solid rgba(186, 230, 253, 0.2);
  margin-bottom: 18px;
}

.fm-ct-map-road-h {
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 14px;
  background: rgba(2, 132, 199, 0.35);
  border-top: 1px solid rgba(186, 230, 253, 0.28);
  border-bottom: 1px solid rgba(186, 230, 253, 0.28);
}

.fm-ct-map-road-v {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 34%;
  width: 12px;
  background: rgba(2, 132, 199, 0.35);
  border-left: 1px solid rgba(186, 230, 253, 0.25);
  border-right: 1px solid rgba(186, 230, 253, 0.25);
}

.fm-ct-map-street-label {
  position: absolute;
  top: 40%;
  left: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #BAE6FD;
}

.fm-ct-map-pin-badge {
  position: absolute;
  top: 50%;
  left: 56%;
  transform: translate(-50%, -56%);
  background: #16A34A;
  color: #FFFFFF;
  padding: 9px 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.28), 0 10px 24px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.fm-ct-map-lot-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(12, 74, 110, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #E0F2FE;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
}

.fm-ct-hero-hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.fm-ct-hour-cell {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
}

.fm-ct-hour-cell small {
  display: block;
  font-size: 11px;
  color: #BAE6FD;
  font-weight: 600;
  margin-bottom: 2px;
}

.fm-ct-hour-cell strong {
  display: block;
  font-size: 13px;
  color: #FFFFFF;
  font-weight: 800;
}

.fm-ct-locator-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fm-ct-main-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 32px;
  align-items: start;
}

.fm-form-card {
  background: #FFFFFF;
  border: 1.5px solid #DCFCE7;
  border-radius: 20px;
  padding: 34px;
  box-shadow: 0 15px 35px rgba(22, 163, 74, 0.06);
}

.fm-ct-form-head {
  margin-bottom: 22px;
}

.fm-ct-form-head h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
}

.fm-ct-form-head p {
  font-size: 14px;
  color: #64748B;
  margin: 0;
}

.fm-form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #14532D;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
}

.fm-form-status.is-visible {
  display: block;
}

.fm-ct-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fm-ct-emergency-box {
  background: #FEF2F2;
  border: 1.5px solid #FECACA;
  border-radius: 18px;
  padding: 28px;
}

.fm-ct-emergency-badge {
  display: inline-block;
  background: #DC2626;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.fm-ct-emergency-box h3 {
  font-size: 20px;
  font-weight: 800;
  color: #7F1D1D;
  margin-bottom: 8px;
}

.fm-ct-emergency-box p {
  font-size: 14px;
  color: #991B1B;
  line-height: 1.6;
  margin-bottom: 18px;
}

.fm-ct-emergency-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fm-ct-side-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.fm-ct-side-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 14px;
}

.fm-ct-parking-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13.5px;
  color: #334155;
}

.fm-ct-parking-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.45;
}

.fm-ct-parking-list li svg {
  color: #16A34A;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   SUBPAGE HELPERS & FOOTER
   ========================================================================== */
.fm-subpage-hero {
  padding: 46px 0 32px;
  text-align: center;
}

.fm-subpage-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 30px 0;
}

.fm-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}

.fm-footer {
  background: #0F172A;
  color: #E2E8F0;
  padding: 60px 0 24px;
}

.fm-footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fm-footer-col h4 {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
}

.fm-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  padding: 0;
  margin: 0;
}

.fm-footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.fm-footer-links a:hover {
  color: #38BDF8;
}

.fm-footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: #94A3B8;
}

.fm-footer-bottom a {
  text-decoration: none;
}

.fm-footer-bottom a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1220px) {
  .fm-nav-list,
  .fm-nav-menu ul {
    gap: 6px;
  }
  .fm-nav-list a,
  .fm-nav-menu a {
    font-size: 12.5px;
    padding: 5px 10px;
  }
  .fm-header-actions .fm-btn-primary {
    padding: 8px 14px;
    font-size: 12px;
  }
  .fm-logo-text strong {
    font-size: 18px;
  }
  .fm-logo-text span {
    font-size: 10px;
  }
}

@media (max-width: 1060px) {
  .fm-header {
    top: 42px;
  }

  .fm-nav-menu {
    display: none;
  }

  .fm-mobile-toggle {
    display: flex;
  }

  .fm-hero-grid,
  .fm-dentist-box,
  .fm-about-hero-grid,
  .fm-split-grid,
  .fm-patient-info-grid,
  .fm-np-welcome-card,
  .fm-np-plan-grid,
  .fm-np-faq-layout,
  .fm-ct-hero-grid,
  .fm-ct-main-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .fm-np-welcome-card {
    gap: 0;
  }

  .fm-np-welcome-media {
    min-height: 280px;
  }

  .fm-hero-booking-row {
    grid-template-columns: 1fr 1fr;
  }

  .fm-hero-booking-row .fm-btn-primary {
    grid-column: 1 / -1;
  }

  .fm-services-grid,
  .fm-team-grid,
  .fm-testimonials-grid,
  .fm-metrics-grid,
  .fm-about-facility-grid,
  .fm-comfort-chips {
    grid-template-columns: repeat(2, 1fr);
  }

  .fm-team-support-grid,
  .fm-subpage-grid-2 {
    grid-template-columns: 1fr;
  }

  .fm-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
  }

  .fm-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }

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

@media (max-width: 768px) {
  .fm-stage-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .fm-life-stage-panel {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .fm-top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .fm-logo-text span {
    display: none;
  }

  .fm-header-actions .fm-btn-primary {
    padding: 8px 12px;
    font-size: 11px;
  }

  .fm-header-actions .fm-btn-primary svg {
    display: none;
  }

  .fm-hero,
  .fm-about-hero,
  .fm-np-hero,
  .fm-stages-section {
    padding: 40px 0 48px;
  }

  .fm-ct-hero {
    padding: 36px 0 44px;
  }

  .fm-hero-h1 {
    font-size: 32px;
  }

  .fm-section-title,
  .fm-sub-h2 {
    font-size: 26px;
  }

  .fm-photo-showcase {
    padding-bottom: 0;
  }

  .fm-floating-stat {
    position: static;
    margin-top: 14px;
    flex-direction: column;
    align-items: flex-start;
  }

  .fm-hero-booking-bar {
    padding: 20px;
    margin-top: 28px;
  }

  .fm-hero-booking-row {
    grid-template-columns: 1fr;
  }

  .fm-services-grid,
  .fm-team-grid,
  .fm-testimonials-grid,
  .fm-metrics-grid,
  .fm-about-facility-grid,
  .fm-about-pillars,
  .fm-check-grid-2,
  .fm-np-membership-perks,
  .fm-ct-hero-hours,
  .fm-ct-locator-actions,
  .fm-comfort-chips,
  .fm-plan-tabs {
    grid-template-columns: 1fr;
  }

  .fm-comfort-menu {
    padding: 22px 20px;
  }

  .fm-team-support-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .fm-dentist-box {
    padding: 24px 20px;
  }

  .fm-form-card,
  .fm-info-panel,
  .fm-ct-locator-card,
  .fm-ct-side-card,
  .fm-ct-emergency-box {
    padding: 22px 20px;
  }

  .fm-np-welcome-body {
    padding: 24px 20px;
  }

  .fm-np-coord-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .fm-cta-wrap {
    padding: 48px 0;
  }

  .fm-cta-card {
    padding: 28px 22px;
  }

  .fm-cta-copy h2 {
    font-size: 24px;
  }

  .fm-cta-actions {
    flex-direction: column;
    min-width: 0;
  }

  .fm-form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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