/* Colson Family Dentistry — styles.css */

/* variables */
:root {
  --linen:      #F4F7F3;   /* off-white bg */
  --surface:    #FDFFFE;   /* near-pure white for cards */
  --warm-sand:  #E5EBE3;   /* alt section bg */
  --warm-line:  #CDD6CB;   /* border color */
  --espresso:   #1C2B22;   /* dark sections */
  --dark-bg:    #131D17;   /* footer bg */
  --body-text:  #252C27;   /* 13:1 on linen ✓ */
  --muted:      #526056;   /* 5.5:1 on linen ✓ */
  --sage:       #5D7256;   /* primary accent — 5.0:1 on linen ✓ */
  --sage-light: #8A9E81;   /* decorative only */
  --clay:       #9C5E28;   /* CTA buttons — 4.9:1 on linen ✓ */
  --linen-dark: #D2D9CF;   /* pressed/hover on linen */

  /* Shadows */
  --shadow-xs:  0 1px 4px rgba(28,43,34,0.08);
  --shadow-sm:  0 2px 12px rgba(28,43,34,0.10);
  --shadow-md:  0 6px 24px rgba(28,43,34,0.12);
  --shadow-lg:  0 16px 48px rgba(28,43,34,0.16);

  /* Geometry */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-pill:50px;

  /* Spacing */
  --section-y:  80px;
  --section-y-sm: 52px;
}

/* reset */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--body-text);
  background: var(--linen);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage); text-decoration: none; transition: color 0.2s; }
a:hover { text-decoration: underline; color: var(--sage); }
ul, ol { list-style: none; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* typography */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--espresso);
}
h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
h4 { font-size: 1.05rem; font-family: 'Inter', sans-serif; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; }

/* layout */
.container { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.section-pad { padding: var(--section-y) 0; }
.section-pad-sm { padding: var(--section-y-sm) 0; }

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sage);
  margin-bottom: 0.75rem;
}
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: block;
  margin-bottom: 0.5rem;
}

/* Thin ornamental rule before section headings */
.rule-before::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--sage);
  margin-bottom: 1rem;
}

/* accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--sage);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 10000;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

*:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 3px;
  border-radius: 3px;
}

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

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

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.1s ease, background 0.2s, color 0.2s, border-color 0.2s;
  min-height: 44px;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { filter: brightness(0.92); text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-primary      { background: var(--sage);  color: #fff; border-color: var(--sage); }
.btn-gold,
.btn-cta          { background: var(--clay);  color: #fff; border-color: var(--clay); }
.btn-outline      { background: transparent;  color: var(--sage); border-color: var(--sage); }
.btn-outline:hover { background: var(--sage); color: #fff; filter: none; }
.btn-outline-white{ background: transparent;  color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); filter: none; }
.btn-outline-linen{ background: transparent;  color: var(--linen); border-color: rgba(247,243,238,0.5); }
.btn-outline-linen:hover { background: rgba(247,243,238,0.1); filter: none; }

/* top bar */
.top-bar {
  background: var(--espresso);
  color: rgba(247,243,238,0.72);
  padding: 9px 48px;
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.top-bar a { color: rgba(247,243,238,0.72); text-decoration: none; }
.top-bar a:hover { color: var(--linen); }
.top-bar-left,
.top-bar-right { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.top-bar-item {
  display: flex; align-items: center; gap: 0.4rem;
  min-height: 44px;
}
.top-bar-item svg {
  width: 13px; height: 13px;
  fill: none; stroke: currentColor; stroke-width: 2; flex-shrink: 0;
}

/* nav */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--surface);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(44,36,32,0.1); }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  min-height: 84px;
  border-bottom: 1px solid var(--warm-line);
  position: relative;
}
/* Tighten nav link tracking */
.nav-links a { letter-spacing: 0.01em; }
.nav-logo img { height: 56px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--body-text);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--sage); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--sage); border-bottom-color: var(--sage); }
.nav-cta { flex-shrink: 0; }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 10px;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--body-text); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* hero */
.hero {
  background-color: var(--espresso);
  background-image: url('images/office-entrance.jpg');
  background-size: cover;
  background-position: center 20%;
  padding: 88px 48px;
  min-height: 520px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
/* Overlay: solid dark on the left (text readable) → fades out right (building visible) */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(19,29,23,0.97) 0%,
    rgba(19,29,23,0.94) 30%,
    rgba(19,29,23,0.65) 58%,
    rgba(19,29,23,0.22) 100%
  );
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 600px;
}
.hero-content .eyebrow { color: var(--sage-light); }
.hero-content h1 {
  color: var(--linen);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-content h1 em { color: var(--sage-light); font-style: italic; }
.hero-content .hero-desc {
  color: rgba(247,243,238,0.72);
  font-size: 1.05rem;
  margin-bottom: 2.25rem;
  max-width: 480px;
  line-height: 1.75;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 0; margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(247,243,238,0.12);
  flex-wrap: wrap;
}
.hero-stat {
  padding-right: 2.5rem;
  margin-right: 2.5rem;
  border-right: 1px solid rgba(247,243,238,0.12);
}
.hero-stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.hero-stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--sage-light);
  line-height: 1;
  display: block;
  margin-bottom: 0.3rem;
}
.hero-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(247,243,238,0.82);
  font-weight: 600;
}


