/* Marin Dental Studio — site styles (builds on shared/css/base.css) */

/* nav — light hero, so the nav reads in ink from the start */
[data-nav] .logo { font-weight: 700; }
.logo b { color: var(--accent); }
[data-nav] .nav-links a { color: var(--ink); }
[data-nav] .nav-links a.btn-primary { color: var(--accent-ink); } /* dark ink on teal: white-on-#16B5A0 is 2.58:1 (fails AA) */

/* hero — LIGHT clinic, soft scrim (not heavy dark) */
[data-scrub-canvas] { background: #EAF1F1; }
[data-scrub-canvas] .scrim {
  background:
    linear-gradient(180deg, rgba(247,249,249,.62) 0%, rgba(247,249,249,.18) 38%, rgba(247,249,249,.10) 62%, rgba(247,249,249,.72) 100%),
    radial-gradient(120% 80% at 50% 22%, rgba(247,249,249,0) 40%, rgba(247,249,249,.35) 100%);
}
/* centered radial wash under the headline so the dark accent word reads over the bright tooth highlights */
[data-scrub-canvas] .scrub-overlay::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 45% at 50% 42%, rgba(244,247,246,.55), transparent 70%);
}
[data-scrub-canvas] .scrub-overlay > .wrap { position: relative; z-index: 1; }
.hero-kicker { font-family: var(--font-body); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-size: 13px; color: var(--accent-ink); margin-bottom: 18px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  background: rgba(22,181,160,.14); color: var(--accent-ink);
  border: 1px solid rgba(22,181,160,.30);
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 13px;
}
.hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(22,181,160,.22); }
.hero-h1 { font-family: var(--font-display); color: var(--ink); font-size: clamp(46px, 9.5vw, 132px); line-height: .98; letter-spacing: -0.02em; font-weight: 700; text-shadow: 0 2px 24px rgba(244,247,246,.85); }
.hero-h1 em { color: var(--accent-ink); font-style: normal; text-shadow: 0 2px 24px rgba(244,247,246,.85); }
.hero-sub { color: var(--muted); font-size: clamp(16px,2vw,21px); max-width: 50ch; margin: 22px auto 30px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 4; color: var(--muted); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }

/* display type — friendly modern, no uppercase */
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px,4.4vw,58px); line-height: 1.02; letter-spacing: -0.02em; }
.h2 em { color: var(--accent-ink); font-style: normal; }
.lead { font-size: clamp(17px,2vw,21px); color: var(--muted); max-width: 60ch; }

/* offer band — calm teal */
.offer { background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); padding: clamp(28px,4vw,52px); display: grid; gap: 18px; align-items: center; box-shadow: 0 30px 60px -34px rgba(22,181,160,.55); }
@media (min-width:820px){ .offer { grid-template-columns: 1.4fr auto; } }
.offer .h2 { font-size: clamp(28px,3.6vw,48px); color: var(--accent-ink); }
.offer .h2 em { color: #fff; }
.offer p { color: rgba(4,32,28,.82); }

/* stats / trust strip */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(38px,6vw,76px); color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.stat .lbl { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* services — clean cards, not dark-overlay tiles */
.svc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px,2.4vw,32px); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -32px rgba(19,32,42,.30); border-color: rgba(22,181,160,.45); }
.svc .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(22,181,160,.12); color: var(--accent-ink); margin-bottom: 18px; }
.svc .ico svg { width: 24px; height: 24px; }
.svc h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.svc p { font-size: 15px; color: var(--muted); margin-top: 8px; }

/* split feature (why us / insurance) */
.split { display: grid; gap: clamp(28px,4vw,56px); align-items: center; }
@media (min-width:880px){ .split { grid-template-columns: 1.05fr .95fr; } .split.flip > *:first-child { order: 2; } }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.feat-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 16px; }
.feat-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.feat-list .fi { width: 28px; height: 28px; border-radius: 8px; background: rgba(22,181,160,.14); color: var(--accent-ink); display: grid; place-items: center; }
.feat-list .fi svg { width: 16px; height: 16px; }
.feat-list b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.feat-list span { color: var(--muted); font-size: 15px; }

/* insurance / payment friction-remover — soft teal-dark spotlight */
.spotlight { background: var(--ink-deep); color: #EAF3F2; border-radius: var(--radius); padding: clamp(34px,5vw,72px); }
.spotlight .eyebrow { color: rgba(234,243,242,.6); }
.spotlight .h2 em { color: var(--accent); }
.spotlight .h2 { color: #fff; }
.spotlight p { color: rgba(234,243,242,.82); }
.logos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.logos span { border: 1px solid rgba(234,243,242,.22); border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 500; color: rgba(234,243,242,.92); }

/* team / dentist credibility */
.team-card { text-align: left; }
.team-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.team-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 21px; margin-top: 16px; letter-spacing: -0.01em; }
.team-card span { color: var(--muted); font-size: 14px; }

/* reviews — illustrative quotes, numbers omitted */
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px,2.4vw,32px); display: flex; flex-direction: column; }
.review .stars { color: var(--accent); letter-spacing: 3px; font-size: 16px; margin-bottom: 14px; }
.review p { color: var(--ink); font-size: 16px; line-height: 1.6; }
.review .who { margin-top: 18px; color: var(--muted); font-size: 14px; font-weight: 600; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-ink); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 14px; color: var(--muted); max-width: 72ch; }

/* final cta — soft teal-dark */
.final { background: var(--ink-deep); color: #fff; border-radius: var(--radius); text-align: center; padding: clamp(48px,8vw,108px) 24px; }
.final .h2 { color: #fff; }
.final .h2 em { color: var(--accent); font-style: normal; }
.final p { color: rgba(234,243,242,.82); }

/* mobile sticky bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 10px; padding: 10px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.mbar .btn { flex: 1; justify-content: center; }
@media (max-width: 760px){ .mbar { display: flex; } footer { padding-bottom: 90px; } }

/* illustrative note */
.illus { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
