/* ============================================
   Trichology By Shawn — Site Styles
   Palette: navy (logo) + blush + mauve
   ============================================ */

:root {
  /* Core */
  --navy: #22335a;
  --navy-deep: #182543;
  --white: #ffffff;

  /* Neutrals */
  --charcoal: #2a2724;        /* primary accent, replaces mauve */
  --charcoal-deep: #15130f;   /* deepest neutral */
  --sand: #f2ece3;            /* light beige panel */
  --sand-deep: #e3dacc;       /* beige border / hover */
  --sand-tint: #eee8dd;       /* softest beige wash */
  --taupe: #c6b499;           /* warm accent for dark backgrounds */
  --gold: #b8955c;            /* subtle gold: rules, bullets, borders */
  --gold-soft: #d6c096;       /* gold for text on navy */
  --gold-deep: #94773e;       /* gold for text on light backgrounds */
  --cream: #faf8f4;
  --ink-soft: #5e5b55;

  /* Legacy aliases so existing rules keep working */
  --blush: var(--sand);
  --blush-deep: var(--sand-deep);
  --mauve: var(--charcoal);
  --mauve-deep: var(--charcoal-deep);
  --mauve-tint: var(--sand-tint);
  --rose: var(--taupe);
  --radius: 16px;
  --shadow: 0 10px 30px rgba(34, 51, 90, 0.09);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--charcoal); text-decoration: none; }

/* inline text links (nav and footer excluded) */
p a:not(.btn):not(.card-link),
.section li a:not(.btn):not(.card-link) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--sand-deep);
  transition: text-decoration-color 0.2s ease;
}
p a:not(.btn):not(.card-link):hover,
.section li a:not(.btn):not(.card-link):hover { text-decoration-color: var(--charcoal); }

.nav-links a, .nav-links a:hover, .nav-links a:focus, .nav-links a:visited {
  text-decoration: none !important;
  border-bottom: none !important;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  text-wrap: balance;
}

.section-head p, .hero-sub, .page-hero p { text-wrap: pretty; }

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.45rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46em;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2.05rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.15;
  text-align: center;
  border: 1.5px solid transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1),
              box-shadow 0.3s ease, background 0.3s ease,
              color 0.3s ease, border-color 0.3s ease;
}

.btn:active { transform: translateY(-1px) scale(0.985); }

.btn:focus-visible {
  outline: 2px solid var(--mauve);
  outline-offset: 3px;
}

/* Primary — soft blush */
.btn-primary {
  background: var(--blush);
  color: var(--mauve-deep);
  border-color: rgba(42, 39, 36, 0.28);
  box-shadow: 0 6px 16px rgba(42, 39, 36, 0.12);
}
.btn-primary:hover {
  transform: translateY(-3px);
  background: var(--blush-deep);
  border-color: var(--mauve);
  color: var(--mauve-deep);
  box-shadow: 0 12px 26px rgba(42, 39, 36, 0.18);
}

/* Navy — light with a navy hairline */
.btn-navy {
  background: var(--white);
  color: var(--navy);
  border-color: rgba(34, 51, 90, 0.28);
  box-shadow: 0 6px 16px rgba(34, 51, 90, 0.12);
}
.btn-navy:hover {
  transform: translateY(-3px);
  background: var(--cream);
  border-color: var(--navy);
  box-shadow: 0 12px 26px rgba(34, 51, 90, 0.18);
}

/* Outline — on light backgrounds */
.btn-outline {
  background: transparent;
  border-color: rgba(34, 51, 90, 0.3);
  color: var(--navy);
}
.btn-outline:hover {
  transform: translateY(-3px);
  background: rgba(34, 51, 90, 0.05);
  border-color: var(--navy);
  box-shadow: 0 10px 22px rgba(34, 51, 90, 0.12);
}

