/* ============================================================
   MAPLEWOOD DENTAL — LANGLEY VILLAGE INSPIRED — style.css
   Palette:
     --charcoal:   #2B2B35  (primary text / dark backgrounds)
     --coral:      #D95F3B  (primary accent — warm, energetic)
     --coral-dark: #B84E2E  (hover)
     --coral-light:#FDF0EB  (tint)
     --sand:       #F6F0E8  (warm off-white bg)
     --white:      #FFFFFF
     --muted:      #6B6B78  (secondary text)
     --border:     #E4DDD4  (warm border)
     --ink:        #1A1A22  (headlines)
   Fonts: Fraunces (optical serif) + Nunito Sans
============================================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; border: none; background: none; outline: none; cursor: pointer; }

/* ---------- TOKENS ---------- */
:root {
  --charcoal:    #2B2B35;
  --coral:       #D95F3B;
  --coral-dark:  #B84E2E;
  --coral-light: #FDF0EB;
  --sand:        #F6F0E8;
  --white:       #FFFFFF;
  --muted:       #6B6B78;
  --border:      #E4DDD4;
  --ink:         #1A1A22;
  --font-head:   'Fraunces', Georgia, serif;
  --font-body:   'Nunito Sans', system-ui, sans-serif;
  --max-w:       1140px;
  --ease:        cubic-bezier(0.4,0,0.2,1);
}

/* ---------- BASE ---------- */
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 36px;
}

/* ---------- SHARED ---------- */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  display: block;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.625rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--coral); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 6px;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-coral {
  background: var(--coral);
  color: var(--white);
  border: 2px solid var(--coral);
}
.btn-coral:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(217,95,59,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--coral);
  border: 2px solid var(--coral);
}
.btn-outline:hover {
  background: var(--coral-light);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--charcoal);
  background: rgba(43,43,53,0.05);
  transform: translateY(-1px);
}
.btn-full { width: 100%; justify-content: center; padding: 15px; }

/* ============================================================
   FLOATING BOOK BUTTON
============================================================ */
.floating-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(100%);
  z-index: 150;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 10px;
  border-radius: 8px 0 0 8px;
  box-shadow: -4px 0 20px rgba(217,95,59,0.3);
  transition: transform 0.35s var(--ease), background 0.18s;
}
.floating-btn:hover { background: var(--coral-dark); }
.floating-btn.visible { transform: translateY(-50%) translateX(0); }
.floating-btn-icon { writing-mode: horizontal-tb; font-size: 1.125rem; line-height: 1; }

/* ============================================================
   TOP BAR
============================================================ */
.topbar {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  padding-block: 8px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 36px;
  flex-wrap: wrap;
}
.topbar-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.75);
  transition: color 0.15s;
}
.topbar-item:hover { color: var(--white); }
.topbar-item svg { flex-shrink: 0; }
.topbar-addr { display: flex; align-items: center; gap: 5px; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-social {
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
  display: flex;
  align-items: center;
}
.topbar-social:hover { color: var(--coral); }
.topbar-sep { color: rgba(255,255,255,0.2); }
.topbar-hours { color: rgba(255,255,255,0.5); font-size: 0.75rem; }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 36px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-leaf { font-size: 1.5rem; line-height: 1; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.logo-tagline {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links > a {
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-links > a:hover { color: var(--coral); background: var(--coral-light); }

/* Services dropdown */
.nav-item { position: relative; }
.nav-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  background: none;
}
.nav-btn:hover,
.nav-item.open .nav-btn { color: var(--coral); background: var(--coral-light); }
.nav-btn svg { transition: transform 0.2s; opacity: 0.5; }
.nav-item.open .nav-btn svg,
.nav-item:hover .nav-btn svg { transform: rotate(180deg); opacity: 1; }

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
  padding: 8px;
  min-width: 220px;
  z-index: 300;
}
.nav-item:hover .nav-dropdown,
.nav-item.open .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown a:hover { color: var(--coral); background: var(--coral-light); }

.nav-contact-btn {
  margin-left: 8px;
  padding: 9px 20px !important;
  background: var(--coral) !important;
  color: var(--white) !important;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: background 0.18s, transform 0.18s !important;
}
.nav-contact-btn:hover {
  background: var(--coral-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding-block: 12px;
  max-height: 80vh;
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 10px 32px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--charcoal);
  border-bottom: 1px solid var(--sand);
  transition: color 0.15s, background 0.15s;
}
.nav-mobile a:hover { color: var(--coral); background: var(--coral-light); }
.mobile-head {
  padding: 10px 32px 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f0eeec;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('hero.jpg') center center / cover no-repeat;
  /* Slight zoom for a premium feel */
  transform: scale(1.03);
  /* Subtle gloss/brightness boost on the image */
  filter: brightness(1.06) saturate(0.85);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  /* Glossy effect: left side fades to near-white so text is legible;
     right side stays light so the photo breathes naturally */
  background: linear-gradient(
    105deg,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.78) 30%,
    rgba(255,255,255,0.45) 58%,
    rgba(255,255,255,0.08) 100%
  );
  /* A faint gloss sheen layer on top */
  backdrop-filter: brightness(1.04);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 540px;
  padding-block: 96px;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  display: block;
  margin-bottom: 16px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-headline em { font-style: italic; color: var(--coral); font-weight: 300; }
.hero-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 460px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   FEATURES
============================================================ */
.features {
  background: var(--sand);
  padding-block: 72px;
  border-bottom: 1px solid var(--border);
}
.features-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  color: var(--ink);
  text-align: center;
  margin-bottom: 12px;
}
.features-sub {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 52px;
  line-height: 1.7;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: var(--coral);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(217,95,59,0.12);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.feature-name {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   ABOUT / ALTERNATING ROWS
   Signature: bold left-border colour accent on text blocks
============================================================ */
.about { padding-block: 88px; background: var(--white); }

.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 72px;
}
.about-row:last-child { margin-bottom: 0; }
.about-row--flip { direction: rtl; }
.about-row--flip > * { direction: ltr; }

.about-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--sand);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  background: linear-gradient(135deg, #F6F0E8 0%, #ede5d8 100%);
}

/* Signature: left border accent on text blocks */
.about-text {
  padding-left: 28px;
  border-left: 3px solid var(--coral);
}
.about-text p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
  font-size: 1rem;
}
.about-text p:last-of-type { margin-bottom: 0; }

