/* =========================================================
   Echo Park Dental — "Soft Wellness Studio"
   Own reset + design tokens. No framework.
   Display: Baloo 2 (rounded friendly) · Body: Mulish
   Palette: cream canvas · mint-sage · coral/peach · warm wood
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100%; line-height: 1.6; text-rendering: optimizeLegibility;
       -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.08; font-weight: 600; }
:focus-visible { outline: 3px solid var(--mint-700); outline-offset: 3px; border-radius: 8px; }

/* ---------- Tokens ---------- */
:root {
  --cream:      #fbf7f0;
  --cream-2:    #f4ede0;
  --paper:      #ffffff;

  --mint-100:   #e4f3ec;
  --mint-200:   #c7e7d7;
  --mint-300:   #9fd6bd;
  --mint-500:   #5cbf97;
  --mint-600:   #3da982;
  --mint-700:   #2c8666;
  --mint-900:   #163f31;

  --sky-100:    #e7f1f6;
  --sky-300:    #aed5e6;
  --sky-500:    #69b3cf;

  --coral-300:  #ffc7b3;
  --coral-500:  #ff8f6e;
  --coral-600:  #f4724c;

  --peach-200:  #ffe6cf;
  --wood-300:   #e6cba6;
  --wood-500:   #c79a64;

  --ink:        #233029;
  --ink-soft:   #4f6058;
  --ink-faint:  #82958b;
  --line:       #ece3d4;

  --font-display: "Baloo 2", "Trebuchet MS", sans-serif;
  --font-body:    "Mulish", "Segoe UI", sans-serif;

  --shadow-sm:  0 2px 10px rgba(44,134,102,.07);
  --shadow-md:  0 14px 34px -16px rgba(35,48,41,.22);
  --shadow-lg:  0 36px 70px -32px rgba(35,48,41,.30);
  --shadow-mint: 0 22px 44px -20px rgba(60,169,130,.55);

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 34px;
  --r-xl: 48px;

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  background-image:
    radial-gradient(circle at 12% -5%, var(--mint-100) 0, transparent 40%),
    radial-gradient(circle at 95% 8%, var(--peach-200) 0, transparent 36%),
    radial-gradient(circle at 80% 95%, var(--sky-100) 0, transparent 42%);
  background-attachment: fixed;
  overflow-x: hidden;
}

.wrap { width: min(100% - 2*var(--pad), var(--maxw)); margin-inline: auto; }
.wrap--wide { width: min(100% - 2*var(--pad), 1320px); margin-inline: auto; }

section { position: relative; }
.section-pad { padding-block: clamp(64px, 9vw, 130px); }

/* Soft scalloped / dotted divider motif */
.dots { display: flex; gap: 9px; align-items: center; }
.dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--mint-300); }
.dots span:nth-child(2){ background: var(--coral-500); }
.dots span:nth-child(3){ background: var(--sky-500); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 800;
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--mint-700);
}
.eyebrow::before { content:""; width: 26px; height: 2px; border-radius: 2px; background: var(--coral-500); }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.h-xl { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 700; }
.h-lg { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 600; }
.h-md { font-size: clamp(1.4rem, 2.6vw, 1.95rem); font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 56ch; }

.tint-mint { color: var(--mint-600); }
.tint-coral{ color: var(--coral-600); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  padding: .82em 1.7em; border-radius: 100px;
  transition: transform .25s cubic-bezier(.2,.9,.3,1.4), box-shadow .25s, background .25s;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--mint-600); color: #fff; box-shadow: var(--shadow-mint); }
.btn--primary:hover { transform: translateY(-3px); background: var(--mint-700); }
.btn--coral { background: var(--coral-500); color: #fff; box-shadow: 0 20px 40px -18px rgba(244,114,76,.7); }
.btn--coral:hover { transform: translateY(-3px); background: var(--coral-600); }
.btn--ghost { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); border: 1.5px solid var(--line); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--mint-300); color: var(--mint-700); }
.btn--lg { font-size: 1.1rem; padding: .95em 2em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,247,240,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(35,48,41,.5); }
.nav { display: flex; align-items: center; gap: 22px; height: 78px; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 14px;
  background: linear-gradient(150deg, var(--mint-500), var(--mint-700));
  display: grid; place-items: center; box-shadow: var(--shadow-mint);
  position: relative; flex: none;
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; line-height: 1; letter-spacing: -.01em; }
.brand__name small { display: block; font-family: var(--font-body); font-weight: 700;
  font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: var(--mint-700); margin-top: 3px; }

