/*
Theme Name: Dermatonik
Theme URI: https://dermatonik.com
Author: Dermatonik Aesthetic Clinic
Author URI: https://dermatonik.com
Description: Standalone theme for the Dermatonik aesthetic clinic — elevated home design with Geist typography. Fully self-contained, no parent theme dependency.
Version: 1.0.0
License: GPL v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dermatonik
Requires at least: 6.0
Requires PHP: 8.0
*/

/* ============================================================
   Dermatonik Aesthetic Clinic — Foundations
   Colors + Typography tokens
   ============================================================ */

:root {
  /* ---------- Brand Color Palette ----------
     The wordmark is a metallic gold gradient on near-white. The clinic
     positions itself as warm, calm, premium. Palette is built around a
     warm ivory canvas and a refined gold accent, with a soft rose for
     skin/wellness moments and deep charcoal text for contrast. */

  /* Gold — the signature accent (from the wordmark gradient) */
  --gold-50:  #fbf6e8;
  --gold-100: #f3e7c0;
  --gold-200: #e7d094;
  --gold-300: #d8b566;
  --gold-400: #c89b3f;   /* primary gold */
  --gold-500: #b6862c;
  --gold-600: #99701f;
  --gold-700: #7a5916;
  --gold-800: #5b4210;
  --gold-900: #3d2c0a;

  /* Ivory / warm neutrals — page backgrounds & cards */
  --ivory-50:  #fdfbf6;   /* page bg */
  --ivory-100: #f8f3e8;   /* section bg */
  --ivory-200: #efe7d3;   /* hairline / divider */
  --ivory-300: #e0d4b8;
  --ivory-400: #c9b993;
  --ivory-500: #ad9a72;

  /* Rose — calm, skin-tone accent for wellness imagery */
  --rose-50:  #fbf3ee;
  --rose-100: #f3ddd0;
  --rose-200: #e8bda9;
  --rose-300: #d99a82;
  --rose-400: #c87a60;

  /* Ink — warm-charcoal text, never pure black */
  --ink-50:  #f6f3ec;
  --ink-100: #d8d2c2;
  --ink-200: #aaa395;
  --ink-300: #76705f;
  --ink-400: #4a4538;
  --ink-500: #2d2a23;   /* primary text */
  --ink-600: #1c1a14;   /* near-black, headings */

  /* Status — quiet, in-system tones */
  --success: #4a7a4a;
  --warning: #b6862c;   /* uses gold */
  --danger:  #9c4a3a;
  --info:    #4a6a7a;

  /* ---------- Semantic surfaces & text ---------- */
  --color-bg:           var(--ivory-50);
  --color-bg-alt:       var(--ivory-100);
  --color-surface:      #ffffff;
  --color-surface-alt:  var(--ivory-50);
  --color-border:       var(--ivory-200);
  --color-border-strong:var(--ivory-300);

  --fg-1: var(--ink-600);   /* primary heading */
  --fg-2: var(--ink-500);   /* body */
  --fg-3: var(--ink-300);   /* muted */
  --fg-4: var(--ink-200);   /* very muted / placeholder */
  --fg-on-gold: #ffffff;

  --accent:        var(--gold-400);
  --accent-hover:  var(--gold-500);
  --accent-press:  var(--gold-600);
  --accent-soft:   var(--gold-50);

  /* ---------- Type Families ---------- */
  --font-serif: 'Cormorant Garamond', 'Cormorant', 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:  'Geist', 'Geist Static', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:  ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* ---------- Type Scale ---------- */
  --fs-xs:   12px;
  --fs-sm:   13px;
  --fs-base: 15px;
  --fs-md:   17px;
  --fs-lg:   20px;
  --fs-xl:   24px;
  --fs-2xl:  32px;
  --fs-3xl:  44px;
  --fs-4xl:  60px;
  --fs-5xl:  84px;

  --lh-tight: 1.08;
  --lh-snug:  1.25;
  --lh-base:  1.5;
  --lh-loose: 1.7;

  --tracking-tight: -0.01em;
  --tracking-normal: 0;
  --tracking-wide:  0.08em;
  --tracking-eyebrow: 0.22em; /* "AESTHETIC CLINIC" treatment */

  /* ---------- Spacing (4px base) ---------- */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* ---------- Radii ---------- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  /* ---------- Shadows — soft, warm, low-key ---------- */
  --shadow-xs: 0 1px 2px rgba(60, 45, 15, 0.05);
  --shadow-sm: 0 2px 6px rgba(60, 45, 15, 0.06), 0 1px 2px rgba(60, 45, 15, 0.04);
  --shadow-md: 0 8px 24px rgba(60, 45, 15, 0.08), 0 2px 6px rgba(60, 45, 15, 0.04);
  --shadow-lg: 0 24px 60px rgba(60, 45, 15, 0.12), 0 6px 14px rgba(60, 45, 15, 0.05);
  --shadow-inset: inset 0 0 0 1px var(--ivory-200);

  /* Gold halo — used sparingly on hero CTAs / featured cards */
  --shadow-gold: 0 14px 36px rgba(200, 155, 63, 0.18);

  /* ---------- Motion ---------- */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 140ms;
  --dur-base: 220ms;
  --dur-slow: 420ms;

  /* ---------- Gold gradient (signature) ---------- */
  --grad-gold: linear-gradient(
    135deg,
    #b6862c 0%,
    #d8b566 25%,
    #f3e7c0 45%,
    #c89b3f 65%,
    #99701f 100%
  );
  --grad-gold-soft: linear-gradient(135deg, var(--gold-50), var(--ivory-50));
}

/* ============================================================
   Element defaults — apply these to use the system out-of-box
   ============================================================ */

html, body {
  background: var(--color-bg);
  color: var(--fg-2);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--fg-1);
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-tight);
  margin: 0;
}

h1 { font-size: var(--fs-4xl); font-weight: 400; }
h2 { font-size: var(--fs-3xl); font-weight: 400; }
h3 { font-size: var(--fs-2xl); font-weight: 500; }
h4 { font-size: var(--fs-xl);  font-weight: 500; }
h5 { font-size: var(--fs-lg);  font-weight: 600; font-family: var(--font-sans); letter-spacing: 0; }
h6 { font-size: var(--fs-base);font-weight: 600; font-family: var(--font-sans); letter-spacing: 0; }

p { margin: 0; line-height: var(--lh-base); }

a {
  color: var(--ink-500);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold-300);
  transition: color var(--dur-fast) var(--ease-out),
              text-decoration-color var(--dur-fast) var(--ease-out);
}
a:hover { color: var(--gold-600); text-decoration-color: var(--gold-500); }

