/* ============================================================
   Agefine Aesthetic Lab & Clinic, main stylesheet
   Identity: premium + clinical + elegant + warm
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --teal: #187890;
  --teal-deep: #0f5c70;
  --teal-dark: #0b4655;
  --teal-soft: #e4eff2;
  --teal-mist: #f0f6f8;
  --coral: #de7a6c;
  --logo-f: #eb7b7a;
  --coral-deep: #c95f50;
  --coral-soft: #fbeeeb;
  --peach: #e3b493;
  --peach-soft: #f8ede2;

  --ink: #1c2b31;
  --body-c: #4c5e66;
  --muted: #7d8d94;
  --line: #e7e1d7;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --sand: #f5f1ea;
  --sand-deep: #ece5da;

  --wa: #1faf63;
  --wa-deep: #178a4e;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(28, 43, 49, 0.05), 0 4px 14px rgba(28, 43, 49, 0.06);
  --shadow-md: 0 2px 6px rgba(28, 43, 49, 0.06), 0 16px 40px rgba(28, 43, 49, 0.10);
  --shadow-lg: 0 8px 24px rgba(28, 43, 49, 0.10), 0 32px 64px rgba(28, 43, 49, 0.14);

  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- fonts ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/static/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/static/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/static/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/static/fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap; src: url("/static/fonts/fraunces-400.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500; font-display: swap; src: url("/static/fonts/fraunces-500.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("/static/fonts/fraunces-600.woff2") format("woff2"); }

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
a, button, input, select, textarea { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { text-wrap: balance; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body-c);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 0.5em; color: var(--ink); line-height: 1.18; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.14rem; }
p { margin: 0 0 1em; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-deep); }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--ink); }
::selection { background: var(--teal-soft); color: var(--teal-dark); }

:focus-visible { outline: 3px solid rgba(24, 120, 144, 0.55); outline-offset: 2px; border-radius: 6px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center-row { text-align: center; margin-top: 2.2rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--teal-dark); color: #fff; padding: 10px 18px; z-index: 200; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; color: #fff; }

/* ---------- type helpers ---------- */
.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 0.9rem;
}
.section { padding: 84px 0; }
.section-title { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head.center { justify-content: center; text-align: center; align-items: center; }
.section-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.section-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.section-link:hover svg { transform: translateX(4px); }
.section-note { font-size: 0.85rem; color: var(--muted); max-width: 640px; margin-top: 28px; }
.ph-note { font-size: 0.82rem; color: var(--muted); font-style: italic; margin-top: -0.4rem; }
.lead { font-size: 1.13rem; color: var(--ink); line-height: 1.6; }
.section-lead { color: var(--muted); font-size: 0.98rem; line-height: 1.6; max-width: 560px; margin-top: 10px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 0.95rem; line-height: 1;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  transition: all 0.22s var(--ease); white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(24, 120, 144, 0.28); }
.btn-outline { background: transparent; border-color: var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(31, 175, 99, 0.3); }
.btn-wa-ghost { background: var(--coral-soft); color: var(--coral-deep); }
.btn-wa-ghost:hover { background: var(--coral-deep); color: #fff; }
.btn-light { background: #fff; color: var(--teal-dark); }
.btn-light:hover { background: var(--teal-soft); color: var(--teal-dark); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-small { padding: 10px 18px; font-size: 0.86rem; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.4rem; }
.not-found-actions { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 0.92rem; }
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- topbar ---------- */
.topbar { background: var(--teal-dark); color: rgba(255, 255, 255, 0.85); font-size: 0.82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topbar-loc, .topbar-phone { display: inline-flex; align-items: center; gap: 7px; color: inherit; }
.topbar svg { width: 14px; height: 14px; opacity: 0.8; }
.topbar-right { display: flex; align-items: center; gap: 15px; white-space: nowrap; }
.topbar-follow { font-size: .74rem; font-weight: 700; letter-spacing: .07em; color: rgba(255,255,255,.82); }
.topbar-social { display: inline-flex; align-items: center; gap: 8px; }
.topbar-social a { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.topbar-social a:hover { transform: translateY(-2px); box-shadow: 0 3px 10px rgba(0,0,0,.22); }
.topbar-social a img { display: block; width: 19px; height: 19px; object-fit: contain; }
.topbar a:hover { color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 247, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 54px; height: 54px; border-radius: 14px; }

.main-nav { display: flex; align-items: center; }
.nav-inner { display: flex; align-items: center; gap: 26px; }
.nav-links { position: relative; display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; padding: 10px 12px; font-size: 0.94rem; font-weight: 500; color: var(--ink);
  border-radius: 10px;
}
.nav-link:hover { color: var(--teal); background: var(--teal-mist); }
/* The active state has a no-JavaScript fallback. The moving pill takes its
   place once its position is measured by the shared navigation script. */
.nav-link.is-active { color: #a94449; font-weight: 600; border-radius: 999px; background: rgba(235,123,122,.11); box-shadow: inset 0 0 0 1.5px var(--logo-f); }
.nav-link.is-active:hover { color: var(--teal); background: var(--teal-mist); }
.nav-active-pill { display: none; position: absolute; top: 0; left: 0; z-index: 2; pointer-events: none; border: 1.5px solid var(--logo-f); border-radius: 999px; background: rgba(235,123,122,.11); opacity: 0; transition: transform .34s var(--ease), width .34s var(--ease), height .34s var(--ease); }
.nav-links.has-sliding-pill .nav-active-pill { display: block; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .nav-active-pill { transition: none; }
}
@media (min-width: 941px) {
  .nav-links.has-sliding-pill .nav-link.is-active { background: transparent; box-shadow: none; }
  .nav-links.has-sliding-pill .nav-link:hover { color: var(--teal); background: var(--teal-mist); }
}
.btn-nav-cta { margin-left: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-quick { display: none; }

/* ---------- header cart link ---------- */
.cart-link {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; min-width: 46px; padding: 0 15px; border-radius: 13px;
  background: var(--teal-mist); color: var(--teal-deep); border: 1.5px solid rgba(24, 120, 144, 0.45);
  font-weight: 600; font-size: 0.92rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cart-link:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.cart-link svg { width: 21px; height: 21px; }
.cart-label { display: none; }
@media (min-width: 1161px) {
  .cart-label { display: inline; }
}
.cart-count {
  position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 5px;
  border-radius: 999px; background: var(--coral-deep); color: #fff; font-size: 0.74rem; font-weight: 700;
  line-height: 1; display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--surface); box-shadow: 0 1px 3px rgba(28, 43, 49, 0.25);
}
.cart-count[hidden] { display: none; }
.cart-count.is-bump { animation: cartBump 0.45s var(--ease); }
@keyframes cartBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: all 0.25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- offer bar ---------- */
.offerbar { background: linear-gradient(90deg, var(--coral-deep), var(--coral) 55%, var(--peach)); color: #fff; }
.offerbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.offerbar-copy { margin: 0; font-size: 0.92rem; }
.offerbar-kicker { font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; display: block; margin-bottom: 2px; opacity: 0.9; }
.offerbar-actions { display: flex; align-items: center; gap: 10px; }
.offerbar-close { background: none; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; padding: 4px 8px; opacity: 0.85; }
.offerbar-close:hover { opacity: 1; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 420px at 88% 8%, rgba(227, 180, 147, 0.16), transparent 65%),
    radial-gradient(640px 460px at 4% 96%, rgba(24, 120, 144, 0.08), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 56px; align-items: center; }
.hero-eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-soft); border: 1px solid rgba(24, 120, 144, 0.18);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(2.5rem, 5.4vw, 3.9rem);
  line-height: 1.06; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 20px;
}
.hero-title em { font-style: italic; color: var(--teal); }
.hero-sub { font-size: 1.12rem; max-width: 33em; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-meta { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--muted); margin: 0; }
.hero-meta svg { width: 15px; height: 15px; color: var(--coral); }

.hero-media { position: relative; }
.hero-img-wrap {
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.4; position: relative;
  border: 6px solid #fff;
}
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; max-width: 220px;
}
.hero-chip strong { font-size: 0.92rem; color: var(--ink); }
.hero-chip span { font-size: 0.8rem; color: var(--muted); }
.hero-chip-1 { top: 8%; left: -7%; }
.hero-chip-2 { bottom: 10%; right: -5%; }

/* ---------- intro ---------- */
.intro { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.intro-points { display: flex; flex-direction: column; gap: 22px; }
.ipoint { display: flex; gap: 16px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.ipoint p { margin: 2px 0 0; font-size: 0.92rem; color: var(--muted); }
.ip-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; }
.ip-icon svg { width: 20px; height: 20px; }

/* ---------- treatments ---------- */
.t-group { margin-bottom: 56px; }
.t-group:last-of-type { margin-bottom: 0; }
.t-group-head { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.t-group-thumb { flex: none; width: 86px; height: 86px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); }
.t-group-thumb img, .t-group-thumb .img-ph { width: 100%; height: 100%; object-fit: cover; }
.t-group-name { font-family: var(--font-display); font-weight: 500; margin-bottom: 2px; font-size: 1.45rem; }
.t-group-short { margin: 0; color: var(--muted); font-size: 0.95rem; }

.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.t-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.t-card-media img, .t-card-media .img-ph { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.t-card:hover .t-card-media img { transform: scale(1.045); }
.t-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.t-card-name { font-size: 1.06rem; margin-bottom: 6px; }
.t-card-name a { color: var(--ink); }
.t-card-name a:hover { color: var(--teal); }
.t-card-short { font-size: 0.92rem; color: var(--muted); margin-bottom: 18px; flex: 1; }
.t-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* image placeholder (pending imagery) */
.img-ph {
  display: grid; place-items: center; text-align: center; gap: 8px;
  background: linear-gradient(135deg, var(--teal-soft), var(--peach-soft) 90%);
  color: var(--teal-deep);
}
.img-ph-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.75); }
.img-ph-mark svg { width: 22px; height: 22px; }
.img-ph-text { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; padding: 0 12px; }

/* ---------- why ---------- */
.why { background: var(--sand); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; position: relative; overflow: hidden;
}
.why-card-lg { padding: 34px 28px; }
.why-num { font-family: var(--font-display); font-size: 2rem; color: var(--peach); font-weight: 500; display: block; margin-bottom: 12px; }
.why-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.why-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step-num {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 700; font-size: 0.95rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* ---------- results ---------- */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.res-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0; }
.res-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.res-half {
  aspect-ratio: 1 / 1.15; border-radius: 12px; display: grid; place-items: center;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.res-before { background: repeating-linear-gradient(45deg, var(--sand) 0 10px, var(--sand-deep) 10px 20px); color: var(--muted); }
.res-after { background: linear-gradient(135deg, var(--teal-soft), var(--peach-soft)); color: var(--teal-deep); }
.res-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.res-meta strong { color: var(--ink); font-size: 0.98rem; }
.res-meta em { font-style: normal; font-size: 0.85rem; color: var(--muted); }
.res-note { font-size: 0.82rem; color: var(--muted); margin: 6px 0 0; }

/* ---------- testimonials slider ---------- */
.testimonials { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.slider { max-width: 760px; margin: 0 auto; }
.slider-viewport { overflow: hidden; border-radius: var(--radius); }
.slider-track { display: flex; transition: transform 0.55s var(--ease); }
.t-slide {
  flex: 0 0 100%; margin: 0; padding: 48px 52px; text-align: center;
  background: var(--bg); border: 1px solid var(--line);
}
.t-slide blockquote {
  margin: 0 0 22px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 400;
  line-height: 1.5; color: var(--ink);
}
.t-name { display: block; font-weight: 600; color: var(--teal); font-size: 0.95rem; }
.t-treat { display: block; font-size: 0.84rem; color: var(--muted); margin-top: 2px; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.slider-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface);
  color: var(--ink); font-size: 1rem; transition: all 0.2s var(--ease);
}
.slider-btn:hover { border-color: var(--teal); color: var(--teal); }
.slider-dots { display: flex; gap: 8px; }
.slider-dot { width: 8px; height: 8px; border-radius: 999px; border: 0; background: var(--sand-deep); padding: 0; transition: all 0.25s var(--ease); }
.slider-dot.is-active { width: 22px; background: var(--teal); }

/* ---------- products ---------- */
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.p-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.p-card-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.p-card-media img, .p-card-media .img-ph { width: 100%; height: 100%; object-fit: cover; }
.badge-sample {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(255, 255, 255, 0.92); color: var(--muted); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
}
.p-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.p-card-name {
  font-size: 0.98rem; margin-bottom: 5px; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(1.3em * 2);
}
.p-card-short {
  font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; flex: 1; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.p-card-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.p-price { font-weight: 700; color: var(--ink); font-size: 1rem; }
.p-price-was { color: var(--muted); text-decoration: line-through; font-size: 0.83rem; }
.p-card-actions { display: flex; align-items: stretch; gap: 8px; }
.p-card-more { display: inline-flex; margin-top: 12px; font-size: 0.88rem; }
.p-card-name a { color: inherit; }
.p-card-name a:hover { color: var(--teal); }
.p-card-media { display: block; }
.p-card-actions .js-add-cart { flex: 1; white-space: nowrap; padding-left: 12px; padding-right: 12px; }
.p-wa-mini {
  flex: none; width: 44px; border: 0; border-radius: 12px;
  background: #e9f7f0; color: var(--wa-deep);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s var(--ease);
}
.p-wa-mini svg { width: 19px; height: 19px; }
.p-wa-mini:hover { background: var(--wa); color: #fff; transform: translateY(-1px); }

/* shop page */
.shop-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface);
  font-size: 0.9rem; font-weight: 500; color: var(--body-c); transition: all 0.2s var(--ease);
}
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }
.shop-sample-note { font-size: 0.85rem; color: var(--muted); background: var(--peach-soft); border: 1px solid rgba(227, 180, 147, 0.4); border-radius: var(--radius-sm); padding: 12px 18px; margin-bottom: 28px; }
.empty-note { color: var(--muted); font-size: 0.95rem; }

/* page hero */
.page-hero { padding: 64px 0 56px; background: linear-gradient(180deg, var(--teal-mist), var(--bg) 90%); border-bottom: 1px solid var(--line); }
.page-title { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; margin-bottom: 14px; }
.page-sub { max-width: 60em; font-size: 1.05rem; }
.crumbs { font-size: 0.83rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--teal); }

/* ---------- treatment detail ---------- */
.page-hero-treatment { padding-bottom: 44px; }
.treatment-detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.t-detail-copy h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; margin-top: 2.2rem; }
.t-detail-copy h2:first-of-type { margin-top: 1.6rem; }
.t-detail-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 16 / 9; }
.t-detail-img img, .t-detail-img .img-ph { width: 100%; height: 100%; object-fit: cover; }

.t-detail-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.aside-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.aside-sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }
.aside-card .btn { width: 100%; margin-bottom: 10px; }
.aside-div { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.aside-note { font-size: 0.83rem; color: var(--muted); margin: 0; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; text-align: left; padding: 18px 22px;
  font-size: 0.99rem; font-weight: 600; color: var(--ink);
}
.faq-q:hover { color: var(--teal); }
.faq-icon { position: relative; flex: none; width: 20px; height: 20px; display: grid; place-items: center; }
.faq-icon svg { width: 20px; height: 20px; display: block; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; fill: none; transition: transform 0.25s var(--ease); }
.faq-q[aria-expanded="true"] .faq-icon svg { transform: rotate(180deg); stroke: var(--teal-deep); }
.faq-q[aria-expanded="true"] { color: var(--teal); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a p { margin: 0; padding: 0 22px 20px; font-size: 0.94rem; color: var(--body-c); }

.faq-search { display: block; margin-bottom: 28px; }
.faq-search input {
  width: 100%; padding: 16px 22px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--surface); font-size: 1rem; transition: border-color 0.2s var(--ease);
}
.faq-search input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px rgba(24, 120, 144, 0.12); }
.faq-noresult { color: var(--muted); font-size: 0.95rem; }
.faq-more { margin-top: 36px; }

/* ---------- product page ---------- */
.pp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 34px; align-items: start; }
.pp-main { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1 / 1; background: var(--surface); }
.pp-main img, .pp-main .img-ph { width: 100%; height: 100%; object-fit: cover; }
.pp-thumbs { display: grid; grid-template-columns: repeat(4, 64px); gap: 10px; margin-top: 12px; }
.pp-thumb {
  aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 2px solid var(--line); background: var(--surface); padding: 0;
}
.pp-thumb.is-active { border-color: var(--teal); }
.pp-thumb-img { width: 100%; height: 100%; object-fit: cover; }
.pp-thumb-ph { display: grid; place-items: center; background: var(--sand); color: var(--muted); font-size: 1.2rem; }
.pp-cat { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); margin-bottom: 8px; }
.pp-name { font-family: var(--font-display); font-weight: 500; font-size: 2rem; margin-bottom: 14px; }
.pp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.pp-price .pp-price-was, .pp-was { color: var(--muted); text-decoration: line-through; font-size: 0.95rem; }
.pp-price > .pp-price, .pp-price span:first-child { font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.badge-badge { background: var(--coral-soft); color: var(--coral-deep); font-size: 0.75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.stock { font-size: 0.83rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.stock-in { background: #e7f6ec; color: #1d7a45; }
.stock-out { background: var(--coral-soft); color: var(--coral-deep); }
.pp-short { font-size: 1rem; color: var(--body-c); }
.pp-buy { display: flex; gap: 12px; margin: 22px 0 12px; flex-wrap: wrap; }
.pp-buy .btn { flex: 1; min-width: 160px; }
.pp-buy-more { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.pp-sku { font-size: 0.8rem; color: var(--muted); margin: 0; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); overflow: hidden; }
.qty-btn { width: 42px; height: 48px; border: 0; background: none; font-size: 1.25rem; color: var(--ink); }
.qty-btn:hover { background: var(--teal-mist); color: var(--teal); }
.qty-input { width: 48px; text-align: center; border: 0; background: none; font-weight: 600; color: var(--ink); -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pp-details { margin-top: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pp-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.pp-block h2 { font-size: 1.1rem; margin-bottom: 10px; }
.pp-block p { font-size: 0.95rem; margin: 0; }
.pp-benefits li { padding-left: 22px; position: relative; margin-bottom: 6px; font-size: 0.95rem; }
.pp-benefits li::before { content: ""; position: absolute; left: 0; top: 0.58em; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.pp-benefits-note { font-size: 0.9rem; color: var(--muted); }

/* ---------- cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.cart-empty { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 56px 32px; text-align: center; }
.cart-empty h2 { font-family: var(--font-display); }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.cart-line-media { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; }
.cart-line-media img, .cart-line-media .img-ph { width: 100%; height: 100%; object-fit: cover; }
.cart-line-name { font-weight: 600; color: var(--ink); font-size: 0.97rem; margin-bottom: 2px; }
.cart-line-unit { font-size: 0.84rem; color: var(--muted); margin-bottom: 10px; }
.cart-line-controls { display: flex; align-items: center; gap: 14px; }
.cart-line-controls .qty { transform: scale(0.9); }
.cart-line-remove { background: none; border: 0; color: var(--muted); font-size: 0.83rem; text-decoration: underline; }
.cart-line-remove:hover { color: var(--coral-deep); }
.cart-line-total { font-weight: 700; color: var(--ink); min-width: 110px; text-align: right; }
.cart-summary, .co-summary { position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.cart-summary h3, .co-summary h3 { font-size: 1.15rem; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.94rem; margin-bottom: 10px; }
.sum-row.total { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; font-size: 1.08rem; font-weight: 700; color: var(--ink); }
.sum-note { font-size: 0.78rem; color: var(--muted); }
.cart-summary .btn, .co-summary .btn { width: 100%; margin-top: 16px; }

/* ---------- checkout ---------- */
.checkout-layout {
  display: grid; grid-template-columns: 1fr 400px; column-gap: 40px; row-gap: 0; align-items: start;
  grid-template-areas:
    "form summary"
    "pay  summary";
}
.checkout-form { grid-area: form; }
.co-pay { grid-area: pay; }
.co-summary { grid-area: summary; }
.co-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-bottom: 22px; }
.co-block h2 { font-size: 1.2rem; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field span { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(24, 120, 144, 0.12); background: #fff; }
.field input.is-invalid, .field select.is-invalid { border-color: var(--coral-deep); }
.field-full { grid-column: 1 / -1; }
.field-error { font-size: 0.78rem; color: var(--coral-deep); }

.pay-methods { display: grid; gap: 12px; margin-bottom: 22px; }
.pay-opt { position: relative; display: flex; gap: 14px; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; cursor: pointer; transition: all 0.2s var(--ease); background: var(--bg); }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt .pay-opt-body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.pay-opt .pay-opt-body span { font-size: 0.84rem; color: var(--muted); }
.pay-opt .pay-opt-body strong { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.soon-chip {
  display: inline-block; background: var(--peach-soft); color: #8a5c33; border: 1px solid rgba(227, 180, 147, 0.55);
  padding: 2px 8px; border-radius: 999px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.pay-opt::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line);
  background: #fff; transition: all 0.2s var(--ease);
}
.pay-opt.is-active { border-color: var(--teal); background: var(--teal-mist); }
.pay-opt.is-active::before { border-color: var(--teal); background: var(--teal); box-shadow: inset 0 0 0 3px #fff; }
.pay-opt:has(input:disabled) { opacity: 0.8; cursor: not-allowed; }
.pay-opt:has(input:disabled)::before { background: var(--sand); border-color: var(--line); }
.pay-opt:has(input:disabled):hover { border-color: var(--line); }

/* payment brand marks sit at the far right of each option */
.pay-logo { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; flex: none; }
.pay-logo img { width: auto; display: block; }
.pl-mpesa { height: 20px; }
.pl-card { height: 21px; }
.pl-mc { height: 26px; }
.pl-gpay { height: 24px; }
.pl-apay { height: 24px; }

.mpesa-panel { background: var(--bg); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 20px; }
.mpesa-label { font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.mpesa-panel .field { margin-bottom: 14px; }
.mpesa-hint { font-size: 0.8rem; color: var(--muted); margin: 12px 0 0; }
.demo-tag { display: inline-block; background: var(--peach-soft); color: #9a6b3f; border: 1px solid rgba(227, 180, 147, 0.5); padding: 2px 10px; border-radius: 999px; font-size: 0.74rem; }

.pay-status { margin-top: 16px; }
.pay-state { border-radius: var(--radius-sm); padding: 18px 20px; font-size: 0.95rem; display: flex; gap: 12px; align-items: flex-start; }
.pay-state-processing { background: var(--teal-mist); color: var(--teal-dark); border: 1px solid rgba(24, 120, 144, 0.2); }
.pay-state-success { background: #e7f6ec; color: #14532d; border: 1px solid rgba(29, 122, 69, 0.25); }
.pay-state-error { background: var(--coral-soft); color: var(--coral-deep); border: 1px solid rgba(201, 95, 80, 0.25); }
.spinner { flex: none; width: 20px; height: 20px; border: 3px solid rgba(15, 92, 112, 0.25); border-top-color: var(--teal); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay-ref { font-weight: 700; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.c-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.c-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 14px; }
.c-icon svg { width: 20px; height: 20px; }
.c-card h3 { font-size: 1rem; margin-bottom: 6px; }
.c-card p { font-size: 0.93rem; margin-bottom: 14px; }
.c-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.contact-side { display: grid; gap: 18px; }
.contact-box { background: var(--teal-dark); color: rgba(255, 255, 255, 0.85); border-radius: var(--radius); padding: 28px; }
.contact-box h3 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.contact-box p { font-size: 0.92rem; margin-bottom: 16px; }
.contact-box .btn { width: 100%; }

/* ---------- location ---------- */
.location { background: var(--sand); }
.location-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.loc-list { display: grid; gap: 18px; margin: 24px 0 8px; }
.loc-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.95rem; }
.loc-list svg { flex: none; width: 19px; height: 19px; color: var(--teal); margin-top: 4px; }
.loc-list a { color: var(--ink); font-weight: 600; }
.location-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); min-height: 380px; }
.map-embed { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.map-ph {
  height: 100%; min-height: 380px; display: grid; place-items: center;
  background:
    linear-gradient(rgba(24, 120, 144, 0.06), rgba(24, 120, 144, 0.06)),
    repeating-linear-gradient(0deg, var(--teal-mist) 0 39px, var(--line) 39px 40px),
    repeating-linear-gradient(90deg, var(--teal-mist) 0 39px, var(--line) 39px 40px);
}
.map-ph-lg { min-height: 440px; }
.map-ph-inner { text-align: center; background: rgba(255, 255, 255, 0.92); border-radius: var(--radius); padding: 30px 36px; box-shadow: var(--shadow-sm); display: grid; gap: 8px; justify-items: center; }
.map-ph-inner svg { width: 30px; height: 30px; color: var(--coral); }
.map-ph-inner strong { color: var(--ink); font-size: 1.05rem; }
.map-ph-inner span { font-size: 0.9rem; color: var(--body-c); }
.map-ph-note { font-size: 0.74rem; color: var(--muted); margin: 6px 0 0; max-width: 320px; }

/* ---------- cta strip ---------- */
.cta-strip { padding: 40px 0; }
.cta-strip-inner {
  background: linear-gradient(120deg, var(--teal-dark), var(--teal) 60%, #23919f);
  border-radius: 26px; padding: 52px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  color: #fff; position: relative; overflow: hidden;
}
.cta-strip-inner::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 180, 147, 0.35), transparent 70%);
}
.cta-title { color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; margin-bottom: 6px; }
.cta-text { margin: 0; color: rgba(255, 255, 255, 0.85); max-width: 34em; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }

/* ---------- about ---------- */
.band { background: var(--teal-dark); }
.band .eyebrow { color: var(--peach); }
.band .section-title { color: #fff; }
.band-copy { max-width: 46em; margin: 0 auto; text-align: center; color: rgba(255, 255, 255, 0.85); font-size: 1.06rem; }
.intro-grid.reverse { direction: rtl; }
.intro-grid.reverse > * { direction: ltr; }
.about-img { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3.4; }
.about-img-main { width: 100%; height: 100%; object-fit: cover; }
.about-svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.about-svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.about-svc h3 { font-size: 1.08rem; margin-bottom: 8px; }
.about-svc p { font-size: 0.92rem; color: var(--muted); margin-bottom: 14px; }
.phil-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.phil { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: 28px; }
.phil h3 { color: var(--peach); font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin-bottom: 10px; }
.phil p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; }

/* ---------- enquire ---------- */
.enquire-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.enquire-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.form-status { min-height: 1.4em; font-size: 0.92rem; margin: 14px 0 0; }
.form-status.ok { color: #1d7a45; font-weight: 600; }
.form-status.err { color: var(--coral-deep); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: #10222a; color: rgba(255, 255, 255, 0.72); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 1fr; gap: 44px; padding: 64px 24px 48px; }
.footer-logo { width: 96px; height: 96px; border-radius: 18px; background: #fff; padding: 8px; margin-bottom: 16px; }
.footer-tagline { font-family: var(--font-display); font-style: italic; color: var(--peach); font-size: 1.02rem; margin-bottom: 12px; }
.footer-blurb { font-size: 0.9rem; max-width: 30em; }
.footer-ig { display: inline-flex; gap: 8px; align-items: center; color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
.footer-ig svg { width: 17px; height: 17px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.04em; }
.footer-col ul { display: grid; gap: 9px; font-size: 0.9rem; }
.footer-col a { color: rgba(255, 255, 255, 0.72); }
.footer-col a:hover { color: #fff; }
.footer-sub { color: var(--peach) !important; font-size: 0.78rem !important; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 8px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--peach); }
.footer-cta { margin-top: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 0.82rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, 0.85); text-decoration: underline; }

/* ---------- mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; background: #fff;
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(28, 43, 49, 0.10);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 8px;
}
.mbtn { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 10px 6px; border-radius: 12px; font-weight: 600; font-size: 0.85rem; background: var(--sand); color: var(--ink); }
.mbtn svg { width: 16px; height: 16px; }
.mbtn-wa { background: var(--wa); color: #fff; }
.mbtn-enq { background: var(--teal); color: #fff; }

/* ---------- reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- toast ---------- */
.af-toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500; z-index: 300; opacity: 0; pointer-events: none;
  transition: all 0.3s var(--ease); box-shadow: var(--shadow-lg); max-width: 90vw; text-align: center;
}
.af-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- cookie notice ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 250; }
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  max-width: 1020px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lg); padding: 15px 18px;
  display: flex; align-items: center; gap: 18px;
}
.cookie-text { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--body-c); }
.cookie-text a { color: var(--teal); font-weight: 600; text-decoration: underline; }
.cookie-inner .btn { flex: none; }

/* ---------- related ---------- */
.related { padding-top: 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1160px) {
  .nav-link { padding: 10px 9px; font-size: 0.9rem; }
  .btn-nav-cta { padding: 12px 18px; font-size: 0.88rem; }
  .nav-inner { gap: 16px; }
}

@media (max-width: 1080px) {
  .t-grid { grid-template-columns: repeat(2, 1fr); }
  .p-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .res-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 36px; }
  .hero-chip-1 { left: -4%; }
  .hero-chip-2 { right: -3%; }
}

@media (max-width: 940px) {
  .topbar { display: none; }
  /* backdrop-filter creates a containing block for fixed-position descendants,
     which would trap the full-screen nav panel inside the header. Use a solid
     background on mobile instead. */
  .site-header { top: 0; backdrop-filter: none; background: var(--bg); }
  /* With the menu open, body scroll is locked (overflow: hidden), which stops
     the sticky header from sticking. Pin the header strip (logo left, close
     icon right) to the top of the viewport above the panel instead. */
  body.nav-open .site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 102; border-bottom: 1px solid var(--line); }
  .brand { position: relative; z-index: 100; }
  /* One cart button lives in the header bar (never inside the nav panel). */
  .header-actions { position: relative; z-index: 100; margin-left: auto; }
  .nav-toggle { display: block; z-index: 101; position: relative; }
  .main-nav {
    position: fixed; inset: 0; z-index: 99; background: rgba(251, 250, 247, 0.98); backdrop-filter: blur(8px);
    padding: calc(var(--header-h) + 18px) 22px 22px;
    align-items: stretch;
    transform: translateX(100%); transition: transform 0.32s var(--ease), visibility 0s linear 0.32s; visibility: hidden;
  }
  .main-nav.is-open { transform: translateX(0); visibility: visible; transition: transform 0.32s var(--ease); }
  .nav-inner { flex: 1; flex-direction: column; align-items: stretch; gap: 22px; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { font-size: 1.15rem; padding: 14px 16px; border-radius: 12px; }
  .nav-link:active { background: var(--teal-mist); }
  .nav-link.is-active { background: var(--teal-mist); }
  /* The Enquire button stays in the header bar (tablet) so it is always one tap away. */
  .btn-nav-cta { padding: 12px 16px; font-size: 0.88rem; }
  .nav-quick {
    margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line);
    display: grid; gap: 10px; font-size: 0.95rem; color: var(--muted);
  }
  .nav-quick a:hover { color: var(--teal); }
  .nav-quick a, .nav-quick > span { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
  .nav-quick svg { width: 18px; height: 18px; flex: none; }
  .nav-quick a.nav-wa { color: var(--wa-deep); }
  body.nav-open { overflow: hidden; }

  .hero-grid, .intro-grid, .treatment-detail-grid, .enquire-grid, .checkout-layout, .cart-layout, .contact-grid, .location-grid, .pp-grid { grid-template-columns: 1fr; }
  /* Checkout stacks in reading order: details, order summary, then payment. */
  .checkout-layout { grid-template-areas: none; }
  .checkout-form, .co-pay, .co-summary { grid-area: auto; }
  .intro-grid.reverse { direction: ltr; }
  .hero { padding: 44px 0 56px; }
  .hero-sub { font-size: 1.02rem; }
  .hero-media { max-width: 560px; }
  .hero-img-wrap { aspect-ratio: 4 / 3.6; border-width: 4px; }
  .hero-chip { position: static; max-width: none; margin-top: 14px; padding: 12px 16px; }
  .hero-media { display: grid; gap: 10px; }
  .intro-grid { gap: 36px; }
  .treatment-detail-grid { gap: 36px; }
  .t-detail-aside { position: static; }
  .t-detail-copy h2 { margin-top: 1.9rem; }
  .cta-strip { padding: 28px 0; }
  .cta-strip .cta-strip-inner { flex-direction: column; text-align: center; padding: 44px 22px; }
  .cta-strip .cta-text { margin: 0 auto 22px; }
  .cta-title { font-size: 1.5rem; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .cta-actions .btn { width: 100%; }
  .pp-details { grid-template-columns: 1fr; margin-top: 40px; gap: 16px; }
  .pp-block { padding: 22px 20px; }
  .about-svcs, .phil-grid { grid-template-columns: 1fr; gap: 16px; }
  .band-copy { font-size: 1rem; }
  .aside-card { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 28px; padding: 44px 24px 36px; }
  .section { padding: 58px 0; }
  .section-head { margin-bottom: 30px; }
  .t-group { margin-bottom: 44px; }
  .t-group-head { gap: 16px; margin-bottom: 20px; }
  .t-group-thumb { width: 68px; height: 68px; border-radius: 16px; }
  .t-group-name { font-size: 1.3rem; }
  .ipoint { padding: 18px; gap: 14px; }
  .why-card, .step { padding: 24px 20px; }
  .c-card { padding: 20px; }
  .contact-box { padding: 24px 20px; }
  .location-map { min-height: 320px; }
  .map-ph { min-height: 320px; }
  .map-ph-lg { min-height: 340px; }
  .map-ph-inner { padding: 24px 20px; }
  .pay-opt { padding: 14px 16px; }
  .co-block { padding: 26px 22px; }
  .shop-cats { gap: 8px; }
  .chip { padding: 11px 20px; }
  .cart-empty { padding: 40px 22px; }
  .res-card { padding: 14px; }
}

@media (max-width: 640px) {
  body { --header-h: 64px; padding-bottom: 76px; }
  .main-nav { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  .container { padding: 0 18px; }
  .section { padding: 50px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 26px; }
  .section-link { white-space: normal; }

  /* header: more compact, comfortable tap targets */
  .header-inner { gap: 12px; }
  .brand img { width: 46px; height: 46px; border-radius: 12px; }
  .nav-toggle { width: 48px; height: 48px; }
  .nav-toggle span { width: 24px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* hero */
  .hero { padding: 36px 0 48px; }
  .hero-eyebrow { margin-bottom: 16px; padding: 7px 14px; }
  .hero-title { font-size: 2.15rem; margin-bottom: 16px; }
  .hero-sub { font-size: 1rem; margin-bottom: 24px; }
  .hero-ctas { gap: 10px; margin-bottom: 20px; }
  .hero-ctas .btn { width: 100%; padding: 15px 20px; }
  .hero-meta { font-size: 0.83rem; }
  .hero-img-wrap { aspect-ratio: 4 / 3.4; }

  /* page hero */
  .page-hero { padding: 40px 0 34px; }
  .page-title { margin-bottom: 10px; }
  .page-sub { font-size: 1rem; }
  .crumbs { margin-bottom: 14px; overflow-wrap: anywhere; }

  /* cards, spacious single column */
  .t-grid, .why-grid, .steps, .res-grid, .contact-cards { grid-template-columns: 1fr; gap: 16px; }
  .p-grid { grid-template-columns: 1fr; gap: 18px; }
  .p-card-media { aspect-ratio: 4 / 3.1; }
  .p-card-body { padding: 20px 18px 22px; }
  .p-card-name { font-size: 1.05rem; }
  .p-card-short { font-size: 0.9rem; margin-bottom: 16px; }
  .p-card-actions { gap: 10px; }
  .p-card-actions .js-add-cart { padding: 14px 12px; font-size: 0.92rem; }
  .p-wa-mini { width: 52px; border-radius: 14px; }
  .p-wa-mini svg { width: 21px; height: 21px; }
  .t-card-body { padding: 20px 18px 22px; }
  .t-card-name { font-size: 1.1rem; }

  /* product page */
  .pp-grid { gap: 28px; margin-top: 24px; }
  .pp-name { font-size: 1.55rem; margin-bottom: 12px; }
  .pp-price { gap: 10px; margin-bottom: 12px; }
  .pp-price span:first-child { font-size: 1.35rem; }
  .pp-buy { flex-direction: column; align-items: stretch; gap: 10px; margin: 20px 0 12px; }
  .pp-buy .btn { min-width: 0; padding: 15px 20px; }
  .pp-buy-more { grid-template-columns: 1fr; gap: 10px; }
  .pp-thumbs { grid-template-columns: repeat(4, minmax(0, 60px)); }
  .pp-block { padding: 20px 18px; }

  /* forms */
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .field input, .field select, .field textarea { padding: 14px 16px; }
  .form-actions { gap: 10px; }
  .form-actions .btn { width: 100%; }
  .enquire-form { padding: 24px 18px; }
  .co-block { padding: 24px 18px; }
  .co-summary, .cart-summary { position: static; padding: 24px 20px; }
  .faq-search input { padding: 15px 20px; }
  .faq-q { padding: 16px 18px; font-size: 0.97rem; }
  .faq-a p { padding: 0 18px 18px; }

  /* cart */
  .cart-line { grid-template-columns: 60px 1fr; padding: 14px; gap: 14px; }
  .cart-line-media { width: 60px; height: 60px; }
  .cart-line-total { grid-column: 2; text-align: left; }

  /* testimonials */
  .t-slide { padding: 32px 20px; }
  .t-slide blockquote { font-size: 1.08rem; }
  .slider-btn { width: 44px; height: 44px; }

  /* footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px 32px; }
  .footer-logo { width: 84px; height: 84px; }
  .footer-col ul { gap: 10px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 20px; }

  /* toast sits above the mobile action bar */
  .af-toast { bottom: 92px; }

  /* cookie notice sits above the mobile action bar and stacks vertically */
  .cookie-banner { left: 10px; right: 10px; bottom: 84px; }
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 15px; }
  .cookie-inner .btn { width: 100%; }

  /* The fixed bottom action bar already offers Call, WhatsApp and Enquire,
     so the open menu keeps the links, a Privacy Policy link and the location. */
  .btn-nav-cta { display: none; }
  .nav-quick a.nav-quick-call, .nav-quick a.nav-quick-wa { display: none; }
  .nav-quick .nav-quick-loc { font-size: 0.95rem; line-height: 1.5; }
  .nav-quick .nav-quick-loc svg { margin-top: 2px; align-self: flex-start; }
  /* Keep the location clear of the fixed bottom action bar. */
  .main-nav { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .nav-quick-privacy { font-weight: 600; color: var(--teal); }
}

/* Touch-friendly targets for mobile and tablet layouts (thumbs, not cursors) */
@media (max-width: 940px) {
  .btn-small { min-height: 44px; padding-top: 12px; padding-bottom: 12px; }
  .section-link, .link-arrow, .p-card-more { min-height: 44px; }
  .nav-quick-privacy { min-height: 44px; padding: 8px 0; }
  .t-card-name a, .p-card-name a { display: inline-block; padding: 8px 0; }
  .crumbs a, .loc-list a { display: inline-flex; align-items: center; min-height: 38px; }
  .p-wa-mini { min-height: 44px; }
  .footer-ig { min-height: 40px; }
  .footer-col ul { gap: 3px; }
  .footer-col ul a, .footer-contact a { display: inline-flex; align-items: center; min-height: 38px; }
  /* keep payment rows comfortably sized on small screens */
  .pay-opt { padding: 14px 15px; gap: 12px; }
  .pay-logo { gap: 8px; }
  .pl-mpesa { height: 17px; }
  .pl-card { height: 18px; }
  .pl-mc { height: 22px; }
  .pl-gpay, .pl-apay { height: 21px; }
  .soon-chip { font-size: 0.62rem; padding: 2px 7px; }
}

@media (min-width: 641px) {
  .mobile-bar { display: none; }
}

/* ---------- legal pages (privacy policy) ---------- */
.legal { max-width: 820px; }
.legal p { margin: 0 0 14px; color: var(--body-c); line-height: 1.7; }
.legal h2 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--ink); margin: 34px 0 10px; }
.legal ul { margin: 10px 0 18px; padding-left: 22px; display: grid; gap: 9px; }
.legal li { color: var(--body-c); line-height: 1.65; }
.legal strong { color: var(--ink); }
.legal a { color: var(--teal); font-weight: 600; }
.legal .legal-updated { font-size: 0.88rem; color: var(--muted); margin-bottom: 20px; }

/* Honeypot field for spam traps: hidden from humans, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Social profiles: use locally hosted, unmodified platform marks. */
.nav-spark { display: none; }
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.footer-social-label { color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .07em; white-space: nowrap; }
.footer-social-icons { display: inline-flex; align-items: center; gap: 8px; }
.footer-social-icons a { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.footer-social-icons a:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.26); }
.footer-social-icons img { display: block; width: 24px; height: 24px; object-fit: contain; }
@media (max-width: 640px) {
  .footer-social-icons a { width: 44px; height: 44px; }
}
.nav-social { display: none; }
@media (max-width: 940px) {
  .main-nav { overflow-y: auto; overscroll-behavior: contain; }
  .nav-inner { min-height: min-content; }
  .nav-links { gap: 7px; }
  .nav-links .nav-link {
    display: flex; gap: 14px; align-items: center; min-height: 52px;
    padding: 10px 16px; border: 1px solid #d9e8eb;
    background: #eff6f7; color: var(--teal-dark); font-weight: 600;
    transition: background .2s ease, transform .2s ease;
  }
  .nav-links .nav-link:nth-child(even) { background: #fcf0ee; border-color: #f3dcd8; color: #a95447; }
  .nav-links .nav-link:hover, .nav-links .nav-link:focus-visible { transform: translateX(3px); background: #dfeff2; }
  .nav-links .nav-link:nth-child(even):hover, .nav-links .nav-link:nth-child(even):focus-visible { background: #fbe2de; }
  .nav-links .nav-link.is-active { border-radius: 999px; box-shadow: inset 0 0 0 2px var(--logo-f); }
  .nav-links.has-sliding-pill .nav-link.is-active { box-shadow: none; }
  .nav-spark { display: inline-flex; align-items: center; justify-content: center; width: 21px; height: 21px; flex: none; }
  .nav-spark svg { width: 17px; height: 17px; }
  .nav-quick { gap: 8px; margin-top: auto; padding-top: 12px; }
  .nav-social { display: flex; gap: 6px; align-items: center; }
  .nav-quick .nav-social a { flex: 1 1 0; min-width: 0; justify-content: center; gap: 5px; padding: 7px 4px; border: 1px solid var(--line); border-radius: 12px; font-size: .78rem; font-weight: 600; line-height: 1; background: #fff; }
  .nav-social img, .nav-social svg { width: 18px; height: 18px; flex: none; }
}
@media (max-width: 640px) {
  .nav-links .nav-link { min-height: 50px; font-size: 1.05rem; }
  .nav-quick .nav-quick-loc { font-size: .83rem; }
}
/* Keep the address above the fixed action bar on shorter phones. */
@media (max-width: 640px) and (max-height: 700px) {
  .main-nav { padding-top: calc(var(--header-h) + 8px); padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .nav-inner { gap: 8px; }
  .nav-links { gap: 4px; }
  .nav-links .nav-link { min-height: 44px; padding: 8px 14px; font-size: .96rem; }
  .nav-quick { gap: 3px; padding-top: 8px; }
  .nav-quick .nav-social a { min-height: 32px; padding: 4px 2px; font-size: .72rem; }
  .nav-quick .nav-quick-loc { font-size: .76rem; line-height: 1.25; }
  .nav-quick-privacy { min-height: 38px; padding: 4px 0; }
}


/* Treatments: category choices above the service groups. */
.t-filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 24px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.t-filter-label { color: var(--ink); font-weight: 600; white-space: nowrap; }
.t-filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
.t-filter-list .chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-family: inherit; }
.filter-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--teal-mist); color: var(--teal-deep); font-size: .72rem; font-weight: 700; }
.chip.is-active .filter-count { background: rgba(255,255,255,.22); color: #fff; }
.t-group[hidden] { display: none !important; }

/* Shop: filters begin with All, while sorting sits on the right. */
.shop-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-top: 26px; }
.shop-toolbar .shop-cats { flex: 1 1 auto; margin-top: 0; }
.shop-sort { display: inline-flex; align-items: center; gap: 9px; flex: none; margin-left: auto; color: var(--ink); font-size: .86rem; font-weight: 600; white-space: nowrap; }
.shop-sort select { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 13px; min-width: 170px; min-height: 44px; cursor: pointer; }
.shop-sort select:hover, .shop-sort select:focus-visible { border-color: var(--teal); }

/* Treatment booking choices: desktop aside, tablet/phone hero. */
.t-hero-actions { display: none; }
@media (max-width: 940px) {
  .t-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
  .t-hero-actions .btn { flex: 1 1 200px; min-height: 48px; }
  .t-detail-aside { display: none; }
}
@media (max-width: 640px) {
  .t-filter-bar { align-items: flex-start; gap: 12px; margin-bottom: 25px; }
  .t-filter-label { width: 100%; }
  .t-filter-list { gap: 7px; }
  .t-filter-list .chip { padding: 9px 13px; font-size: .82rem; }
  .shop-toolbar { flex-direction: column; align-items: stretch; gap: 18px; }
  .shop-sort { align-self: flex-end; }
  .shop-sort select { min-width: 178px; }
  .t-hero-actions .btn { flex-basis: 100%; }
}
