/* Anna Karidas, DDS — shared interior-page stylesheet.
 * Editorial-blueprint system extracted from the homepage (index.html).
 * Pale cool-blue paper canvas, deep navy ink, Georgia display + Inter body,
 * monoline ink-blue SVG marks. Interior pages link this file; the homepage
 * remains self-contained. */

:root {
  --bg: #e8edf2;
  --surface: #f6f8fb;
  --surface-warm: #dce5ee;
  --fg: #0a2540;
  --fg-2: #324c66;
  --muted: #5d7894;
  --meta: #1B365D;
  --border: #c4d1de;
  --border-soft: #dbe4ed;
  --accent: #1B365D;
  --accent-on: #ffffff;
  --accent-hover: color-mix(in oklab, var(--accent), black 8%);
  --accent-active: color-mix(in oklab, var(--accent), black 14%);
  --success: #4f8a4f;
  --warn: #c9822f;
  --danger: #b33a3a;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, monospace;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 17px;
  --text-lg: 20px;
  --text-xl: 28px;
  --text-2xl: 42px;
  --text-3xl: 64px;
  --text-4xl: 88px;
  --leading-body: 1.62;
  --leading-tight: 1;
  --tracking-display: -0.025em;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --section-y-desktop: 112px;
  --section-y-tablet: 80px;
  --section-y-phone: 56px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --elev-flat: none;
  --elev-ring: 0 0 0 1px var(--border);
  --elev-raised: 0 20px 52px rgba(10, 37, 64, 0.12);
  --focus-ring: 0 0 0 4px rgba(27, 54, 93, 0.24);
  --motion-fast: 150ms;
  --motion-base: 240ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --container-max: 1180px;
  --container-gutter-desktop: 36px;
  --container-gutter-tablet: 24px;
  --container-gutter-phone: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg-2);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--fg);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: var(--tracking-display);
}
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }

.wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-gutter-desktop);
}
@media (max-width: 1023px) {
  .wrap { padding: 0 var(--container-gutter-tablet); }
}
@media (max-width: 639px) {
  .wrap { padding: 0 var(--container-gutter-phone); }
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--meta);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-on);
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  transition: background var(--motion-fast) var(--ease-standard);
  border: 1px solid var(--accent);
}
.btn:hover { background: var(--accent-hover); }
.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--fg);
}
.btn-outline:hover { background: var(--fg); color: var(--bg); }

/* Sticky nav */
header.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(232, 237, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--fg);
  font-weight: 600;
}
.brand small {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--meta);
  margin-top: 4px;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--fg);
}
.nav-links a:hover { color: var(--accent); }
.nav-phone {
  font-weight: 600;
  color: var(--fg);
  padding: 10px 16px;
  border: 1px solid var(--fg);
  border-radius: var(--radius-sm);
}
.nav-phone:hover { background: var(--fg); color: var(--bg); }
@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* Editorial-blueprint mark classes (sizes for sprite symbols) */
.mk { display: inline-block; color: var(--accent); vertical-align: middle; flex-shrink: 0; }
.mk-rule-dot { width: 96px; height: 8px; }
.mk-fleuron { width: 64px; height: 16px; }
.mk-bracket { width: 56px; height: 14px; }
.mk-tooth { width: 32px; height: 36px; }
.mk-timeline { width: 100%; max-width: 320px; height: 24px; }
.mk-rating-5 { width: 80px; height: 12px; }
.mk-google-wordmark { width: 52px; height: 14px; }

.section-opener {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.section-opener .mk { color: var(--accent); }
.section-opener .eyebrow { margin: 0; }
.section-opener-center {
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Section base */
section.band { padding: 96px 0; border-top: 1px solid var(--border-soft); }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  margin-bottom: 56px;
  align-items: end;
}
.section-head h2 {
  font-size: clamp(2rem, 3.6vw, var(--text-2xl));
  font-weight: 500;
  color: var(--fg);
}
.section-head p {
  font-size: var(--text-lg);
  color: var(--fg-2);
  line-height: 1.55;
  max-width: 50ch;
}
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; }
}

