/* APlus Smile / BNY Dental — brand system
   Strategy: align web palette with the practice's printed logo (teal tooth
   + gold swoosh) for cross-touchpoint consistency. Teal = trust/medical,
   gold = premium warmth, white = clean/clinical-calm.
   Palette: white · ink #1C2422 · teal #157A72 · aqua tint #ECF5F3 ·
   gold #C9A05C · gray #5F6B68 */
* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
:root {
  --ink: #1C2422;
  --gray: #5F6B68;
  --teal: #157A72;
  --teal-deep: #0F5F59;
  --aqua: #ECF5F3;
  --sand: #F7F4EE;
  --gold: #C9A05C;
}
html {
  scroll-behavior: smooth;
  color-scheme: only light;
  background-color: #ffffff !important;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background-color: #ffffff !important;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
h1, h2 { font-weight: 700; letter-spacing: -0.022em; }
.logo-plus { color: var(--teal); }
/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28,36,34,.08);
}
.nav-inner {
  max-width: 1060px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 24px;
}
.nav-logo {
  font-weight: 700; font-size: 19px; color: var(--ink);
  text-decoration: none;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  color: var(--ink); text-decoration: none; font-size: 14px;
}
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  background: var(--teal); color: #fff !important;
  padding: 9px 18px; border-radius: 999px; font-weight: 600;
}
.nav-cta:hover { background: var(--teal-deep); }
/* Hero — copy left, real result right */
.hero {
  max-width: 1060px; margin: 0 auto;
  padding: 72px 24px 64px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
  align-items: center;
}
.hero-figure { margin: 0; }
.hero-figure img {
  width: 100%; height: auto; display: block;
  border-radius: 24px;
  box-shadow: 0 24px 60px -30px rgba(28,36,34,.35);
}
.hero-figure figcaption {
  font-size: 13.5px; color: var(--gray); margin-top: 12px;
}
.hero-figure figcaption strong { color: var(--ink); font-weight: 600; }
.hero-badge {
  display: inline-block;
  background: var(--aqua); color: var(--teal-deep);
  font-size: 14px; font-weight: 600;
  padding: 8px 18px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(44px, 6.4vw, 72px);
  line-height: 1.04;
  color: var(--ink);
}
.hero-motto {
  color: var(--teal); font-size: clamp(16px, 2vw, 19px);
  font-weight: 600;
  margin-top: 16px;
}
.hero-sub {
  color: var(--gray);
  font-size: clamp(17px, 2.3vw, 20px); max-width: 520px;
  margin: 16px 0 0;
  line-height: 1.6;
}
.hero-actions {
  margin-top: 32px;
  display: flex; gap: 26px; align-items: center;
  flex-wrap: wrap;
}
.trust-row {
  margin: 32px 0 0; padding: 0;
  list-style: none;
  display: flex; gap: 10px 28px; flex-wrap: wrap;
  color: var(--gray); font-size: 14.5px;
}
.trust-row li::before {
  content: ""; display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); margin-right: 9px;
  vertical-align: 2px;
}
/* Buttons */
.btn {
  background: var(--teal); color: #fff; text-decoration: none;
  padding: 14px 28px; border-radius: 999px;
  font-size: 16px; font-weight: 600;
  display: inline-block;
  transition: background .2s ease;
}
.btn:hover { background: var(--teal-deep); }
.btn:focus-visible, a:focus-visible {
  outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px;
}
.btn-link { color: var(--teal); text-decoration: none; font-size: 16px; font-weight: 500; }
.btn-link:hover { text-decoration: underline; }
/* Sections */
.section {
  max-width: 1060px; margin: 0 auto;
  padding: 72px 24px;
}
.alt-tint {
  max-width: none;
  background: var(--aqua);
}
.section-inner { max-width: 1012px; margin: 0 auto; }
.section h2 {
  font-size: clamp(32px, 4.6vw, 48px);
  line-height: 1.1;
}
.section-sub {
  color: var(--gray); font-size: 18px; max-width: 560px;
  margin-top: 16px;
}
/* Offers */
.offers {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.offer {
  display: flex; flex-direction: column;
  background: var(--sand);
  border-radius: 24px;
  padding: 34px 30px;
  text-decoration: none; color: var(--ink);
  transition: transform .15s ease;
}
.offer:hover { transform: translateY(-3px); }
.offer-featured {
  background: var(--teal); color: #fff;
}
.offer-featured .offer-tag { color: var(--gold); }
.offer-featured .offer-sub { color: rgba(255,255,255,.85); }
.offer-featured .offer-cta { color: #fff; border-color: rgba(255,255,255,.5); }
.offer-tag {
  font-size: 13px; font-weight: 700; color: var(--teal);
  margin-bottom: 10px;
}
.offer h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.015em; }
.offer-sub { font-size: 15px; color: var(--gray); margin-top: 10px; flex: 1; }
.offer-cta {
  margin-top: 22px; font-size: 15px; font-weight: 600;
  color: var(--teal);
  border-bottom: 1.5px solid rgba(21,122,114,.4);
  width: fit-content; padding-bottom: 2px;
}
/* Services grid */
.grid {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.card {
  background: var(--sand);
  border-radius: 20px;
  padding: 30px 26px;
}
.card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--gray); font-size: 14.5px; }
.card-popular { border: 1.5px solid rgba(21,122,114,.25); }
.card-popular::before {
  content: "Most popular"; display: inline-block; margin-bottom: 12px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--teal-deep); background: var(--aqua);
  padding: 4px 10px; border-radius: 999px;
}
/* The A+ Experience — sand block, on-brand */
.experience {
  max-width: none;
  background: var(--sand);
  text-align: center;
}
.experience > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.exp-list {
  list-style: none;
  margin-top: 40px;
  text-align: left;
  display: flex; flex-direction: column; gap: 26px;
}
.exp-list li {
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  padding-left: 28px;
  position: relative;
}
.exp-list li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}
.exp-list strong { color: var(--teal-deep); font-weight: 700; }
.exp-cta { margin-top: 44px; }
/* Patient quote, inside a doctor card */
.doctor-quote {
  margin: 22px auto 0; max-width: 420px;
  background: #fff; border-radius: 16px; padding: 18px 20px;
  text-align: left;
}
.doctor-quote .review-stars { color: var(--gold); font-size: 15px; letter-spacing: 3px; }
.doctor-quote blockquote {
  font-size: 15px; line-height: 1.5; color: var(--ink); font-weight: 500;
  margin-top: 6px;
}
.doctor-quote .review-source { color: var(--gray); font-size: 12.5px; margin-top: 8px; }
/* Doctors */
.doctors {
  margin-top: 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.doctor {
  background: var(--sand);
  border-radius: 24px;
  padding: 44px 34px;
  text-align: center;
}
.doctor-portrait {
  width: 200px; height: 260px;
  object-fit: cover; object-position: top center;
  border-radius: 999px 999px 8px 8px;
  margin: 0 auto 24px; display: block;
}
.doctor h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.doctor .doctor-meta { color: var(--teal); font-weight: 600; font-size: 13.5px; margin-top: 6px; }
.doctor p { color: var(--gray); margin-top: 12px; font-size: 15px; max-width: 420px; line-height: 1.6; margin-left: auto; margin-right: auto; }
/* Visit */
.visit {
  margin-top: 44px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.visit-col h3 { font-size: 16px; margin-bottom: 10px; font-weight: 700; }
.visit-col p { color: var(--gray); font-size: 15.5px; margin-bottom: 8px; }
.visit-col a { color: var(--teal); text-decoration: none; }
.visit-col a:hover { text-decoration: underline; }
.fine { font-size: 12.5px; color: #9AA5A2; }
/* Contact actions */
.contact-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn-outline { background: #fff; color: var(--teal); border: 2px solid var(--teal); }
.btn-outline:hover { background: var(--aqua); }
/* Footer */
.footer {
  border-top: 1px solid rgba(28,36,34,.08);
  padding: 40px 24px 48px;
  text-align: center;
  color: var(--gray); font-size: 13.5px;
}
.footer p + p { margin-top: 8px; }
.footer a { color: var(--teal); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-motto {
  font-weight: 700; color: var(--ink); font-size: 15px;
  margin-bottom: 14px;
}
.socials {
  display: flex; gap: 22px; justify-content: center;
  margin-bottom: 18px;
}
.socials a {
  color: var(--teal); text-decoration: none; font-weight: 600; font-size: 14px;
}
.socials a:hover { text-decoration: underline; }
/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 56px 24px 48px; }
  .hero-figure { max-width: 460px; margin: 0 auto; }
  .grid { grid-template-columns: 1fr 1fr; }
  .offers { grid-template-columns: 1fr; }
  .doctors, .visit { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (max-width: 540px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding: 44px 24px 40px; }
  .section { padding: 56px 24px; }
  .contact-actions .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .offer { transition: none; }
}

/* ============================================================
   Interior pages (services, doctors) — added for the multi-page
   build. Reuses the same tokens, spacing scale, and radii as the
   home page so the system stays consistent.
   ============================================================ */

/* Breadcrumbs */
.breadcrumbs {
  max-width: 1060px; margin: 0 auto;
  padding: 22px 24px 0;
  font-size: 13.5px; color: var(--gray);
}
.breadcrumbs ol {
  list-style: none; display: flex; flex-wrap: wrap;
  gap: 8px; align-items: center; padding: 0; margin: 0;
}
.breadcrumbs li + li::before {
  content: "/"; color: #B9C3C0; margin-right: 8px;
}
.breadcrumbs a { color: var(--gray); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Page hero (interior) */
.page-hero {
  max-width: 1060px; margin: 0 auto;
  padding: 40px 24px 8px;
}
.page-hero h1 {
  font-size: clamp(36px, 5.2vw, 58px);
  line-height: 1.06;
  max-width: 16ch;
}
.page-hero .lede {
  color: var(--gray);
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.6;
  max-width: 62ch;
  margin-top: 20px;
}
.page-hero .hero-actions { margin-top: 28px; }

/* Long-form body copy */
.prose { max-width: 68ch; }
.prose h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.15;
  margin-top: 48px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 18.5px; font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 30px;
}
.prose p { color: var(--gray); font-size: 16.5px; line-height: 1.68; margin-top: 16px; }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose ul { margin: 18px 0 0; padding: 0; list-style: none; }
.prose ul li {
  color: var(--gray); font-size: 16.5px; line-height: 1.6;
  padding-left: 26px; position: relative; margin-top: 12px;
}
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: .66em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}
.prose ul li strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--teal-deep); }

/* Step list — "what to expect" */
.steps { counter-reset: step; margin-top: 28px; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  padding-left: 52px; position: relative;
  margin-top: 22px; color: var(--gray);
  font-size: 16.5px; line-height: 1.6;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--aqua); color: var(--teal-deep);
  font-size: 14.5px; font-weight: 700;
  display: grid; place-items: center;
}
.steps li strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

