/*
Theme Name: Family Dental Center CT
Theme URI: https://www.familydentalcenterofconnecticut.com
Author: Family Dental Center of Connecticut
Author URI: https://www.familydentalcenterofconnecticut.com
Description: A professional, elegant WordPress theme for Family Dental Center of Connecticut. Features include appointment booking, patient forms, smile gallery, and insurance information pages.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: Private
Text Domain: fdcc-theme
Tags: dental, healthcare, professional, elegant
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --navy:        #0d2235;
  --navy-dark:   #081828;
  --teal:        #1a6b72;
  --teal-light:  #e8f4f5;
  --teal-mid:    #15565c;
  --gold:        #c9a96e;
  --gold-light:  #f7f0e4;
  --gold-dark:   #a8863d;
  --white:       #ffffff;
  --off-white:   #f9f7f4;
  --text-dark:   #1a1a2e;
  --text-mid:    #4a5568;
  --text-light:  #718096;
  --border:      #e2ddd6;
  --border-light:#f0ece6;
  --shadow-sm:   0 2px 12px rgba(13,34,53,0.06);
  --shadow-md:   0 8px 40px rgba(13,34,53,0.10);
  --shadow-lg:   0 20px 60px rgba(13,34,53,0.14);
  --radius-sm:   2px;
  --radius-md:   4px;
  --radius-lg:   8px;
  --font-serif:  'Cormorant Garamond', 'Georgia', serif;
  --font-sans:   'DM Sans', 'Helvetica Neue', sans-serif;
  --transition:  0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button { font-family: var(--font-sans); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--font-sans); }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.15;
  color: var(--navy);
}
h1 { font-size: clamp(40px, 5.5vw, 72px); }
h2 { font-size: clamp(30px, 3.5vw, 52px); }
h3 { font-size: clamp(20px, 2vw, 28px); }
h4 { font-size: 18px; font-weight: 400; }
h5 { font-size: 15px; font-weight: 500; font-family: var(--font-sans); }

p { line-height: 1.85; color: var(--text-mid); font-weight: 300; }

.serif { font-family: var(--font-serif); }
.gold  { color: var(--gold); }
.teal  { color: var(--teal); }
.white { color: var(--white); }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container      { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.container-sm   { max-width: 900px; margin: 0 auto; padding: 0 48px; }
.text-center    { text-align: center; }
.flex           { display: flex; }
.flex-center    { display: flex; align-items: center; justify-content: center; }
.grid-2         { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3         { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4         { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Section spacing */
.section        { padding: 96px 0; }
.section-sm     { padding: 64px 0; }
.section-lg     { padding: 120px 0; }

/* Section labels */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  color: var(--teal);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label--gold { color: var(--gold); }
.section-label--white { color: rgba(255,255,255,0.6); }

.section-title { margin-bottom: 20px; }
.section-title em { color: var(--teal); font-style: normal; }
.section-title--gold em { color: var(--gold); }
.section-title--white { color: var(--white); }

.section-desc {
  font-size: 15px;
  max-width: 580px;
  color: var(--text-mid);
}
.section-desc--white { color: rgba(255,255,255,0.88); }
.section-desc--center { margin: 0 auto; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border: 2px solid var(--teal);
}
.btn-primary:hover { background: var(--navy); border-color: var(--navy); color: white; }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}
.btn-gold:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: white; }

.btn-white {
  background: white;
  color: var(--teal);
  border: 2px solid white;
}
.btn-white:hover { background: var(--navy); color: white; border-color: var(--navy); }

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

.header-top-bar {
  background: var(--navy);
  padding: 8px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}
.header-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-top-bar a { color: rgba(255,255,255,0.65); }
.header-top-bar a:hover { color: var(--gold); }
.top-bar-links { display: flex; gap: 24px; align-items: center; }
.top-bar-contact { display: flex; gap: 24px; align-items: center; }
.top-bar-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.2); }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 48px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo svg {
  height: 46px;
  width: auto;
  max-width: 260px;
}
.nav-logo-primary {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}
.nav-logo-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .nav-logo svg {
    height: 38px;
    max-width: 200px;
  }
}
@media (max-width: 400px) {
  .nav-logo svg {
    height: 32px;
    max-width: 170px;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-mid);
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
  color: var(--teal);
  background: var(--teal-light);
}

/* Dropdown */
.nav-menu .dropdown { display: none; }
.nav-menu li:hover .dropdown {
  display: block;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 200px;
  box-shadow: var(--shadow-md);
  z-index: 100;
}
.nav-menu .dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--text-mid);
  transition: all var(--transition);
}
.nav-menu .dropdown li a:hover {
  background: var(--teal-light);
  color: var(--teal);
}

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-phone {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-phone svg { color: var(--teal); }
.nav-book { /* uses .btn .btn-primary */ }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--navy);
  transition: all var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero-left {
  padding: 96px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.28);
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 32px;
  width: fit-content;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.hero-badge span {
  font-size: 11px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero h1 {
  color: white;
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 14px;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  font-style: italic;
  margin-bottom: 28px;
}
.hero-desc {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255,255,255,0.85);
  max-width: 460px;
  margin-bottom: 44px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.hero-right {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #163248 0%, #0d2235 100%);
}
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  mix-blend-mode: luminosity;
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy) 0%, transparent 30%);
  z-index: 1;
}
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 2;
  background: rgba(13,34,53,0.6);
  backdrop-filter: blur(8px);
}
.hero-stat {
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.70);
}
.hero-decor-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.1);
  pointer-events: none;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--teal);
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}
.trust-item svg { opacity: 0.8; flex-shrink: 0; }
.trust-item span {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.88;
}
.trust-divider { width: 1px; height: 18px; background: rgba(255,255,255,0.2); }

/* ============================================
   LOCATIONS
   ============================================ */
.locations-section { background: var(--off-white); }
.location-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.location-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.location-card-header {
  background: var(--navy);
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
}
.location-card-header--teal { background: linear-gradient(135deg, var(--teal-mid), var(--teal)); }
.location-card-header::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.14);
  pointer-events: none;
}
.location-badge {
  display: inline-block;
  background: rgba(201,169,110,0.18);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.location-card-header h3 {
  color: white;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 4px;
}
.location-card-header p {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  font-weight: 400;
}
.location-card-body { padding: 32px 36px; }
.location-info { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.location-info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-icon { flex-shrink: 0; color: var(--teal); margin-top: 1px; }
.info-text { font-size: 14px; color: var(--text-mid); line-height: 1.65; }
.info-text strong { color: var(--text-dark); font-weight: 500; }
.location-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.location-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: all var(--transition);
}
.location-link:hover { color: var(--navy); }

/* ============================================
   SERVICES
   ============================================ */
.services-intro { text-align: center; margin-bottom: 56px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--navy);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.service-card {
  background: white;
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 0;
}
.service-card:hover::before { transform: scaleY(1); }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover .service-num { color: rgba(201,169,110,0.55); }
.service-card:hover .service-title { color: white; }
.service-card:hover .service-desc { color: rgba(255,255,255,0.88); }
.service-card:hover .service-icon svg { stroke: var(--gold); opacity: 0.8; }

.service-icon { margin-bottom: 16px; }
.service-num {
  font-family: var(--font-serif);
  font-size: 13px;
  color: #ccc;
  margin-bottom: 12px;
  font-weight: 300;
  transition: color var(--transition);
}
.service-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 10px;
  transition: color var(--transition);
  line-height: 1.25;
}
.service-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.75;
  font-weight: 300;
  transition: color var(--transition);
}
.services-cta { text-align: center; margin-top: 48px; }

/* ============================================
   APPOINTMENT BOOKING SECTION
   ============================================ */
.booking-section { background: var(--off-white); }
.booking-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.booking-info { padding-top: 16px; }
.booking-steps { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
.booking-step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--teal);
  flex-shrink: 0;
  font-weight: 400;
}
.step-content h4 { font-size: 15px; font-weight: 500; font-family: var(--font-sans); color: var(--navy); margin-bottom: 4px; }
.step-content p { font-size: 13px; color: var(--text-light); }

.booking-form-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.booking-form-header {
  background: var(--navy);
  padding: 28px 36px;
}
.booking-form-header h3 {
  color: white;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 4px;
}
.booking-form-header p { font-size: 13px; color: rgba(255,255,255,0.80); font-weight: 300; }

