/* ============================================================
   The Groomworks — Modern Scandinavian Pet Spa
   Quicksand (display) + Nunito Sans (body)
   Sage primary · coral for booking CTAs only · pastel accents
   ============================================================ */

:root {
  --ivory: #faf8f4;
  --white: #ffffff;
  --sage: #7da27e;
  --sage-deep: #5f8461;
  --sage-tint: #eaf1ea;
  --lavender: #cdbaf5;
  --lavender-tint: #f1ecfc;
  --coral: #f47c6b;
  --coral-deep: #e9604d;
  --mustard: #f3d36b;
  --mustard-tint: #fdf3d5;
  --charcoal: #2f3136;
  --slate: #6b6e76;
  --line: #ece7dd;
  --radius: 22px;
  --shadow: 0 10px 30px -12px rgba(47, 49, 54, 0.14);
  --shadow-lift: 0 18px 40px -14px rgba(47, 49, 54, 0.2);
  --font-display: "Quicksand", "Trebuchet MS", sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--sage); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--sage);
  color: #fff;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.98rem;
  border: 2px solid var(--sage);
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.25s, border-color 0.25s;
}
.btn:hover { background: var(--sage-deep); border-color: var(--sage-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.book { background: var(--coral); border-color: var(--coral); }
.btn.book:hover { background: var(--coral-deep); border-color: var(--coral-deep); }
.btn.ghost { background: transparent; color: var(--sage-deep); }
.btn.ghost:hover { background: var(--sage); color: #fff; }
.btn.wa { background: #25d366; border-color: #25d366; }
.btn.wa:hover { background: #1eb857; border-color: #1eb857; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--ivory) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 18px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.brand .paw { color: var(--sage); font-size: 1.15rem; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  text-decoration: none; font-size: 0.93rem; font-weight: 700;
  font-family: var(--font-display);
  color: var(--slate);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--sage-deep); }
.head-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta { padding: 10px 22px; font-size: 0.9rem; }
.nav-toggle {
  display: none;
  background: none; border: none;
  font-size: 1.55rem;
  color: var(--charcoal);
  cursor: pointer;
  width: 44px; height: 44px;
  border-radius: 12px;
}
.nav-toggle:active { background: var(--sage-tint); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 48px; overflow: hidden; position: relative; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; z-index: 0;
  filter: blur(2px); opacity: 0.5; pointer-events: none;
}
.hero::before { width: 340px; height: 340px; background: var(--lavender-tint); left: -140px; top: -80px; }
.hero::after { width: 260px; height: 260px; background: var(--mustard-tint); right: -90px; bottom: -60px; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative; z-index: 1;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sage-tint);
  color: var(--sage-deep);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 0.82rem; font-weight: 700;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.9rem);
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--sage-deep); }
.hero .lede {
  font-size: 1.14rem;
  color: var(--slate);
  max-width: 48ch;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.google-badge {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.95rem; color: var(--slate);
}
.google-badge .stars { color: var(--mustard); font-size: 1.1rem; letter-spacing: 2px; text-shadow: 0 1px 0 rgba(0,0,0,.08); }
.google-badge strong { color: var(--charcoal); }

/* hero photo collage on pastel blobs */
.hero-photos { position: relative; height: 540px; }
.hero-photos .ph {
  position: absolute;
  border-radius: 26px;
  padding: 10px;
}
.hero-photos .ph img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 18px;
}
.ph-main { width: 60%; height: 76%; left: 4%; top: 5%; background: var(--lavender); transform: rotate(-3deg); z-index: 2; }
.ph-b { width: 44%; height: 50%; right: 0; top: 0; background: var(--mustard); transform: rotate(3deg); z-index: 1; }
.ph-c { width: 46%; height: 46%; right: 5%; bottom: 0; background: var(--sage); transform: rotate(-2deg); z-index: 3; }
.hero-sticker {
  position: absolute; z-index: 5;
  left: -12px; bottom: 12%;
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600;
  padding: 12px 20px; border-radius: 999px;
  transform: rotate(-4deg);
  font-size: 0.92rem;
  box-shadow: var(--shadow);
}
.hero-sticker::before { content: "💤 "; }

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex; gap: 16px; width: max-content;
  animation: scroll-x 60s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  width: 128px; height: 128px;
  object-fit: cover;
  border-radius: 20px;
}
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: 96px 0; }
.sec-head { max-width: 660px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  margin: 16px 0 14px;
}
.sec-head h2 em { font-style: normal; color: var(--sage-deep); }
.sec-head p { color: var(--slate); font-size: 1.05rem; }
.paw-divider {
  text-align: center;
  font-size: 1.1rem;
  letter-spacing: 18px;
  color: var(--sage);
  opacity: 0.5;
  padding: 0 0 8px;
}