/* FAQ — visible questions; mirrored in FAQPage structured data */
.faq { margin-top: 32px; max-width: 68ch; }
.faq details {
  border-bottom: 1px solid rgba(28,36,34,.10);
  padding: 20px 0;
}
.faq details:first-of-type { border-top: 1px solid rgba(28,36,34,.10); }
.faq summary {
  cursor: pointer; list-style: none;
  font-size: 17.5px; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; gap: 20px; align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--teal); font-size: 22px; font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--gray); font-size: 16px; line-height: 1.65; margin-top: 12px; }
.faq details p a { color: var(--teal); }

/* Related services / internal linking block */
.related { margin-top: 44px; }
.related h2 { font-size: clamp(24px, 3vw, 30px); }
.link-grid {
  margin-top: 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.link-card {
  display: block; background: var(--sand); border-radius: 18px;
  padding: 22px 24px; text-decoration: none; color: var(--ink);
  transition: transform .15s ease;
}
.link-card:hover { transform: translateY(-3px); }
.link-card strong { display: block; font-size: 16.5px; font-weight: 700; }
.link-card span { display: block; color: var(--gray); font-size: 14px; margin-top: 6px; line-height: 1.5; }

/* Closing call-to-action band with NAP */
.cta-band { max-width: none; background: var(--aqua); text-align: center; }
.cta-band > * { max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-band h2 { font-size: clamp(28px, 3.8vw, 40px); }
.cta-band p { color: var(--gray); font-size: 17px; margin-top: 16px; }
.cta-band .nap { color: var(--ink); font-size: 16px; margin-top: 20px; line-height: 1.7; }
.cta-band .nap a { color: var(--teal); text-decoration: none; }
.cta-band .nap a:hover { text-decoration: underline; }
.cta-band .btn { margin-top: 28px; }

/* Doctor page header */
.doctor-header {
  max-width: 1060px; margin: 0 auto; padding: 32px 24px 0;
  display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: start;
}
.doctor-header img {
  width: 240px; height: 312px; object-fit: cover; object-position: top center;
  border-radius: 999px 999px 12px 12px; display: block;
}
.doctor-header h1 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; }
.doctor-header .doctor-meta { color: var(--teal); font-weight: 600; font-size: 15px; margin-top: 10px; }
.doctor-header .lede { color: var(--gray); font-size: 17.5px; line-height: 1.65; margin-top: 18px; max-width: 58ch; }

/* Service index list */
.service-group { margin-top: 52px; }
.service-group h2 { font-size: clamp(24px, 3vw, 30px); }
.service-group > p { color: var(--gray); font-size: 16.5px; margin-top: 12px; max-width: 62ch; }

@media (max-width: 900px) {
  .link-grid { grid-template-columns: 1fr 1fr; }
  .doctor-header { grid-template-columns: 1fr; gap: 26px; }
  .doctor-header img { width: 200px; height: 260px; }
}
@media (max-width: 540px) {
  .link-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 28px 24px 4px; }
  .page-hero .hero-actions .btn { width: 100%; text-align: center; }
}