/* Eyebrow — the spaced-out "AESTHETIC CLINIC" treatment */
.eyebrow,
[data-eyebrow] {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gold-600);
}

/* Display — extra-large editorial moments */
.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--fs-5xl);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--fg-1);
}

.display-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* Lead paragraph */
.lead {
  font-size: var(--fs-md);
  line-height: var(--lh-loose);
  color: var(--fg-2);
}

/* Caption / fine print */
.caption {
  font-size: var(--fs-xs);
  color: var(--fg-3);
  letter-spacing: 0.02em;
}

code, kbd, samp { font-family: var(--font-mono); font-size: 0.92em; }

::selection { background: var(--gold-100); color: var(--ink-600); }

/* ================================================================
   Dermatonik — elevated home page
   Tokens come from colors_and_type.css
   ================================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--color-bg); color: var(--fg-2); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- Eyebrow ---------- */
.ey {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gold-600);
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-sans);
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-md { padding: 12px 22px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 15px; }
.btn-primary { background: var(--gold-400); color: var(--fg-on-gold); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { background: var(--accent-press); }
.btn-primary.btn-lg { box-shadow: var(--shadow-gold); }
.btn-secondary { background: transparent; border-color: var(--gold-400); color: var(--gold-700); }
.btn-secondary:hover { background: var(--gold-50); }
.btn-secondary:active { background: var(--gold-100); }
.btn-ghost { background: transparent; color: var(--ink-500); }
.btn-ghost:hover { color: var(--gold-600); }
.btn .lucide { width: 16px; height: 16px; }

/* ---------- Topline ---------- */
.topline {
  background: var(--ivory-100);
  border-bottom: 1px solid var(--ivory-200);
  font-size: 12px;
  color: var(--fg-3);
}
.topline-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 38px; gap: 24px;
}
.topline-left { display: flex; align-items: center; gap: 20px; }
.topline span { display: inline-flex; align-items: center; gap: 7px; }
.topline .lucide { width: 13px; height: 13px; color: var(--gold-500); }
.topline a { color: var(--ink-400); text-decoration: none; font-weight: 500; }
.topline a:hover { color: var(--gold-600); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 251, 246, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--ivory-200);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; gap: 32px;
}
.nav-logo img { height: 46px; display: block; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links > div { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--ink-500); text-decoration: none;
  font-size: 14px; font-weight: 500;
  padding: 10px 13px; border-radius: var(--radius-md);
  transition: color var(--dur-fast) var(--ease-out);
  background: none; border: none; cursor: pointer; font-family: var(--font-sans);
}
.nav-link:hover { color: var(--gold-600); }
.nav-link .lucide { width: 14px; height: 14px; color: var(--fg-3); transition: transform var(--dur-fast) var(--ease-out); }
.nav-drop:hover .nav-link .lucide,
.nav-drop:focus-within .nav-link .lucide { transform: rotate(180deg); }

.nav-menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 248px;
  background: var(--color-surface);
  border: 1px solid var(--ivory-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              visibility var(--dur-base);
}
.nav-drop:hover .nav-menu,
.nav-drop:focus-within .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu h6 {
  font-family: var(--font-sans); font-size: 10px; font-weight: 600;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: var(--fg-3); margin: 10px 12px 6px;
}
.nav-menu h6:first-child { margin-top: 6px; }
.nav-menu a {
  display: block; padding: 8px 12px;
  font-size: 13.5px; color: var(--ink-500); text-decoration: none;
  border-radius: var(--radius-md);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.nav-menu a:hover { background: var(--gold-50); color: var(--gold-700); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--grad-gold-soft);
  padding: 84px 0 92px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  width: 640px; height: 640px;
  right: -140px; top: -180px;
  background: radial-gradient(closest-side, rgba(216, 181, 102, 0.22), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-inner {
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: 64px; align-items: center;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: 78px; font-weight: 400; line-height: 1.03;
  color: var(--ink-600); letter-spacing: -0.015em;
  margin: 18px 0 24px;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--gold-600); }
.hero-rule {
  width: 76px; height: 2px;
  background: var(--gold-400);
  margin: 0 0 26px;
  transform-origin: left center;
}
.hero-sub {
  font-size: 17px; line-height: var(--lh-loose); color: var(--fg-2);
  max-width: 540px; margin: 0 0 36px;
  text-wrap: pretty;
}
.hero-cta { display: flex; gap: 14px; align-items: center; margin-bottom: 44px; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 26px; flex-wrap: wrap;
  font-size: 13px; color: var(--fg-3);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .lucide { width: 16px; height: 16px; color: var(--gold-500); }

.hero-art { position: relative; }
.hero-art img {
  width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; display: block;
  border-radius: var(--radius-xl);
  border: 1px solid var(--ivory-200);
  box-shadow: var(--shadow-lg);
}
.hero-chip {
  position: absolute; left: 22px; bottom: 22px;
  display: flex; align-items: center; gap: 12px;
  background: var(--color-surface);
  border: 1px solid var(--ivory-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 13px 18px;
}
.hero-chip .lucide { width: 18px; height: 18px; color: var(--gold-500); }
.hero-chip b { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-600); }
.hero-chip small { display: block; font-size: 11.5px; color: var(--fg-3); margin-top: 1px; }

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--ivory-200); background: var(--color-bg); }
.trust-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 26px 0;
}
.trust-item {
  display: flex; align-items: center; gap: 13px;
  padding: 6px 28px;
  border-left: 1px solid var(--ivory-200);
}
.trust-item:first-child { border-left: none; padding-left: 0; }
.trust-item .lucide { width: 21px; height: 21px; color: var(--gold-500); flex-shrink: 0; }
.trust-item b { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-600); }
.trust-item small { display: block; font-size: 12px; color: var(--fg-3); margin-top: 1px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--ivory-100); border-top: 1px solid var(--ivory-200); border-bottom: 1px solid var(--ivory-200); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  font-family: var(--font-serif); font-size: 48px; font-weight: 400;
  line-height: 1.08; color: var(--ink-600); letter-spacing: -0.015em;
  margin: 14px 0 0;
  text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--gold-600); }