/* trust strip */
.trust-strip {
  background: var(--warm-sand);
  border-top: 1px solid var(--warm-line);
  border-bottom: 1px solid var(--warm-line);
  padding: 20px 0;
}
.trust-strip-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
  max-width: 1240px; margin: 0 auto; padding: 0 48px;
}
.trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--body-text);
  font-size: 0.82rem; font-weight: 500;
  padding: 6px 20px; white-space: nowrap;
}
.trust-item-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage); flex-shrink: 0;
}
.trust-divider {
  width: 1px; height: 16px;
  background: var(--warm-line); flex-shrink: 0;
}

/* services grid */
.services-section { background: var(--linen); }
.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; }
.section-header h2 { color: var(--espresso); margin-bottom: 0.75rem; }
.section-header p { color: var(--muted); max-width: 580px; line-height: 1.75; }
.section-header.centered p { margin: 0 auto; }

.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-md);
  padding: 2.75rem 2.5rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none; display: block; color: var(--body-text);
  border-left: 3px solid transparent;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--warm-line);
  border-left-color: var(--clay);
  text-decoration: none; color: var(--body-text);
}
.service-icon {
  width: 52px; height: 52px;
  background: var(--warm-sand);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; font-size: 1.2rem;
}
.service-card h3 {
  color: var(--espresso); margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.service-card p { color: var(--muted); font-size: 0.9rem; margin: 0; line-height: 1.7; }

/* office banner */
.office-banner {
  position: relative;
  overflow: hidden;
  background-color: var(--espresso);
  background-image: url('images/office-entrance.jpg');
  background-size: cover;
  background-position: center center;
  padding: 80px 48px;
  text-align: center;
}
.office-banner-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(19,29,23,0.88) 0%,
    rgba(19,29,23,0.82) 100%
  );
  pointer-events: none;
}
.office-banner-content {
  position: relative; z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.office-banner-content blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600; font-style: italic;
  color: var(--linen); line-height: 1.4; margin-bottom: 1.25rem;
}
.office-banner-content blockquote::before { content: '\201C'; }
.office-banner-content blockquote::after  { content: '\201D'; }
.office-banner-content p { color: rgba(247,243,238,0.65); margin-bottom: 2rem; font-size: 0.95rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.office-banner-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* about */
.about-section { background: var(--surface); }
.about-grid {
  display: grid; grid-template-columns: 38% 1fr;
  gap: 80px; align-items: start;
}
.about-image-col { position: relative; }
.about-image-col img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 52% 48% 46% 54% / 44% 52% 48% 56%;
  box-shadow: var(--shadow-lg);
  display: block;
}
.about-badge {
  position: absolute; bottom: -16px; right: -16px;
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--sage); color: #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.4;
  box-shadow: 0 4px 16px rgba(93,114,86,0.35);
}
.about-badge strong { font-size: 0.75rem; display: block; }
.about-text { max-width: 600px; } /* cap readable line length ~85 chars */
.about-text h2 { color: var(--espresso); margin-bottom: 0.9rem; }
.about-text p { color: var(--muted); line-height: 1.75; }
.credentials-list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.6rem; margin: 1.5rem 0; list-style: none;
}
.credentials-list li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.875rem; color: var(--body-text); line-height: 1.5;
}
.credentials-list li::before {
  content: '✓'; color: var(--sage); font-weight: 700;
  font-size: 0.75rem; margin-top: 0.15rem; flex-shrink: 0;
}

/* testimonials */
.testimonials-home { background: var(--linen); border-top: 1px solid var(--warm-line); }
.testimonials-home .section-header h2 { color: var(--espresso); }
.testimonials-home .section-header p  { color: var(--muted); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.testimonial-card {
  border-radius: var(--radius-md);
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--warm-line);
  box-shadow: var(--shadow-xs);
  position: relative;
}
.testimonial-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem; line-height: 0.8;
  color: var(--sage-light);
  margin-bottom: 0.5rem;
  display: block;
  font-style: italic;
}
.testimonial-stars {
  color: var(--clay); font-size: 0.85rem; letter-spacing: 0.05em;
  margin-bottom: 0.9rem;
}
.testimonial-card blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.05rem;
  color: var(--espresso);
  line-height: 1.65; margin-bottom: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-initials {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--sage); color: #fff;
  font-weight: 700; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.author-name {
  color: var(--body-text); font-weight: 600; font-size: 0.875rem; display: block;
}
.author-tag  { color: var(--muted); font-size: 0.775rem; display: block; }