/* ---------- services ---------- */
#services { background: var(--ivory); padding-top: 80px; }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}
.svc {
  --tint: var(--sage-tint);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  position: relative;
  transition: transform 0.28s cubic-bezier(.3,.8,.3,1), box-shadow 0.28s, border-color 0.28s;
}
.svc::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 85% at 50% 0%, var(--tint), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.svc > * { position: relative; }
.svc:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--shadow-lift);
  border-color: var(--sage);
}
.svc:hover::before { opacity: 1; }
.svc .icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.7rem;
  margin: 0 auto 18px;
  transition: transform 0.45s cubic-bezier(.34,1.56,.64,1), box-shadow 0.45s;
}
.svc:hover .icon {
  transform: scale(1.16) rotate(-8deg);
  box-shadow: 0 10px 22px -8px rgba(47, 49, 54, 0.25);
}
.svc:nth-child(1) { --tint: var(--lavender-tint); }
.svc:nth-child(2) { --tint: var(--sage-tint); }
.svc:nth-child(3) { --tint: var(--mustard-tint); }
.svc:nth-child(4) { --tint: #fdeae7; }
.svc:nth-child(5) { --tint: var(--lavender-tint); }
.svc:nth-child(1) .icon { background: var(--lavender-tint); }
.svc:nth-child(2) .icon { background: var(--sage-tint); }
.svc:nth-child(3) .icon { background: var(--mustard-tint); }
.svc:nth-child(4) .icon { background: #fdeae7; }
.svc:nth-child(5) .icon { background: var(--lavender-tint); }
.svc h3 { font-size: 1.18rem; margin-bottom: 8px; }
.svc p { font-size: 0.92rem; color: var(--slate); margin-bottom: 14px; }
.svc .price {
  display: block;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem;
  color: var(--sage-deep);
  margin-bottom: 14px;
}
.svc .more {
  font-family: var(--font-display);
  font-size: 0.88rem; font-weight: 700;
  color: var(--coral);
  text-decoration: none;
  display: inline-block;
  transition: transform 0.25s, color 0.25s;
}
.svc:hover .more { transform: translateX(5px); color: var(--coral-deep); }
.svc.feature { border: 2px solid var(--sage); }
.svc .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--sage); color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 999px;
  white-space: nowrap;
}

/* ---------- trust promises ---------- */
#trust { background: var(--white); padding: 72px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-card { display: flex; gap: 16px; align-items: flex-start; }
.trust-card .ti {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.4rem;
  background: var(--sage-tint);
}
.trust-card:nth-child(2) .ti { background: var(--lavender-tint); }
.trust-card:nth-child(3) .ti { background: #fdeae7; }
.trust-card:nth-child(4) .ti { background: var(--mustard-tint); }
.trust-card strong { display: block; font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 4px; }
.trust-card p { font-size: 0.88rem; color: var(--slate); margin: 0; }

/* ---------- teeth ---------- */
#teeth { background: var(--sage-tint); }
#teeth .kicker { background: var(--white); }
.teeth-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.teeth-intro h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.15; margin: 16px 0 16px; }
.teeth-intro h2 em { font-style: normal; color: var(--sage-deep); }
.teeth-intro p { color: var(--slate); margin-bottom: 16px; }
.teeth-intro strong { color: var(--charcoal); }
.teeth-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.teeth-photos img {
  border-radius: var(--radius);
  border: 6px solid var(--white);
  aspect-ratio: 3/4; object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow);
}
.teeth-photos img:first-child { transform: translateY(22px); }