/* ---- Interior page hero ---- */
.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border-soft);
}
.page-hero .crumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.page-hero .crumb a { color: var(--muted); border-bottom: 1px solid var(--border); padding-bottom: 1px; }
.page-hero .crumb a:hover { color: var(--accent); border-color: var(--accent); }
.page-hero .crumb .sep { color: var(--border); }
.page-hero .crumb .here { color: var(--meta); font-weight: 600; }
.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  margin: 18px 0 20px;
  max-width: 20ch;
}
.page-hero .lede {
  font-size: var(--text-lg);
  color: var(--fg-2);
  line-height: 1.55;
  max-width: 56ch;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 64px;
  align-items: center;
}
.page-hero-aside {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.page-hero-aside .label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--meta);
  font-weight: 600;
  margin-bottom: 6px;
}
.page-hero-aside .value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--fg);
  font-weight: 500;
}
.page-hero-aside .row { margin-bottom: 18px; }
.page-hero-aside .row:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- Long-form prose (FAQ, privacy, legal, articles) ---- */
.prose { max-width: 72ch; }
.prose h2 {
  font-size: clamp(1.5rem, 2.6vw, var(--text-xl));
  margin: 48px 0 16px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin: 32px 0 12px;
}
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); border-bottom: 1px solid var(--border); padding-bottom: 1px; }
.prose a:hover { border-color: var(--accent); }
.prose strong, .prose b { color: var(--fg); font-weight: 600; }
.prose .lead-rule {
  width: 96px;
  height: 8px;
  color: var(--accent);
  margin-bottom: 28px;
}

/* Two-column page body: prose + sticky aside */
.page-cols {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 72px;
  align-items: start;
}
.page-aside {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.aside-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 26px;
}
.aside-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: 10px;
}
.aside-card p { font-size: 0.92rem; color: var(--fg-2); margin-bottom: 14px; }
.aside-card .btn { width: 100%; text-align: center; }
.aside-card ul { list-style: none; padding: 0; }
.aside-card li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.9rem;
}
.aside-card li:last-child { border-bottom: 0; }
.aside-card li a { color: var(--fg-2); display: flex; justify-content: space-between; }
.aside-card li a:hover { color: var(--accent); }
.aside-card li a::after { content: "\2192"; color: var(--muted); }
@media (max-width: 900px) {
  .page-cols { grid-template-columns: 1fr; gap: 40px; }
  .page-aside { position: static; }
}

/* Service / topic cards (matches homepage .svc) */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-grid-2 { grid-template-columns: repeat(2, 1fr); }
.svc {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  padding: 28px 24px;
  border-radius: var(--radius-md);
}
.svc h4, .svc h3.svc-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}
.svc p {
  font-size: 0.96rem;
  color: var(--fg-2);
  line-height: 1.55;
}
.svc .tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--meta);
  font-weight: 600;
}
.svc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}
.svc-ic { width: 36px; height: 36px; color: var(--accent); display: block; flex-shrink: 0; }
.svc-ic-frame {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--surface-warm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svc-group { margin-bottom: 56px; }
.svc-group:last-child { margin-bottom: 0; }
.svc-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
  margin-bottom: 28px;
  gap: 18px;
}
.svc-group-head-left { display: flex; align-items: center; gap: 14px; }
.svc-group-head-left .mk-tooth { color: var(--accent); width: 22px; height: 26px; flex-shrink: 0; }
.svc-group-head h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--fg);
}
.svc-group-head .group-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .svc-grid, .svc-grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .svc-grid, .svc-grid-2 { grid-template-columns: 1fr; }
}

/* Numbered process steps (treatment explanations) */
.steps { counter-reset: step; display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-soft);
}
.step:last-child { border-bottom: 0; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--meta);
  opacity: 0.55;
  line-height: 1;
  padding-top: 4px;
}
.step h3 { font-size: var(--text-lg); font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 0.96rem; color: var(--fg-2); }

/* Definition rows (symptoms, options, checklists) */
.def-list { display: flex; flex-direction: column; }
.def-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-soft);
}
.def-row:last-child { border-bottom: 0; }
.def-row .term {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--fg);
}
.def-row .desc { font-size: 0.96rem; color: var(--fg-2); }
@media (max-width: 720px) {
  .def-row { grid-template-columns: 1fr; gap: 6px; }
}