/* Dark card variant (used on dark sections) */
.testimonial-card.dark {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
.testimonial-card.dark blockquote { color: rgba(247,243,238,0.88); }
.testimonial-card.dark .author-name { color: rgba(247,243,238,0.9); }
.testimonial-card.dark .author-tag  { color: rgba(247,243,238,0.5); }
.testimonial-card.dark .testimonial-quote-mark { color: rgba(138,158,129,0.6); }

/* Light card variant (testimonials page) */
.testimonial-card.light {
  background: var(--surface);
  border-color: var(--warm-line);
}
.testimonial-card.light blockquote { color: var(--espresso); }
.testimonial-card.light .author-name { color: var(--body-text); }
.testimonial-card.light .author-tag  { color: var(--muted); }

/* new patients cta */
.new-patients-section {
  background: var(--espresso);
  padding: var(--section-y) 0;
}
.new-patients-grid {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 72px; align-items: start;
}
.new-patients-content { max-width: 520px; } /* keeps text column tight against the hours box */
.new-patients-content .eyebrow { color: rgba(138,158,129,0.9); }
.new-patients-content h2 { color: var(--linen); margin-bottom: 0.9rem; }
.new-patients-content > p { color: rgba(247,243,238,0.75); margin-bottom: 1.5rem; line-height: 1.75; }
.np-checklist { list-style: none; margin-bottom: 2rem; }
.np-checklist li {
  display: flex; align-items: center; gap: 0.75rem;
  color: rgba(247,243,238,0.85); font-size: 0.9rem; margin-bottom: 0.6rem;
}
.np-checklist li::before {
  content: '✓';
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(93,114,86,0.35); color: var(--sage-light);
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.np-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hours-box {
  background: rgba(247,243,238,0.06);
  border: 1px solid rgba(247,243,238,0.14);
  border-radius: 16px; padding: 2rem;
}
.hours-box h3 {
  color: var(--linen); margin-bottom: 1.25rem; font-size: 1.05rem;
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: 0.55rem 0; font-size: 0.875rem;
  vertical-align: top; color: rgba(247,243,238,0.88);
}
.hours-table td:last-child { text-align: right; color: rgba(247,243,238,0.65); }
.hours-table tr + tr td { border-top: 1px solid rgba(247,243,238,0.08); }
.hours-closed { color: rgba(247,243,238,0.45) !important; font-style: italic; }

/* contact bar */
.contact-bar { background: var(--warm-sand); }
.contact-bar-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.contact-box {
  background: var(--linen);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-md); padding: 1.75rem;
  text-align: center; transition: box-shadow 0.2s, transform 0.2s;
}
.contact-box:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-box-icon {
  width: 48px; height: 48px;
  background: var(--warm-sand); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.contact-box-icon svg { width: 20px; height: 20px; stroke: var(--sage); fill: none; stroke-width: 1.75; }
.contact-box-label {
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 0.4rem;
}
.contact-box-value { font-size: 0.9rem; font-weight: 600; color: var(--body-text); line-height: 1.5; }
.contact-box-value a { color: var(--body-text); }
.contact-box-value a:hover { color: var(--sage); text-decoration: none; }

/* map */
.map-section { line-height: 0; font-size: 0; }
.map-section iframe { display: block; width: 100%; }

/* footer */
.site-footer { background: var(--dark-bg); color: rgba(247,243,238,0.75); }
.footer-inner { padding: 72px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.5rem; padding-bottom: 56px;
}
.footer-logo {
  height: 42px; width: auto; margin-bottom: 1rem;
  filter: brightness(1.4) saturate(0.8);
  opacity: 0.92;
}
.footer-tagline {
  font-size: 0.875rem; color: rgba(247,243,238,0.5);
  margin-bottom: 1.25rem; line-height: 1.7;
}
.footer-contact-block p { font-size: 0.875rem; margin-bottom: 0.35rem; color: rgba(247,243,238,0.7); }
.footer-contact-block a { color: rgba(247,243,238,0.7); }
.footer-contact-block a:hover { color: var(--linen); text-decoration: none; }
.footer-col-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(247,243,238,0.9); margin-bottom: 1.1rem;
}
.footer-nav-list li { margin-bottom: 0.45rem; }
.footer-nav-list a {
  color: rgba(247,243,238,0.62); font-size: 0.875rem; transition: color 0.2s;
}
.footer-nav-list a:hover { color: var(--linen); text-decoration: none; }
.footer-hours-table { width: 100%; border-collapse: collapse; }
.footer-hours-table td {
  padding: 0.4rem 0; font-size: 0.82rem; vertical-align: top;
  color: rgba(247,243,238,0.62);
}
.footer-hours-table td:last-child { text-align: right; }
.footer-hours-table tr + tr td { border-top: 1px solid rgba(247,243,238,0.07); }
.footer-hours-closed { color: rgba(247,243,238,0.35) !important; font-style: italic; }

.footer-bottom { background: rgba(0,0,0,0.3); padding: 16px 0; }
.footer-disclaimer {
  font-size: 0.72rem; color: rgba(244,247,243,0.42); text-align: center;
  max-width: 700px; margin: 0 auto 12px; line-height: 1.55;
}
.footer-bottom-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer-copyright { font-size: 0.78rem; color: rgba(244,247,243,0.52); margin: 0; } /* 0.52 → 4.9:1 on dark pine ✓ */
.footer-bottom-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom-links a {
  font-size: 0.78rem; color: rgba(244,247,243,0.52); transition: color 0.2s; /* 4.9:1 ✓ */
}
.footer-bottom-links a:hover { color: rgba(247,243,238,0.85); text-decoration: none; }

/* page hero */
.page-hero {
  background-color: var(--espresso);
  background-image: url('images/office-exterior-oak.jpg');
  background-size: cover;
  background-position: center 30%;
  padding: 72px 0;
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(28,43,34,0.88);
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: var(--linen); margin-bottom: 0.75rem; font-style: italic; }
.page-hero-desc {
  color: rgba(247,243,238,0.68); font-size: 1.05rem;
  max-width: 580px; margin: 0 auto; line-height: 1.75;
}
.breadcrumb { font-size: 0.78rem; color: rgba(247,243,238,0.45); margin-bottom: 0.6rem; }
.breadcrumb a { color: rgba(247,243,238,0.55); }
.breadcrumb a:hover { color: var(--linen); }
.breadcrumb-sep { margin: 0 0.4rem; }

/* services jump nav */
.services-jump-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--warm-line);
  position: sticky; top: 84px; z-index: 100;
}
.jump-nav-inner {
  display: flex; overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 48px;
  justify-content: center;
}
.jump-nav-inner::-webkit-scrollbar { display: none; }
.jump-link {
  padding: 14px 18px; font-size: 0.8rem; font-weight: 600;
  color: var(--muted); white-space: nowrap;
  text-decoration: none; border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  min-height: 44px; display: flex; align-items: center;
}
.jump-link:hover { color: var(--sage); border-bottom-color: var(--sage); text-decoration: none; }