.stat-band {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin: 64px 0;
}
.stat {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 22px;
  box-shadow: var(--shadow);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--sage-deep);
  line-height: 1.1;
}
.stat span { color: var(--slate); font-size: 0.93rem; display: inline-block; max-width: 26ch; margin-top: 6px; }

.risk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.risk {
  background: var(--white);
  border-radius: 18px;
  padding: 24px 22px;
}
.risk .ri { font-size: 1.6rem; display: block; margin-bottom: 10px; }
.risk strong { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 6px; }
.risk p { font-size: 0.88rem; color: var(--slate); margin: 0; }

.teeth-how {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px;
  margin-top: 64px; align-items: start;
}
.teeth-how h3 { font-size: 1.5rem; margin-bottom: 12px; }
.teeth-how > div > p { color: var(--slate); }
.teeth-how strong { color: var(--charcoal); }
.teeth-quotes { display: flex; flex-direction: column; gap: 14px; }
.teeth-quotes blockquote {
  background: var(--white);
  border-left: 4px solid var(--sage);
  border-radius: 0 14px 14px 0;
  padding: 14px 18px;
  font-size: 0.98rem;
  margin: 0;
}
.teeth-quotes cite {
  display: block; margin-top: 6px;
  font-style: normal;
  font-size: 0.8rem; color: var(--slate);
}
.teeth-cta {
  margin-top: 52px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.teeth-cta span { color: var(--slate); font-size: 0.95rem; }

/* ---------- before / after ---------- */
#transformations { background: var(--ivory); }
.ba-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ba-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ba-slider {
  position: relative; aspect-ratio: 3/4;
  overflow: hidden; cursor: ew-resize;
  user-select: none; touch-action: none;
}
.ba-slider img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}
.ba-slider .after-img { clip-path: inset(0 0 0 var(--split, 50%)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--split, 50%);
  width: 3px; background: #fff;
  box-shadow: 0 0 12px rgba(0,0,0,.35);
  pointer-events: none;
}
.ba-handle::after {
  content: "⇄";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  background: var(--white); color: var(--charcoal);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1rem; font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.ba-label {
  position: absolute; top: 14px;
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(47,49,54,.7); color: #fff;
  pointer-events: none;
}
.ba-label.before { left: 14px; }
.ba-label.after { right: 14px; background: var(--sage); }
.ba-card figcaption { padding: 16px 20px 18px; font-size: 0.95rem; }
.ba-card figcaption strong { font-family: var(--font-display); font-size: 1.02rem; }
.ba-card figcaption span { color: var(--slate); display: block; font-size: 0.87rem; }

/* ---------- pricing ---------- */
#pricing { background: var(--white); }
.price-list {
  max-width: 720px; margin: 0 auto;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 34px;
}
.price-row {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}
.price-row:last-child { border-bottom: none; }
.price-row .pi { font-size: 1.3rem; }
.price-row .pname { flex: 1; }
.price-row .pname strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.price-row .pname span { font-size: 0.86rem; color: var(--slate); }
.price-row .pval {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem;
  color: var(--sage-deep);
  white-space: nowrap;
}
.price-note {
  text-align: center; color: var(--slate);
  font-size: 0.9rem; max-width: 60ch;
  margin: 26px auto 0;
}

/* ---------- why choose us ---------- */
#why { background: var(--ivory); padding-top: 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px;
  display: flex; gap: 14px; align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-item .wi { font-size: 1.5rem; }
.why-item span { font-size: 0.98rem; font-weight: 600; }

/* ---------- portfolio ---------- */
#portfolio { background: var(--white); }
.folio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.folio-grid a {
  position: relative; display: block;
  border-radius: 20px; overflow: hidden;
  aspect-ratio: 3/4;
}
.folio-grid img {
  width: 100%; height: 100%; object-fit: cover;
}
.folio-grid img.base {
  position: absolute; inset: 0;
  transition: transform 0.45s cubic-bezier(.2,.7,.3,1);
}
.folio-grid a:hover img.base { transform: scale(1.05); }
.folio-grid img.over {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 1.2s ease, transform 1.6s ease;
  pointer-events: none;
}
.folio-grid img.over.show { opacity: 1; transform: scale(1); }
.folio-grid .crumb { z-index: 2; }
.folio-grid .crumb {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(255,255,255,.94); color: var(--charcoal);
  font-family: var(--font-display);
  font-size: 0.74rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
}
.folio-grid a:hover .crumb { opacity: 1; transform: translateY(0); }
.folio-more { text-align: center; margin-top: 40px; }

/* gallery page */
.gallery-head { padding: 60px 0 30px; }
.gallery-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 14px 0 10px; }
.gallery-head h2 em { font-style: normal; color: var(--sage-deep); }
.gallery-head > p { color: var(--slate); max-width: 60ch; margin-bottom: 30px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 28px; }
.chip {
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--font-display);
  font-size: 0.88rem; font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--slate);
}
.chip:hover { border-color: var(--sage); color: var(--sage-deep); }
.chip.active { background: var(--sage); border-color: var(--sage); color: #fff; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding-bottom: 80px;
}
.gallery-grid figure {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 3/4; cursor: zoom-in;
  background: var(--sage-tint);
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
}
.gallery-grid img.base {
  position: absolute; inset: 0;
  transition: transform 0.35s;
}
.gallery-grid figure:hover img.base { transform: scale(1.05); }
.gallery-grid img.over {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 1.2s ease, transform 1.6s ease;
  pointer-events: none;
}
.gallery-grid img.over.show { opacity: 1; transform: scale(1); }
.gallery-grid figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 26px 12px 10px;
  background: linear-gradient(transparent, rgba(47,49,54,.72));
  color: #fff; font-size: 0.78rem; font-weight: 600;
  opacity: 0; transition: opacity 0.25s;
  z-index: 2;
}
.gallery-grid figure:hover figcaption { opacity: 1; }
.gallery-count { color: var(--slate); font-size: 0.9rem; padding-bottom: 18px; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(47, 49, 54, 0.92);
  display: none;
  place-items: center;
  padding: 32px;
}
.lightbox.open { display: grid; }
.lightbox img {
  max-height: 86vh; max-width: 92vw;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.lightbox .lb-cap {
  position: absolute; bottom: 26px; left: 0; right: 0;
  text-align: center; color: #d9dbdf; font-size: 0.95rem;
}
.lightbox .lb-close {
  position: absolute; top: 20px; right: 26px;
  background: none; border: none; color: #fff;
  font-size: 2rem; cursor: pointer;
  width: 48px; height: 48px;
}
.lb-nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
  font-size: 1.7rem; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  transition: transform 0.15s, background 0.15s;
  z-index: 2;
}
.lb-nav:hover { background: #fff; transform: translateY(-50%) scale(1.07); }
.lb-nav.prev { left: 20px; }
.lb-nav.next { right: 20px; }
.lb-count {
  position: absolute; top: 24px; left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,.14);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 700;
  padding: 5px 16px; border-radius: 999px;
}