.booking-form { padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: white;
  box-shadow: 0 0 0 3px rgba(26,107,114,0.08);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-location-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.location-tab {
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 13px;
  color: var(--text-mid);
}
.location-tab.active,
.location-tab:hover {
  border-color: var(--teal);
  background: var(--teal-light);
  color: var(--teal);
}
.location-tab strong { display: block; font-weight: 500; color: inherit; font-size: 14px; }
.location-tab span { font-size: 11px; }
.form-submit .btn { width: 100%; justify-content: center; padding: 14px; }
.form-privacy {
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
  line-height: 1.6;
}
.form-privacy a { color: var(--teal); }
.tab32-embed-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--teal);
  font-weight: 500;
}
.tab32-embed-link:hover { color: var(--navy); }

/* ============================================
   PATIENT FORMS SECTION
   ============================================ */
.forms-section { background: white; }
.forms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.form-card-icon {
  width: 52px; height: 52px;
  background: var(--teal-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.form-card-icon svg { stroke: var(--teal); }
.form-card h4 {
  font-size: 17px;
  font-weight: 400;
  color: var(--navy);
  font-family: var(--font-serif);
}
.form-card p { font-size: 13px; color: var(--text-light); flex: 1; }
.form-card .btn { font-size: 11px; padding: 9px 18px; }
.forms-tab32-banner {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.forms-tab32-text h3 { color: white; font-size: 22px; font-weight: 400; margin-bottom: 6px; }
.forms-tab32-text p { color: rgba(255,255,255,0.80); font-size: 14px; }

/* ============================================
   SMILE GALLERY
   ============================================ */
.gallery-section { background: var(--off-white); }
.gallery-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 40px 0;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-mid);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  background: white;
  letter-spacing: 0.05em;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: #e8e4de;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,34,53,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption { color: white; }
.gallery-caption h5 { font-size: 14px; font-weight: 500; font-family: var(--font-sans); }
.gallery-caption p { font-size: 12px; color: rgba(255,255,255,0.6); }
.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 10px;
  padding: 20px;
  text-align: center;
}
.gallery-placeholder svg { opacity: 0.35; }
.gallery-placeholder span {
  font-size: 12px;
  color: var(--text-light);
  font-style: italic;
}

/* ============================================
   INSURANCE SECTION
   ============================================ */
.insurance-section { background: white; }
.insurance-intro { max-width: 680px; margin-bottom: 56px; }
.insurance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 48px; }
.insurance-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
}
.insurance-card:hover {
  border-color: var(--teal);
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.insurance-logo {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.insurance-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
}
.insurance-type { font-size: 11px; color: var(--text-light); }

.insurance-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.insurance-info-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
}
.insurance-info-card h4 { font-size: 18px; font-weight: 400; color: var(--navy); margin-bottom: 14px; font-family: var(--font-serif); }
.insurance-info-card ul { display: flex; flex-direction: column; gap: 10px; }
.insurance-info-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}
.insurance-info-card li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}
.insurance-note {
  background: var(--gold-light);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 24px;
}
.insurance-note svg { color: var(--gold-dark); flex-shrink: 0; margin-top: 2px; }
.insurance-note p { font-size: 14px; color: var(--text-mid); font-style: italic; }

/* ============================================
   ABOUT / PHILOSOPHY
   ============================================ */