/* FAQ accordion */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--fg);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform var(--motion-fast) var(--ease-standard);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-body { padding: 0 0 26px; max-width: 64ch; }
.faq-item .faq-body p { margin-bottom: 12px; font-size: 0.98rem; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* Hours list (matches homepage) */
.hours-list { list-style: none; padding: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.96rem;
  color: var(--fg-2);
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list b { color: var(--fg); font-weight: 600; }

/* Contact blocks (matches homepage) */
.contact-block { margin-bottom: 22px; }
.contact-block .label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--meta);
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-block .value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--fg);
}

/* Financing / info cards (matches homepage .fin-card) */
.fin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.fin-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  padding: 36px;
  border-radius: var(--radius-md);
}
.fin-card h3 { font-size: var(--text-xl); font-weight: 500; color: var(--fg); margin-bottom: 14px; }
.fin-card p { font-size: var(--text-base); line-height: 1.6; color: var(--fg-2); margin-bottom: 18px; }
.fin-card ul { list-style: none; padding: 0; }
.fin-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.96rem;
  color: var(--fg-2);
}
.fin-card li:last-child { border-bottom: 0; }
@media (max-width: 900px) {
  .fin-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Testimonial cards (matches homepage) */
.test-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.test-card .quote-mark {
  position: absolute;
  top: 12px;
  left: 22px;
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.32;
  pointer-events: none;
  user-select: none;
}
.test-card .quote-body {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.62;
  color: var(--fg-2);
  margin: 18px 0 22px;
  position: relative;
  z-index: 1;
}
.test-card .test-rule { width: 32px; height: 1px; background: var(--accent); margin-bottom: 14px; }
.test-card .attribution { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.test-card .attribution .rating { display: flex; align-items: center; gap: 8px; color: var(--accent); }
.test-card .attribution .rating .source-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.test-card .attribution .rating .source-row svg { width: 38px; height: 11px; color: var(--meta); }
.test-card .attribution .who {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--fg);
  font-weight: 500;
}
.test-card .attribution .tenure {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.test-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 1023px) { .test-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .test-grid-3 { grid-template-columns: 1fr; } }

/* CTA band before footer */
.cta-band {
  background: var(--surface-warm);
  border-top: 1px solid var(--border-soft);
  padding: 80px 0;
}
.cta-band-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}
.cta-band h2 {
  font-size: clamp(1.8rem, 3.2vw, var(--text-2xl));
  font-weight: 500;
  margin: 14px 0 12px;
}
.cta-band p { font-size: var(--text-lg); color: var(--fg-2); max-width: 46ch; }
.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}
.cta-band-actions .btn, .cta-band-actions .btn-outline { text-align: center; }
.cta-band-actions .cta-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 900px) {
  .cta-band-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* Sticky mobile call bar */
.call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--accent);
  color: var(--accent-on);
  display: none;
  text-align: center;
  padding: 14px;
  font-weight: 600;
  font-size: 1rem;
  z-index: 40;
  box-shadow: 0 -8px 24px rgba(10, 37, 64, 0.18);
}
.call-bar a { color: var(--accent-on); }
@media (max-width: 720px) {
  .call-bar { display: block; }
  body { padding-bottom: 64px; }
}

/* Footer */
footer.foot {
  background: var(--fg);
  color: var(--surface-warm);
  padding: 64px 0 36px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.foot h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--surface-warm);
  opacity: 0.7;
  margin-bottom: 18px;
  font-weight: 600;
}
.foot p, .foot a {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--surface-warm);
  opacity: 0.85;
}
.foot a:hover { opacity: 1; }
.foot ul { list-style: none; padding: 0; }
.foot ul li { padding: 4px 0; }
.foot .brand-foot strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 8px;
  color: var(--surface);
  opacity: 1;
}
.foot .brand-foot small {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--meta);
  opacity: 1;
}
.foot-bottom {
  border-top: 1px solid rgba(220, 229, 238, 0.18);
  padding-top: 24px;
  font-size: 0.8rem;
  opacity: 0.6;
  text-align: center;
}
.foot-bottom a { font-size: inherit; }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
}