/* ---------- reviews: rating panel + live google-card wall ---------- */
#reviews { background: var(--lavender-tint); overflow: hidden; }
.reviews-layout {
  display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 60px;
  align-items: center;
}
.rating-panel { position: relative; }
#reviews .kicker { background: var(--white); }
.rating-score {
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 8.5vw, 7rem);
  font-weight: 700; line-height: 1;
  margin: 18px 0 4px;
}
.rating-stars { color: var(--mustard); font-size: 1.9rem; letter-spacing: 6px; margin-bottom: 16px; text-shadow: 0 1px 0 rgba(0,0,0,.08); }
.rating-sub { color: var(--slate); font-size: 1.06rem; margin-bottom: 18px; }
.rating-sub strong { color: var(--charcoal); }
.g-mark {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--white);
  border-radius: 999px; padding: 8px 16px;
  font-size: 0.88rem; font-weight: 700; color: var(--slate);
  font-family: var(--font-display);
  margin-bottom: 26px;
  box-shadow: var(--shadow);
}
.topic-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.tchip {
  background: var(--white);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.85rem; font-weight: 700; color: var(--slate);
  font-family: var(--font-display);
}
.tchip b { color: var(--sage-deep); }
.rating-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.review-wall {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  height: 660px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent);
}
.rv-col { overflow: hidden; }
.rv-track { display: flex; flex-direction: column; gap: 18px; }
.rv-col.up .rv-track { animation: rv-up 55s linear infinite; }
.rv-col.down .rv-track { animation: rv-up 55s linear infinite reverse; }
.review-wall:hover .rv-track { animation-play-state: paused; }
@keyframes rv-up { to { transform: translateY(calc(-50% - 9px)); } }