/* Light — on dark backgrounds */
.btn-light {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 10px 26px rgba(12, 20, 40, 0.24);
}
.btn-light:hover {
  transform: translateY(-3px);
  background: var(--blush);
  color: var(--mauve-deep);
  box-shadow: 0 16px 34px rgba(12, 20, 40, 0.32);
}

/* Ghost — outline on dark backgrounds */
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(3px);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  .btn, .btn::before { transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(34, 51, 90, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(34, 51, 90, 0.15);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.brand-text span { color: var(--mauve); font-style: italic; }

.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--mauve); }

.nav-cta { margin-left: 0.5rem; }
.nav-cta .btn { padding: 0.6rem 1.5rem; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--navy);
  cursor: pointer;
}

/* ---------- Hero (split, light) ---------- */
.hero {
  background: linear-gradient(160deg, var(--blush) 0%, var(--cream) 55%, var(--mauve-tint) 100%);
  overflow: hidden;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  padding: 4.5rem 0 5rem;
}

.hero h1 { margin-bottom: 1.3rem; }
.hero h1 em { font-style: italic; color: var(--mauve); }

.hero p.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 2.2rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-tagline {
  margin-top: 2.8rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--gold-deep);
  letter-spacing: 0.04em;
}

.hero-media { position: relative; }

.hero-media .hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: 240px 240px var(--radius) var(--radius);
  box-shadow: 0 24px 60px rgba(34, 51, 90, 0.18);
  border: 8px solid var(--white);
}

.hero-media .hero-img-wide {
  aspect-ratio: 4 / 3.5;
  border-radius: 130px var(--radius) 130px var(--radius);
}

.hero-media .hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
  background: var(--white);
}

/* Hero with faded background photo */
.hero-bg { position: relative; overflow: hidden; }

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(242, 236, 227, 0.85) 0%, rgba(250, 248, 244, 0.62) 55%, rgba(238, 232, 221, 0.88) 100%);
}

.hero-bg .hero-inner, .hero-bg .hero-split { position: relative; z-index: 2; }

.page-hero .hero-actions { justify-content: center; margin-top: 2rem; }

/* Inner page hero — v2 */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(198, 180, 153, 0.32) 0%, rgba(198, 180, 153, 0) 62%),
    linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 52%, #2b3e6c 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--ph-img);
  background-size: cover;
  background-position: center 35%;
  opacity: 0.22;
  filter: saturate(0.65);
  z-index: -2;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 37, 67, 0.25) 0%, rgba(24, 37, 67, 0.72) 100%);
  z-index: -1;
}

.page-hero .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 5rem 0 6.5rem;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1.1rem;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.01em;
}
.page-hero h1 em { font-style: italic; color: var(--gold-soft); }

.page-hero p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  max-width: 40em;
  margin: 0 auto;
}

.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--gold-soft);
  margin-bottom: 0.7rem;
}
.page-hero .eyebrow::before,
.page-hero .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(214, 192, 150, 0.55);
}

.page-hero .hero-actions { justify-content: center; margin-top: 2.4rem; }

/* Breadcrumb */
.crumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.crumbs a { color: rgba(255, 255, 255, 0.72); transition: color 0.2s; }
.crumbs a:hover { color: var(--gold-soft); }
.crumb-sep { color: rgba(255, 255, 255, 0.3); }

/* Curved bottom edge */
.ph-curve {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -1px;
  width: 110%;
  height: 56px;
  background: var(--cream);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 1;
}

@media (max-width: 720px) {
  .page-hero .hero-inner { padding: 3.4rem 0 4.6rem; }
  .page-hero p { font-size: 1rem; }
  .page-hero .eyebrow::before, .page-hero .eyebrow::after { width: 20px; }
  .ph-curve { height: 34px; }
}

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--white); }
.section-blush { background: var(--blush); }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 0.8rem; }
.section-head p { color: var(--ink-soft); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(34, 51, 90, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(34, 51, 90, 0.13); }

.section-alt .card { background: var(--cream); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mauve-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.3rem;
}

.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }

