/* ============================================
   Grand River Dental — Clean & Modern (Family)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary:        #2c3459;
  --primary-dark:   #1e2540;
  --primary-light:  #eceef5;
  --accent:         #b8975a;
  --gold:           #b8975a;
  --teal-mid:       #3a4470;
  --warm:           #faf8f4;
  --text:           #1a2035;
  --text-muted:     #5a627a;
  --text-light:     #8f97b0;
  --bg:             #ffffff;
  --bg-soft:        #f8f8f6;
  --border:         #e0e2ec;
  --white:          #ffffff;
  --shadow-sm:      0 2px 8px rgba(44,52,89,.08);
  --shadow:         0 4px 24px rgba(44,52,89,.12);
  --shadow-lg:      0 8px 48px rgba(44,52,89,.16);
  --radius:         16px;
  --radius-sm:      10px;
  --radius-xs:      6px;
  --nav-height:     96px;
  --font:           'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

/* ---- Typography ---- */
h1,h2,h3,h4 { line-height: 1.2; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { max-width: 66ch; }

.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: .3rem .75rem;
  border-radius: 50px;
  margin-bottom: .85rem;
}

/* ---- Layout ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.75rem; }
section { padding: 5.5rem 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.85rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .22s;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(44,52,89,.3); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover { background: var(--primary-light); color: var(--primary-dark); border-color: var(--primary-light); }

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow .2s;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-height); max-width: 1140px; margin: 0 auto; padding: 0 1.75rem;
}
.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.05rem; font-weight: 800; color: var(--text); text-decoration: none;
}
.nav-logo img { height: 88px; width: auto; display: block; }
.footer-logo img { height: auto; width: 170px; display: block; filter: brightness(0) invert(1); opacity: 0.9; }
.logo-icon {
  width: 38px; height: 38px;
  background: var(--primary); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-icon svg { width: 22px; height: 22px; fill: white; }
.nav-links { display: flex; list-style: none; gap: .15rem; }
.nav-links a {
  padding: .4rem .9rem; border-radius: var(--radius-xs);
  color: var(--text-muted); font-size: .875rem; font-weight: 600;
  transition: all .18s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-light); }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: .25rem; flex-direction: column; gap: 5px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
.mobile-nav {
  display: none; position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 1rem 1.75rem 1.5rem;
  z-index: 999; flex-direction: column; gap: .2rem;
  box-shadow: var(--shadow);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { display: block; padding: .7rem .75rem; border-radius: var(--radius-xs); color: var(--text); font-weight: 600; }
.mobile-nav a:hover { background: var(--primary-light); color: var(--primary); }
.mobile-nav .btn { margin-top: .75rem; justify-content: center; }

/* ---- Hero ---- */
.hero {
  padding-top: var(--nav-height);
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
}
.hero-text-side {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f0faff 0%, #e2f5fc 100%);
  padding: 5rem 4rem 5rem 5rem;
}
.hero-text-side .inner { max-width: 520px; }
.hero-text-side h1 { margin: .6rem 0 1.1rem; }
.hero-text-side p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2rem; flex-wrap: wrap;
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat strong { font-size: 1.5rem; color: var(--primary); display: block; line-height: 1; }
.stat span { font-size: .78rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

.hero-photo-side {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}
.hero-photo-side img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-badge {
  position: absolute;
  bottom: 2.5rem; left: 2.5rem;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: .75rem;
  box-shadow: var(--shadow-lg);
  max-width: 260px;
}
.hero-badge .badge-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-badge .badge-icon svg { width: 22px; height: 22px; stroke: var(--primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-badge strong { font-size: .9rem; display: block; line-height: 1.3; }
.hero-badge span { font-size: .78rem; color: var(--text-muted); }

/* ---- Info strip ---- */
.info-strip {
  background: var(--primary);
  color: #fff;
  padding: 1.1rem 0;
}
.info-strip-inner {
  display: flex; flex-wrap: wrap; justify-content: space-around; gap: .75rem;
}
.strip-item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .85rem; font-weight: 600; opacity: .95;
}
.strip-item svg { width: 18px; height: 18px; stroke: rgba(255,255,255,.8); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Section header ---- */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p { color: var(--text-muted); margin: 0 auto; }

/* ---- Service cards ---- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card {
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all .22s;
}
.service-card:hover { box-shadow: var(--shadow); border-color: var(--accent); transform: translateY(-3px); }
.service-card .icon-wrap,
.service-card .icon-box,
.card .icon-box {
  width: 52px; height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; flex-shrink: 0;
}
.service-card .icon-wrap svg,
.service-card .icon-box svg,
.card .icon-box svg { width: 26px; height: 26px; stroke: var(--primary); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-bottom: .4rem; }
.service-card p { font-size: .875rem; color: var(--text-muted); max-width: none; }
.service-card a { font-size: .8rem; font-weight: 700; display: inline-flex; align-items: center; gap: .3rem; margin-top: .85rem; }

/* ---- Service card link wrapper ---- */
.service-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.service-card-link:hover .service-card {
  box-shadow: var(--shadow);
  border-color: var(--accent);
  transform: translateY(-3px);
}
.service-learn-more {
  font-size: .8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .85rem;
  color: var(--primary);
}

/* Testimonials grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ---- Photo feature section ---- */
.photo-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.photo-feature-img {
  position: relative;
  min-height: 480px;
}
.photo-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.photo-feature-text {
  background: var(--primary);
  color: #fff;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.photo-feature-text h2 { color: #fff; margin-bottom: 1.25rem; }
.photo-feature-text p { color: rgba(255,255,255,.85); max-width: none; margin-bottom: 1rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: .65rem; margin: 1.5rem 0; }
.check-list li {
  display: flex; gap: .65rem; align-items: flex-start;
  font-size: .9rem; color: rgba(255,255,255,.9);
}
.check-list li::before {
  content: '✓';
  width: 20px; height: 20px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  flex-shrink: 0;
  margin-top: 1px;
  text-align: center;
  line-height: 20px;
}

/* ---- Kids/family highlight ---- */
.family-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
}
.family-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1.5px solid var(--border);
  transition: all .22s;
}
.family-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.family-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.family-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.family-card:hover .family-card-img img { transform: scale(1.04); }
.family-card-img .img-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-light), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 3rem;
}
.family-card-body { padding: 1.4rem 1.5rem 1.6rem; }
.family-card-body h3 { margin-bottom: .4rem; font-size: 1rem; }
.family-card-body p { font-size: .875rem; color: var(--text-muted); max-width: none; }