.nav__links { display: flex; gap: 4px; }
.nav__links a {
  font-weight: 700; font-size: .95rem; color: var(--ink-soft);
  padding: .5em .95em; border-radius: 100px; transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--mint-700); background: var(--mint-100); }
.nav__links a.active { color: var(--mint-700); background: var(--mint-100); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__phone { font-family: var(--font-display); font-weight: 600; font-size: .98rem; color: var(--ink); display: none; }
.nav__phone span { color: var(--ink-faint); font-family: var(--font-body); font-size: .62rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; display: block; }

.burger { display: grid; gap: 5px; padding: 10px; border-radius: 12px; }
.burger span { width: 24px; height: 2.5px; border-radius: 3px; background: var(--ink); transition: .3s; }
.burger.open span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; gap: 6px;
    background: var(--cream); padding: 18px var(--pad) 30px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform .4s cubic-bezier(.2,.9,.3,1.2);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { font-size: 1.1rem; padding: .7em 1em; }
}
@media (min-width: 901px) { .burger { display: none; } .nav__phone { display: block; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.hero__copy { position: relative; z-index: 2; }
.pill-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--paper); box-shadow: var(--shadow-sm);
  padding: .5em 1em .5em .6em; border-radius: 100px; font-weight: 800; font-size: .82rem;
  color: var(--mint-700); margin-bottom: 22px;
}
.pill-badge b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--mint-100); color: var(--mint-700); }
.hero__copy h1 { margin: 6px 0 18px; }
.hero__copy h1 .scribble { position: relative; color: var(--mint-600); white-space: nowrap; }
.hero__copy h1 .scribble svg { position: absolute; left: 0; right: 0; bottom: -.18em; width: 100%; height: .35em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__trust { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.hero__avatars { display: flex; }
.hero__avatars span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--cream); margin-left: -12px;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: .85rem; }
.hero__avatars span:first-child { margin-left: 0; }
.hero__trust small { color: var(--ink-soft); font-weight: 700; font-size: .85rem; }
.hero__trust .stars { color: var(--coral-500); letter-spacing: 2px; }

/* Hero image: organic blob frame + floating chips */
.hero__media { position: relative; }
.hero__blob {
  position: relative; aspect-ratio: 1/1.04; overflow: hidden;
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  box-shadow: var(--shadow-lg);
  animation: blobmorph 16s ease-in-out infinite;
}
.hero__blob img { width: 100%; height: 100%; object-fit: cover; }
@keyframes blobmorph {
  0%,100% { border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; }
  50%     { border-radius: 56% 44% 42% 58% / 44% 56% 48% 52%; }
}
.hero__ring { position: absolute; inset: -16px; border: 2px dashed var(--mint-300); border-radius: 50%;
  z-index: -1; animation: spin 38s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.float-chip {
  position: absolute; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow-md);
  padding: 12px 16px; display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: .9rem;
  animation: bob 5s ease-in-out infinite;
}
.float-chip i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-chip small { display: block; font-weight: 700; color: var(--ink-faint); font-size: .72rem; }
.float-chip--a { top: 8%; left: -6%; }
.float-chip--b { bottom: 14%; right: -7%; animation-delay: 1.4s; }
.float-chip--c { bottom: -3%; left: 12%; animation-delay: .7s; }
@keyframes bob { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; margin: 10px auto 0; }
  .float-chip--a { left: 0; }
  .float-chip--b { right: 0; }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip { background: var(--mint-900); color: #eafaf2; }
.trust-strip .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between;
  align-items: center; padding-block: 26px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-family: var(--font-display);
  font-weight: 500; font-size: 1.02rem; }
.trust-item svg { width: 22px; height: 22px; color: var(--mint-300); flex: none; }

/* ============================================================
   CARDS / SECTION HEADERS
   ============================================================ */