.card .card-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 540px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(34, 51, 90, 0.15);
}

.split-img.arch { border-radius: 200px 200px var(--radius) var(--radius); }

.quote-card {
  background: var(--blush);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--navy);
  border-left: 4px solid var(--mauve);
  margin-top: 1.8rem;
}

/* ---------- Pillars / value strip ---------- */
.pillars {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.pillars h3 {
  color: var(--rose);
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}
.pillars p { color: rgba(255, 255, 255, 0.78); font-size: 0.93rem; }

/* ---------- Credentials strip ---------- */
.cred-strip { text-align: center; }

.cred-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.cred-logos img {
  height: 130px;
  width: auto;
  background: var(--white);
  padding: 0.9rem 1.4rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* ---------- Locations ---------- */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.6rem;
}

.location-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  padding: 2.3rem 2rem;
}

.location-card .loc-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mauve);
}

.location-card h3 { margin: 0.5rem 0 0.8rem; }
.location-card p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 0.4rem; }
.location-card .loc-links { margin-top: 1.2rem; display: flex; gap: 1.4rem; flex-wrap: wrap; }
.location-card .loc-links a { font-weight: 600; font-size: 0.92rem; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--rose);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  border-top: 2px solid var(--gold);
  background: linear-gradient(140deg, var(--navy-deep), var(--navy));
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
}

.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 38em; margin: 0 auto 2rem; }

/* ---------- Concerns list ---------- */
.concern-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  list-style: none;
}

.concern-list li {
  background: var(--white);
  border-radius: 10px;
  padding: 1rem 1.3rem;
  box-shadow: var(--shadow);
  font-size: 0.96rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.concern-list li::before {
  content: "✦";
  color: var(--gold);
  font-size: 0.85rem;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem 1.4rem;
}

.gallery-item { margin: 0; }

.gallery-item a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(34, 51, 90, 0.13);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item a:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(34, 51, 90, 0.2);
}
.gallery-item a:focus-visible { outline: 2px solid var(--mauve); outline-offset: 4px; }

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.gallery-item figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

/* ---------- Blog ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(34, 51, 90, 0.13); }

.post-card img { width: 100%; height: 210px; object-fit: cover; }

.post-card-body { padding: 1.6rem 1.6rem 1.9rem; display: flex; flex-direction: column; flex: 1; }

.post-meta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 0.6rem;
}

.post-card h3 { font-size: 1.35rem; margin-bottom: 0.6rem; line-height: 1.25; }
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--mauve); }
.post-card p { color: var(--ink-soft); font-size: 0.94rem; flex: 1; }
.post-card .card-link { display: inline-block; margin-top: 1.1rem; font-weight: 600; font-size: 0.9rem; }

.post-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
.post-card.featured img { height: 100%; min-height: 320px; }
.post-card.featured .post-card-body { padding: 2.4rem; justify-content: center; }
.post-card.featured h3 { font-size: 1.9rem; }

/* ---------- Article ---------- */
.article-wrap { max-width: 780px; margin: 0 auto; }

.article-hero-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
}

.article-wrap h2 { font-size: 1.8rem; margin: 2.4rem 0 0.9rem; }
.article-wrap h3 { font-size: 1.3rem; margin: 1.8rem 0 0.7rem; }
.article-wrap p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.article-wrap ul, .article-wrap ol { color: var(--ink-soft); margin: 0 0 1.2rem 1.4rem; }
.article-wrap li { margin-bottom: 0.5rem; }

.article-meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(34, 51, 90, 0.1);
}
.article-meta strong { color: var(--mauve); }

.article-cta {
  background: var(--blush);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  margin-top: 2.8rem;
  border-left: 4px solid var(--mauve);
}
.article-cta h3 { margin: 0 0 0.5rem; }
.article-cta p { margin-bottom: 1.2rem; }

