:root {
  /* Color tokens — dental trust palette */
  --teal-900: #0b3d3a;
  --teal-700: #0f5953;
  --teal-500: #167b73;
  --teal-100: #e3f3f1;
  --teal-50:  #f2faf9;
  --mint-400: #4fd1c5;
  --ink-900: #1a2b2a;
  --ink-700: #3a4f4d;
  --ink-500: #6b807d;
  --ink-300: #a8b8b6;
  --paper:   #ffffff;
  --cream:   #fafdfc;
  --amber:   #d97706;
  --amber-bg: #fffbeb;

  /* Typography */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;

  /* Spacing scale (8px base) */
  --s-1: 0.5rem;  --s-2: 1rem;  --s-3: 1.5rem;  --s-4: 2rem;
  --s-5: 3rem;  --s-6: 4rem;  --s-7: 6rem;

  /* Radius */
  --r-sm: 8px; --r-md: 14px; --r-lg: 24px; --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(11,61,58,0.08);
  --shadow-md: 0 4px 20px rgba(11,61,58,0.10);
  --shadow-lg: 0 12px 40px rgba(11,61,58,0.14);

  /* Layout */
  --maxw: 1140px;
  --gutter: 24px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--teal-900); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--s-6) 0; }
.eyebrow {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-500);
  margin-bottom: var(--s-2);
}
.lede { font-size: 1.15rem; color: var(--ink-700); max-width: 38ch; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,61,58,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(79,209,197,0.15);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: #fff; }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint-400); }
.header-nav { display: none; gap: var(--s-3); font-size: 0.92rem; }
.header-nav a { color: rgba(255,255,255,0.8); }
.header-nav a:hover { color: #fff; }
.header-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; background: var(--mint-400); color: var(--teal-900); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-pill); font-weight: 600; font-size: 1rem;
  border: none; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-900); box-shadow: var(--shadow-md); }
.btn-cta { background: #dc2626; color: #fff; box-shadow: var(--shadow-sm); }
.btn-cta:hover { background: #b91c1c; box-shadow: var(--shadow-md); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5a; }
.btn-ghost { background: transparent; color: var(--teal-700); border: 1.5px solid var(--teal-100); }
.btn-ghost:hover { background: var(--teal-50); }

/* Pain highlight — yellow on dark hero (pattern 11) */
.pain-highlight { background: linear-gradient(180deg, transparent 55%, #fde047 55%); padding: 0 4px; border-radius: 2px; color: #fff; }

/* ===== HERO ===== */
.hero { background: var(--teal-900); color: #fff; padding: var(--s-5) 0 0; position: relative; overflow: hidden; }
.hero::before { content:""; position:absolute; top:-40%; left:-15%; width:55%; height:140%;
  background: radial-gradient(circle, rgba(79,209,197,0.18) 0%, transparent 65%); z-index:0; }
.hero::after { content:""; position:absolute; bottom:0; right:-10%; width:50%; height:60%;
  background: radial-gradient(circle, rgba(79,209,197,0.10) 0%, transparent 60%); z-index:0; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); align-items: stretch; }
.hero-copy { padding: var(--s-3) 0 var(--s-5); display: flex; flex-direction: column; justify-content: center; }
.hero .eyebrow { color: var(--mint-400); }
.hero h1 { margin-bottom: var(--s-2); color: #fff; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.82); margin-bottom: var(--s-3); max-width: 32ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-2); }
.hero-support { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-bottom: var(--s-3); }
.hero-proof { display: grid; gap: 10px; padding: 0; background: transparent; border: none; }
.hero-proof li { display: flex; gap: 10px; font-size: 0.9rem; color: rgba(255,255,255,0.85); align-items: flex-start; }
.hero-proof li::before { content:"✓"; color: var(--mint-400); font-weight: 700; flex-shrink:0; }
.hero-image-wrap { position: relative; margin: 0 -var(--gutter); }
.hero-image-wrap img { border-radius: var(--r-lg) var(--r-lg) 0 0; width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: 0 -20px 60px rgba(0,0,0,0.3); }
.hero-badge { position: absolute; bottom: var(--s-3); left: var(--s-2); background: rgba(11,61,58,0.92); backdrop-filter: blur(8px); padding: 10px 16px; border-radius: var(--r-pill); font-size: 0.78rem; font-weight: 500; color: #fff; box-shadow: var(--shadow-md); border: 1px solid rgba(79,209,197,0.3); display:flex; align-items:center; gap:8px; }
.hero-badge .dot { width:8px; height:8px; border-radius:50%; background: var(--mint-400); flex-shrink:0; }
.hero-rating { display:flex; align-items:center; gap:12px; margin-top: var(--s-3); padding: var(--s-2) 0; border-top: 1px solid rgba(255,255,255,0.1); }
.hero-rating .stars { color: var(--mint-400); font-size: 1rem; letter-spacing: 2px; }
.hero-rating .rating-text { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* ===== PLACEHOLDER BLOCKS ===== */
.placeholder {
  background: var(--amber-bg); border: 1.5px dashed var(--amber);
  border-radius: var(--r-md); padding: var(--s-3); margin: var(--s-2) 0;
}
.placeholder-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; display: block; }
.placeholder-text { font-size: 0.9rem; color: var(--ink-700); }

/* ===== MECHANISM ===== */
.mechanism { background: var(--paper); }
.mechanism-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); align-items: center; }
.mechanism-image img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ===== WHAT IS ===== */
.what-is { background: var(--paper); }
.what-is-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); align-items: start; }
.what-is-image { position: relative; }
.what-is-image img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.what-is-image .img-caption { font-size: 0.82rem; color: var(--ink-500); margin-top: var(--s-1); font-style: italic; text-align: center; }
.section-head { max-width: 640px; margin-bottom: var(--s-4); }
.section-head .lede { margin-top: var(--s-2); }
.compare-table { width: 100%; border-collapse: collapse; margin-top: var(--s-3); }
.compare-table th { text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-500); padding: 12px 16px; border-bottom: 2px solid var(--teal-100); }
.compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--teal-50); font-size: 0.96rem; }
.compare-table .col-clear { color: var(--teal-700); font-weight: 600; }
.candidacy { display: grid; grid-template-columns: 1fr; gap: var(--s-1); margin-top: var(--s-3); }
.candidacy li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; }
.candidacy li::before { content:"→"; color: var(--mint-400); font-weight: 700; }