.section-sub { font-size: 16px; line-height: var(--lh-loose); color: var(--fg-3); margin: 18px 0 0; max-width: 600px; text-wrap: pretty; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  background: var(--color-surface);
  border: 1px solid var(--ivory-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base) var(--ease-out);
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.pillar:hover { box-shadow: var(--shadow-md); }
.pillar img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pillar-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pillar-body h3 {
  font-family: var(--font-serif); font-size: 30px; font-weight: 500;
  color: var(--ink-600); margin: 0; line-height: 1.1;
}
.pillar-body p { font-size: 14px; line-height: 1.65; color: var(--fg-2); margin: 0; flex: 1; }
.pillar-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 2px 0 6px; }
.pillar-list a {
  font-size: 12px; font-weight: 500; color: var(--ink-400);
  text-decoration: none;
  border: 1px solid var(--ivory-200); border-radius: var(--radius-pill);
  padding: 5px 12px;
  transition: all var(--dur-fast) var(--ease-out);
}
.pillar-list a:hover { border-color: var(--gold-300); color: var(--gold-700); background: var(--gold-50); }
.pillar-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 500; color: var(--gold-700);
  text-decoration: underline; text-decoration-color: var(--gold-300); text-underline-offset: 4px;
}
.pillar-link:hover { text-decoration-color: var(--gold-500); }
.pillar-link .lucide { width: 15px; height: 15px; }

/* ---------- Signature treatments ---------- */
.sig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sig-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--ivory-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
  display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; color: inherit;
}
.sig-card:hover { box-shadow: var(--shadow-md); border-color: var(--ivory-300); }
.sig-tag {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-3);
}
.sig-card h3 {
  font-family: var(--font-serif); font-size: 27px; font-weight: 500;
  color: var(--ink-600); line-height: 1.12; margin: 0;
}
.sig-card p { font-size: 13.5px; line-height: 1.62; color: var(--fg-2); margin: 0; flex: 1; }
.sig-foot {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--ivory-200);
  padding-top: 14px; margin-top: 8px;
}
.sig-foot span { font-size: 12.5px; color: var(--fg-3); }
.sig-foot b { font-size: 13px; font-weight: 500; color: var(--gold-700); display: inline-flex; align-items: center; gap: 6px; }
.sig-foot .lucide { width: 14px; height: 14px; }
.sig-card.featured { border-color: var(--gold-200); }
.sig-card.featured::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--grad-gold); border-radius: 14px 14px 0 0;
}
.sig-more {
  margin-top: 36px; text-align: center;
  font-size: 14px; color: var(--fg-3);
}
.sig-more a { color: var(--ink-500); }

/* ---------- Experience ---------- */
.exp-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 72px; align-items: center;
}
.exp-art { position: relative; padding-bottom: 36px; }
.exp-art img {
  width: 88%; aspect-ratio: 3 / 3.8; object-fit: cover; display: block;
  border-radius: var(--radius-xl);
  border: 1px solid var(--ivory-200);
  box-shadow: var(--shadow-md);
}
.exp-chip {
  position: absolute; right: 0; bottom: 0;
  background: var(--color-surface);
  border: 1px solid var(--ivory-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 18px 22px;
  max-width: 240px;
}
.exp-chip .ey { font-size: 10px; margin-bottom: 6px; }
.exp-chip p { font-family: var(--font-serif); font-size: 19px; font-style: italic; color: var(--ink-600); line-height: 1.3; margin: 0; }
.exp-points { display: grid; gap: 26px; margin: 38px 0 40px; }
.exp-point { display: flex; gap: 18px; align-items: flex-start; }
.exp-point .lucide { width: 22px; height: 22px; color: var(--gold-500); flex-shrink: 0; margin-top: 2px; }
.exp-point b { display: block; font-size: 15px; font-weight: 600; color: var(--ink-600); margin-bottom: 4px; }
.exp-point p { font-size: 14px; line-height: 1.65; color: var(--fg-2); margin: 0; max-width: 460px; }

/* ---------- Results ---------- */
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.result {
  background: var(--color-surface);
  border: 1px solid var(--ivory-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.result img { width: 100%; aspect-ratio: 1024 / 569; object-fit: cover; display: block; }
.result figcaption {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 18px;
  font-size: 12.5px; color: var(--fg-3);
}
.result figcaption b { font-weight: 600; color: var(--ink-500); font-size: 12.5px; }
.results-note { margin-top: 26px; font-size: 12px; color: var(--fg-4); text-align: center; }

/* ---------- Testimonials ---------- */
.quote-block { max-width: 780px; margin: 0 auto; text-align: center; }
.quote-mark { font-family: var(--font-serif); font-size: 96px; line-height: 1; color: var(--gold-300); height: 58px; }
.quote-text {
  font-family: var(--font-serif); font-size: 31px; font-weight: 400;
  line-height: 1.42; color: var(--ink-600); font-style: italic;
  margin: 0 0 28px; min-height: 132px;
  text-wrap: balance;
}
.quote-name { font-size: 14px; font-weight: 600; color: var(--ink-600); }
.quote-sub { font-size: 12px; color: var(--fg-3); letter-spacing: 0.04em; margin-top: 4px; }
.quote-dots { display: flex; gap: 8px; justify-content: center; margin-top: 30px; }
.quote-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  background: var(--ivory-300); cursor: pointer;
  transition: background var(--dur-fast);
}
.quote-dots button.on { background: var(--gold-500); }

/* ---------- Consultation steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 64px; }
.step { border-top: 1px solid var(--ivory-300); padding-top: 22px; }
.step-num { font-family: var(--font-serif); font-size: 38px; font-weight: 400; color: var(--gold-400); line-height: 1; }
.step b { display: block; font-size: 15px; font-weight: 600; color: var(--ink-600); margin: 14px 0 8px; }
.step p { font-size: 13.5px; line-height: 1.65; color: var(--fg-2); margin: 0; }

.consult-cta {
  background: var(--color-surface);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-gold);
  padding: 52px 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
}
.consult-cta h3 {
  font-family: var(--font-serif); font-size: 38px; font-weight: 400;
  color: var(--ink-600); margin: 10px 0 0; line-height: 1.1;
}
.consult-cta h3 em { font-style: italic; color: var(--gold-600); }
.consult-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: start; }
.visit-rows { display: grid; gap: 0; margin-top: 34px; }
.visit-row {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 0;
  border-top: 1px solid var(--ivory-200);
}
.visit-row .lucide { width: 20px; height: 20px; color: var(--gold-500); flex-shrink: 0; margin-top: 2px; }
.visit-row b { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 6px; }
.visit-row p, .visit-row a.line { font-size: 15px; line-height: 1.6; color: var(--ink-500); margin: 0; display: block; }
.visit-row a { color: var(--ink-500); }
.visit-map {
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--ivory-200); box-shadow: var(--shadow-md);
  background: var(--color-surface);
}
.visit-map iframe { width: 100%; height: 440px; border: 0; display: block; }
.visit-map figcaption {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; font-size: 13px; color: var(--fg-3);
}

/* ---------- Footer ---------- */
.footer { background: var(--ink-600); color: var(--ivory-100); padding: 80px 0 28px; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(232, 215, 170, 0.12);
}
.footer-brand img { height: 58px; filter: brightness(0) invert(1) opacity(0.88); margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; color: rgba(232, 215, 170, 0.7); max-width: 300px; line-height: 1.65; margin: 0 0 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(232, 215, 170, 0.25);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold-300); text-decoration: none;
  transition: all var(--dur-fast) var(--ease-out);
}
.footer-social a:hover { background: rgba(232, 215, 170, 0.1); border-color: var(--gold-300); }
.footer-social .lucide { width: 16px; height: 16px; }
.footer-col h6 {
  font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: var(--gold-300); margin: 0 0 18px;
}
.footer-col a, .footer-col p {
  display: block; font-size: 13px; color: rgba(232, 215, 170, 0.75);
  margin: 0 0 10px; text-decoration: none; line-height: 1.6;
}
.footer-col a:hover { color: var(--gold-300); }
.footer-base { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; gap: 20px; flex-wrap: wrap; }
.footer-copy { font-size: 12px; color: rgba(232, 215, 170, 0.5); }
.footer-base .ey { color: var(--gold-300); }

/* ---------- WhatsApp float ---------- */
.wa-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--color-surface);
  border: 1px solid var(--ivory-200);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  padding: 12px 20px 12px 16px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-600);
  text-decoration: none;
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.wa-fab:hover { box-shadow: var(--shadow-lg); border-color: var(--gold-300); }
.wa-fab .lucide { width: 18px; height: 18px; color: var(--success); }