.back-link { display: inline-block; margin-bottom: 1.5rem; font-weight: 600; font-size: 0.9rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.6rem 2.4rem;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

input, select, textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(34, 51, 90, 0.15);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--cream);
  transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--mauve);
  background: var(--white);
}

textarea { resize: vertical; min-height: 130px; }

.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 1rem; }

/* ---------- Contact info ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.info-block { margin-bottom: 2rem; }
.info-block h3 { margin-bottom: 0.5rem; }
.info-block p { color: var(--ink-soft); }
.info-block a.big-link {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.9fr 1.15fr 0.9fr;
  gap: 2.2rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.footer-brand .brand-text { color: var(--white); }
.footer-brand .brand-text span { color: var(--rose); }
.footer-brand .brand-text small { color: rgba(255, 255, 255, 0.5); }
.footer-brand p { margin-top: 0.8rem; }

.site-footer h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1rem;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: rgba(255, 255, 255, 0.75); transition: color 0.2s; }
.site-footer a:hover { color: var(--white); }

.social-icons { margin-top: 0.9rem; display: flex; gap: 0.7rem; }

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.social-icon svg { width: 20px; height: 20px; fill: rgba(255, 255, 255, 0.85); }

.social-icon:hover {
  background: var(--mauve);
  border-color: var(--mauve);
  transform: translateY(-2px);
}
.social-icon:hover svg { fill: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split, .contact-grid, .hero-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-media { max-width: 440px; margin: 0 auto; }
  .pillars-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-img { min-height: 300px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 4%;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(34, 51, 90, 0.08);
    box-shadow: var(--shadow);
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-split { padding: 3rem 0 3.5rem; }
  .section { padding: 3.8rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem 1rem; }
}


/* ---------- Areas We Serve bar ---------- */
.areas-bar {
  background: var(--blush);
  border-top: 1px solid var(--blush-deep);
  border-bottom: 1px solid var(--blush-deep);
  padding: 1rem 0;
}

.areas-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
}

.areas-bar-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mauve);
  white-space: nowrap;
}

.areas-bar-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 0.9rem;
}

.areas-bar-links a,
.areas-bar-current {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
}

.areas-bar-links a:hover { color: var(--mauve-deep); text-decoration: underline; }
.areas-bar-current { color: var(--mauve-deep); font-weight: 700; }

/* ---------- Link columns ---------- */
.link-columns {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem 1.4rem;
  max-width: 900px;
  margin: 0 auto;
}

.link-columns li a {
  display: block;
  background: var(--white);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  font-weight: 600;
}

.link-columns li a:hover { background: var(--blush); }

@media (max-width: 720px) {
  .areas-bar-label { width: 100%; text-align: center; }
}


/* ---------- Before / after figure ---------- */
.ba-figure {
  max-width: 560px;
  margin: 3rem auto 0;
  text-align: center;
}

.ba-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 8px solid var(--white);
}

.ba-figure figcaption {
  margin-top: 1rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ink-soft);
  font-style: italic;
}


/* ---------- DE|RIVE product section ---------- */
.product-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(34, 51, 90, 0.15);
}

.derive-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.derive-list li {
  background: var(--white);
  border-radius: 10px;
  padding: 1rem 1.3rem 1rem 2.6rem;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
}

.derive-list li::before {
  content: "\2726";
  position: absolute;
  left: 1.2rem;
  top: 1rem;
  color: var(--gold);
  font-size: 0.85rem;
}

.derive-list li strong { color: var(--navy); display: block; margin-bottom: 0.15rem; }


/* ============================================
   Header v2 — top bar, dropdown, scroll state
   ============================================ */