.g-card {
  display: block;
  background: var(--white);
  border-radius: 18px;
  padding: 20px;
  text-decoration: none;
  color: var(--charcoal);
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
}
.g-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.g-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.g-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  color: #fff; font-weight: 800; font-size: 1.05rem;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.g-who { flex: 1; min-width: 0; }
.g-who strong { display: block; font-size: 0.95rem; font-family: var(--font-display); }
.g-who span { font-size: 0.78rem; color: var(--slate); }
.g-logo { flex-shrink: 0; opacity: 0.95; }
.g-stars { color: #fbbc05; font-size: 0.95rem; letter-spacing: 2px; }
.g-card > p { font-size: 0.92rem; color: var(--slate); margin-top: 8px; line-height: 1.55; }
.g-reply {
  margin-top: 12px;
  background: var(--sage-tint);
  border-radius: 12px;
  padding: 10px 14px;
}
.g-reply span {
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--sage-deep);
}
.g-reply p { font-size: 0.85rem; color: var(--slate); margin-top: 4px; }

/* ---------- about ---------- */
#about { background: var(--white); }
#about .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
#about .portrait {
  border-radius: 26px; overflow: hidden;
  background: var(--mustard);
  padding: 10px;
  transform: rotate(-1.5deg);
  aspect-ratio: 3/4;
}
#about .portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
#about h2 {
  font-size: clamp(1.8rem, 3.1vw, 2.5rem);
  line-height: 1.16;
  margin: 16px 0 18px;
}
#about h2 em { font-style: normal; color: var(--sage-deep); }
#about p { color: var(--slate); margin-bottom: 16px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.about-points div {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 16px; padding: 16px 18px;
  font-size: 0.9rem; color: var(--slate);
}
.about-points strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-bottom: 4px; color: var(--charcoal); }

/* ---------- visit / contact ---------- */
#visit { background: var(--ivory); }
#visit .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
#visit h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 14px 0 10px; }
.hours { list-style: none; margin-top: 20px; }
.hours li {
  display: flex; justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.98rem;
}
.hours li span:last-child { font-weight: 700; }
.hours li.closed span:last-child { color: var(--coral); }
.visit-details { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.visit-details .row { display: flex; align-items: center; gap: 12px; font-size: 0.98rem; }
.visit-details a { color: var(--charcoal); }

.visit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 38px;
  display: flex; flex-direction: column; gap: 18px;
  align-self: start;
  box-shadow: var(--shadow);
}
.visit-card h3 { font-size: 1.6rem; }
.visit-card > p { color: var(--slate); font-size: 0.98rem; }