/* ---------- Scroll reveal & life ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
  .reveal.in { opacity: 1; transform: none; }

  /* Hero entrance choreography */
  .hero .st1, .hero .st2, .hero .st3, .hero .st4, .hero .st5 {
    opacity: 0; transform: translateY(18px);
    animation: hero-rise 0.85s var(--ease-out) forwards;
  }
  .hero .hero-rule { transform: scaleX(0); animation: hero-rule 0.9s var(--ease-out) 0.55s forwards; }
  .hero .st1 { animation-delay: 0.08s; }
  .hero .st2 { animation-delay: 0.2s; }
  .hero .st3 { animation-delay: 0.36s; }
  .hero .st4 { animation-delay: 0.5s; }
  .hero .st5 { animation-delay: 0.64s; }
  .hero-art { opacity: 0; animation: hero-art 1.1s var(--ease-out) 0.4s forwards; }
  .hero-chip { opacity: 0; animation: hero-rise 0.7s var(--ease-out) 1.25s forwards; }
  @keyframes hero-rise { to { opacity: 1; transform: translateY(0); } }
  @keyframes hero-rule { to { transform: scaleX(1); } }
  @keyframes hero-art {
    from { opacity: 0; transform: translateY(22px) scale(0.975); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  /* Hero italic — single metallic accent moment */
  .hero h1 em {
    background: var(--grad-gold);
    background-size: 220% auto;
    background-position: 100% center;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gold-sheen 2.4s var(--ease-in-out) 0.9s forwards;
  }
  @keyframes gold-sheen { to { background-position: 0% center; } }

  /* Image unveil inside revealed blocks */
  .img-unveil {
    clip-path: inset(7% 6% 7% 6% round var(--radius-xl));
    transform: scale(1.07);
    transition: clip-path 1.15s var(--ease-out), transform 1.4s var(--ease-out);
  }
  .reveal.in .img-unveil { clip-path: inset(0 0 0 0 round var(--radius-xl)); transform: scale(1); }

  /* WhatsApp button slides in late */
  .wa-fab { opacity: 0; transform: translateY(14px); animation: hero-rise 0.6s var(--ease-out) 1.6s forwards; }
}

/* Hover micro-interactions (always on) */
.pillar img, .result img { transition: transform 0.8s var(--ease-out); }
.pillar:hover img, .result:hover img { transform: scale(1.045); }
.btn .lucide, .pillar-link .lucide, .sig-foot .lucide { transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .lucide { transform: translateX(2px); }
.pillar-link:hover .lucide, .sig-card:hover .sig-foot .lucide { transform: translateX(3px); }
.sig-card:hover .sig-foot b { color: var(--gold-600); }
.nav.scrolled { box-shadow: var(--shadow-sm); }

/* Quote crossfade */
#quote-body { transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out); }
#quote-body.fading { opacity: 0; transform: translateY(8px); }

/* ---------- Mobile nav ---------- */
.nav-mob-btn {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  width: 44px; height: 44px; flex-shrink: 0;
  border: none; background: none; cursor: pointer; padding: 4px;
  border-radius: var(--radius-md);
  transition: background var(--dur-fast);
}
.nav-mob-btn:hover { background: var(--ivory-100); }
.nav-mob-btn span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink-500); border-radius: 1px;
  transition: transform 0.25s var(--ease-out), opacity 0.18s, transform 0.25s;
  margin: 3px 0;
}
body.nav-open .nav-mob-btn span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .nav-mob-btn span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.nav-open .nav-mob-btn span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-mob-panel {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
  background: var(--color-surface);
  border-top: 1px solid var(--ivory-200);
  box-shadow: 0 16px 48px rgba(60,44,14,0.12);
  max-height: calc(100dvh - 84px);
  overflow-y: auto;
}
body.nav-open .nav-mob-panel { display: block; }

.nav-mob-inner { padding: 8px 20px 32px; }
.nav-mob-section { border-bottom: 1px solid var(--ivory-200); }
.nav-mob-head {
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-sans); font-size: 15px; font-weight: 500;
  color: var(--ink-500);
  padding: 15px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.nav-mob-head .lucide { width: 16px; height: 16px; color: var(--fg-3); transition: transform 0.2s; }