.about-section { background: var(--navy); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-values { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
.about-value { display: flex; gap: 20px; align-items: flex-start; }
.value-accent {
  width: 2px; height: 44px;
  background: var(--gold);
  opacity: 0.75;
  flex-shrink: 0;
  margin-top: 2px;
}
.value-text h4 { font-size: 14px; font-weight: 500; color: white; margin-bottom: 5px; font-family: var(--font-sans); }
.value-text p { font-size: 13px; color: rgba(255,255,255,0.78); line-height: 1.7; font-weight: 300; }

.about-right-col { display: flex; flex-direction: column; gap: 20px; }
.about-quote {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,169,110,0.14);
  border-radius: var(--radius-md);
  padding: 40px;
  position: relative;
}
.quote-mark {
  font-family: var(--font-serif);
  font-size: 100px;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: 24px; left: 28px;
  pointer-events: none;
}
.about-quote blockquote {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 300;
  color: white;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.about-quote cite {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 400;
}
.about-tech-card {
  background: rgba(201,169,110,0.07);
  border: 1px solid rgba(201,169,110,0.14);
  border-radius: var(--radius-md);
  padding: 28px 32px;
}
.about-tech-title {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 400;
}
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tag {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section { background: var(--gold-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.testimonial-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid #e8dfc8;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-sm); }
.testimonial-stars { display: flex; gap: 3px; color: var(--gold); font-size: 14px; }
.testimonial-text {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f0e8d8;
  padding-top: 18px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--gold);
  font-weight: 400;
  flex-shrink: 0;
}
.testimonial-author-name { font-size: 14px; font-weight: 500; color: var(--navy); }
.testimonial-author-sub { font-size: 12px; color: var(--text-light); }
.testimonials-more { text-align: center; margin-top: 40px; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--teal);
  padding: 80px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  flex-shrink: 0;
}
.cta-phone-display {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  color: white;
}
.cta-phone-display strong { font-weight: 500; }

/* ============================================
   FOOTER
   ============================================ */
#site-footer { background: var(--text-dark); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: white;
  margin-bottom: 6px;
}
.footer-tagline {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-about-text { font-size: 13px; color: rgba(255,255,255,0.72); line-height: 1.85; font-weight: 300; }
.footer-col-title {
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,0.95); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.60); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.60);
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,0.90); }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 500;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.12);
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--teal); transform: translateY(-3px); }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
}
.page-hero h1 { color: white; font-size: 52px; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 16px; max-width: 560px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.breadcrumb a { color: rgba(255,255,255,0.45); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 400px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .insurance-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .forms-grid { grid-template-columns: 1fr 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
  .nav-menu, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .main-nav { padding: 0 24px; }
  .cta-banner { flex-direction: column; text-align: center; }
  .cta-banner-right { align-items: center; }
}

@media (max-width: 600px) {
  .hero-left { padding: 64px 24px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .insurance-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .forms-grid { grid-template-columns: 1fr; }
  .trust-bar { gap: 20px; padding: 18px 24px; }
  .trust-divider { display: none; }
}

/* ============================================
   DROPDOWN FIX — WordPress sub-menu support
   ============================================ */
.nav-menu > li { position: relative; }
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #e2ddd6;
  border-radius: 4px;
  min-width: 220px;
  box-shadow: 0 8px 40px rgba(13,34,53,0.12);
  z-index: 9999;
  padding: 6px 0;
  list-style: none;
  margin: 0;
}
.nav-menu > li:hover > .sub-menu { display: block; }
.nav-menu .sub-menu li { position: relative; }
.nav-menu .sub-menu li a {
  display: block;
  padding: 10px 22px;
  font-size: 13px;
  color: #4a5568;
  white-space: nowrap;
  transition: all 0.25s ease;
  background: none;
  border-radius: 0;
  letter-spacing: 0.02em;
}
.nav-menu .sub-menu li a:hover {
  background: #e8f4f5;
  color: #1a6b72;
  padding-left: 26px;
}

/* ============================================
   PAGE HERO — ANIMATED SCAN LINES
   ============================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 96px 0 80px;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 48px,
      rgba(26,107,114,0.07) 48px,
      rgba(26,107,114,0.07) 49px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(26,107,114,0.04) 48px,
      rgba(26,107,114,0.04) 49px
    );
  pointer-events: none;
  z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(201,169,110,0) 10%,
    rgba(201,169,110,0.7) 50%,
    rgba(26,107,114,0.6) 70%,
    transparent 100%
  );
  animation: scanline 4s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}
@keyframes scanline {
  0%   { top: -2px; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.page-hero-dots {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.page-hero-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(201,169,110,0.15);
  animation: pulse-dot 6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0.1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.3); }
}

/* Corner scan brackets */
.page-hero-bracket {
  position: absolute;
  width: 32px;
  height: 32px;
  z-index: 1;
  pointer-events: none;
}
.page-hero-bracket--tl {
  top: 24px; left: 32px;
  border-top: 1.5px solid rgba(201,169,110,0.4);
  border-left: 1.5px solid rgba(201,169,110,0.4);
}
.page-hero-bracket--tr {
  top: 24px; right: 32px;
  border-top: 1.5px solid rgba(201,169,110,0.4);
  border-right: 1.5px solid rgba(201,169,110,0.4);
}
.page-hero-bracket--bl {
  bottom: 24px; left: 32px;
  border-bottom: 1.5px solid rgba(201,169,110,0.4);
  border-left: 1.5px solid rgba(201,169,110,0.4);
}
.page-hero-bracket--br {
  bottom: 24px; right: 32px;
  border-bottom: 1.5px solid rgba(201,169,110,0.4);
  border-right: 1.5px solid rgba(201,169,110,0.4);
}

/* Horizontal accent lines */
.page-hero-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  z-index: 1;
  pointer-events: none;
  animation: fade-line 3s ease-in-out infinite alternate;
}
.page-hero-line--1 {
  top: 30%;
  background: linear-gradient(to right, transparent, rgba(26,107,114,0.2) 30%, rgba(26,107,114,0.2) 70%, transparent);
  animation-delay: 0s;
}
.page-hero-line--2 {
  top: 70%;
  background: linear-gradient(to right, transparent, rgba(201,169,110,0.12) 30%, rgba(201,169,110,0.12) 70%, transparent);
  animation-delay: 1.5s;
}
@keyframes fade-line {
  0%   { opacity: 0.3; }
  100% { opacity: 0.9; }
}

/* Radial glow behind text */
.page-hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(26,107,114,0.12) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   COMPREHENSIVE MOBILE & TABLET RESPONSIVE
   ============================================ */

/* ---- TABLET LANDSCAPE (1024px) ---- */
@media (max-width: 1024px) {
  .main-nav { padding: 0 32px; }
  .hero-left { padding: 72px 40px; }
  .hero h1 { font-size: clamp(36px, 4vw, 54px); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .booking-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .container { padding: 0 32px; }
  .section { padding: 72px 0; }
  .locations-grid,
  .loc-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .insurance-info-grid { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: 1fr 1fr; }
  .ins-grid { grid-template-columns: repeat(4,1fr); }
}

/* ---- TABLET PORTRAIT (768px — iPad) ---- */
@media (max-width: 768px) {
  /* Nav */
  .main-nav { padding: 0 20px; height: 64px; }
  .nav-menu, .nav-phone { display: none !important; }
  .nav-toggle { display: flex; }
  .header-top-bar { display: none; }

  /* Hero */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 56px 24px 40px; }
  .hero h1 { font-size: clamp(32px, 6vw, 48px); }
  .hero-subtitle { font-size: 16px; }
  .hero-desc { font-size: 14px; }
  .hero-right { min-height: 280px; }
  .hero-stats { grid-template-columns: repeat(3,1fr); }
  .hero-stat { padding: 16px 12px; }
  .hero-stat-num { font-size: 28px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Trust bar */
  .trust-bar { gap: 12px; padding: 14px 20px; flex-wrap: wrap; }
  .trust-divider { display: none; }
  .trust-item { font-size: 12px; }

  /* Sections */
  .section { padding: 56px 0; }
  .container { padding: 0 20px; }
  .section-title { font-size: clamp(26px, 5vw, 38px); }

  /* Locations */
  .locations-grid,
  .loc-grid { grid-template-columns: 1fr; }
  .location-card-header,
  .loc-head { padding: 24px; }
  .location-card-body,
  .loc-body { padding: 24px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card { padding: 28px 20px; }

  /* Booking form */
  .booking-grid { grid-template-columns: 1fr; gap: 32px; }
  .booking-form-card { margin: 0; }
  .booking-form { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 12px; }
  .form-location-tabs { grid-template-columns: 1fr 1fr; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-section { padding: 56px 20px; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonials-section { padding: 56px 0; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* Forms */
  .forms-grid { grid-template-columns: 1fr; gap: 14px; }
  .forms-tab32-banner { flex-direction: column; gap: 16px; padding: 24px; }

  /* Insurance */
  .ins-grid,
  .insurance-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .insurance-info-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Contact */
  .contact-grid,
  [style*="grid-template-columns:1.1fr 1fr"] { display: flex !important; flex-direction: column !important; gap: 32px !important; }

  /* Staff */
  [style*="grid-template-columns:1fr 1.4fr"] { display: flex !important; flex-direction: column !important; gap: 32px !important; }
  [style*="grid-template-columns:repeat(3,1fr)"].staff-grid { grid-template-columns: 1fr 1fr !important; }

  /* Technology / Dental Scanning */
  [style*="grid-template-columns:1fr 1fr"][style*="gap:72px"] { display: flex !important; flex-direction: column !important; gap: 32px !important; }

  /* Services page */
  [style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr 1fr !important; }
  [style*="grid-template-columns:1fr 1fr"][style*="gap:72px"] { display: flex !important; flex-direction: column !important; gap: 32px !important; }

  /* CTA banner */
  .cta-banner { padding: 48px 20px; flex-direction: column; text-align: center; }
  .cta-banner-right { align-items: center; width: 100%; }
  .cta-banner-right .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  #site-footer { padding: 48px 0 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }

  /* Page hero */
  .page-hero { padding: 64px 0 56px; }
  .page-hero h1 { font-size: clamp(28px, 6vw, 44px); }
  .page-hero p { font-size: 14px; padding: 0 16px; }
  .page-hero-bracket { display: none; }

  /* Testimonials rating bar */
  [style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: 1fr 1fr !important; }
}

/* ---- MOBILE (480px) ---- */
@media (max-width: 480px) {
  /* Nav */
  .nav-logo-primary { font-size: 16px; }
  .main-nav { height: 60px; padding: 0 16px; }

  /* Hero */
  .hero-left { padding: 48px 16px 36px; }
  .hero h1 { font-size: clamp(28px, 7vw, 40px); }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; }
  .hero-stat { padding: 12px 8px; }
  .hero-stat-num { font-size: 24px; }
  .hero-stat-label { font-size: 8px; }
  .hero-badge span { font-size: 9px; }

  /* Sections */
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; border: 1px solid var(--navy); }
  .service-card { padding: 24px 18px; }

  /* Insurance */
  .ins-grid,
  .insurance-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ins-card,
  .insurance-card { padding: 16px 10px; }
  .ins-name,
  .insurance-name { font-size: 11px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; }

  /* Forms */
  .forms-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-legal { flex-direction: column; gap: 8px; }

  /* Buttons */
  .btn { padding: 11px 20px; font-size: 11px; }
  .btn-gold { padding: 11px 20px; }

  /* Page hero */
  .page-hero { padding: 48px 0 44px; }
  .page-hero h1 { font-size: clamp(24px, 7vw, 36px); }
  .breadcrumb { flex-wrap: wrap; justify-content: center; gap: 4px; }

  /* Trust bar */
  .trust-bar { padding: 12px 16px; gap: 10px; }
  .trust-item span { font-size: 11px; }

  /* CTA */
  .cta-banner { padding: 40px 16px; }
  .cta-phone-display { font-size: 20px; }

  /* Staff credentials grid */
  [style*="grid-template-columns:1fr 1fr"].credentials { grid-template-columns: 1fr !important; }

  /* Booking steps */
  .booking-steps { gap: 20px; }

  /* About quote */
  .about-quote { padding: 28px 20px; }
  .about-quote blockquote { font-size: 16px; }

  /* Testimonial rating summary */
  [style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: 1fr 1fr !important; }
}

/* ---- SMALL MOBILE (375px — iPhone SE) ---- */
@media (max-width: 375px) {
  .hero h1 { font-size: 26px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat:last-child { display: none; }
  .container { padding: 0 14px; }
  .ins-grid,
  .insurance-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 24px; }
}

/* ---- MOBILE MENU STYLES — cleared, replaced below ---- */

/* ---- TOUCH DEVICE IMPROVEMENTS ---- */
@media (hover: none) {
  .service-card::before { display: none; }
  .service-card:hover .service-title { color: var(--navy); }
  .service-card:hover .service-desc { color: var(--text-light); }
  .location-card:hover { transform: none; }
  .form-card:hover { transform: none; }
  .insurance-card:hover { transform: none; }
  /* sub-menu hover handled by JS on touch devices */
}

/* ---- PRINT ---- */
@media print {
  .site-nav, .trust-bar, .cta-banner, #site-footer,
  .hero-actions, .back-to-top, .page-hero::after { display: none !important; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-right { display: none; }
  body { font-size: 12pt; color: #000; }
}

/* ============================================
   FONT SIZE IMPROVEMENTS
   ============================================ */

/* Base size bump — makes everything proportionally larger */
html { font-size: 17px; }

/* Body text */
p { font-size: 15px; }
.section-desc { font-size: 16px; }

/* Nav */
.nav-menu > li > a { font-size: 14px; }
.header-top-bar { font-size: 13px; }
.nav-phone { font-size: 15px; }

/* Service cards */
.service-desc { font-size: 14px; }
.service-title { font-size: 22px; }

/* Location cards */
.info-text { font-size: 15px; }
.location-link { font-size: 14px; }

/* Booking form */
.form-group label { font-size: 12px; }
.form-group input,
.form-group select,
.form-group textarea { font-size: 15px; padding: 12px 14px; }
.booking-form-header h3 { font-size: 22px; }
.booking-form-header p { font-size: 14px; }

/* Testimonials */
.testimonial-text { font-size: 19px; }
.testimonial-author-name { font-size: 15px; }
.testimonial-author-sub { font-size: 13px; }

/* Trust bar */
.trust-item span { font-size: 14px; }

/* Footer */
.footer-links a { font-size: 14px; }
.footer-about-text { font-size: 14px; }
.footer-copy { font-size: 13px; }
.footer-legal a { font-size: 13px; }
.footer-brand-name { font-size: 24px; }

/* Buttons */
.btn { font-size: 13px; padding: 14px 32px; }
.nav-cta, .nav-btn, .nav-book { font-size: 13px; }

/* Page hero */
.page-hero p { font-size: 17px; }
.page-hero h1 { font-size: clamp(36px, 4.5vw, 60px); }

/* Breadcrumb */
.breadcrumb { font-size: 13px; }

/* Section labels */
.section-label { font-size: 12px; }

/* Staff & about */
.value-text p { font-size: 14px; }
.value-text h4 { font-size: 15px; }
.step-content h4 { font-size: 15px; }
.step-content p { font-size: 14px; }

/* Insurance */
.insurance-name, .ins-name { font-size: 14px; }
.insurance-type, .ins-type { font-size: 12px; }

/* Forms page */
.form-card p { font-size: 14px; }
.form-card h4 { font-size: 18px; }

/* Gallery */
.gallery-caption h5 { font-size: 15px; }

/* Dropdown */
.nav-menu .sub-menu li a { font-size: 14px; }

/* About quote */
.about-quote blockquote { font-size: 22px; }
.quote-cite { font-size: 13px; }

/* Hero subtitle & desc */
.hero-subtitle { font-size: clamp(20px, 2.2vw, 28px); }
.hero-desc { font-size: 16px; }
.hero-badge span { font-size: 12px; }
.hero-stat-label { font-size: 11px; }
.hero-stat-num { font-size: 40px; }

/* CTA banner */
.cta-phone-display { font-size: 26px; }

/* Mobile overrides — keep readable on small screens */
@media (max-width: 768px) {
  html { font-size: 16px; }
  .section-desc { font-size: 15px; }
  .service-desc { font-size: 13px; }
  .page-hero p { font-size: 15px; }
  .testimonial-text { font-size: 17px; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  .hero-desc { font-size: 14px; }
  .page-hero p { font-size: 14px; }
}

/* ============================================
   ACCESSIBILITY — LARGER FONTS FOR OLDER PATIENTS
   ============================================ */

/* Bump base size — scales everything proportionally */
html { font-size: 18px; }

/* Body text — darker and more readable */
body {
  color: #374151;
  line-height: 1.8;
}

/* Paragraph text */
p { font-size: 16px; line-height: 1.85; color: #374151; }
.section-desc { font-size: 17px; line-height: 1.85; color: #374151; }

/* Light text — make darker for better contrast */
.text-light, [style*="color:var(--text-light)"] { color: #6b7280 !important; }
:root {
  --text-light: #6b7280;
  --text-mid: #4b5563;
}

/* Service card descriptions */
.service-desc { font-size: 15px; line-height: 1.8; }
.service-title { font-size: 22px; }

/* Location info */
.info-label { font-size: 13px; }
.info-text { font-size: 16px; font-weight: 500; }
.location-link { font-size: 15px; }

/* Booking form */
.form-group label { font-size: 14px; font-weight: 500; color: #374151; }
.form-group input,
.form-group select,
.form-group textarea { font-size: 16px; padding: 13px 16px; }

/* Trust bar */
.trust-item span { font-size: 15px; }

/* Testimonials */
.testimonial-text { font-size: 18px; line-height: 1.8; }
.testimonial-author-name { font-size: 16px; }
.testimonial-author-sub { font-size: 14px; }

/* Footer */
.footer-links a { font-size: 15px; line-height: 2; }
.footer-about-text { font-size: 15px; line-height: 1.85; }

/* Insurance */
.ins-name, .insurance-name { font-size: 15px; font-weight: 500; }

/* Nav dropdown */
.nav-menu .sub-menu li a { font-size: 15px; padding: 12px 22px; }

/* Page hero */
.page-hero p { font-size: 18px; }

/* Staff bio text */
.staff-bio p { font-size: 16px; line-height: 1.85; }

/* CTA banner */
.cta-phone-display { font-size: 30px; }

/* Buttons — slightly larger */
.btn { font-size: 14px; padding: 15px 34px; }

/* Mobile — scale back slightly */
@media (max-width: 768px) {
  html { font-size: 17px; }
  p { font-size: 15px; }
  .section-desc { font-size: 16px; }
}

@media (max-width: 480px) {
  html { font-size: 16px; }
  p { font-size: 14px; }
}

/* ============================================
   VISIBILITY IMPROVEMENTS — MATCH OLD SITE READABILITY
   ============================================ */

/* H1 — bolder and more impactful */
h1 {
  font-weight: 600 !important;
  letter-spacing: -0.02em;
}
.hero h1 {
  font-size: clamp(40px, 5vw, 72px) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
}

/* Hero subtitle — much more visible */
.hero-subtitle {
  font-size: clamp(20px, 2.5vw, 26px) !important;
  font-weight: 600 !important;
  color: white !important;
  letter-spacing: 0 !important;
  line-height: 1.5 !important;
}

/* Hero description paragraph */
.hero-desc {
  font-size: 17px !important;
  line-height: 1.9 !important;
  color: rgba(255,255,255,0.85) !important;
}

/* Section titles */
h2.section-title {
  font-weight: 500 !important;
  font-size: clamp(30px, 3.5vw, 52px) !important;
}

/* H3 card titles — bolder */
h3, h4 { font-weight: 500; }
.service-title { font-weight: 500 !important; font-size: 22px !important; }

/* All body paragraphs — darker and bigger */
p, li, td, th {
  font-size: 16px;
  line-height: 1.9;
  color: #374151;
}

/* Section description text */
.section-desc {
  font-size: 18px !important;
  line-height: 1.9 !important;
  color: #4b5563 !important;
}

/* Location cards info */
.info-text {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #1f2937 !important;
}

/* Trust bar — more visible */
.trust-item span {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #1f2937 !important;
}

/* Testimonial text — more readable */
.testimonial-text {
  font-size: 19px !important;
  line-height: 1.85 !important;
  color: #1f2937 !important;
}

/* Nav links — slightly bolder */
.nav-menu > li > a {
  font-weight: 500 !important;
  font-size: 15px !important;
}

/* Buttons — bigger and bolder */
.btn {
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  padding: 15px 36px !important;
}

/* Page hero title */
.page-hero h1 {
  font-size: clamp(34px, 4.5vw, 60px) !important;
  font-weight: 600 !important;
}
.page-hero p {
  font-size: 18px !important;
  color: rgba(255,255,255,0.75) !important;
  line-height: 1.8 !important;
}

/* Staff bio paragraphs */
.section-desc[style] {
  font-size: 16px !important;
  line-height: 1.9 !important;
}

/* ============================================
   TRUST BAR FIX — White text on teal background
   ============================================ */
.trust-bar {
  background: var(--teal) !important;
}
.trust-item {
  color: white !important;
}
.trust-item span {
  color: white !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}
.trust-item svg {
  color: white !important;
  stroke: white !important;
}
.trust-divider {
  background: rgba(255,255,255,0.3) !important;
}

/* ============================================
   COMPLETE MOBILE FIX — iOS & Android
   ============================================ */

/* Force proper box sizing */
*, *::before, *::after { box-sizing: border-box; }

/* Prevent horizontal scroll on mobile */
html, body { 
  overflow-x: hidden !important; 
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

/* ---- MOBILE HAMBURGER BUTTON FIX ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  z-index: 1001;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
  pointer-events: none;
}

/* ---- MOBILE MENU DRAWER ---- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 88vw;
  height: 100vh;
  background: white;
  z-index: 99999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: right 0.3s ease;
  box-shadow: -4px 0 40px rgba(13,34,53,0.2);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.mobile-menu.open {
  right: 0 !important;
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,34,53,0.55);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}
.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-inner {
  padding: 80px 28px 40px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* Close button inside mobile menu */
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  color: var(--navy);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Mobile nav links */
.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.mobile-nav-links li { border-bottom: 1px solid #f0ece6; }
.mobile-nav-links li a {
  display: block;
  padding: 16px 0;
  font-size: 17px;
  color: var(--navy);
  font-weight: 400;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-links li a:hover { color: var(--teal); }

/* Mobile sub-menu */
.mobile-nav-links .sub-menu {
  display: block !important;
  position: static !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
  padding: 0 0 8px 16px !important;
  margin: 0 !important;
  list-style: none;
}
.mobile-nav-links .sub-menu li { border-bottom: 1px solid #f7f4f0; }
.mobile-nav-links .sub-menu li a {
  font-size: 15px;
  color: var(--text-mid);
  padding: 12px 0;
}

/* Mobile action buttons */
.mobile-menu-actions {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-menu-actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* ---- LOCATIONS GRID FIX ---- */
@media (max-width: 900px) {
  /* Show hamburger */
  .nav-toggle { display: flex !important; }
  .nav-menu { display: none !important; }
  .nav-phone { display: none !important; }
  .nav-book { display: none !important; }
  .header-top-bar { display: none; }

  /* Locations — stack on mobile */
  .locations-grid,
  .loc-grid,
  [class*="locations"] { 
    grid-template-columns: 1fr !important; 
  }

  /* Hero */
  .hero {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  .hero-right { 
    min-height: 260px !important;
    height: 260px;
  }
  .hero-left { padding: 48px 20px 36px !important; }

  /* Stats */
  .hero-stats { grid-template-columns: repeat(3,1fr) !important; }

  /* Sections */
  .container { padding: 0 18px !important; }
  .section { padding: 52px 0 !important; }

  /* All 2-col grids → single col */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1.1fr 1fr"],
  [style*="grid-template-columns:1fr 1.4fr"],
  [style*="grid-template-columns:2fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
  }

  /* 3-col grids → 2 col */
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* CTA banner */
  .cta-banner {
    flex-direction: column !important;
    text-align: center !important;
    padding: 48px 20px !important;
  }
  .cta-banner-right { 
    align-items: center !important;
    width: 100% !important;
  }
  .cta-banner-right .btn { width: 100% !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
  #site-footer { padding: 48px 0 24px !important; }
  .footer-bottom { 
    flex-direction: column !important; 
    text-align: center !important;
    gap: 12px !important;
  }

  /* Forms */
  .form-row { grid-template-columns: 1fr !important; }
  .booking-grid { 
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }
}

@media (max-width: 600px) {
  /* Locations — definitely single column */
  .locations-grid { grid-template-columns: 1fr !important; }

  /* 3-col → single col */
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Footer single col */
  .footer-grid { grid-template-columns: 1fr !important; }
  .footer-legal { flex-direction: column !important; gap: 8px !important; }

  /* Trust bar */
  .trust-bar { 
    flex-direction: column !important;
    gap: 10px !important;
    padding: 16px 18px !important;
    align-items: flex-start !important;
  }
  .trust-divider { display: none !important; }

  /* Hero stats */
  .hero-stats { grid-template-columns: 1fr 1fr !important; }
  .hero-stat:last-child { display: none !important; }

  /* Buttons full width on small screens */
  .hero-actions { flex-direction: column !important; }
  .hero-actions .btn { width: 100% !important; justify-content: center !important; }

  /* Page hero */
  .page-hero { padding: 52px 0 44px !important; }
  .page-hero h1 { font-size: clamp(26px, 7vw, 38px) !important; }
  .page-hero p { font-size: 15px !important; padding: 0 16px !important; }
}

@media (max-width: 400px) {
  html { font-size: 15px !important; }
  .hero-left { padding: 40px 16px 28px !important; }
  .hero h1 { font-size: 28px !important; }
  .container { padding: 0 14px !important; }
}

/* ---- LOCATIONS GRID SPECIFIC FIX ---- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .location-card { width: 100% !important; }
  .location-card-header { padding: 24px 20px !important; }
  .location-card-body { padding: 24px 20px !important; }
  
  /* Insurance grid */
  .insurance-grid { grid-template-columns: repeat(2,1fr) !important; }
  
  /* Services grid */
  .services-grid { grid-template-columns: 1fr 1fr !important; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr !important; }

  /* Nav book button hide on mobile */
  .nav-book { display: none !important; }
}

@media (max-width: 500px) {
  .grid-2 { grid-template-columns: 1fr !important; }
  .services-grid { grid-template-columns: 1fr !important; }
  .insurance-grid { grid-template-columns: 1fr 1fr !important; }
  .hero-actions .btn { 
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Fix iOS tap delay */
a, button, .btn, .nav-toggle, .location-tab {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Fix iOS input zoom */
input, select, textarea {
  font-size: 16px !important;
}


/* ============================================================
   MOBILE MENU — CLEAN FINAL VERSION
   ============================================================ */
@media (max-width: 900px) {
  /* Show hamburger, hide desktop nav */
  .nav-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    z-index: 100;
    padding: 8px;
  }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    pointer-events: none;
  }
  .nav-menu { display: none !important; }
  .nav-phone { display: none !important; }
  .nav-book { display: none !important; }
  .header-top-bar { display: none !important; }

  /* Mobile menu drawer — controlled by JS, never hide with CSS */

  /* Mobile nav links styling */
  .mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
  }
  .mobile-nav-links li {
    border-bottom: 1px solid #f0ece6;
  }
  .mobile-nav-links li a {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 400;
  }
  .mobile-nav-links .sub-menu {
    display: block !important;
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 0 8px 16px !important;
    list-style: none;
  }
  .mobile-nav-links .sub-menu li a {
    font-size: 14px;
    color: var(--text-mid);
    padding: 10px 0;
  }
  .mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
  }
  .mobile-menu-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center;
  }
}


/* ============================================
   FINAL MENU FIX — Desktop & Mobile
   ============================================ */

/* Desktop dropdown */
.nav-menu > li { position: relative; }
.nav-menu > li > .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #e2ddd6;
  border-radius: 4px;
  min-width: 220px;
  box-shadow: 0 8px 40px rgba(13,34,53,0.12);
  z-index: 9999;
  padding: 6px 0;
  list-style: none;
  margin: 0;
}
.nav-menu > li:hover > .sub-menu { display: block !important; }
.nav-menu > li > .sub-menu li a {
  display: block;
  padding: 11px 22px;
  font-size: 14px;
  color: #4a5568;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.nav-menu > li > .sub-menu li a:hover {
  background: #e8f4f5;
  color: #1a6b72;
}

/* Mobile sub-menu — always visible inside drawer */
.mobile-nav-links .sub-menu {
  display: block !important;
  position: static !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
  padding: 0 0 8px 16px !important;
  list-style: none !important;
  min-width: 0 !important;
  width: auto !important;
  z-index: auto !important;
}
.mobile-nav-links .sub-menu li a {
  display: block !important;
  padding: 10px 0 !important;
  font-size: 14px !important;
  color: #4b5563 !important;
  border-bottom: 1px solid #f7f4f0 !important;
  white-space: normal !important;
}

/* Arrow indicator for parent items */
.nav-menu > li.menu-item-has-children > a::after {
  content: ' ▾';
  font-size: 10px;
  opacity: 0.6;
}

/* ============================================
   SENIOR-FRIENDLY FONT SIZE IMPROVEMENTS
   Large, clear, readable text for all patients
   ============================================ */

/* Base size — everything scales from this */
html { font-size: 18px !important; }

/* Body text */
body { 
  font-size: 17px !important; 
  line-height: 1.85 !important;
  color: #1f2937 !important;
}

/* Paragraphs */
p { 
  font-size: 16px !important; 
  line-height: 1.9 !important;
  color: #374151 !important;
}

/* Section descriptions */
.section-desc { 
  font-size: 17px !important; 
  line-height: 1.9 !important;
  color: #374151 !important;
}

/* Navigation */
.nav-menu > li > a { 
  font-size: 15px !important; 
  font-weight: 500 !important;
}
.nav-phone { font-size: 15px !important; font-weight: 500 !important; }

/* Hero section */
.hero h1 { font-size: clamp(36px, 5vw, 68px) !important; }
.hero-subtitle { font-size: clamp(18px, 2.5vw, 26px) !important; font-weight: 600 !important; }
.hero-desc { font-size: 17px !important; line-height: 1.9 !important; }
.hero-badge span { font-size: 13px !important; }
.hero-stat-num { font-size: 38px !important; }
.hero-stat-label { font-size: 11px !important; }

/* Service cards */
.service-title { font-size: 20px !important; font-weight: 500 !important; }
.service-desc { font-size: 15px !important; line-height: 1.8 !important; }
.service-num { font-size: 11px !important; }

/* Location cards */
.info-text { font-size: 16px !important; font-weight: 500 !important; color: #1f2937 !important; }
.info-label { font-size: 11px !important; }
.location-link { font-size: 14px !important; }

/* Trust bar */
.trust-item span { 
  font-size: 15px !important; 
  font-weight: 500 !important;
  color: white !important;
}

/* Booking form */
.booking-form-header h3 { font-size: 22px !important; }
.booking-form-header p { font-size: 15px !important; }
.form-group label { font-size: 13px !important; font-weight: 500 !important; }
.form-group input,
.form-group select,
.form-group textarea { font-size: 16px !important; padding: 13px 16px !important; }

/* Testimonials */
.testimonial-text { font-size: 18px !important; line-height: 1.85 !important; }
.testimonial-author-name { font-size: 15px !important; font-weight: 500 !important; }
.testimonial-author-sub { font-size: 13px !important; }

/* Page hero */
.page-hero h1 { font-size: clamp(32px, 4.5vw, 58px) !important; font-weight: 600 !important; }
.page-hero p { font-size: 18px !important; line-height: 1.8 !important; }

/* Section titles */
.section-title { font-size: clamp(28px, 3.5vw, 50px) !important; }
.section-label { font-size: 12px !important; letter-spacing: 0.12em !important; }

/* Footer */
.footer-links a { font-size: 15px !important; line-height: 2.2 !important; }
.footer-about-text { font-size: 14px !important; line-height: 1.9 !important; }
.footer-brand-name { font-size: 22px !important; }
.footer-copy { font-size: 13px !important; }

/* Buttons */
.btn { 
  font-size: 13px !important; 
  font-weight: 600 !important;
  padding: 14px 32px !important;
  letter-spacing: 0.05em !important;
}

/* Insurance */
.ins-name, .insurance-name { font-size: 14px !important; font-weight: 500 !important; }

/* Dropdown nav */
.nav-menu .sub-menu li a { font-size: 14px !important; padding: 11px 22px !important; }

/* Mobile menu links */
.mobile-nav-links li a { font-size: 18px !important; }
.mobile-nav-links .sub-menu li a { font-size: 15px !important; }

/* CTA banner */
.cta-phone-display { font-size: 28px !important; }
.cta-banner h2 { font-size: clamp(24px, 3vw, 40px) !important; }

/* Headings */
h1 { font-size: clamp(32px, 4vw, 60px) !important; }
h2 { font-size: clamp(26px, 3vw, 48px) !important; }
h3 { font-size: clamp(20px, 2.5vw, 30px) !important; }
h4 { font-size: 19px !important; }
h5 { font-size: 16px !important; }

/* Mobile adjustments */
@media (max-width: 768px) {
  html { font-size: 17px !important; }
  p { font-size: 16px !important; }
  .section-desc { font-size: 16px !important; }
  .hero-desc { font-size: 16px !important; }
  .page-hero p { font-size: 16px !important; }
  .testimonial-text { font-size: 17px !important; }
  .btn { padding: 13px 24px !important; }
}

@media (max-width: 480px) {
  html { font-size: 16px !important; }
  p { font-size: 15px !important; }
  .section-desc { font-size: 15px !important; }
  .mobile-nav-links li a { font-size: 17px !important; }
}

/* Logo size fix */
.nav-logo svg {
  height: 56px !important;
  width: auto !important;
  max-width: 340px !important;
}
@media (max-width: 768px) {
  .nav-logo svg { height: 44px !important; max-width: 260px !important; }
}
@media (max-width: 480px) {
  .nav-logo svg { height: 36px !important; max-width: 200px !important; }
}

/* Logo size v3 — 75px */
.nav-logo svg {
  height: 75px !important;
  width: auto !important;
  max-width: 420px !important;
}
.main-nav { height: 90px !important; }
@media (max-width: 768px) {
  .nav-logo svg { height: 50px !important; max-width: 280px !important; }
  .main-nav { height: 70px !important; }
}
@media (max-width: 480px) {
  .nav-logo svg { height: 40px !important; max-width: 220px !important; }
  .main-nav { height: 64px !important; }
}

/* Bold typography section removed */

/* ============================================
   FONT SIZE & CONTRAST FINAL FIX
   All pages — readable for older patients
   ============================================ */

/* Base font bump */
html { font-size: 17px !important; }
body { font-size: 16px !important; line-height: 1.85 !important; color: #1f2937 !important; }

/* All paragraphs */
p { font-size: 16px !important; line-height: 1.85 !important; color: #1f2937 !important; }

/* Inline styles with small font sizes — override */
[style*="font-size:13px"] { font-size: 15px !important; }
[style*="font-size:14px"] { font-size: 15px !important; }
[style*="font-size:12px"] { font-size: 14px !important; }
[style*="font-size:11px"] { font-size: 13px !important; }
[style*="font-size:10px"] { font-size: 12px !important; }

/* Fix dark text on dark backgrounds */
/* Navy background sections — force white text */
[style*="background:var(--navy)"] p,
[style*="background:#0d2235"] p,
[style*="background:var(--navy)"] span,
[style*="background:var(--navy)"] li,
[style*="background:var(--navy)"] div,
[style*="background:var(--navy)"] a {
  color: rgba(255,255,255,0.88) !important;
}

/* Teal background — force white text */  
[style*="background:var(--teal)"] p,
[style*="background:var(--teal)"] span,
[style*="background:var(--teal)"] li {
  color: rgba(255,255,255,0.9) !important;
}

/* text-light on white backgrounds — make darker */
.text-light,
[style*="color:var(--text-light)"] {
  color: #4b5563 !important;
}
[style*="color:var(--text-mid)"] {
  color: #374151 !important;
}

/* Section descriptions */
.section-desc { font-size: 17px !important; color: #374151 !important; }

/* Staff page bio paragraphs */
.section-desc[style],
[style*="max-width:none"] { 
  font-size: 16px !important; 
  color: #374151 !important;
  line-height: 1.9 !important;
}

/* Credential and benefit list items */
[style*="font-size:14px;color:var(--text-mid)"],
[style*="font-size:13px;color:var(--text-light)"] {
  font-size: 16px !important;
  color: #374151 !important;
}

/* Services page card descriptions */
[style*="font-size:13px;color:var(--text-light);line-height"] {
  font-size: 15px !important;
  color: #374151 !important;
}

/* Contact page info */
[style*="font-size:15px;font-weight:500;color:var(--navy)"] {
  font-size: 16px !important;
}

/* Insurance page */
[style*="font-size:14px;color:var(--text-mid)"] {
  font-size: 15px !important;
  color: #374151 !important;
}

/* Location info rows */
.info-text { font-size: 16px !important; color: #0d2235 !important; font-weight: 500 !important; }
.info-label { font-size: 12px !important; color: #6b7280 !important; }

/* Trust bar */
.trust-item span { font-size: 15px !important; font-weight: 500 !important; color: white !important; }

/* Nav */
.nav-menu > li > a { font-size: 15px !important; font-weight: 500 !important; }

/* Page hero */
.page-hero h1 { font-size: clamp(32px, 4.5vw, 58px) !important; }
.page-hero p { font-size: 17px !important; color: rgba(255,255,255,0.85) !important; }

/* Testimonials */
.testimonial-text { font-size: 18px !important; line-height: 1.8 !important; color: #1f2937 !important; }
.testimonial-author-name { font-size: 15px !important; font-weight: 600 !important; color: #0d2235 !important; }

/* Footer links */
.footer-links a { font-size: 15px !important; color: rgba(255,255,255,0.65) !important; }
.footer-about-text { font-size: 14px !important; color: rgba(255,255,255,0.55) !important; }

/* Buttons */
.btn { font-size: 13px !important; font-weight: 600 !important; }

/* Section titles */
.section-title { font-size: clamp(28px, 3.5vw, 48px) !important; }

/* H4 headings in cards */
h4[style] { font-size: 19px !important; }

/* Mobile */
@media (max-width: 768px) {
  html { font-size: 16px !important; }
  p { font-size: 15px !important; }
  .section-desc { font-size: 16px !important; }
  .page-hero p { font-size: 15px !important; }
}

/* ============================================
   CLEAN READABLE TYPOGRAPHY
   Matching familydentalofconnecticut.com style
   ============================================ */

/* Base — clean and readable */
html { font-size: 18px !important; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 17px !important;
  line-height: 1.85 !important;
  color: #1a1a1a !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* All paragraphs — very readable */
p {
  font-size: 17px !important;
  line-height: 1.85 !important;
  color: #2d2d2d !important;
  font-family: 'DM Sans', sans-serif !important;
}

/* Section descriptions */
.section-desc {
  font-size: 18px !important;
  line-height: 1.9 !important;
  color: #2d2d2d !important;
}

/* List items */
li {
  font-size: 17px !important;
  line-height: 1.85 !important;
  color: #2d2d2d !important;
}

/* All dark text on light backgrounds */
.location-card-body p,
.location-card-body span,
.info-text {
  font-size: 16px !important;
  color: #1a1a1a !important;
  font-weight: 500 !important;
}

/* Service card text */
.service-desc {
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: #2d2d2d !important;
}

/* Testimonial text */
.testimonial-text {
  font-size: 18px !important;
  line-height: 1.85 !important;
  color: #1a1a1a !important;
}

/* Nav links */
.nav-menu > li > a {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #1a1a1a !important;
}

/* All inline small text — bump up */
[style*="font-size:13px"],
[style*="font-size:14px"] {
  font-size: 16px !important;
  color: #2d2d2d !important;
}
[style*="font-size:12px"] {
  font-size: 14px !important;
}

/* h4 inside cards */
[style*="font-size:18px"],
[style*="font-size:17px"] {
  font-size: 19px !important;
}

/* White text sections — keep white but readable */
.location-card-header p,
[style*="background:var(--navy)"] p,
[style*="background:var(--navy)"] div,
[style*="background:var(--navy)"] span,
[style*="background:var(--teal)"] p {
  color: rgba(255,255,255,0.92) !important;
  font-size: 15px !important;
}

/* Footer text */
.footer-about-text {
  font-size: 15px !important;
  color: rgba(255,255,255,0.75) !important;
  line-height: 1.85 !important;
}
.footer-links a {
  font-size: 15px !important;
  color: rgba(255,255,255,0.75) !important;
}

/* Mobile */
@media (max-width: 768px) {
  html { font-size: 17px !important; }
  body, p { font-size: 16px !important; }
  .section-desc { font-size: 17px !important; }
}
@media (max-width: 480px) {
  html { font-size: 16px !important; }
  body, p { font-size: 15px !important; }
}

/* ============================================
   iPHONE FIX — Logo size & Doctor photos
   ============================================ */

/* LOGO — bigger on all mobile screens */
.nav-logo svg {
  height: 60px !important;
  width: auto !important;
  max-width: 380px !important;
}

/* Ensure nav has enough height for logo */
.main-nav {
  height: auto !important;
  min-height: 80px !important;
  padding: 10px 32px !important;
}

@media (max-width: 768px) {
  /* Logo on iPhone/tablet */
  .nav-logo svg {
    height: 52px !important;
    max-width: 300px !important;
  }
  .main-nav {
    min-height: 72px !important;
    padding: 8px 20px !important;
  }

  /* Doctor photos — stack properly on mobile */
  /* Override the 2-col grid to single column */
  .section > .container > [style*="grid-template-columns:1fr 1.4fr"],
  .section > .container > [style*="grid-template-columns: 1fr 1.4fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }

  /* Make doctor photo show properly */
  [style*="grid-template-columns:1fr 1.4fr"] > div:first-child {
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
  }

  /* Doctor image sizing on mobile */
  [style*="grid-template-columns:1fr 1.4fr"] img {
    width: 100% !important;
    height: auto !important;
    max-height: 380px !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
  }

  /* Doctor photo container */
  [style*="border-radius:4px;overflow:hidden;position:relative;border:3px solid"] {
    aspect-ratio: 3/4 !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 480px) {
  .nav-logo svg {
    height: 44px !important;
    max-width: 240px !important;
  }
  .main-nav {
    min-height: 64px !important;
    padding: 6px 16px !important;
  }

  /* Doctor photo full width on small phone */
  [style*="border-radius:4px;overflow:hidden;position:relative;border:3px solid"] {
    max-width: 280px !important;
  }
}

/* Hero heading on iPhone — bigger */
@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(32px, 7vw, 52px) !important;
    line-height: 1.15 !important;
  }
  .hero-subtitle {
    font-size: clamp(18px, 4vw, 24px) !important;
  }
  .page-hero h1 {
    font-size: clamp(28px, 7vw, 48px) !important;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(28px, 8vw, 42px) !important;
  }
  .hero-subtitle {
    font-size: 18px !important;
  }
  .page-hero h1 {
    font-size: clamp(26px, 8vw, 38px) !important;
  }
}

/* Staff doctor grid — mobile fix */
@media (max-width: 768px) {
  .staff-doctor-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }
  .staff-doctor-grid > div:first-child {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }
  .staff-doctor-grid > div:first-child img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3/4 !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
    border-radius: 4px !important;
  }
  .staff-doctor-grid > div:first-child > div {
    max-width: 320px !important;
    margin: 0 auto !important;
  }
}

/* ============================================
   STAFF PAGE — CLASS-BASED COMPONENTS
   Replaces fragile inline styles for mobile
   ============================================ */

/* Doctor grid — 2-col on desktop, stacked on mobile */
.staff-doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}

/* Photo column */
.staff-photo-col {
  width: 100%;
}

/* Photo frame */
.staff-photo-frame {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 48px rgba(13,34,53,0.15);
}
.staff-photo-frame--gold { border: 3px solid var(--gold); }
.staff-photo-frame--teal { border: 3px solid var(--teal); }

/* Doctor photo image */
.staff-photo-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Gradient bar at bottom of photo */
.staff-photo-gradient {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
}
.staff-photo-gradient--gold-teal {
  background: linear-gradient(to right, var(--gold), var(--teal));
}
.staff-photo-gradient--teal-gold {
  background: linear-gradient(to right, var(--teal), var(--gold));
}

/* Credential badges grid */
.staff-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.staff-badge {
  border-radius: 3px;
  padding: 14px;
  text-align: center;
}
.staff-badge--navy { background: var(--navy); }
.staff-badge--teal  { background: var(--teal); }

.staff-badge-num {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
}
.staff-badge-num--white { color: white; }

.staff-badge-label {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}
.staff-badge-label--teal { color: rgba(255,255,255,0.65); }

/* Bio column */
.staff-bio-col { width: 100%; }
/* ================================================
   FDCC RESPONSIVE NAV — SINGLE DEFINITIVE BLOCK
   Written fresh — no conflicts
   ================================================ */

/* --- Logo container --- */
.nav-logo {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}
.nav-logo-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
}

/* --- Logo icon --- */
.nav-logo-icon {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
}
img.nav-logo-img {
  display: block !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  /* Default desktop size */
  width: 46px !important;
  height: 46px !important;
}

/* --- Logo text --- */
.nav-logo-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 1px !important;
  overflow: visible !important;
  flex-shrink: 1 !important;
}

/* Practice name */
.nav-logo-name {
  display: block !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 700 !important;
  color: #0d2235 !important;
  white-space: nowrap !important;
  line-height: 1.1 !important;
  /* Desktop */
  font-size: 17px !important;
}

/* OF CONNECTICUT — always visible on ALL screens */
.nav-logo-sub {
  display: block !important;
  font-family: Arial, sans-serif !important;
  font-weight: 700 !important;
  color: #22b5a0 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  line-height: 1.3 !important;
  visibility: visible !important;
  opacity: 1 !important;
  /* Desktop */
  font-size: 9px !important;
  letter-spacing: 3px !important;
}

/* Tagline — show on tablet and up */
.nav-logo-tag {
  font-family: Arial, sans-serif !important;
  font-weight: 500 !important;
  color: #666 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  line-height: 1.3 !important;
  /* Show on tablet+ */
  display: block !important;
  font-size: 7px !important;
  letter-spacing: 1.5px !important;
  opacity: 0.8 !important;
}

/* ================================================
   DESKTOP >1200px
   ================================================ */
@media (min-width: 1201px) {
  .main-nav        { height: 72px !important; padding: 0 40px !important; }
  img.nav-logo-img { width: 52px !important; height: 52px !important; }
  .nav-logo-name   { font-size: 18px !important; }
  .nav-logo-sub    { font-size: 9px !important; letter-spacing: 3px !important; }
  .nav-logo-tag    { display: block !important; font-size: 7.5px !important; letter-spacing: 2px !important; }
  .nav-menu        { display: flex !important; }
  .nav-actions     { display: flex !important; }
  .nav-toggle      { display: none !important; }
}

/* ================================================
   LAPTOP 1025–1200px
   ================================================ */
@media (min-width: 1025px) and (max-width: 1200px) {
  .main-nav        { height: 64px !important; padding: 0 24px !important; }
  img.nav-logo-img { width: 42px !important; height: 42px !important; }
  .nav-logo-inner  { gap: 8px !important; }
  .nav-logo-name   { font-size: 15px !important; }
  .nav-logo-sub    { font-size: 8px !important; letter-spacing: 2.5px !important; }
  .nav-logo-tag    { display: block !important; font-size: 7px !important; letter-spacing: 1.5px !important; }
  .nav-menu        { display: flex !important; gap: 0 !important; }
  .nav-menu > li > a { font-size: 12.5px !important; padding: 8px 9px !important; }
  .nav-actions     { display: flex !important; }
  .nav-toggle      { display: none !important; }
}

/* ================================================
   TABLET LANDSCAPE / SURFACE 769–1024px
   Hamburger. Show tagline in header.
   ================================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .main-nav        { height: 64px !important; padding: 0 20px !important; }
  img.nav-logo-img { width: 38px !important; height: 38px !important; }
  .nav-logo-inner  { gap: 8px !important; }
  .nav-logo-name   { font-size: 15px !important; }
  .nav-logo-sub    { font-size: 8px !important; letter-spacing: 2px !important; }
  .nav-logo-tag    { display: block !important; font-size: 7px !important; letter-spacing: 1.5px !important; }
  .nav-menu        { display: none !important; }
  .nav-actions     { display: none !important; }
  .nav-toggle      { display: flex !important; }
}

/* ================================================
   TABLET PORTRAIT / LARGE PHONE 481–768px
   ================================================ */
@media (min-width: 481px) and (max-width: 768px) {
  .main-nav        { height: auto !important; min-height: 58px !important; padding: 8px 16px !important; }
  img.nav-logo-img { width: 34px !important; height: 34px !important; }
  .nav-logo-inner  { gap: 8px !important; }
  .nav-logo-name   { font-size: 14px !important; }
  .nav-logo-sub    { font-size: 8px !important; letter-spacing: 2px !important; }
  .nav-logo-tag    { display: block !important; font-size: 6.5px !important; letter-spacing: 1px !important; }
  .nav-menu        { display: none !important; }
  .nav-actions     { display: none !important; }
  .nav-toggle      { display: flex !important; }
}

/* ================================================
   MOBILE PHONE 361–480px (iPhone 12 Pro = 390px)
   ================================================ */
@media (min-width: 361px) and (max-width: 480px) {
  .main-nav        { height: auto !important; min-height: 56px !important; padding: 8px 14px !important; }
  img.nav-logo-img { width: 32px !important; height: 32px !important; }
  .nav-logo-inner  { gap: 7px !important; }
  .nav-logo-name   { font-size: 13px !important; }
  .nav-logo-sub    { font-size: 7.5px !important; letter-spacing: 1.5px !important; }
  .nav-logo-tag    { display: block !important; font-size: 6px !important; letter-spacing: 0.8px !important; }
  .nav-menu        { display: none !important; }
  .nav-actions     { display: none !important; }
  .nav-toggle      { display: flex !important; }
}

/* ================================================
   SMALL PHONE ≤360px (iPhone SE)
   ================================================ */
@media (max-width: 360px) {
  .main-nav        { height: auto !important; min-height: 52px !important; padding: 6px 12px !important; }
  img.nav-logo-img { width: 30px !important; height: 30px !important; }
  .nav-logo-inner  { gap: 6px !important; }
  .nav-logo-name   { font-size: 12px !important; }
  .nav-logo-sub    { font-size: 7px !important; letter-spacing: 1px !important; }
  .nav-logo-tag    { display: block !important; font-size: 5.5px !important; letter-spacing: 0.5px !important; }
  .nav-menu        { display: none !important; }
  .nav-actions     { display: none !important; }
  .nav-toggle      { display: flex !important; }
}

/* ================================================
   PAYMENT PLANS — match nav links exactly
   ================================================ */
.nav-menu a[href*="payment-plans"] {
  background: transparent !important;
  color: #1a1a1a !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
  text-transform: none !important;
  padding: 8px 14px !important;
  border: none !important;
  border-radius: 4px !important;
  display: block !important;
  transition: all 0.2s !important;
}
.nav-menu a[href*="payment-plans"]::before { display: none !important; content: none !important; }
.nav-menu a[href*="payment-plans"]:hover { color: var(--teal) !important; background: var(--teal-light) !important; }

/* ================================================
   BOOK APPOINTMENT BUTTON
   ================================================ */
.btn.nav-book, a.nav-book {
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 9px 16px !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
}

/* ================================================
   MOBILE MENU ACCORDION
   ================================================ */
.mobile-menu .sub-menu,
.mobile-menu .dropdown,
.mobile-nav-links .sub-menu,
.mobile-nav-links .dropdown {
  display: none !important;
  background: #f8f7f5 !important;
  border-top: 1px solid #e5e7eb !important;
  padding: 0 !important;
  position: static !important;
  box-shadow: none !important;
  list-style: none !important;
  margin: 0 !important;
}
.mobile-nav-links .sub-menu.is-open,
.mobile-nav-links .dropdown.is-open {
  display: block !important;
}
.mobile-nav-links > li > a {
  font-size: 16px !important;
  font-weight: 500 !important;
  padding: 15px 20px !important;
  color: #0d2235 !important;
  border-bottom: 1px solid #e5e7eb !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.mobile-nav-links li.menu-item-has-children > a::after {
  content: '›' !important;
  font-size: 20px !important;
  color: #22b5a0 !important;
  transition: transform 0.2s !important;
}
.mobile-nav-links li.is-open > a::after {
  transform: rotate(90deg) !important;
}
.mobile-nav-links .sub-menu li a {
  display: block !important;
  padding: 12px 28px !important;
  font-size: 14px !important;
  color: #4a5568 !important;
  border-bottom: 1px solid #e5e7eb !important;
  font-weight: 400 !important;
}
.mobile-nav-links a[href*="payment-plans"] {
  background: transparent !important;
  color: #0d2235 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  padding: 15px 20px !important;
  border-radius: 0 !important;
  border-bottom: 1px solid #e5e7eb !important;
  display: block !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  margin: 0 !important;
}
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  cursor: pointer;
}
.mobile-overlay.open { display: block; }

/* ================================================
   HERO IMAGE — Responsive positioning
   Keeps both doctors visible on all screen sizes
   ================================================ */

/* Default — show both doctors centered */
img.hero-img {
  object-position: 30% top !important;
}

/* Desktop >1400px — full image, centered */
@media (min-width: 1401px) {
  img.hero-img { object-position: center top !important; }
}

/* Large desktop 1201-1400px */
@media (min-width: 1201px) and (max-width: 1400px) {
  img.hero-img { object-position: 35% top !important; }
}

/* Laptop 1025-1200px — shift right to show Dr. Kasabji */
@media (min-width: 1025px) and (max-width: 1200px) {
  img.hero-img { object-position: 40% top !important; }
  .hero { min-height: 70vh !important; }
  .hero-left { padding: 60px 40px !important; }
}

/* Tablet landscape 769-1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  img.hero-img { object-position: 45% top !important; }
}

/* ================================================
   PRIVACY POLICY & SMS TERMS — RESPONSIVE
   ================================================ */

/* Main sidebar + content grid */
.policy-main-grid {
  display: grid !important;
  grid-template-columns: 240px 1fr !important;
  gap: 56px !important;
  align-items: start !important;
}

/* Inner 2-col grids */
.grid-2-col {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}

/* Inner 3-col grids */
.grid-3-col {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 14px !important;
}

/* Sidebar sticky */
.policy-sidebar {
  position: sticky !important;
  top: 100px !important;
}

/* ---- TABLET ≤900px ---- */
@media (max-width: 900px) {
  /* Stack sidebar below content */
  .policy-main-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  /* Sidebar no longer sticky — flows naturally */
  .policy-sidebar {
    position: static !important;
    top: auto !important;
  }
  /* Move sidebar to bottom on mobile */
  .policy-main-grid > div:first-child {
    order: 2 !important;
  }
  .policy-main-grid > div:last-child {
    order: 1 !important;
  }
  /* 2-col grids stay as-is on tablet */
  .grid-2-col { grid-template-columns: 1fr 1fr !important; }
  .grid-3-col { grid-template-columns: 1fr 1fr !important; }
}

/* ---- MOBILE ≤600px ---- */
@media (max-width: 600px) {
  /* All grids go single column */
  .grid-2-col { grid-template-columns: 1fr !important; }
  .grid-3-col { grid-template-columns: 1fr !important; }

  /* Section padding tighter */
  .section { padding: 40px 0 !important; }

  /* Page hero smaller */
  .page-hero { padding: 36px 0 32px !important; }
  .page-hero h1 { font-size: 28px !important; }
  .page-hero p  { font-size: 14px !important; }

  /* Trust bar stacks */
  .trust-bar {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 16px 20px !important;
    align-items: flex-start !important;
  }
  .trust-divider { display: none !important; }
}