.sec-head { max-width: 640px; margin-bottom: clamp(34px, 5vw, 56px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .lead { margin-top: 16px; }
.sec-head.center .lead { margin-inline: auto; }

/* Treatments grid */
.treat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 22px; }
.treat-card {
  background: var(--paper); border-radius: var(--r-lg); padding: 30px 28px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.9,.3,1.2), box-shadow .3s, border-color .3s;
}
.treat-card::after { content:""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px;
  border-radius: 50%; background: var(--mint-100); opacity: 0; transition: opacity .35s; }
.treat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--mint-200); }
.treat-card:hover::after { opacity: .7; }
.treat-card > * { position: relative; z-index: 1; }
.treat-ico {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; flex: none;
  background: var(--mint-100); color: var(--mint-700); transition: transform .35s;
}
.treat-card:hover .treat-ico { transform: rotate(-7deg) scale(1.05); }
.treat-ico svg { width: 30px; height: 30px; }
.treat-card h3 { font-size: 1.28rem; }
.treat-card .cat { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-600); }
.treat-card p { color: var(--ink-soft); font-size: .96rem; }
.treat-card .price { margin-top: auto; font-family: var(--font-display); font-weight: 600; color: var(--mint-700); font-size: 1.05rem; }
.treat-card .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--ink);
  font-size: .92rem; }
.treat-card .more svg { width: 16px; height: 16px; transition: transform .25s; }
.treat-card:hover .more svg { transform: translateX(4px); }
.badge-pop { position: absolute; top: 18px; right: 18px; z-index: 2; background: var(--coral-500); color: #fff;
  font-weight: 800; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: .35em .8em; border-radius: 100px; }

/* ============================================================
   YOUR VISIT (about + feature image)
   ============================================================ */
.visit { background: var(--paper); }
.visit__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px,5vw,70px); align-items: center; }
.visit__media { position: relative; }
.visit__media img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-md); object-fit: cover; }
.visit__media .scallop { position: absolute; inset: -14px; border-radius: calc(var(--r-xl) + 14px);
  border: 2px solid var(--mint-200); z-index: -1; }
.visit__stat {
  position: absolute; bottom: -22px; right: -10px; background: var(--mint-600); color: #fff;
  border-radius: var(--r-md); padding: 18px 22px; box-shadow: var(--shadow-mint); text-align: center;
}
.visit__stat b { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; display: block; line-height: 1; }
.visit__stat small { font-size: .76rem; font-weight: 800; letter-spacing: .08em; opacity: .92; }
.visit__list { display: grid; gap: 18px; margin-top: 26px; }
.visit__list li { display: flex; gap: 14px; }
.visit__list .n { width: 40px; height: 40px; border-radius: 13px; flex: none; display: grid; place-items: center;
  background: var(--peach-200); color: var(--coral-600); font-family: var(--font-display); font-weight: 700; }
.visit__list h4 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 2px; }
.visit__list p { color: var(--ink-soft); font-size: .95rem; }
.visit__copy p.lead { margin-top: 16px; }

@media (max-width: 820px){ .visit__grid { grid-template-columns: 1fr; } .visit__stat { right: 10px; } }

/* ============================================================
   SMILE MOMENT (detail.png banner)
   ============================================================ */
.smile { position: relative; }
.smile__card {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch;
  background: linear-gradient(135deg, var(--mint-100), var(--sky-100));
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md);
}
.smile__copy { padding: clamp(30px,5vw,60px); align-self: center; }
.smile__copy .sparkles { display: flex; gap: 6px; color: var(--coral-500); margin-bottom: 14px; }
.smile__media { position: relative; min-height: 320px; }
.smile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.smile__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.smile__chips span { background: var(--paper); border-radius: 100px; padding: .5em 1.1em; font-weight: 800;
  font-size: .85rem; box-shadow: var(--shadow-sm); color: var(--mint-700); }