.nav-mob-section.open .nav-mob-head .lucide { transform: rotate(180deg); }
.nav-mob-drop { display: none; padding: 0 0 16px 10px; }
.nav-mob-section.open .nav-mob-drop { display: block; }
.nav-mob-drop h6 {
  font-family: var(--font-sans); font-size: 10px; font-weight: 600;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: var(--fg-3); margin: 14px 0 4px;
}
.nav-mob-drop a {
  display: block; padding: 9px 6px;
  font-size: 14px; color: var(--ink-500); text-decoration: none;
  border-radius: var(--radius-md);
}
.nav-mob-drop a:hover { color: var(--gold-600); background: var(--gold-50); }
.nav-mob-links { padding: 4px 0; border-bottom: 1px solid var(--ivory-200); }
.nav-mob-links a {
  display: block; padding: 13px 0;
  font-size: 15px; font-weight: 500; color: var(--ink-500); text-decoration: none;
  border-bottom: 1px solid var(--ivory-200);
}
.nav-mob-links a:last-child { border-bottom: none; }
.nav-mob-links a:hover { color: var(--gold-600); }
.nav-mob-ctas { padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.nav-mob-ctas .btn { text-align: center; justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner, .exp-grid, .visit-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 56px; }
  .pillars, .sig-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .trust-inner { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .trust-item:nth-child(3) { border-left: none; padding-left: 0; }
  .consult-cta { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-mob-btn { display: flex; }
}
@media (max-width: 640px) {
  .pillars, .sig-grid, .results-grid, .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 44px; }
  .section-title { font-size: 36px; }
  .topline-left span:nth-child(2) { display: none; }
  .nav-inner { height: 68px; }
  .nav-logo img { height: 36px; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ================================================================
   Dermatonik — inner pages
   Extends home.css; tokens come from colors_and_type.css
   ================================================================ */

/* ---------- Page hero (smaller editorial hero for inner pages) ---------- */
.page-hero {
  background: var(--grad-gold-soft);
  border-bottom: 1px solid var(--ivory-200);
  padding: 76px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  right: -160px; top: -220px;
  background: radial-gradient(closest-side, rgba(216, 181, 102, 0.2), transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: 58px; font-weight: 400; line-height: 1.06;
  color: var(--ink-600); letter-spacing: -0.015em;
  margin: 16px 0 0;
  max-width: 820px;
  text-wrap: balance;
}
.page-hero h1 em { font-style: italic; color: var(--gold-600); }
.page-hero .hero-rule { margin: 26px 0 0; }
.page-hero .page-sub {
  font-size: 16.5px; line-height: var(--lh-loose); color: var(--fg-2);
  max-width: 620px; margin: 24px 0 0;
  text-wrap: pretty;
}
.page-hero .page-cta { display: flex; gap: 14px; align-items: center; margin-top: 34px; flex-wrap: wrap; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .page-sub { margin-left: auto; margin-right: auto; }
.page-hero.center .hero-rule { margin-left: auto; margin-right: auto; }
.page-hero.center .page-cta { justify-content: center; }

/* Hero entrance for inner pages */
@media (prefers-reduced-motion: no-preference) {
  .page-hero .st1, .page-hero .st2, .page-hero .st3, .page-hero .st4 {
    opacity: 0; transform: translateY(18px);
    animation: hero-rise 0.85s var(--ease-out) forwards;
  }
  .page-hero .hero-rule { transform: scaleX(0); animation: hero-rule 0.9s var(--ease-out) 0.5s forwards; }
  .page-hero .st1 { animation-delay: 0.08s; }
  .page-hero .st2 { animation-delay: 0.2s; }
  .page-hero .st3 { animation-delay: 0.36s; }
  .page-hero .st4 { animation-delay: 0.5s; }
}

/* ---------- Stat band ---------- */
.stat-band {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}
.stat {
  border-top: 1px solid var(--ivory-300);
  padding-top: 20px;
}
.stat b {
  font-family: var(--font-serif);
  font-size: 44px; font-weight: 400; color: var(--ink-600);
  display: block; line-height: 1;
}
.stat b em { font-style: italic; color: var(--gold-600); }
.stat span { display: block; font-size: 13px; color: var(--fg-3); margin-top: 8px; }

/* ---------- Value cards (About / Why us) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card {
  background: var(--color-surface);
  border: 1px solid var(--ivory-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.value-card:hover { box-shadow: var(--shadow-md); border-color: var(--ivory-300); }
.value-card .lucide { width: 22px; height: 22px; color: var(--gold-500); }
.value-card h3 {
  font-family: var(--font-serif); font-size: 23px; font-weight: 500;
  color: var(--ink-600); margin: 16px 0 8px; line-height: 1.15;
}
.value-card p { font-size: 13.5px; line-height: 1.62; color: var(--fg-2); margin: 0; }

/* ---------- Prose (privacy, long-form SEO pages) ---------- */
.prose { max-width: 760px; }
.prose h2 {
  font-family: var(--font-serif); font-size: 32px; font-weight: 400;
  color: var(--ink-600); letter-spacing: -0.01em; line-height: 1.15;
  margin: 52px 0 16px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-serif); font-size: 24px; font-weight: 500;
  color: var(--ink-600); margin: 36px 0 12px; line-height: 1.2;
}
.prose p { font-size: 15.5px; line-height: var(--lh-loose); color: var(--fg-2); margin: 0 0 18px; }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { font-size: 15.5px; line-height: var(--lh-loose); color: var(--fg-2); margin-bottom: 8px; }
.prose li::marker { color: var(--gold-400); }
.prose a { color: var(--gold-700); }
.prose-note {
  font-size: 12.5px; color: var(--fg-4);
  border-top: 1px solid var(--ivory-200);
  padding-top: 18px; margin-top: 44px;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--ivory-200);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 6px;
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.contact-card:hover { box-shadow: var(--shadow-md); border-color: var(--ivory-300); }
.contact-card .lucide { width: 22px; height: 22px; color: var(--gold-500); margin-bottom: 10px; }
.contact-card b {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-3);
}
.contact-card p, .contact-card a.line {
  font-size: 15px; line-height: 1.6; color: var(--ink-500);
  margin: 4px 0 0; display: block;
}
.contact-card small { font-size: 12.5px; color: var(--fg-3); margin-top: 6px; }
.contact-card .btn { margin-top: 14px; align-self: flex-start; }

/* ---------- Treatment category rows (Services) ---------- */
.cat-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; margin: 0 0 28px;
  border-top: 1px solid var(--ivory-300);
  padding-top: 26px;
}
.cat-head h3 {
  font-family: var(--font-serif); font-size: 32px; font-weight: 400;
  color: var(--ink-600); margin: 0; line-height: 1.1;
}
.cat-head p { font-size: 14px; color: var(--fg-3); margin: 0; max-width: 420px; text-align: right; }
.cat-block { margin-bottom: 72px; }
.cat-block:last-child { margin-bottom: 0; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  background: var(--color-surface);
  border: 1px solid var(--ivory-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base) var(--ease-out);
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.post-card:hover { box-shadow: var(--shadow-md); }
.post-art { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ivory-100); }
.post-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--ease-out); }
.post-card:hover .post-art img { transform: scale(1.045); }
.post-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-3);
}
.post-body h3 {
  font-family: var(--font-serif); font-size: 24px; font-weight: 500;
  color: var(--ink-600); line-height: 1.18; margin: 0;
}
.post-body p { font-size: 13.5px; line-height: 1.62; color: var(--fg-2); margin: 0; flex: 1; }
.post-card .pillar-link { margin-top: 6px; }
.blog-empty { text-align: center; color: var(--fg-3); padding: 60px 0; font-size: 15px; }