/* Footer navigation — site-wide internal linking */
.footer-nav {
  max-width: 1012px; margin: 0 auto 40px;
  display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 32px;
  text-align: left;
}
.footer-col h2 {
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink); margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li + li { margin-top: 8px; }
.footer-col address { font-style: normal; line-height: 1.7; }
.footer-col p { margin-top: 10px; }
@media (max-width: 760px) {
  .footer-nav { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-col address { text-align: center; }
}

/* Hero supporting line — keeps the brand statement dominant while the H1
   still states what the practice is and where it is. */
.h1-sub {
  display: block;
  font-size: .42em; line-height: 1.2;
  color: var(--gray); font-weight: 600;
  letter-spacing: -0.012em;
  margin-top: 16px;
}
/* Service tiles are links on the home page */
a.card { text-decoration: none; color: var(--ink); display: block; transition: transform .15s ease; }
a.card:hover { transform: translateY(-3px); }
a.card:hover h3 { color: var(--teal-deep); }
.card-more { font-size: 14px; font-weight: 600; color: var(--teal); margin-top: 12px; }
.doctor h3 a { color: var(--ink); text-decoration: none; }
.doctor h3 a:hover { color: var(--teal-deep); text-decoration: underline; }
.doctor .doctor-link { display: inline-block; margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { a.card, .link-card { transition: none; } }
/* Doctor cards on /doctors/ are page-level subsections, so their names are h2 */
.doctors h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.doctors h2 a { color: var(--ink); text-decoration: none; }
.doctors h2 a:hover { color: var(--teal-deep); text-decoration: underline; }