@media (max-width: 760px){ .smile__card { grid-template-columns: 1fr; } .smile__media { min-height: 260px; order: -1; } }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.quote-wrap { text-align: center; max-width: 880px; margin-inline: auto; }
.quote-mark { font-family: var(--font-display); font-size: 6rem; line-height: .6; color: var(--mint-300); }
.quote-text { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.25; letter-spacing: -.01em; margin: 6px 0 26px; }
.quote-meta { display: inline-flex; align-items: center; gap: 14px; }
.quote-meta .av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.1rem; }
.quote-meta b { font-family: var(--font-display); font-size: 1.05rem; }
.quote-meta small { display: block; color: var(--ink-faint); font-weight: 700; }
.quote-dots { display: flex; gap: 10px; justify-content: center; margin-top: 34px; }
.quote-dots button { width: 11px; height: 11px; border-radius: 50%; background: var(--mint-200); transition: .25s; }
.quote-dots button.active { background: var(--coral-500); width: 30px; border-radius: 100px; }

/* Review cards (treatments/reviews mini grid) */
.review-mini { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 18px; margin-top: 44px; }
.review-mini .rc { background: var(--paper); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); text-align: left; }
.review-mini .rc .stars { color: var(--coral-500); letter-spacing: 2px; margin-bottom: 10px; }
.review-mini .rc p { color: var(--ink-soft); font-size: .95rem; }
.review-mini .rc .who { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-weight: 800; font-size: .9rem; }
.review-mini .rc .who .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem; }
.review-mini .rc .who small { color: var(--ink-faint); font-weight: 700; display: block; }

/* ============================================================
   GUIDES TEASER / BLOG
   ============================================================ */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 24px; }