/* ---------- Utility top bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  padding: 0.35rem 0;
}

.topbar-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--gold-soft);
  letter-spacing: 0.03em;
}

.topbar-right { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; }
.topbar-right a { color: rgba(255, 255, 255, 0.82); transition: color 0.2s; }
.topbar-right a:hover { color: var(--white); }
.topbar-sep { color: rgba(255, 255, 255, 0.3); }
.topbar-tel { font-weight: 600; letter-spacing: 0.04em; }

.topbar-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-left: 0.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.topbar-ig svg { width: 14px; height: 14px; fill: currentColor; }
.topbar-ig:hover { background: var(--mauve); }

/* ---------- Header shell ---------- */
.site-header {
  background: rgba(253, 250, 248, 0.9);
  border-bottom: 1px solid rgba(34, 51, 90, 0.07);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 24px rgba(34, 51, 90, 0.08);
}

.nav-wrap { padding: 0.85rem 0; transition: padding 0.25s ease; }
.site-header.scrolled .nav-wrap { padding: 0.5rem 0; }

.brand img { transition: width 0.25s ease, height 0.25s ease; }
.site-header.scrolled .brand img { width: 58px; height: 58px; }
.site-header.scrolled .brand-text { font-size: 1.2rem; }

/* ---------- Links ---------- */
.nav-links { gap: 1.6rem; }

.nav-links > li > a:not(.btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0;
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--navy);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-links > li > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--mauve);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links > li > a:not(.btn):hover::after { transform: scaleX(1); }

/* ---------- CTA ---------- */
.nav-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 1.35rem;
  font-size: 0.88rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(42, 39, 36, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(42, 39, 36, 0.2); }
.ico-tel { width: 15px; height: 15px; }

/* ---------- Hamburger ---------- */
.nav-toggle { font-size: 0; padding: 0.4rem; }
.nav-toggle .bars { display: block; width: 26px; }
.nav-toggle .bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.nav-toggle .bars span + span { margin-top: 6px; }
.nav-toggle.open .bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open .bars span:nth-child(2) { opacity: 0; }
.nav-toggle.open .bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 1rem; }
  .nav-links > li > a:not(.btn) { font-size: 0.76rem; letter-spacing: 0.05em; }
  .brand img { width: 56px; height: 56px; }
  .brand-text { font-size: 1.1rem; }
  .brand-text small { display: none; }
  .nav-cta { margin-left: 0.2rem; }
  .nav-cta .btn { padding: 0.55rem 1rem; font-size: 0.8rem; white-space: nowrap; }
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 1rem 4% 1.6rem;
    background: var(--white);
    border-bottom: 1px solid var(--blush-deep);
    box-shadow: 0 20px 40px rgba(34, 51, 90, 0.12);
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a:not(.btn) {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 0.2rem;
    font-size: 0.9rem;
    border-bottom: 1px solid #efe9e0;
  }
  .nav-links > li > a:not(.btn)::after { display: none; }
  .nav-cta { margin: 1rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .topbar-tag { display: none; }
  .topbar-inner { justify-content: center; }
}

@media (max-width: 560px) {
  .topbar { font-size: 0.72rem; }
  .topbar-right a:not(.topbar-tel):not(.topbar-ig) { display: none; }
  .topbar-sep { display: none; }
  .brand { gap: 0.65rem; }
  .brand img { width: 58px; height: 58px; }
  .brand-text { font-size: 1.5rem; line-height: 1.05; }
  .brand-text small {
    display: block;
    font-size: 0.5rem;
    letter-spacing: 0.2em;
    margin-top: 3px;
  }
  .site-header.scrolled .brand img { width: 50px; height: 50px; }
  .site-header.scrolled .brand-text { font-size: 1.35rem; }
  .nav-wrap { padding: 0.7rem 0; }
}

@media (max-width: 380px) {
  .brand img { width: 50px; height: 50px; }
  .brand-text { font-size: 1.3rem; }
  .brand-text small { display: none; }
  .site-header.scrolled .brand-text { font-size: 1.2rem; }
}