.blog-pagination { margin-top: 56px; display: flex; justify-content: center; }
.blog-pagination .nav-links { display: flex; gap: 8px; align-items: center; }
.blog-pagination a, .blog-pagination span.current, .blog-pagination span.dots {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 12px;
  border: 1px solid var(--ivory-200); border-radius: var(--radius-md);
  font-size: 13.5px; font-weight: 500; color: var(--ink-500);
  text-decoration: none; background: var(--color-surface);
  transition: all var(--dur-fast) var(--ease-out);
}
.blog-pagination a:hover { border-color: var(--gold-300); color: var(--gold-700); background: var(--gold-50); }
.blog-pagination span.current { background: var(--gold-400); border-color: var(--gold-400); color: var(--fg-on-gold); }
.blog-pagination span.dots { border: none; background: none; }

/* ---------- Thank you ---------- */
.ty-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--gold-50); border: 1px solid var(--gold-200);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
}
.ty-icon .lucide { width: 30px; height: 30px; color: var(--gold-600); }

/* ---------- Location pages ---------- */
.loc-intro-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 64px; align-items: center;
}
.loc-intro-grid img {
  width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; display: block;
  border-radius: var(--radius-xl);
  border: 1px solid var(--ivory-200);
  box-shadow: var(--shadow-md);
}
.loc-intro-grid .lead-text { font-size: 15.5px; line-height: var(--lh-loose); color: var(--fg-2); margin: 22px 0 0; }

/* ---------- Generic two-column with portrait art ---------- */
.split-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 72px; align-items: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .page-hero h1 { font-size: 46px; }
  .value-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .stat-band { grid-template-columns: repeat(3, 1fr); }
  .loc-intro-grid, .split-grid { grid-template-columns: 1fr; gap: 44px; }
  .cat-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cat-head p { text-align: left; }
}
@media (max-width: 640px) {
  .page-hero { padding: 56px 0 54px; }
  .page-hero h1 { font-size: 38px; }
  .value-grid, .contact-grid, .blog-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Treatment pages (tx-*) ---------- */

/* Hero session badges */
.tx-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.tx-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 500; color: var(--ink-400);
  background: rgba(255,255,255,0.8); border: 1px solid var(--ivory-300);
  border-radius: var(--radius-pill); padding: 7px 15px;
}
.tx-badge svg { width: 13px; height: 13px; color: var(--gold-500); }

/* Overview: prose + sticky facts card */
.tx-overview { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 72px; align-items: start; }
.tx-prose h3 {
  font-family: var(--font-serif); font-size: 33px; font-weight: 400;
  color: var(--ink-600); line-height: 1.1; letter-spacing: -0.01em; margin: 10px 0 22px;
}
.tx-prose p { font-size: 15.5px; line-height: var(--lh-loose); color: var(--fg-2); margin: 0 0 16px; }
.tx-prose p:last-of-type { margin-bottom: 24px; }