/* service detail */
.service-detail { padding: 72px 0; border-bottom: 1px solid var(--warm-line); }
.service-detail:nth-child(even) { background: var(--surface); }
.service-detail h2 { color: var(--espresso); margin-bottom: 1rem; }
.service-detail p { color: var(--muted); max-width: 720px; line-height: 1.75; }
.service-detail p + p { margin-top: 0.75rem; }
.service-detail .eyebrow { color: var(--sage); }

/* meet us */
.doctor-feature { background: var(--surface); }
.doctor-feature-grid {
  display: grid; grid-template-columns: 360px 1fr;
  gap: 56px; align-items: start;
}
.doctor-feature-img {
  width: 100%;
  border-radius: 52% 48% 46% 54% / 44% 52% 48% 56%;
  box-shadow: var(--shadow-lg);
}
.doctor-feature-text { max-width: 620px; } /* prevent text stretching past readable width */
.doctor-feature-text h2 { color: var(--espresso); margin-bottom: 0.75rem; }
.doctor-feature-text p  { color: var(--muted); }
.doctor-title {
  font-size: 0.85rem; color: var(--sage); font-weight: 600;
  margin-bottom: 1.25rem; display: block;
}

.staff-section { background: var(--linen); }
.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.staff-card {
  background: var(--surface);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-md); padding: 2rem 1.75rem; text-align: center;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s, transform 0.2s;
}
.staff-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.staff-initials {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--sage); color: #fff;
  font-weight: 700; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.staff-card h3 { color: var(--espresso); margin-bottom: 0.2rem; font-size: 1.1rem; }
.staff-role  { color: var(--sage); font-weight: 600; font-size: 0.82rem; display: block; margin-bottom: 0.2rem; }
.staff-years { color: var(--muted); font-size: 0.78rem; display: block; margin-bottom: 0.75rem; }
.staff-bio   { color: var(--muted); font-size: 0.875rem; line-height: 1.65; }