/* ===== PROCESS ===== */
.process { background: var(--cream); }
.process-feature { position: relative; border-radius: var(--r-lg); overflow: hidden; margin-bottom: var(--s-4); box-shadow: var(--shadow-md); }
.process-feature img { width: 100%; aspect-ratio: 2/1; object-fit: cover; display:block; }
.process-feature-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--s-4); background: linear-gradient(to top, rgba(11,61,58,0.92), transparent); color: #fff; }
.process-feature-overlay p { color: rgba(255,255,255,0.9); max-width: 40ch; }
.process-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); margin-top: var(--s-4); }
.step { background: var(--paper); border-radius: var(--r-md); padding: var(--s-3); box-shadow: var(--shadow-sm); position: relative; }
.step-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--mint-400); line-height: 1; }
.step h3 { margin: var(--s-1) 0 8px; color: var(--teal-900); }
.step p { font-size: 0.96rem; color: var(--ink-700); }
.step-duration { font-size: 0.8rem; color: var(--teal-500); font-weight: 600; margin-top: 8px; display: inline-block; }

/* ===== COMMITMENT ===== */
.commit { background: var(--paper); }
.commit-list { display: grid; grid-template-columns: 1fr; gap: var(--s-2); margin-top: var(--s-3); }
.commit-item { display: flex; gap: var(--s-2); align-items: flex-start; padding: var(--s-2); border-left: 3px solid var(--mint-400); background: var(--teal-50); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.commit-item strong { color: var(--teal-900); display: block; margin-bottom: 4px; }
.commit-item p { font-size: 0.92rem; color: var(--ink-700); }

/* ===== FAQ ===== */
.faq { background: var(--cream); }
.faq-list { margin-top: var(--s-4); }
.faq-item { border-bottom: 1px solid var(--teal-100); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: var(--s-2) 0; cursor: pointer; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--teal-900); list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q .icon { font-size: 1.4rem; color: var(--teal-500); transition: transform 0.2s; line-height: 1; }
details[open] .faq-q .icon { transform: rotate(45deg); }
.faq-a { padding-bottom: var(--s-2); color: var(--ink-700); font-size: 0.98rem; }

/* ===== BRANCHES ===== */
.branches { background: var(--paper); }
.branch-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-2); margin-top: var(--s-4); }
.branch-card { padding: var(--s-3); border: 1px solid var(--teal-50); border-radius: var(--r-md); transition: box-shadow 0.2s, transform 0.2s; }
.branch-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.branch-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.branch-card .addr { font-size: 0.88rem; color: var(--ink-500); margin-bottom: var(--s-2); }
.branch-card a { font-size: 0.85rem; font-weight: 600; }
.trust-block { margin-top: var(--s-4); padding: var(--s-4); background: var(--teal-50); border-radius: var(--r-lg); }
.trust-block h3 { margin-bottom: var(--s-2); }

/* ===== FINAL CTA ===== */
.final-cta { background: var(--teal-900); color: #fff; text-align: center; padding: var(--s-6) 0; }
.final-cta h2 { color: #fff; margin-bottom: var(--s-2); }
.final-cta p { color: rgba(255,255,255,0.85); max-width: 48ch; margin: 0 auto var(--s-3); }
.final-cta .btn-wa { background: #25d366; color: #fff; }
.final-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.3); }

/* ===== FOOTER ===== */
.site-footer { background: var(--ink-900); color: var(--ink-300); padding: var(--s-5) 0 var(--s-3); }
.site-footer .container { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
.footer-brand { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; margin-bottom: 8px; }
.footer-meta { font-size: 0.82rem; color: var(--ink-500); }
.footer-social { display: flex; gap: var(--s-2); }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.75rem; }
.footer-social a:hover { background: var(--teal-500); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: var(--s-2); margin-top: var(--s-3); font-size: 0.78rem; color: var(--ink-500); }

/* ===== STICKY MOBILE CTA ===== */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; padding: 12px 16px; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-top: 1px solid var(--teal-50); z-index: 90; }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: var(--s-5); align-items: stretch; }
  .hero-image-wrap { margin: 0; }
  .hero-image-wrap img { aspect-ratio: 3/4; border-radius: var(--r-lg); }
  .header-nav { display: flex; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .commit-list { grid-template-columns: 1fr 1fr; }
  .branch-grid { grid-template-columns: repeat(2, 1fr); }
  .candidacy { grid-template-columns: 1fr 1fr; }
  .what-is-grid { grid-template-columns: 1.4fr 0.6fr; gap: var(--s-5); }
  .mechanism-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--s-5); }
  .site-footer .container { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .branch-grid { grid-template-columns: repeat(3, 1fr); }
  .sticky-cta { display: block; }
  .hero-image-wrap img { aspect-ratio: 3/4; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