/* ---------- DE|RIVE results card ---------- */
.results-card {
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(34, 51, 90, 0.12);
  padding: 3rem 3rem 3.2rem;
  margin-top: 3.5rem;
  text-align: center;
}

.results-head { max-width: 46em; margin: 0 auto 2.4rem; }
.results-head h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0.4rem 0 0.8rem;
}
.results-head p { color: var(--ink-soft); font-size: 0.98rem; }

.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.6rem;
  max-width: 720px;
  margin: 0 auto;
}

.ba-panel { margin: 0; }

.ba-panel img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(34, 51, 90, 0.16);
}

.ba-panel figcaption {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ba-tag {
  display: inline-block;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ba-before { background: var(--blush-deep); color: var(--mauve-deep); }
.ba-after { background: var(--navy); color: var(--white); }

.ba-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--mauve);
  padding-bottom: 2rem;
}
.ba-arrow svg { width: 40px; height: 16px; }
.ba-arrow span {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mauve-deep);
  white-space: nowrap;
}

.results-meta {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 720px;
  margin: 2.4rem auto 0;
  border-top: 1px solid var(--blush-deep);
  padding-top: 1.8rem;
}

.results-meta li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.results-meta strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 0.35rem;
}

.results-note {
  max-width: 52em;
  margin: 2rem auto 0;
  font-size: 0.78rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--ink-soft);
}

.results-cta { margin-top: 1.8rem; }

@media (max-width: 780px) {
  .results-card { padding: 2.2rem 1.4rem 2.4rem; border-radius: 18px; }
  .ba-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .ba-arrow {
    grid-column: 1 / -1;
    order: 3;
    flex-direction: row;
    gap: 0.7rem;
    padding: 0.4rem 0 0;
  }
  .ba-arrow svg { transform: rotate(0deg); }
  .results-meta { grid-template-columns: 1fr; text-align: center; gap: 1.2rem; }
}



/* ---------- Lightbox ---------- */
html.lb-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 4.5rem 3rem;
  background: rgba(18, 28, 51, 0.94);
  backdrop-filter: blur(6px);
  animation: lbFade 0.22s ease;
}
.lightbox[hidden] { display: none; }

@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }

.lb-stage {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: lbRise 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
}

@keyframes lbRise { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

.lb-stage img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  background: var(--white);
}

.lb-stage figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.lb-stage figcaption {
  max-width: 46em;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.lb-close,
.lb-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.lb-close:hover, .lb-nav:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--white);
}
.lb-close:focus-visible, .lb-nav:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

.lb-close {
  top: 1.4rem;
  right: 1.6rem;
  width: 46px;
  height: 46px;
}
.lb-close svg { width: 20px; height: 20px; }
.lb-close:hover { transform: rotate(90deg); }

.lb-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
}
.lb-nav svg { width: 22px; height: 22px; }
.lb-prev { left: 1.6rem; }
.lb-next { right: 1.6rem; }
.lb-nav:hover { transform: translateY(-50%) scale(1.08); }

@media (max-width: 720px) {
  .lightbox { padding: 4.5rem 1rem 4.5rem; }
  .lb-stage img { max-height: 66vh; }
  .lb-close { top: 1rem; right: 1rem; width: 42px; height: 42px; }
  .lb-nav { top: auto; bottom: 1.1rem; transform: none; width: 44px; height: 44px; }
  .lb-nav:hover { transform: scale(1.08); }
  .lb-prev { left: calc(50% - 58px); }
  .lb-next { right: calc(50% - 58px); }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox, .lb-stage { animation: none; }
  .lb-close:hover, .lb-nav:hover { transform: none; }
  .lb-nav:hover { transform: translateY(-50%); }
}


/* ---------- Treatments & products cards ---------- */
.tx-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
}

.tx-card { flex: 0 1 300px; }

.tx-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(34, 51, 90, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.tx-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(34, 51, 90, 0.15); }