/* faq */
.faq-section { background: var(--surface); }
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
  border: 1px solid var(--warm-line); border-radius: var(--radius-sm);
  margin-bottom: 0.75rem; overflow: hidden;
}
.accordion-btn {
  width: 100%; background: var(--surface); border: none;
  padding: 1.1rem 1.5rem; text-align: left;
  font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600;
  color: var(--espresso); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 44px; transition: background 0.2s;
}
.accordion-btn:hover { background: var(--linen); }
.accordion-btn[aria-expanded="true"] { background: var(--sage); color: #fff; }
.accordion-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  transition: transform 0.3s ease;
  fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round;
}
.accordion-btn[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion-body.open { max-height: 500px; }
.accordion-body[hidden] { display: block !important; max-height: 0; }
.accordion-body-inner {
  padding: 1.1rem 1.5rem; color: var(--muted); font-size: 0.9rem; line-height: 1.75;
  border-top: 1px solid var(--warm-line); background: var(--linen);
}

/* new patients page */
.welcome-section { background: var(--surface); }
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.welcome-checklist { list-style: none; margin-top: 1rem; }
.welcome-checklist li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--warm-line);
  color: var(--body-text); font-size: 0.9rem;
}
.welcome-checklist li:last-child { border-bottom: none; }
.welcome-checklist li::before {
  content: '✓'; color: var(--sage); font-weight: 700; flex-shrink: 0; margin-top: 0.1rem;
}
.download-card {
  background: var(--espresso); border-radius: var(--radius-md); padding: 2rem; text-align: center; margin-top: 1.5rem;
}
.download-card h3 { color: var(--linen); margin-bottom: 0.5rem; }
.download-card p { color: rgba(247,243,238,0.72); margin-bottom: 1.5rem; }

.payment-section { background: var(--linen); }
.payment-methods { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.payment-badge {
  background: var(--surface); border: 1.5px solid var(--warm-line);
  border-radius: var(--radius-sm); padding: 0.6rem 1.4rem;
  font-weight: 700; font-size: 0.9rem; color: var(--body-text);
  box-shadow: var(--shadow-xs);
}

.np-hours-section { background: var(--surface); }
.np-hours-table { width: 100%; max-width: 600px; border-collapse: collapse; }
.np-hours-table th, .np-hours-table td {
  padding: 0.75rem 1rem; text-align: left;
  border-bottom: 1px solid var(--warm-line); font-size: 0.9rem;
}
.np-hours-table th { background: var(--linen); font-weight: 700; color: var(--espresso); font-family: 'Inter', sans-serif; }
.np-hours-table td { color: var(--muted); }
.np-hours-closed { color: var(--muted); font-style: italic; }

/* contact page */
.contact-main-section { background: var(--surface); }
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.contact-info-col h2 { color: var(--espresso); margin-bottom: 0.5rem; }
.contact-info-col > p { color: var(--muted); margin-bottom: 2rem; }
.contact-detail-item {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--warm-line);
}
.contact-detail-item:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-detail-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: var(--warm-sand); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.contact-detail-icon svg { width: 17px; height: 17px; stroke: var(--sage); fill: none; stroke-width: 1.75; }
.contact-detail-label {
  font-weight: 700; font-size: 0.72rem; color: var(--espresso);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.2rem; display: block;
}
.contact-detail-text { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.contact-detail-text a { color: var(--sage); }
.contact-form-col h2 { color: var(--espresso); margin-bottom: 0.5rem; }
.contact-form-col > p { color: var(--muted); margin-bottom: 1.75rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.85rem; color: var(--espresso); margin-bottom: 0.35rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--warm-line); border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--body-text); background: var(--linen);
  transition: border-color 0.2s; min-height: 44px;
  appearance: none; -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6460' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--sage); outline: none;
  box-shadow: 0 0 0 3px rgba(93,114,86,0.12);
}
.form-group input.field-valid { border-color: var(--sage); }
.form-group input.field-invalid { border-color: var(--clay); }
.form-group input.field-invalid:focus { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(180,90,70,0.12); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 0.75rem; }
/* Honeypot field — invisible to humans, not filled by screen readers, caught by bots */
.form-hp { position: absolute; left: -99999px; top: -99999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* testimonials page */
.testimonials-page-section { background: var(--linen); }
.testimonials-masonry { column-count: 3; column-gap: 1.5rem; }
.testimonials-masonry .testimonial-card { break-inside: avoid; margin-bottom: 1.5rem; }
.testimonials-cta { background: var(--espresso); text-align: center; }
.testimonials-cta h2 { color: var(--linen); margin-bottom: 0.75rem; font-style: italic; }
.testimonials-cta p  { color: rgba(247,243,238,0.68); margin-bottom: 1.75rem; }

/* sitemap */
.sitemap-section { background: var(--surface); }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.sitemap-group h3 {
  color: var(--espresso); font-size: 0.8rem; font-family: 'Inter', sans-serif;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--sage);
}
.sitemap-group ul li { margin-bottom: 0.45rem; }
.sitemap-group ul a { color: var(--sage); font-size: 0.9rem; }
.sitemap-group ul a:hover { color: var(--espresso); }