/* ---- Testimonials ---- */
.testimonial-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial-card .stars { color: #f59e0b; font-size: 1rem; letter-spacing: .1rem; }
.testimonial-card blockquote { font-size: .925rem; color: var(--text-muted); line-height: 1.7; max-width: none; font-style: italic; flex: 1; }
.testimonial-card .reviewer { display: flex; align-items: center; gap: .75rem; }
.reviewer-avatar {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  flex-shrink: 0; background: var(--primary-light);
}
.reviewer-avatar img { width: 100%; height: 100%; object-fit: cover; }
.reviewer-info strong { font-size: .875rem; display: block; }
.reviewer-info span { font-size: .78rem; color: var(--text-muted); }

/* ---- CTA banner ---- */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 4rem 0;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { color: #fff; margin-bottom: .75rem; }
.cta-banner p { color: rgba(255,255,255,.85); margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.cta-banner .btn-outline:hover { background: rgba(255,255,255,.15); }

.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5.5rem 0;
  text-align: center;
  color: #fff;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1529156069935-43f904736e2c?auto=format&fit=crop&w=1400&q=60') center/cover;
  opacity: .08;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; margin-bottom: .75rem; }
.cta-section p { color: rgba(255,255,255,.85); margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Page hero (inner pages) ---- */
.page-hero {
  padding: calc(var(--nav-height) + 3.5rem) 0 4rem;
  background: linear-gradient(135deg, var(--warm) 0%, #ddf2fb 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: .75rem; }
.page-hero p { color: var(--text-muted); font-size: 1.05rem; }
.page-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.page-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 340px;
}
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Image grid (about) ---- */
.photo-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.photo-mosaic .mosaic-item { overflow: hidden; }
.photo-mosaic .mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo-mosaic .mosaic-item:hover img { transform: scale(1.05); }
.photo-mosaic .mosaic-item:first-child { grid-row: 1 / 3; }

/* ---- Team cards ---- */
#team { display: block; margin-top: calc(-1 * var(--nav-height)); padding-top: var(--nav-height); pointer-events: none; overflow: hidden; font-size: 0; line-height: 0; }
.team-section { padding-top: 2rem; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.team-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .22s;
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.team-photo-wrap {
  height: 220px;
  position: relative;
  background: linear-gradient(135deg, var(--primary-light), var(--border));
  overflow: hidden;
}
.team-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; position: relative; z-index: 1; }
.team-photo-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.team-photo-fallback svg { width: 70px; height: 70px; stroke: var(--primary); fill: none; stroke-width: 1.5; opacity: .5; }
.team-info { padding: 1.4rem 1.5rem; }
.team-info h3 { font-size: 1rem; margin-bottom: .15rem; }
.team-info .role { font-size: .75rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6rem; display: block; }
.team-info p { font-size: .85rem; color: var(--text-muted); max-width: none; line-height: 1.6; }

/* ---- Values cards ---- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.value-card {
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: all .22s;
}
.value-card:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.value-card .icon-wrap { margin: 0 auto 1rem; width: 52px; height: 52px; background: var(--primary-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.value-card .icon-wrap svg { width: 26px; height: 26px; stroke: var(--primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.value-card h3 { font-size: 1rem; margin-bottom: .35rem; }
.value-card p { font-size: .875rem; color: var(--text-muted); max-width: none; margin: 0 auto; }

/* ---- Accordion ---- */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%; background: none; border: none;
  padding: 1.2rem 0; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-family: var(--font); font-size: .975rem; font-weight: 700;
  color: var(--text); text-align: left; gap: 1.25rem; transition: color .2s;
}
.accordion-trigger:hover { color: var(--primary); }
.accordion-trigger.open { color: var(--primary); }
.acc-icon {
  flex-shrink: 0; width: 28px; height: 28px;
  border: 2px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s; color: var(--primary); font-size: 1rem; line-height: 1;
}
.accordion-trigger.open .acc-icon { background: var(--primary); color: #fff; border-color: var(--primary); }
.accordion-body {
  display: none; padding: 0 0 1.25rem;
  font-size: .9rem; color: var(--text-muted); line-height: 1.75; max-width: 72ch;
}
.accordion-body.open { display: block; }

/* ---- Form ---- */
.form-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .8rem; font-weight: 700; color: var(--text); margin-bottom: .4rem; text-transform: uppercase; letter-spacing: .05em; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .8rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-xs);
  font-family: var(--font); font-size: .9rem; color: var(--text);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-light); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,127,160,.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---- Info panels ---- */
.info-panel {
  background: var(--bg-soft); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: .6rem 0; font-size: .875rem; color: var(--text-muted); }
.hours-table td:first-child { font-weight: 700; color: var(--text); }
.hours-table td:last-child { text-align: right; }

/* ---- Emergency alert ---- */
.emergency-box {
  background: #fff5f5; border: 1.5px solid #fecaca; border-radius: var(--radius);
  padding: 1.5rem;
}
.emergency-box strong { color: #dc2626; display: block; margin-bottom: .4rem; }
.emergency-box p { color: #7f1d1d; font-size: .875rem; max-width: none; }

/* ---- Success message ---- */
.success-msg { display: none; text-align: center; padding: 3rem 2rem; }
.success-msg svg { width: 52px; height: 52px; stroke: var(--primary); fill: none; stroke-width: 1.5; margin: 0 auto 1rem; display: block; }
.success-msg h3 { color: var(--primary); margin-bottom: .4rem; }
.success-msg p { color: var(--text-muted); max-width: 44ch; margin: 0 auto; font-size: .9rem; }

/* ---- Insurance list ---- */
.insurance-pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.insurance-pill {
  background: var(--primary-light); border: 1px solid var(--border);
  border-radius: 50px; padding: .45rem 1rem;
  font-size: .8rem; font-weight: 700; color: var(--primary);
}

/* ---- Checklist (light) ---- */
.checklist-light { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.checklist-light li {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .9rem; color: var(--text-muted);
}
.checklist-light li::before {
  content: '';
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  background: var(--primary-light);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a7fa0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
}

/* ---- Footer ---- */
footer {
  background: var(--text); color: rgba(255,255,255,.65);
  padding: 4rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-bottom: .85rem; }
.footer-logo .logo-icon { width: 36px; height: 36px; border-radius: 9px; }
.footer-logo strong { font-size: 1rem; font-weight: 800; color: #fff; }
.footer-brand p { font-size: .875rem; max-width: 26ch; line-height: 1.7; }
.footer-col h4 { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.45); font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul a { font-size: .875rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col ul a:hover { color: #fff; }
.footer-col address { font-style: normal; font-size: .875rem; line-height: 1.9; }
.footer-col address a { color: rgba(255,255,255,.6); }
.footer-col address a:hover { color: #fff; }
.footer-review { text-align: center; padding: 1.5rem 0 2rem; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 1.5rem; }
.google-review-btn { display: inline-flex; align-items: center; gap: .65rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); color: #fff; text-decoration: none; padding: .7rem 1.5rem; border-radius: 50px; font-size: .875rem; font-weight: 600; transition: background .2s, border-color .2s; }
.google-review-btn:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.3); color: #fff; }
.review-stars { color: #FBBC05; letter-spacing: 1px; font-size: .8rem; }
.footer-bottom {
  border-top: none; padding-top: 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  font-size: .8rem;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-photo-side { min-height: 400px; }
  .hero-text-side { padding: 4rem 2.5rem; }
  .hero-text-side .inner { max-width: none; }
  .photo-feature { grid-template-columns: 1fr; }
  .photo-feature-img { min-height: 320px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .family-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero-split { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .services-grid, .family-grid, .team-grid, .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-text-side { padding: 3rem 1.75rem; }
  section { padding: 4rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .photo-mosaic { grid-template-columns: 1fr; grid-template-rows: 200px 200px; }
  .photo-mosaic .mosaic-item:first-child { grid-row: auto; }
}

/* ---- Mobile / vertical responsiveness (max-width: 768px) ---- */
@media (max-width: 768px) {
  :root { --nav-height: 96px; }
  .nav-logo img { height: 80px; }
  /* Hero: stack photo below text, full-width */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-text-side {
    padding: 2.5rem 1.5rem;
    order: 1;
  }
  .hero-text-side h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .hero-photo-side {
    order: 2;
    min-height: 300px;
  }
  .hero-photo-side img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }
  /* Hero badge: smaller, repositioned */
  .hero-badge {
    bottom: 1rem;
    left: 1rem;
    padding: 0.65rem 0.9rem;
    max-width: 220px;
    gap: 0.5rem;
  }
  .hero-badge .badge-icon {
    width: 34px;
    height: 34px;
  }
  .hero-badge strong { font-size: .8rem; }
  .hero-badge span { font-size: .7rem; }

  /* Info strip: wrap, single column */
  .info-strip-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 0.25rem 0;
  }

  /* Services grid: single column */
  .services-grid,
  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }

  /* Photo feature: stack vertically, image above text */
  .photo-feature {
    grid-template-columns: 1fr;
    border-radius: var(--radius);
  }
  .photo-feature-img {
    min-height: 240px;
    order: 1;
  }
  .photo-feature-text {
    order: 2;
    padding: 2rem 1.5rem;
  }

  /* Family grid: single column */
  .family-grid { grid-template-columns: 1fr; }

  /* Whitening promo banner: stack vertically */
  .whitening-banner-grid {
    grid-template-columns: 1fr !important;
  }
  .whitening-banner-grid > div:last-child {
    display: none;
  }

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

  /* About page story grid: stack vertically */
  .story-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Stats row: 2 columns on mobile */
  .stats-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }

  /* Page hero: reduce padding */
  .page-hero {
    padding: calc(var(--nav-height) + 1.5rem) 0 2rem;
  }
  .page-hero h1 { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* page-hero-split: single column */
  .page-hero-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .page-hero-img {
    height: 220px;
  }

  /* Footer grid: single column */
  .footer-grid { grid-template-columns: 1fr; }

  /* Patient info / contact page multi-column grids */
  .patient-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  /* General inline grids that use grid-template-columns */
  section [style*="grid-template-columns: 1fr 1fr"],
  section [style*="grid-template-columns:1fr 1fr"] {
    display: block !important;
  }

  /* About page badges row */
  .badges-row {
    flex-direction: column;
    align-items: center;
  }

  /* Patient info: space between 60-min box and cards column when stacked */
  .patient-cards-col {
    margin-top: 2rem;
  }

  /* Contact page: spacing between left column (email btn) and right column (Office Hours) */
  .contact-grid > div + div {
    margin-top: 0.5rem;
  }
}