.visit-card form { display: flex; flex-direction: column; gap: 14px; }
.visit-card .hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.visit-card .ff { display: flex; flex-direction: column; gap: 6px; }
.visit-card .ff label {
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--slate);
}
.visit-card .ff input,
.visit-card .ff textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--ivory);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}
.visit-card .ff input::placeholder,
.visit-card .ff textarea::placeholder { color: #a9aab0; }
.visit-card .ff input:focus,
.visit-card .ff textarea:focus {
  outline: none;
  border-color: var(--sage);
  background: var(--white);
}
.visit-card form .btn { align-self: stretch; }
.visit-card form .btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.form-status { font-size: 0.92rem; min-height: 1.4em; margin: 0; }
.form-status.ok { color: var(--sage-deep); }
.form-status.err { color: var(--coral-deep); }
.form-status a { color: var(--sage-deep); }

.or-divider {
  display: flex; align-items: center; gap: 14px;
  color: var(--slate); font-size: 0.8rem;
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin: 4px 0;
}
.or-divider::before, .or-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}

/* whatsapp fab */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 300;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px -6px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(47,49,54,.22);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 34px -6px rgba(37, 211, 102, 0.6), 0 6px 14px rgba(47,49,54,.28);
}

/* ---------- footer ---------- */
.site-foot {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 56px 0 36px;
  font-size: 0.92rem;
  color: var(--slate);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 34px;
}
.foot-grid h4 {
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.foot-grid a { color: var(--slate); text-decoration: none; }
.foot-grid a:hover { color: var(--sage-deep); }
.foot-brand p { margin-top: 12px; max-width: 30ch; }
.foot-brand .btn { margin-top: 18px; }
.foot-hours li { display: flex; justify-content: space-between; max-width: 220px; }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.84rem;
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* anchor links land below the sticky header */
section[id], #teeth, #visit { scroll-margin-top: 84px; }

/* respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .rv-col.up .rv-track, .rv-col.down .rv-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero-photos { height: 420px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
    flex-direction: column; align-items: flex-start;
    padding: 10px 24px 20px;
    gap: 0;
    display: none;
  }
  body.menu-open .nav-links { display: flex; }
  .nav-links a {
    display: block; width: 100%;
    padding: 13px 0;
    font-size: 1.05rem;
    border-bottom: 1px dashed var(--line);
  }
  .nav-links a:last-child { border-bottom: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  #about .wrap, #visit .wrap { grid-template-columns: 1fr; gap: 44px; }
  .teeth-intro, .teeth-how { grid-template-columns: 1fr; gap: 44px; }
  .stat-band { grid-template-columns: 1fr; gap: 18px; }
  .risk-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .ba-row { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .folio-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-layout { grid-template-columns: 1fr; gap: 44px; }
  .review-wall { height: 520px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  /* gallery header: compact copy + one swipeable chip row */
  .gallery-head { padding: 36px 0 10px; }
  .gallery-head h2 { font-size: 1.65rem; }
  .gallery-head > p { font-size: 0.94rem; margin-bottom: 18px; }
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -24px;
    padding: 4px 24px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 34px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 34px), transparent);
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-bar .chip { flex-shrink: 0; }
}
@media (max-width: 560px) {
  section { padding: 64px 0; }
  .site-head .wrap { padding: 0 14px; gap: 8px; }
  .brand { font-size: 1.02rem; gap: 6px; }
  .brand .paw { font-size: 0.9rem; }
  .head-actions { gap: 6px; }
  .nav-cta { padding: 9px 14px; font-size: 0.8rem; }
  .nav-toggle { width: 40px; height: 40px; font-size: 1.4rem; }
  .nav-links { top: 74px; }
  .lb-nav { width: 44px; height: 44px; }
  .lb-nav.prev { left: 8px; }
  .lb-nav.next { right: 8px; }
  .svc-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .risk-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .folio-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-points { grid-template-columns: 1fr; }
  .hero-photos { height: 350px; }
  .review-wall { grid-template-columns: 1fr; height: 480px; }
  .rv-col.down { display: none; }
  .price-list { padding: 8px 20px; }
  .foot-grid { grid-template-columns: 1fr; }
}