.guide-card { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.guide-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.guide-thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.guide-thumb .grad { position: absolute; inset: 0; }
.guide-thumb .ico { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.guide-thumb .ico svg { width: 64px; height: 64px; opacity: .92; }
.guide-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.guide-card .meta { display: flex; gap: 10px; align-items: center; font-size: .76rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: var(--mint-700); }
.guide-card .meta .tag { background: var(--mint-100); padding: .3em .8em; border-radius: 100px; }
.guide-card .meta .min { color: var(--ink-faint); }
.guide-card h3 { font-size: 1.25rem; }
.guide-card p { color: var(--ink-soft); font-size: .94rem; }
.guide-card .more { margin-top: auto; font-weight: 800; color: var(--coral-600); display: inline-flex; align-items: center; gap: 6px; }
.guide-card .more svg { width: 16px; height: 16px; transition: transform .25s; }
.guide-card:hover .more svg { transform: translateX(4px); }

/* Featured blog */
.feature-post { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: var(--paper);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); margin-bottom: 44px; }
.feature-post .img { position: relative; min-height: 340px; }
.feature-post .img .grad { position: absolute; inset: 0; }
.feature-post .img .ico { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.feature-post .img .ico svg { width: 88px; height: 88px; opacity: .9; }
.feature-post .img .flag { position: absolute; top: 22px; left: 22px; background: var(--coral-500); color: #fff;
  font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: .45em 1em; border-radius: 100px; }
.feature-post .copy { padding: clamp(28px,4vw,52px); align-self: center; }
.feature-post .meta { display: flex; gap: 10px; align-items: center; font-size: .78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; color: var(--mint-700); margin-bottom: 14px; }
.feature-post .meta .tag { background: var(--mint-100); padding: .3em .8em; border-radius: 100px; }
.feature-post h2 { margin-bottom: 14px; }
.feature-post p { color: var(--ink-soft); margin-bottom: 24px; }
@media (max-width: 800px){ .feature-post { grid-template-columns: 1fr; } .feature-post .img { min-height: 240px; } }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; overflow: hidden; }
.cta-card {
  position: relative; background: linear-gradient(135deg, var(--mint-600), var(--mint-700));
  border-radius: var(--r-xl); padding: clamp(40px,6vw,76px); color: #eafaf2; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-card::before, .cta-card::after { content:""; position: absolute; border-radius: 50%; }
.cta-card::before { width: 320px; height: 320px; background: rgba(255,255,255,.08); top: -120px; right: -80px; }
.cta-card::after { width: 220px; height: 220px; background: var(--coral-500); opacity: .22; bottom: -90px; left: -40px; }
.cta-card .inner { position: relative; z-index: 2; max-width: 640px; }
.cta-card h2 { color: #fff; }
.cta-card p { color: #d2f0e3; margin: 14px 0 28px; font-size: 1.1rem; }
.cta-card .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-card .btn--ghost { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; }
.cta-card .btn--ghost:hover { background: rgba(255,255,255,.24); color: #fff; }
.cta-card .tooth-deco { position: absolute; right: clamp(20px,5vw,70px); bottom: -10px; width: 180px; opacity: .5;
  color: rgba(255,255,255,.4); z-index: 1; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { padding-top: clamp(48px,6vw,90px); padding-bottom: clamp(34px,4vw,56px); text-align: center; }
.page-hero .breadcrumb { font-weight: 800; font-size: .82rem; color: var(--ink-faint); margin-bottom: 16px; }
.page-hero .breadcrumb a:hover { color: var(--mint-700); }
.page-hero .lead { margin: 18px auto 0; text-align: center; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filters button { font-family: var(--font-display); font-weight: 600; padding: .55em 1.3em; border-radius: 100px;
  background: var(--paper); border: 1.5px solid var(--line); color: var(--ink-soft); transition: .25s; }
.filters button:hover { border-color: var(--mint-300); color: var(--mint-700); }
.filters button.active { background: var(--mint-600); border-color: var(--mint-600); color: #fff; box-shadow: var(--shadow-mint); }

/* Treatment detail card (treatments page) */
.tdetail-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(360px,1fr)); gap: 24px; }
.tdetail {
  background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  padding: 32px; display: flex; flex-direction: column; gap: 16px; position: relative;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.tdetail:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--mint-200); }
.tdetail__top { display: flex; align-items: flex-start; gap: 16px; }
.tdetail .treat-ico { width: 64px; height: 64px; }
.tdetail h3 { font-size: 1.4rem; }
.tdetail .cat { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-600); }
.tdetail .tagline { font-family: var(--font-display); font-weight: 500; color: var(--mint-700); font-size: 1.05rem; }
.tdetail p.sum { color: var(--ink-soft); }
.tdetail .includes { display: grid; gap: 10px; padding-top: 6px; border-top: 1px dashed var(--line); }
.tdetail .includes li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--ink-soft); }
.tdetail .includes svg { width: 20px; height: 20px; color: var(--mint-600); flex: none; margin-top: 1px; }
.tdetail .foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto;
  padding-top: 8px; flex-wrap: wrap; }
.tdetail .price { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.tdetail .price small { display: block; font-family: var(--font-body); font-weight: 700; font-size: .7rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px,4vw,54px); align-items: start; }
.form-card { background: var(--paper); border-radius: var(--r-xl); border: 1px solid var(--line);
  box-shadow: var(--shadow-md); padding: clamp(28px,4vw,44px); }
.form-card h2 { margin-bottom: 6px; }
.form-card .sub { color: var(--ink-soft); margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 800; font-size: .82rem; letter-spacing: .04em; margin-bottom: 7px; color: var(--ink); }
.field label .req { color: var(--coral-600); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: .85em 1em; transition: border-color .2s, box-shadow .2s, background .2s; font-family: var(--font-body);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--mint-500); background: var(--paper); box-shadow: 0 0 0 4px var(--mint-100); outline: none;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { display: flex; gap: 11px; align-items: flex-start; background: var(--mint-100); border-radius: var(--r-sm);
  padding: 14px 16px; margin: 6px 0 22px; font-size: .9rem; color: var(--mint-900); font-weight: 600; }
.form-note svg { width: 22px; height: 22px; color: var(--mint-700); flex: none; }
.form-success { display: none; align-items: center; gap: 12px; background: var(--mint-600); color: #fff;
  border-radius: var(--r-sm); padding: 14px 18px; font-weight: 700; margin-top: 16px; }
.form-success.show { display: flex; }
.form-success svg { width: 24px; height: 24px; flex: none; }

.info-stack { display: grid; gap: 18px; }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  padding: 26px; }
.info-card h3 { font-size: 1.2rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.info-card h3 svg { width: 22px; height: 22px; color: var(--mint-600); }
.info-card .row { display: flex; gap: 12px; padding: 8px 0; font-size: .96rem; color: var(--ink-soft); }
.info-card .row svg { width: 20px; height: 20px; color: var(--mint-600); flex: none; margin-top: 2px; }
.info-card .row b { color: var(--ink); font-weight: 800; }
.hours-table { width: 100%; }
.hours-table .hr-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line);
  font-size: .95rem; }