/* Accreditation strip */
.accred-strip {
  background: var(--sand);
  border-radius: 12px;
  padding: 32px 36px;
  text-align: center;
  margin-top: 16px;
}
.accred-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.accred-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.accred-badge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--charcoal);
  text-align: center;
  line-height: 1.3;
}
.accred-badge span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}

/* ============================================================
   SERVICE SECTIONS
============================================================ */
.service-section {
  padding-block: 88px;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.service-section--alt { background: var(--sand); }

.service-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 32px;
}
.service-list li {
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--coral);
  border-radius: 0 8px 8px 0;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.service-section--alt .service-list li { background: var(--sand); }
.service-list li:hover {
  box-shadow: 0 4px 16px rgba(217,95,59,0.1);
  border-left-color: var(--coral-dark);
}
.service-list a {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
  transition: color 0.15s;
}
.service-list a:hover { color: var(--coral); }
.service-list span {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================================================
   REVIEWS
============================================================ */
.reviews {
  padding-block: 88px;
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.reviews-header { text-align: center; margin-bottom: 52px; }
.reviews-header .eyebrow { color: #f4a882; }
.reviews-header .section-title { color: var(--white); }
.reviews-sub { font-size: 1rem; color: rgba(255,255,255,0.55); margin-top: 8px; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.review-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, background 0.2s;
}
.review-card:hover {
  border-color: rgba(217,95,59,0.4);
  background: rgba(255,255,255,0.07);
}
.review-card--featured {
  border-color: var(--coral);
  background: rgba(217,95,59,0.08);
}
.review-stars { color: #F59E0B; font-size: 0.875rem; letter-spacing: 2px; }
.review-text {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-author strong { font-size: 0.9rem; color: var(--white); display: block; }
.review-author span { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.reviews-cta { text-align: center; }

/* ============================================================
   CONTACT / BOOKING
============================================================ */
.contact {
  padding-block: 88px;
  background: var(--sand);
  border-top: 1px solid var(--border);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.contact-copy > p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 14px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--charcoal);
}
.info-icon { font-size: 1.125rem; flex-shrink: 0; margin-top: 1px; }
.contact-info-item a { color: var(--coral); font-weight: 600; }
.contact-info-item a:hover { text-decoration: underline; }

.accepting-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4CAF50;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-heading {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}
.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: 0.8125rem; font-weight: 700; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  background: var(--sand);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.9375rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(217,95,59,0.12);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #C0B8AE; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23D95F3B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  background-color: var(--sand);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-note { text-align: center; font-size: 0.8125rem; color: var(--muted); }

/* ============================================================
   FOOTER
============================================================ */
.footer-top {
  background: var(--ink);
  padding-block: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-bottom: 22px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.footer-socials a:hover {
  color: var(--coral);
  border-color: rgba(217,95,59,0.4);
  background: rgba(217,95,59,0.08);
}
.footer-col h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li,
.footer-col ul a { font-size: 0.875rem; color: rgba(255,255,255,0.45); transition: color 0.15s; }
.footer-col ul a:hover { color: var(--coral); }

.footer-bottom { background: var(--charcoal); padding-block: 18px; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.3); }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom nav a { font-size: 0.8125rem; color: rgba(255,255,255,0.3); transition: color 0.15s; }
.footer-bottom nav a:hover { color: var(--coral); }

/* Portrait override for cosmetic and preventive section photos */
#cosmetic .about-img-wrap,
#preventive .about-img-wrap {
  aspect-ratio: 3/4;
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-row { grid-template-columns: 1fr; gap: 40px; }
  .about-row--flip { direction: ltr; }
  .about-img-wrap { aspect-ratio: 16/9; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .floating-btn { display: none; }
}

@media (max-width: 640px) {
  .container { padding-inline: 20px; }
  .topbar-inner { padding-inline: 20px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .topbar-right { display: none; }
  .nav-inner { padding-inline: 20px; }
  .hero-content { padding-block: 64px; }
  .features-grid { grid-template-columns: 1fr; }
  .about-text { padding-left: 18px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-bottom nav { justify-content: center; }
  .accred-logos { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