/* responsive */

@media (max-width: 1199px) {
  .container { padding: 0 32px; }
  .top-bar { padding: 9px 32px; }
  .main-nav { padding: 0 32px; }
  .hero { padding: 72px 32px; min-height: 460px; }

  .trust-strip-inner { padding: 0 32px; }
  .office-banner { padding: 64px 32px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-masonry { column-count: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .jump-nav-inner { padding: 0 32px; justify-content: flex-start; }
  .doctor-feature-grid { grid-template-columns: 300px 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 40% 1fr; gap: 56px; }
  .new-patients-grid { gap: 48px; }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  :root { --section-y: 80px; }
}

@media (max-width: 767px) {
  :root { --section-y: 56px; --section-y-sm: 40px; }
  .container { padding: 0 20px; }
  .top-bar { padding: 8px 20px; flex-direction: column; gap: 0.2rem; align-items: flex-start; font-size: 0.76rem; }
  .top-bar-right { display: none; }
  .main-nav { padding: 0 20px; min-height: 68px; }
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--surface); padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 8px 32px rgba(44,36,32,0.12); gap: 0; z-index: 99; align-items: stretch;
  }
  .nav-links.mobile-open li a {
    display: block; padding: 0.75rem 0; font-size: 1rem;
    border-bottom: 1px solid var(--warm-line);
  }
  .nav-links.mobile-open li:last-child a { border-bottom: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .services-jump-nav { top: 68px; }
  .hero { padding: 56px 20px; min-height: 0; }
  .hero-visual { display: none; }
  .hero-stats { gap: 0; }
  .hero-stat { padding-right: 1.5rem; margin-right: 1.5rem; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .trust-strip-inner { padding: 0 20px; }
  .trust-item { font-size: 0.76rem; padding: 4px 10px; }
  .trust-divider { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-image-col { max-width: 260px; margin: 0 auto; }
  .about-badge { right: -8px; bottom: -8px; width: 72px; height: 72px; }
  .credentials-list { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-masonry { column-count: 1; }
  .new-patients-grid { grid-template-columns: 1fr; gap: 32px; }
  .np-buttons { flex-direction: column; align-items: flex-start; }
  .contact-bar-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom-inner { flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; gap: 0.75rem; }
  .page-hero { padding: 56px 20px; }
  .doctor-feature-grid { grid-template-columns: 1fr; }
  .doctor-feature-img { max-width: 260px; margin: 0 auto; }
  .staff-grid { grid-template-columns: 1fr; }
  .welcome-grid { grid-template-columns: 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .office-banner { padding: 52px 20px; }
  .jump-nav-inner { padding: 0; }
}

@media (max-width: 380px) {
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { border-right: none; padding-right: 0; }
}

/* scroll reveal
   gated behind js-reveal-ok; no-JS and prefers-reduced-motion users always see content */
html.js-reveal-ok .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
html.js-reveal-ok .reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
html.js-reveal-ok .reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
html.js-reveal-ok .reveal-stagger.revealed > *:nth-child(1)  { transition-delay:  30ms; opacity:1; transform:translateY(0); }
html.js-reveal-ok .reveal-stagger.revealed > *:nth-child(2)  { transition-delay: 100ms; opacity:1; transform:translateY(0); }
html.js-reveal-ok .reveal-stagger.revealed > *:nth-child(3)  { transition-delay: 170ms; opacity:1; transform:translateY(0); }
html.js-reveal-ok .reveal-stagger.revealed > *:nth-child(4)  { transition-delay: 240ms; opacity:1; transform:translateY(0); }
html.js-reveal-ok .reveal-stagger.revealed > *:nth-child(5)  { transition-delay: 310ms; opacity:1; transform:translateY(0); }
html.js-reveal-ok .reveal-stagger.revealed > *:nth-child(6)  { transition-delay: 380ms; opacity:1; transform:translateY(0); }
html.js-reveal-ok .reveal-stagger.revealed > *:nth-child(7)  { transition-delay: 450ms; opacity:1; transform:translateY(0); }
html.js-reveal-ok .reveal-stagger.revealed > *:nth-child(8)  { transition-delay: 520ms; opacity:1; transform:translateY(0); }
html.js-reveal-ok .reveal-stagger.revealed > *:nth-child(9)  { transition-delay: 590ms; opacity:1; transform:translateY(0); }
html.js-reveal-ok .reveal-stagger.revealed > *:nth-child(10) { transition-delay: 660ms; opacity:1; transform:translateY(0); }
/* Safety net: any child beyond 10 is immediately visible */
html.js-reveal-ok .reveal-stagger.revealed > *:nth-child(n+11) { opacity:1; transform:translateY(0); }

/* mobile nav animation */
@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 767px) {
  .nav-links.mobile-open {
    animation: navSlideDown 0.2s ease-out;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-links.mobile-open { animation: none; }
}

/* insurance section */
.insurance-section { background: var(--linen); }
.insurance-intro { max-width: 680px; margin-bottom: 2.5rem; }
.insurance-intro p { color: var(--muted); }
.insurance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.insurance-card {
  background: var(--surface);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
}
.insurance-card h3 {
  color: var(--espresso);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.insurance-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.insurance-note {
  background: var(--warm-sand);
  border-left: 3px solid var(--sage);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  color: var(--body-text);
  font-size: 0.875rem;
}
.insurance-note strong { color: var(--espresso); }
@media (max-width: 767px) {
  .insurance-grid { grid-template-columns: 1fr; }
}

/* 404 */
.not-found-section {
  background: var(--linen);
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.not-found-inner { max-width: 520px; }
.not-found-code {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(6rem, 20vw, 10rem);
  font-weight: 700;
  color: var(--warm-line);
  line-height: 1;
  margin-bottom: 0;
  display: block;
}
.not-found-inner h1 { color: var(--espresso); margin: 0.5rem 0 1rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.not-found-inner p { color: var(--muted); margin-bottom: 2rem; }
.not-found-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* features strip */
.features-section { background: var(--surface); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.feature-icon {
  width: 52px; height: 52px;
  background: var(--warm-sand);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}
.feature-icon svg { width: 24px; height: 24px; stroke: var(--sage); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { color: var(--espresso); margin-bottom: 0.5rem; font-size: 1.1rem; }
.feature-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin: 0; }

/* service detail two-column */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}
.service-detail-main { max-width: 700px; } /* cap the column so h2 + button don't stretch wider than paragraphs */
.service-detail-main h2 { color: var(--espresso); margin-bottom: 1rem; }
.service-detail-main p { color: var(--muted); max-width: 640px; line-height: 1.75; }
.service-detail-main p + p { margin-top: 0.75rem; }
.service-detail-main .eyebrow { color: var(--sage); }
.service-detail-main .btn { margin-top: 1.75rem; }

.service-aside {
  background: var(--warm-sand);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: sticky;
  top: calc(84px + 49px + 16px); /* nav + jump nav + buffer */
}
.service-aside-icon {
  width: 48px; height: 48px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.service-aside-icon svg { width: 24px; height: 24px; stroke: var(--sage); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-aside h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.service-aside-list { list-style: none; }
.service-aside-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--body-text);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--warm-line);
  line-height: 1.5;
}
.service-aside-list li:last-child { border-bottom: none; padding-bottom: 0; }
.service-aside-list li::before {
  content: '✓';
  color: var(--sage); font-weight: 700; font-size: 0.7rem;
  flex-shrink: 0; margin-top: 0.15rem;
}

@media (max-width: 1199px) {
  .service-detail-grid { grid-template-columns: 1fr 260px; gap: 40px; }
  .features-grid { gap: 1.5rem; }
}
@media (max-width: 767px) {
  .service-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-aside { position: static; }
  .features-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* staff photo cards */
.staff-photo-wrap {
  width: 110px; height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.1rem;
  border: 3px solid var(--warm-line);
  background: var(--warm-sand); /* fallback if image fails */
  flex-shrink: 0;
}
.staff-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.doctor-feature-img {
  object-fit: cover;
  object-position: center top;
}

/* payment + hours section */
.payment-hours-section { background: var(--warm-sand); }
.payment-hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.payment-col h2,
.hours-col h2 { color: var(--espresso); margin-bottom: 0.75rem; }
.payment-col > p,
.hours-col > p { color: var(--muted); margin-bottom: 1.25rem; font-size: 0.95rem; }
.hours-col .np-hours-table { max-width: 100%; }

@media (max-width: 767px) {
  .payment-hours-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* payment methods */
.payment-section { background: var(--surface); }
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.payment-method-card {
  background: var(--linen);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s, transform 0.2s;
}
.payment-method-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.payment-method-icon {
  width: 48px; height: 48px;
  background: var(--warm-sand);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.payment-method-icon svg { width: 22px; height: 22px; stroke: var(--sage); }
.payment-method-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 0.3rem;
}
.payment-method-note {
  font-size: 0.78rem;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}
.payment-footer-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  max-width: 620px;
  margin: 0 auto;
}
.payment-footer-note strong { color: var(--body-text); }

/* office hours grid */
.hours-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.75rem;
}
.day-card {
  background: var(--surface);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius-md);
  padding: 1.25rem 0.75rem;
  text-align: center;
  border-top: 3px solid var(--sage);
}
.day-card.day-closed {
  background: var(--linen);
  border-top-color: var(--warm-line);
}
.day-name {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--espresso);
  margin-bottom: 0.6rem;
}
.day-card.day-closed .day-name { color: var(--muted); }
.day-hours-text {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.55;
}
.day-card.day-closed .day-hours-text { font-style: italic; }

@media (max-width: 1199px) {
  .payment-methods-grid { gap: 1rem; }
  .hours-days-grid { gap: 0.5rem; }
}
@media (max-width: 767px) {
  .payment-methods-grid { grid-template-columns: repeat(2, 1fr); }
  .payment-method-card { padding: 1.5rem 1rem; } /* more breathing room for text */
  .hours-days-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  .payment-methods-grid { grid-template-columns: 1fr; } /* avoid cramped 2-col at 320-480px */
}
@media (max-width: 400px) {
  .hours-days-grid { grid-template-columns: repeat(2, 1fr); }
}

/* testimonials featured + compact */

/* Featured hero quote */
.testimonial-featured {
  background: var(--espresso);
  text-align: center;
}
.testimonial-featured-inner {
  max-width: 780px;
  margin: 0 auto;
}
.testimonial-featured .testimonial-stars {
  color: var(--clay);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  display: block;
}
.testimonial-featured-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-style: italic;
  font-weight: 600;
  color: var(--linen);
  line-height: 1.4;
  margin-bottom: 1.75rem;
}
.testimonial-featured-author {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(244,247,243,0.5);
}

/* Compact grid — borderless publication layout */
.testimonials-compact-section { background: var(--linen); }
.testimonials-compact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.testimonial-compact {
  padding: 2rem 2rem 2rem 0;
  border-bottom: 1px solid var(--warm-line);
  border-right: 1px solid var(--warm-line);
}
/* No right border on last column */
.testimonial-compact:nth-child(3n) { border-right: none; padding-right: 0; }
/* Add left padding for columns 2 and 3 */
.testimonial-compact:not(:nth-child(3n+1)) { padding-left: 2rem; }
/* No bottom border on last row */
.testimonial-compact:nth-last-child(-n+3) { border-bottom: none; padding-bottom: 0; }

.testimonial-compact .testimonial-stars {
  color: var(--clay);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.75rem;
}
.testimonial-compact blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--espresso);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.testimonial-compact-author {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Light variant (homepage — on linen background) */
.testimonial-compact--light { border-color: var(--warm-line); }
.testimonial-compact--light blockquote { color: var(--espresso); }

@media (max-width: 767px) {
  .testimonials-compact-grid { grid-template-columns: 1fr; }
  .testimonial-compact {
    padding: 1.5rem 0;
    border-right: none;
    border-bottom: 1px solid var(--warm-line);
  }
  .testimonial-compact:not(:nth-child(3n+1)) { padding-left: 0; }
  .testimonial-compact:nth-last-child(-n+3) { border-bottom: 1px solid var(--warm-line); }
  .testimonial-compact:last-child { border-bottom: none; padding-bottom: 0; }
}

/* wcag badge */
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-bottom-right img {
  opacity: 0.75;
  transition: opacity 0.2s;
  display: block;
}
.footer-bottom-right a:hover img { opacity: 1; }
@media (max-width: 767px) {
  .footer-bottom-right { flex-direction: column; align-items: center; gap: 0.75rem; }
}

/* office photos */

/* Full-width strip between About and Testimonials (homepage) */
.office-photo-strip {
  height: 340px;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}
.office-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* Office exterior photo above map (contact page) */
.office-exterior-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 40%;
  border-radius: var(--radius-md);
  display: block;
  margin-bottom: 1.25rem;
}

@media (max-width: 767px) {
  .office-photo-strip { height: 220px; }
  .office-exterior-photo { height: 180px; }
}

/* visit section */
.visit-section {
  background: var(--warm-sand);
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.visit-photo { overflow: hidden; }
.visit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  min-height: 400px;
}
.visit-content {
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.visit-content h2 { color: var(--espresso); margin-bottom: 0.75rem; }
.visit-content > p { color: var(--muted); margin-bottom: 2rem; }
.visit-details { display: flex; flex-direction: column; gap: 1rem; }
.visit-details div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--warm-line);
}
.visit-details div:last-child { border-bottom: none; padding-bottom: 0; }
.visit-details strong {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--espresso);
}
.visit-details span { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.visit-details a { color: var(--sage); }

@media (max-width: 767px) {
  .visit-grid { grid-template-columns: 1fr; }
  .visit-photo img { min-height: 240px; }
  .visit-content { padding: 48px 20px; }
}

/* Contact page — office photo in the info column */
.contact-office-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: var(--radius-md);
  display: block;
  margin-top: 2rem;
}