.hours-table .hr-row:last-child { border-bottom: none; }
.hours-table .hr-row b { font-weight: 800; }
.hours-table .today { color: var(--mint-700); }
.hours-table .closed { color: var(--coral-600); font-weight: 800; }

.map-ph { aspect-ratio: 16/10; border-radius: var(--r-lg); overflow: hidden; position: relative; box-shadow: var(--shadow-sm);
  background:
    linear-gradient(135deg, var(--mint-100), var(--sky-100));
  border: 1px solid var(--line); }
.map-ph .grid-lines { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--mint-200) 1px, transparent 1px), linear-gradient(90deg, var(--mint-200) 1px, transparent 1px);
  background-size: 38px 38px; }
.map-ph .road { position: absolute; background: #fff; opacity: .8; }
.map-ph .road.h { height: 14px; left: 0; right: 0; top: 46%; transform: rotate(-3deg); }
.map-ph .road.v { width: 14px; top: 0; bottom: 0; left: 38%; }
.map-ph .pin { position: absolute; top: 42%; left: 44%; transform: translate(-50%,-100%); z-index: 2;
  display: grid; place-items: center; }
.map-ph .pin .dot { width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--coral-500); box-shadow: var(--shadow-md); border: 3px solid #fff; }
.map-ph .pin .ping { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--coral-500);
  animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0%{ transform: scale(.4); opacity: .9; } 100%{ transform: scale(1.4); opacity: 0; } }
.map-ph .label { position: absolute; bottom: 16px; left: 16px; background: var(--paper); border-radius: 100px;
  padding: .5em 1em; font-weight: 800; font-size: .85rem; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 8px; }
.map-ph .label svg { width: 16px; height: 16px; color: var(--coral-600); }

@media (max-width: 820px){ .contact-grid { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; gap: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q-ico { width: 32px; height: 32px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: var(--mint-100); color: var(--mint-700); transition: .3s; }
.faq summary .q-ico svg { width: 18px; height: 18px; }
.faq[open] summary .q-ico { background: var(--coral-500); color: #fff; transform: rotate(135deg); }
.faq .a { padding: 0 26px 24px 74px; color: var(--ink-soft); }

/* Areas */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 16px; }
.area-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px;
  box-shadow: var(--shadow-sm); transition: transform .25s, border-color .25s; }
.area-card:hover { transform: translateY(-5px); border-color: var(--mint-200); }
.area-card h4 { font-family: var(--font-display); font-size: 1.15rem; display: flex; align-items: center; gap: 8px; }
.area-card h4 svg { width: 18px; height: 18px; color: var(--coral-500); }
.area-card p { color: var(--ink-soft); font-size: .9rem; margin-top: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--mint-900); color: #cfe8dc; margin-top: clamp(60px,8vw,110px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(50px,7vw,80px); }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { margin: 16px 0 20px; max-width: 34ch; font-size: .95rem; }
.footer-brand .socials { display: flex; gap: 10px; }
.footer-brand .socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08);
  display: grid; place-items: center; transition: .25s; }
.footer-brand .socials a:hover { background: var(--mint-600); transform: translateY(-3px); }
.footer-brand .socials svg { width: 18px; height: 18px; color: #eafaf2; }
.footer-col h4 { font-family: var(--font-display); color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer-col a, .footer-col .row { display: block; padding: 6px 0; font-size: .93rem; color: #cfe8dc; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col .row { display: flex; gap: 10px; align-items: flex-start; }
.footer-col .row svg { width: 17px; height: 17px; color: var(--mint-300); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; flex-wrap: wrap;
  gap: 10px 24px; justify-content: space-between; align-items: center; font-size: .84rem; }
.footer-bottom .demo { color: #8bbfa8; font-style: italic; }
.footer-bottom .legal { display: flex; gap: 18px; }

@media (max-width: 860px){ .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-top { grid-template-columns: 1fr; } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.9,.3,1.1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* small helpers */
.center { text-align: center; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 28px; }
.stack-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