.tx-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.6rem;
  min-height: 132px;
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 60%, #2b3e6c 100%);
  border-bottom: 3px solid var(--gold);
}

.tx-logo-panel img {
  width: auto;
  height: auto;
  max-height: 58px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.tx-card:hover .tx-logo-panel img { transform: scale(1.04); }

.tx-body {
  padding: 1.5rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tx-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mauve-deep);
  background: var(--blush);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

.tx-body h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.tx-body p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.tx-body .card-link { margin-top: auto; }

@media (max-width: 1080px) {
  .tx-card { flex: 0 1 280px; }
}
@media (max-width: 620px) {
  .tx-card { flex: 1 1 100%; }
  .tx-logo-panel { min-height: 110px; padding: 1.6rem; }
}

/* ---------- Lightbox ---------- */
html.lb-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 4.5rem 3rem;
  background: rgba(18, 28, 51, 0.94);
  backdrop-filter: blur(6px);
  animation: lbFade 0.22s ease;
}
.lightbox[hidden] { display: none; }

@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }

.lb-stage {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: lbRise 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
}

@keyframes lbRise { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

.lb-stage img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  background: var(--white);
}

.lb-stage figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.lb-stage figcaption {
  max-width: 46em;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.lb-close,
.lb-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.lb-close:hover, .lb-nav:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--white);
}
.lb-close:focus-visible, .lb-nav:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

.lb-close {
  top: 1.4rem;
  right: 1.6rem;
  width: 46px;
  height: 46px;
}
.lb-close svg { width: 20px; height: 20px; }
.lb-close:hover { transform: rotate(90deg); }

.lb-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
}
.lb-nav svg { width: 22px; height: 22px; }
.lb-prev { left: 1.6rem; }
.lb-next { right: 1.6rem; }
.lb-nav:hover { transform: translateY(-50%) scale(1.08); }

@media (max-width: 720px) {
  .lightbox { padding: 4.5rem 1rem 4.5rem; }
  .lb-stage img { max-height: 66vh; }
  .lb-close { top: 1rem; right: 1rem; width: 42px; height: 42px; }
  .lb-nav { top: auto; bottom: 1.1rem; transform: none; width: 44px; height: 44px; }
  .lb-nav:hover { transform: scale(1.08); }
  .lb-prev { left: calc(50% - 58px); }
  .lb-next { right: calc(50% - 58px); }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox, .lb-stage { animation: none; }
  .lb-close:hover, .lb-nav:hover { transform: none; }
  .lb-nav:hover { transform: translateY(-50%); }
}


/* ---------- Treatments & products cards ---------- */
.tx-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.tx-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(34, 51, 90, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.tx-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(34, 51, 90, 0.15); }

.tx-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--blush);
}
.tx-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.tx-card:hover .tx-media img { transform: scale(1.05); }
.tx-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 37, 67, 0) 45%, rgba(24, 37, 67, 0.38) 100%);
}

.tx-logo {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  min-height: 44px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(34, 51, 90, 0.18);
}
.tx-logo img {
  width: auto;
  height: auto;
  max-height: 34px;
  max-width: 116px;
  object-fit: contain;
}

.tx-body {
  padding: 1.5rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tx-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mauve-deep);
  background: var(--blush);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

.tx-body h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.tx-body p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.tx-body .card-link { margin-top: auto; }

@media (max-width: 1080px) {
  .tx-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .tx-grid { grid-template-columns: 1fr; }
}


/* ---------- Collaboration note (compact bio strip) ---------- */
.collab-note {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 2.2rem;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 2.4rem;
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.collab-note img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: 0 8px 20px rgba(34, 51, 90, 0.16);
}

.collab-note h3 { font-size: 1.3rem; margin: 0.25rem 0 0.6rem; }
.collab-note p { font-size: 0.95rem; max-width: 62em; line-height: 1.7; color: var(--ink-soft); margin: 0; }