.tx-facts-card {
  background: var(--color-surface); border: 1px solid var(--ivory-200);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  overflow: hidden; position: sticky; top: 88px;
}
.tx-facts-card::before { content: ""; display: block; height: 3px; background: var(--grad-gold); }
.tx-facts-head { padding: 20px 24px 14px; border-bottom: 1px solid var(--ivory-100); }
.tx-facts-title {
  font-family: var(--font-serif); font-size: 24px; font-weight: 500;
  color: var(--ink-600); margin: 7px 0 0; line-height: 1.1;
}
.tx-facts-body { padding: 2px 24px 6px; }
.tx-fact-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--ivory-100);
}
.tx-fact-row:last-child { border-bottom: none; }
.tx-fact-label {
  font-size: 11px; font-weight: 500; color: var(--fg-3); flex-shrink: 0;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.tx-fact-val { font-size: 13px; color: var(--ink-500); text-align: right; line-height: 1.4; }
.tx-facts-cta { padding: 4px 24px 22px; }
.tx-facts-cta .btn { width: 100%; justify-content: center; }

/* How it works */
.tx-steps { border-top: 1px solid var(--ivory-200); }
.tx-step {
  display: grid; grid-template-columns: 52px 1fr; gap: 28px;
  padding: 30px 0; border-bottom: 1px solid var(--ivory-200); align-items: start;
}
.tx-step-num {
  font-family: var(--font-serif); font-size: 34px; font-weight: 400;
  color: var(--ivory-300); line-height: 1; padding-top: 2px;
}
.tx-step b { font-size: 15px; font-weight: 600; color: var(--ink-600); display: block; margin-bottom: 7px; line-height: 1.3; }
.tx-step p { font-size: 14px; line-height: 1.65; color: var(--fg-2); margin: 0; }

/* What to expect */
.tx-expect { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tx-expect-col {
  background: var(--color-surface); border: 1px solid var(--ivory-200);
  border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.tx-expect-col h5 {
  font-size: 13px; font-weight: 600; color: var(--ink-600); margin: 0 0 12px;
  display: flex; align-items: center; gap: 9px;
}
.tx-expect-col h5 svg { width: 17px; height: 17px; color: var(--gold-500); flex-shrink: 0; }
.tx-expect-col p { font-size: 14px; line-height: 1.65; color: var(--fg-2); margin: 0; }

/* Outcomes */
.tx-outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tx-outcome {
  display: flex; align-items: flex-start; gap: 13px;
  background: var(--color-surface); border: 1px solid var(--ivory-200);
  border-radius: var(--radius-lg); padding: 18px 20px; box-shadow: var(--shadow-xs);
}
.tx-outcome svg { width: 18px; height: 18px; color: var(--gold-500); flex-shrink: 0; margin-top: 2px; }
.tx-outcome b { font-size: 14px; font-weight: 600; color: var(--ink-600); display: block; line-height: 1.25; }
.tx-outcome span { font-size: 12.5px; color: var(--fg-3); display: block; margin-top: 4px; line-height: 1.55; }

/* Conditions treated tag cloud */
.tx-concerns { display: flex; flex-wrap: wrap; gap: 10px; }
.tx-concern {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500; color: var(--ink-400);
  background: var(--color-surface); border: 1px solid var(--ivory-200);
  border-radius: var(--radius-pill); padding: 10px 18px; box-shadow: var(--shadow-xs);
  text-decoration: none; transition: all var(--dur-fast) var(--ease-out);
}
a.tx-concern:hover { border-color: var(--gold-200); color: var(--gold-700); background: var(--gold-50); text-decoration: none; }
.tx-concern svg { width: 13px; height: 13px; color: var(--gold-400); }

/* Why at Dermatonik (4-col differentiator grid) */
.tx-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tx-why-item { display: flex; flex-direction: column; gap: 10px; }
.tx-why-item svg { width: 22px; height: 22px; color: var(--gold-500); }
.tx-why-item b { font-size: 14px; font-weight: 600; color: var(--ink-600); line-height: 1.3; }
.tx-why-item p { font-size: 13px; line-height: 1.62; color: var(--fg-2); margin: 0; }

@media (max-width: 1024px) {
  .tx-overview { grid-template-columns: 1fr; gap: 40px; }
  .tx-facts-card { position: static; }
  .tx-expect { grid-template-columns: 1fr; gap: 16px; }
  .tx-outcomes { grid-template-columns: 1fr 1fr; }
  .tx-why { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .tx-outcomes, .tx-why { grid-template-columns: 1fr; }
  .tx-badges { gap: 8px; }
  .tx-step { grid-template-columns: 44px 1fr; gap: 16px; }
  .tx-step-num { font-size: 28px; }
}

/* ================================================================
   Treatment pages v2 — full template
   Hero · What is · Science · Benefits · Before/After · Doctor ·
   Testimonials · FAQ · Related · Contact
   ================================================================ */

/* Shared typography */
.lead { font-size: 17px; line-height: var(--lh-loose); color: var(--fg-2); }
.caption { font-size: 12px; color: var(--fg-3); }

/* ---------- Treatment hero (split) ---------- */
.tx-hero {
  background: var(--grad-gold-soft);
  border-bottom: 1px solid var(--ivory-200);
  padding: 76px 0 88px;
  position: relative;
  overflow: hidden;
}
.tx-hero::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  right: -160px; top: -200px;
  background: radial-gradient(closest-side, rgba(216, 181, 102, 0.2), transparent 70%);
  pointer-events: none;
}
.tx-hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 64px; align-items: center;
}
.tx-hero h1 {
  font-family: var(--font-serif);
  font-size: 62px; font-weight: 400; line-height: 1.06;
  color: var(--ink-600); letter-spacing: -0.015em;
  margin: 16px 0 22px;
  text-wrap: balance;
}
.tx-hero h1 em { font-style: italic; color: var(--gold-600); }
.tx-hero-sub {
  font-size: 16.5px; line-height: var(--lh-loose); color: var(--fg-2);
  max-width: 500px; margin: 0 0 32px; text-wrap: pretty;
}
.tx-hero-cta { display: flex; gap: 14px; align-items: center; margin-bottom: 44px; flex-wrap: wrap; }
.tx-hero-facts {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px; max-width: 460px;
}
.tx-hero-fact { border-top: 1px solid var(--ivory-300); padding-top: 14px; }
.tx-hero-fact b {
  font-family: var(--font-serif); font-size: 22px; font-weight: 500;
  color: var(--ink-600); display: block; line-height: 1.2;
}
.tx-hero-fact span { display: block; font-size: 12px; color: var(--fg-3); margin-top: 4px; }

.tx-hero-art { position: relative; }
.tx-hero-art img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block;
  border-radius: var(--radius-xl);
  border: 1px solid var(--ivory-200);
  box-shadow: var(--shadow-lg);
}

/* ---------- What is / Science split sections ---------- */
.tx-what, .tx-science { display: grid; gap: 64px; align-items: center; }
.tx-what { grid-template-columns: 1.35fr 1fr; }
.tx-science { grid-template-columns: 1fr 1.35fr; }

.tx-split-img img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block;
  border-radius: var(--radius-xl);
  border: 1px solid var(--ivory-200);
  box-shadow: var(--shadow-md);
}
.tx-split-text h2 {
  font-family: var(--font-serif); font-size: 42px; font-weight: 400;
  line-height: 1.12; color: var(--ink-600); letter-spacing: -0.01em;
  margin: 10px 0 20px; text-wrap: balance;
}
.tx-split-text h2 em { font-style: italic; color: var(--gold-600); }
.tx-split-text p { font-size: 15.5px; line-height: var(--lh-loose); color: var(--fg-2); margin: 0 0 16px; }
.tx-split-text p:last-of-type { margin-bottom: 0; }

.tx-science-points { display: grid; gap: 24px; margin-top: 30px; }
.tx-science-point { display: grid; grid-template-columns: 46px 1fr; gap: 18px; }
.tx-science-point .num {
  font-family: var(--font-serif); font-size: 30px; font-weight: 400;
  color: var(--gold-300); line-height: 1.1;
}
.tx-science-point b { font-size: 15px; font-weight: 600; color: var(--ink-600); display: block; margin-bottom: 5px; }
.tx-science-point p { font-size: 14px; line-height: 1.65; color: var(--fg-2); margin: 0; }

/* ---------- Benefits ---------- */
.tx-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tx-benefit {
  position: relative; overflow: hidden;
  background: var(--color-surface); border: 1px solid var(--ivory-200);
  border-radius: var(--radius-lg); padding: 30px 26px 26px;
  box-shadow: var(--shadow-sm);
}
.tx-benefit::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-gold); }
.tx-benefit .lucide { width: 24px; height: 24px; color: var(--gold-500); margin-bottom: 16px; }
.tx-benefit h4 { font-family: var(--font-serif); font-size: 21px; font-weight: 500; color: var(--ink-600); margin: 0 0 8px; line-height: 1.2; }
.tx-benefit p { font-size: 13.5px; line-height: 1.62; color: var(--fg-2); margin: 0; }