@media (max-width: 680px) {
  .collab-note {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 1.8rem 1.4rem;
    gap: 1.2rem;
  }
  .collab-note img { width: 120px; height: 120px; }
}


/* ---------- Treatment card: text panel (no brand logo) ---------- */
.tx-panel-text { text-align: center; }

.tx-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.tx-wordmark svg { width: 58px; height: 22px; color: var(--gold); }


/* ---------- Full flyer figure ---------- */
.flyer-figure { max-width: 620px; margin: 0 auto; text-align: center; }

.flyer-figure a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(34, 51, 90, 0.16);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.flyer-figure a:hover { transform: translateY(-4px); box-shadow: 0 24px 54px rgba(34, 51, 90, 0.22); }
.flyer-figure a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.flyer-figure img { width: 100%; height: auto; display: block; }

.flyer-figure figcaption {
  margin-top: 1rem;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--ink-soft);
}


/* ---------- Four-across card row ---------- */
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-4 .card { padding: 1.9rem 1.5rem; }
.card-grid.cols-4 .card h3 { font-size: 1.28rem; }
.card-grid.cols-4 .card p { font-size: 0.93rem; }

@media (max-width: 1080px) {
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .card-grid.cols-4 { grid-template-columns: 1fr; }
}


/* ---------- Whole treatment card clickable ---------- */
.tx-card { position: relative; }

.tx-card:has(.card-link) { cursor: pointer; }

/* the card-link covers the entire card, so any click on the card follows it */
.tx-card .card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius);
}

.tx-card:hover .card-link { color: var(--charcoal-deep); }
.tx-card:focus-within { box-shadow: 0 0 0 2px var(--gold), 0 18px 40px rgba(34, 51, 90, 0.15); }
.tx-card .card-link:focus-visible { outline: none; }


/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 0.9rem;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq-item[open] { border-color: var(--gold); box-shadow: 0 14px 34px rgba(34, 51, 90, 0.13); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.15rem 1.5rem;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary:hover { background: var(--cream); }
.faq-item summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

.faq-q {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}

.faq-chev {
  flex: 0 0 auto;
  width: 14px;
  height: 9px;
  color: var(--gold);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item[open] .faq-chev { transform: rotate(180deg); }

.faq-a { padding: 0 1.5rem 1.3rem; }
.faq-a p { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.75; }

.faq-item[open] .faq-a { animation: faqOpen 0.28s ease; }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

@media (max-width: 620px) {
  .faq-item summary { padding: 1rem 1.15rem; gap: 0.8rem; }
  .faq-q { font-size: 1.05rem; }
  .faq-a { padding: 0 1.15rem 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-chev, .faq-item { transition: none; }
  .faq-item[open] .faq-a { animation: none; }
}


/* ---------- Universkin range grid ---------- */
.uni-grid {
  column-count: 3;
  column-gap: 1.6rem;
}

.uni-grid figure {
  break-inside: avoid;
  margin: 0 0 1.6rem;
  display: inline-block;
  width: 100%;
}

.uni-grid img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--sand-deep);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.uni-grid figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
}

.uni-wide { margin: 1.4rem auto 0; max-width: 900px; }
.uni-wide img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--sand-deep);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* image rights notice */
.img-credit {
  max-width: 60em;
  margin: 2.2rem auto 0;
  text-align: center;
  font-size: 0.78rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--ink-soft);
}

@media (max-width: 880px) { .uni-grid { column-count: 2; } }
@media (max-width: 560px) { .uni-grid { column-count: 1; } }


/* ---------- Centered prose block ---------- */
.prose-center {
  max-width: 46em;
  margin: 0 auto;
  text-align: center;
}
.prose-center p { color: var(--ink-soft); margin-bottom: 1rem; }
.prose-center p:last-child { margin-bottom: 0; }
.fine-print {
  font-size: 0.86rem;
  font-style: italic;
  line-height: 1.7;
  margin-top: 1.6rem;
}