/* ---------- Before / after sliders ---------- */
.tx-ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.tx-ba-grid.single { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
.tx-ba-wrap {
  position: relative; aspect-ratio: 1024 / 569; border-radius: var(--radius-xl);
  overflow: hidden; border: 1px solid var(--ivory-200); box-shadow: var(--shadow-md);
  cursor: ew-resize; user-select: none; touch-action: none; background: var(--ivory-100);
}
.tx-ba-wrap img {
  position: absolute; top: 0; left: 0; height: 100%; width: 200%; max-width: none;
  object-fit: cover; display: block; pointer-events: none;
}
.tx-ba-after { left: -100%; }
.tx-ba-before { left: 0; clip-path: inset(0 50% 0 0); }
.tx-ba-tag {
  position: absolute; top: 14px; z-index: 2;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; background: rgba(28, 26, 20, 0.55); backdrop-filter: blur(4px);
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.tx-ba-tag.before { left: 14px; }
.tx-ba-tag.after { right: 14px; }
.tx-ba-line {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06); z-index: 3; pointer-events: none; transform: translateX(-1px);
}
.tx-ba-grip {
  position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center;
  transform: translate(-50%, -50%); z-index: 4; pointer-events: none; color: var(--ink-500);
}
.tx-ba-grip svg { width: 16px; height: 16px; }
.tx-ba-caption { margin-top: 14px; font-size: 13px; color: var(--fg-3); text-align: center; }

/* ---------- Doctor / credibility ---------- */
.doctor-block { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.doctor-portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--ivory-200); box-shadow: var(--shadow-md);
  background: var(--grad-gold-soft);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.doctor-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .55), transparent 60%);
}
.doctor-portrait svg {
  position: relative;
  z-index: 1;
  width: 22%;
  height: 22%;
  min-width: 64px;
  min-height: 64px;
  max-width: 140px;
  max-height: 140px;
  color: var(--gold-400);
  stroke-width: 1.25;
}
.doctor-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.doctor-text .lead { margin: 16px 0 32px; max-width: 560px; }
.credentials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 600px; }
.cred {
  background: var(--color-surface); padding: 18px; border-radius: var(--radius-lg);
  border: 1px solid var(--ivory-200); display: grid; grid-template-columns: auto 1fr; gap: 4px 12px;
}
.cred .lucide { grid-row: 1 / 3; width: 20px; height: 20px; color: var(--gold-500); margin-top: 2px; }
.cred h3 { grid-column: 2; font-family: var(--font-serif); font-size: 22px; font-weight: 500; color: var(--ink-600); line-height: 1.1; margin: 0; }
.cred p { grid-column: 2; font-size: 12px; color: var(--fg-3); line-height: 1.5; margin: 4px 0 0; }

/* ---------- FAQ accordion ---------- */
.tx-faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.tx-faq-list { display: flex; flex-direction: column; }
.tx-faq-item { border-bottom: 1px solid var(--ivory-200); }
.tx-faq-item:first-child { border-top: 1px solid var(--ivory-200); }
.tx-faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 0; font-family: var(--font-serif); font-size: 19px; font-weight: 500;
  color: var(--ink-600); line-height: 1.3;
}
.tx-faq-icon { width: 20px; height: 20px; color: var(--gold-500); flex-shrink: 0; transition: transform var(--dur-base) var(--ease-out); }
.tx-faq-item.open .tx-faq-icon { transform: rotate(45deg); }
.tx-faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-base) var(--ease-out); }
.tx-faq-item.open .tx-faq-a { max-height: 480px; }
.tx-faq-a p { font-size: 14.5px; line-height: var(--lh-loose); color: var(--fg-2); margin: 0 0 24px; padding-right: 36px; }

/* ---------- Related treatment cards ---------- */
.tx-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; background: var(--color-surface); border: 1px solid var(--ivory-200);
  border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; text-decoration: none;
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--ivory-300); }
.card-tag {
  display: inline-flex; align-self: flex-start; font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-600);
  background: var(--gold-50); border-radius: var(--radius-pill); padding: 5px 12px; margin-bottom: 14px;
}
.card-title { font-family: var(--font-serif); font-size: 26px; font-weight: 500; color: var(--ink-600); line-height: 1.1; margin: 0 0 10px; }
.card-desc { font-size: 13.5px; line-height: 1.62; color: var(--fg-2); margin: 0 0 20px; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--gold-700); }
.card-link .lucide { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease-out); }
.card:hover .card-link .lucide { transform: translateX(3px); }

/* ---------- Contact / consultation ---------- */
.tx-contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.tx-contact-form {
  background: var(--color-surface); border: 1px solid var(--ivory-200);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 32px;
}
.tx-contact-form h3 { font-family: var(--font-serif); font-size: 26px; font-weight: 500; color: var(--ink-600); margin: 0 0 6px; }
.tx-contact-form .caption { margin: 0 0 22px; display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 7px; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; font-family: inherit; font-size: 14px; padding: 11px 13px;
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  background: var(--color-surface); color: var(--ink-500); outline: none; box-sizing: border-box;
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  border-color: var(--gold-400); box-shadow: 0 0 0 3px var(--gold-50);
}
.form-grid textarea { resize: vertical; min-height: 92px; font-family: inherit; }
.form-grid .btn { width: 100%; justify-content: center; }
.booking-confirm {
  display: flex; gap: 14px; align-items: center; background: var(--gold-50);
  border: 1px solid var(--gold-100); border-radius: var(--radius-lg); padding: 18px;
}
.booking-confirm .lucide { width: 22px; height: 22px; color: var(--gold-600); flex-shrink: 0; }
.booking-confirm b { display: block; font-size: 14px; color: var(--ink-600); }
.booking-confirm span { display: block; font-size: 12.5px; color: var(--fg-3); margin-top: 2px; }

/* ---------- Treatment testimonial carousel ---------- */
.quote-body { transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out); }
.quote-body.fading { opacity: 0; transform: translateY(8px); }

/* ---------- Responsive (v2 template) ---------- */
@media (max-width: 1024px) {
  .tx-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .tx-hero-art { order: -1; max-width: 420px; }
  .tx-hero h1 { font-size: 48px; }
  .tx-what, .tx-science { grid-template-columns: 1fr; gap: 36px; }
  .tx-split-img img { aspect-ratio: 16 / 9; }
  .tx-benefits { grid-template-columns: 1fr 1fr; }
  .tx-ba-grid { grid-template-columns: 1fr; }
  .doctor-block { grid-template-columns: 1fr; gap: 36px; }
  .doctor-portrait { max-width: 360px; margin: 0 auto; }
  .credentials { grid-template-columns: 1fr 1fr 1fr; max-width: none; }
  .tx-faq-wrap { grid-template-columns: 1fr; gap: 24px; }
  .tx-related-grid { grid-template-columns: 1fr 1fr; }
  .tx-contact { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .tx-hero { padding: 56px 0 64px; }
  .tx-hero h1 { font-size: 38px; }
  .tx-hero-facts { grid-template-columns: 1fr 1fr; gap: 18px 24px; max-width: none; }
  .tx-benefits, .tx-related-grid { grid-template-columns: 1fr; }
  .credentials { grid-template-columns: 1fr; max-width: none; }
  .form-grid { grid-template-columns: 1fr; }
  .tx-ba-grip { width: 36px; height: 36px; }
}

/* ---------- Art panels (brand-toned icon visuals for image slots) ---------- */
.tx-art {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  background: var(--grad-gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.tx-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .55), transparent 60%);
}
.tx-art svg {
  position: relative;
  z-index: 1;
  width: 30%;
  height: 30%;
  min-width: 56px;
  min-height: 56px;
  max-width: 120px;
  max-height: 120px;
  color: var(--gold-400);
  stroke-width: 1.25;
}
.tx-hero-art .tx-art { box-shadow: var(--shadow-lg); }
