/* ==========================================================================
   Crystal Hair — main.css
   Rose Quartz design system implementation. Requires tokens.css.
   Mobile-first · breakpoints: 580 / 760 / 960 / 1120px.
   Class contract: DESIGN.md §6. Pure CSS — no frameworks.
   ========================================================================== */

/* ---- 0. Reset & base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--color-text-2);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, video { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-heading);
  color: var(--color-text);
  text-wrap: balance;
}
p { text-wrap: pretty; }
a { color: var(--color-link); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--color-accent-strong); }
ul, ol { padding: 0; }
:focus-visible { outline: var(--ring-focus); outline-offset: 3px; border-radius: var(--r-xs); }
::selection { background: var(--rose-200); color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -60px; left: 50%; transform: translateX(-50%);
  z-index: var(--z-toast); background: var(--ink); color: var(--on-dark);
  padding: var(--sp-3) var(--sp-5); border-radius: var(--r-pill);
  font-size: var(--fs-small); transition: top var(--t);
}
.skip-link:focus { top: var(--sp-3); color: var(--on-dark); }

/* ---- 1. Layout primitives ------------------------------------------------ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.container--narrow  { max-width: var(--container-narrow); }
.container--wide    { max-width: var(--container-wide); }

.section { padding-block: var(--section-pad); }
.section--cream     { background: var(--color-bg-alt); }
.section--porcelain { background: var(--color-bg-deep); }
.section--dark      { background: var(--color-dark); color: var(--on-dark-muted); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section--dark a { color: var(--rose-300); }
.section--dark a:hover { color: var(--rose-200); }
.section--tight { padding-block: calc(var(--section-pad) * 0.6); }

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 580px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1120px) {
  .grid--3 { gap: var(--sp-6); }
  .grid--4 { gap: var(--sp-6); }
}

/* Split (text + media) blocks */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  align-items: center;
}
@media (min-width: 960px) {
  .split { grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-9); }
  .split--rev > .split-media { order: -1; }
}
.split-media { position: relative; }

/* ---- 2. Typography helpers ----------------------------------------------- */
.eyebrow {
  font-family: var(--font-script);
  font-size: var(--fs-script);
  font-weight: 400;
  color: var(--rose-600);
  line-height: 1.2;
}
.section--dark .eyebrow, .site-footer .eyebrow { color: var(--rose-300); }
.script-inline {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--rose-600);
  font-size: 1.15em;
  padding-inline: 0.08em;
}
.section--dark .script-inline { color: var(--rose-300); }

.display-1 {
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: var(--lh-display);
  letter-spacing: -0.01em;
}
.display-2 { font-size: var(--fs-h1); line-height: 1.15; }
.display-3 { font-size: var(--fs-h2); }
.display-caps { text-transform: uppercase; letter-spacing: var(--ls-display); }

.lead {
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: var(--lh-lead);
  color: var(--color-muted);
  max-width: 640px;
}
.section-head { text-align: center; max-width: 720px; margin-inline: auto; }
.section-head .display-2, .section-head .display-3 { margin-top: var(--sp-2); }
.section-head .lead { margin: var(--sp-4) auto 0; }

.divider-diamond {
  display: flex; align-items: center; justify-content: center;
  gap: var(--sp-4); margin: var(--sp-6) auto 0; max-width: 280px;
}
.divider-diamond::before, .divider-diamond::after {
  content: ""; height: 1px; flex: 1; background: var(--color-border-strong);
}
.divider-diamond i {
  width: 8px; height: 8px; background: var(--rose-400);
  transform: rotate(45deg); flex: none;
}
.section--dark .divider-diamond::before,
.section--dark .divider-diamond::after { background: var(--on-dark-line); }

/* ---- 3. Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 32px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: var(--fs-nav); font-weight: 500;
  letter-spacing: var(--ls-btn); text-transform: uppercase; line-height: 1;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: background var(--t), color var(--t), border-color var(--t),
              transform var(--t), box-shadow var(--t);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline-offset: 3px; }
.btn[disabled], .btn.is-disabled { opacity: 0.45; pointer-events: none; }

.btn--rose {
  background: var(--rose-700); color: #fff;
}
.btn--rose:hover { background: var(--rose-800); color: #fff; box-shadow: var(--shadow-1); }

.btn--whatsapp {
  background: var(--wa); color: #fff;
}
.btn--whatsapp:hover { background: var(--wa-strong); color: #fff; box-shadow: var(--shadow-wa); }
.btn--whatsapp .wa-glyph { flex: none; }

.btn--outline {
  background: transparent; border-color: var(--rose-500); color: var(--rose-700);
}
.btn--outline:hover { background: var(--rose-50); border-color: var(--rose-400); color: var(--rose-800); }

.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: var(--coal); color: var(--on-dark); box-shadow: var(--shadow-1); }

.btn--light {
  background: #fff; color: var(--ink); border-color: var(--color-border-strong);
}
.btn--light:hover { background: var(--rose-50); color: var(--rose-800); }

.btn--sm { min-height: 44px; padding: 12px 22px; font-size: 0.75rem; }
.btn--lg { min-height: 56px; padding: 18px 40px; }
.btn-block { display: flex; width: 100%; }

.wa-glyph { width: 18px; height: 18px; fill: currentColor; }

.actions-row {
  display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center;
}
.actions-row--center { justify-content: center; }

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-nav); font-weight: 500; letter-spacing: var(--ls-btn);
  text-transform: uppercase; color: var(--rose-700);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--rose-400);
  transition: color var(--t), border-color var(--t), gap var(--t);
}
.link-more:hover { color: var(--rose-800); border-color: var(--rose-600); gap: 12px; }
.link-more::after { content: "\2192"; font-size: 1em; }

/* ---- 4. Header & navigation ----------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--t), border-color var(--t);
}
/* Scrolled affordance: JS adds .is-stuck after 8px (main.js). No-JS keeps
   the flat base border — graceful degradation, nothing breaks. */
.site-header.is-stuck {
  border-bottom-color: var(--line-strong);
  box-shadow: 0 12px 28px -18px rgba(23, 17, 15, 0.38), 0 2px 8px rgba(23, 17, 15, 0.05);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); min-height: var(--header-h-sm);
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-img { height: 46px; width: auto; }

.nav { display: none; }
.header-cta { display: none; }

.nav-toggle {
  position: relative; width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer; border-radius: var(--r-sm);
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform var(--t-slow), background var(--t);
}
.nav-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle span:nth-child(2) { transform: translateY(6px); }
.nav-toggle:hover span { background: var(--rose-700); }
.nav-open .nav-toggle span:nth-child(1) { transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { transform: rotate(-45deg); }

/* Mobile overlay nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: var(--z-nav);
  background: var(--coal); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h-sm) + var(--sp-6)) var(--sp-6) var(--sp-8);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity var(--t-slow), transform var(--t-slow), visibility 0s linear var(--t-slow);
}
.nav-open .mobile-nav {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.mobile-nav-list { list-style: none; display: grid; gap: var(--sp-4); }
.mobile-nav-list a {
  font-family: var(--font-display); font-size: 2rem; font-weight: 600;
  color: var(--on-dark); display: inline-flex; align-items: baseline; gap: var(--sp-3);
}
.mobile-nav-list a:hover { color: var(--rose-300); }
.mobile-nav-list .is-current a { color: var(--rose-300); }
.mobile-nav-list .is-current a::before {
  content: ""; width: 7px; height: 7px; background: var(--rose-400);
  transform: rotate(45deg); flex: none; align-self: center;
}
.mobile-nav-meta {
  margin-top: var(--sp-7); padding-top: var(--sp-5);
  border-top: 1px solid var(--on-dark-line);
  display: grid; gap: var(--sp-4); justify-items: start;
}
.mobile-nav-meta a[href^="tel"] {
  font-size: var(--fs-lead); color: var(--on-dark-muted);
}
body.nav-open { overflow: hidden; }

@media (min-width: 960px) {
  .header-inner { min-height: var(--header-h); }
  .brand-img { height: 54px; }
  .nav { display: block; }
  .nav-toggle, .mobile-nav { display: none; }
  .nav-list {
    list-style: none; display: flex; gap: var(--sp-6);
  }
  .nav-link {
    position: relative; display: inline-flex; align-items: center;
    min-height: 44px; padding: 4px 0;
    font-size: var(--fs-nav); font-weight: 500;
    letter-spacing: var(--ls-nav); text-transform: uppercase;
    color: var(--ink-soft);
  }
  .nav-link::after {
    content: ""; position: absolute; left: 50%; bottom: 2px;
    width: 5px; height: 5px; background: var(--rose-400);
    transform: translateX(-50%) rotate(45deg) scale(0);
    transition: transform var(--t);
  }
  .nav-link:hover { color: var(--rose-700); }
  .nav-link.is-current { color: var(--rose-700); }
  .nav-link.is-current::after, .nav-link:hover::after { transform: translateX(-50%) rotate(45deg) scale(1); }
  .header-cta { display: inline-flex; }
}

/* Mobile bottom booking bar */
.booking-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-booking);
  display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4) calc(var(--sp-3) + env(safe-area-inset-bottom));
  background: rgba(255, 253, 251, 0.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
}
.booking-bar .btn { min-height: 48px; padding-inline: 12px; font-size: 0.72rem; }
@media (min-width: 760px) { .booking-bar { display: none; } }
/* Exact clearance for the fixed bar: 72px + safe-area. The old hardcoded 84px
   ignored the token AND env() (≈106px real on iPhone) — footer/CTA coverage. */
body.has-booking-bar { padding-bottom: var(--bar-clear); }
@media (min-width: 760px) { body.has-booking-bar { padding-bottom: 0; } }

/* ---- 5. Hero slider (home) -------------------------------------------------- */
.hero-slider {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--porcelain);              /* paints before/sans images   */
  height: clamp(560px, 72vh, 780px);
}
.hs-track { display: grid; height: 100%; }

.hs-slide {
  grid-area: 1 / 1; position: relative;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden; z-index: 0;
  transition: opacity var(--t-fade), visibility 0s linear var(--t-fade);
}
.hs-slide.is-active {
  opacity: 1; visibility: visible; z-index: 1;
  transition: opacity var(--t-fade);         /* visibility must not lag IN  */
}

.hs-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.hs-bg--1 { object-position: 70% 22%; }   /* 1920w subject-right — QA-tune */
.hs-bg--2 { object-position: 66% 20%; }
.hs-bg--3 { object-position: 70% 24%; }
/* porcelain legibility wash — light, on-brand (NOT a dark scrim) */
.hs-slide::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hs-wash);
}

.hs-inner {
  position: relative; width: 100%;
  display: flex; align-items: center; min-height: 100%;
}
.hs-copy {
  max-width: 600px;
  display: grid; gap: var(--sp-4); justify-items: start;
  padding-block: var(--sp-8);
}
.hs-title {
  font-size: clamp(2.5rem, 1.1rem + 4.6vw, 4.3rem);
  line-height: var(--lh-display); font-weight: 700; color: var(--ink);
}
.hs-kicker {
  display: block;
  font-family: var(--font-script); font-weight: 400;
  font-size: clamp(1.5rem, 1.15rem + 1.2vw, 1.9rem);  /* AA large-text floor */
  line-height: 1.2; color: var(--rose-600);
  margin-bottom: var(--sp-2);
}
.hs-title .accent-i {
  font-style: italic; font-weight: 600; color: var(--rose-700);
  padding-inline: 0.04em;
}
.hs-sub {
  font-size: var(--fs-lead); font-weight: 300; line-height: var(--lh-lead);
  color: var(--ink-soft); max-width: 52ch;
}
.hs-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); }
.hs-copy .hero-meta { margin-top: var(--sp-2); }

/* Text stagger — restarts on every activation (CSS-only, no JS reflow).
   `backwards` keeps copy fully visible before any late CSS/JS lands. */
@keyframes hs-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.hs-slide.is-active .hs-copy > * { animation: hs-rise var(--t-rise) backwards; }
.hs-slide.is-active .hs-copy > *:nth-child(1) { animation-delay: 70ms; }
.hs-slide.is-active .hs-copy > *:nth-child(2) { animation-delay: 170ms; }
.hs-slide.is-active .hs-copy > *:nth-child(3) { animation-delay: 270ms; }
.hs-slide.is-active .hs-copy > *:nth-child(4) { animation-delay: 370ms; }
.hs-slide.is-active .hs-copy > *:nth-child(5) { animation-delay: 470ms; }

/* Dots — diamond motif on 44px targets */
.hs-dots {
  position: absolute; left: 50%; bottom: var(--sp-6);
  transform: translateX(-50%); z-index: 3;
  display: flex; gap: var(--sp-1);
}
.dot {                                   /* replaces the old 8px rule */
  position: relative; width: 44px; height: 44px;
  background: transparent; border: 0; padding: 0; cursor: pointer;
}
.dot::before {                           /* the visible diamond */
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 9px; height: 9px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--rose-300);
  transition: background var(--t), transform var(--t);
}
.dot:hover::before { background: var(--rose-500); }
.dot.is-active::before { background: var(--rose-700); transform: translate(-50%, -50%) rotate(45deg) scale(1.25); }

/* Arrows — house square-outline pair, bottom-right (clear of the copy column) */
.hs-arrows {
  position: absolute; right: var(--container-pad); bottom: var(--sp-6);
  z-index: 3; display: flex; gap: var(--sp-2);
}
.hs-arrow {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 253, 251, 0.75);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  color: var(--ink-soft); cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.hs-arrow svg { width: 20px; height: 20px; }
.hs-arrow:hover { background: var(--rose-700); border-color: var(--rose-700); color: #fff; }
.hs-arrow:focus-visible, .dot:focus-visible {
  outline: 2px solid var(--rose-700); outline-offset: 2px;
}

/* FULL-BLEED mobile variant (v2): portrait crop covers, copy bottom-anchored
   in the lower third over the coal scrim, text inverted on-dark. The v1
   stacked layout (image band + porcelain copy ground) is retired. */
@media (max-width: 759px) {
  .hero-slider {
    background: var(--coal);
    height: auto;
    min-height: calc(86vh - var(--header-h-sm));
    min-height: calc(86svh - var(--header-h-sm));
  }
  .hs-slide, .hs-inner { align-items: flex-end; }
  .hs-slide::before { background: var(--hs-scrim-m); }
  .hs-bg--1, .hs-bg--2, .hs-bg--3 { object-position: 50% 20%; }
  .hs-copy {
    position: relative;               /* anchors the local backing below */
    max-width: 100%;
    padding-block: var(--sp-6) calc(var(--bar-clear) + 44px + var(--sp-5));
  }
  /* Local backing behind the copy block. Slide 1's stack (eyebrow + kicker +
     3-line title + sub + CTAs + meta) is taller than the hero floor, so its
     first lines rise above the point where --hs-scrim-m reaches readable
     alpha. This feathered panel restores the spec's intended composite under
     the text without veiling the face zones above it: full strength across
     the glyph columns, feathered out over the face side by the 90deg mask;
     feathered top, merges into the scrim at the bottom. */
  .hs-copy::before {
    content: ""; position: absolute; z-index: -1;
    inset: -72px calc(-1 * var(--container-pad)) -176px;
    background: linear-gradient(180deg,
        rgba(23, 17, 15, 0) 0%, rgba(23, 17, 15, 0.55) 8%,
        rgba(23, 17, 15, 0.85) 16%, rgba(23, 17, 15, 0.9) 30%,
        rgba(23, 17, 15, 0.95) 55%, rgba(23, 17, 15, 0.96) 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 70%, rgba(0, 0, 0, 0.55) 85%, rgba(0, 0, 0, 0.25) 100%);
    mask-image: linear-gradient(90deg, #000 70%, rgba(0, 0, 0, 0.55) 85%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
  }
  /* Glyph-level guarantee over bright speckles (window light, sky, skin). */
  .hs-title, .hs-kicker, .hs-copy .eyebrow, .hs-sub {
    text-shadow: 0 1px 3px rgba(23, 17, 15, 0.6), 0 0 16px rgba(23, 17, 15, 0.35);
  }
  .hs-title { font-size: clamp(2.25rem, 1.4rem + 4vw, 2.9rem); color: var(--on-dark); }
  .hs-kicker { font-size: 1.5rem; color: var(--hs-accent-m); }
  .hs-title .accent-i,
  .hs-title .script-inline,
  .hs-copy .eyebrow { color: var(--hs-accent-m); }
  .hs-sub, .hero-meta { color: var(--on-dark-muted); }
  .hs-actions { flex-direction: column; width: 100%; }
  .hs-actions .btn { width: 100%; }
  .hs-actions .btn--outline {
    color: var(--on-dark); border-color: rgba(255, 249, 245, 0.55);
  }
  .hs-actions .btn--outline:hover {
    background: rgba(255, 249, 245, 0.12);
    border-color: var(--on-dark); color: var(--on-dark);
  }
  .hs-dots { bottom: calc(var(--bar-clear) + var(--sp-4)); }
  .dot.is-active::before { background: var(--hs-accent-m); }
  .dot:focus-visible { outline-color: var(--hs-accent-m); }
  .hs-arrows { display: none; }   /* swipe + dots only */
}
@media (min-width: 760px) and (max-width: 959px) {
  .hs-copy { max-width: 520px; }
  .hs-arrows { bottom: var(--sp-5); }
}

/* Reduced motion: belt-and-braces on top of the global §18 guard. */
@media (prefers-reduced-motion: reduce) {
  .hs-slide { transition: none; }
  .hs-slide.is-active .hs-copy > * { animation: none; }
}

.hero-meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4);
  margin-top: var(--sp-5); font-size: var(--fs-caption);
  color: var(--color-muted); align-items: center;
}
.hero-meta .rating-stars { margin-right: 6px; }

/* ---- 6. Cards ---------------------------------------------------------------- */
.card-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 580px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) {
  .card-grid { grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
}
.card-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 960px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Service card — the money component */
.service-card {
  display: flex; flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--rose-200);
}
.service-card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow);
}
.service-card:hover .service-card-img img { transform: scale(1.04); }
.service-card-body {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--sp-3); flex: 1;
  padding: var(--sp-5) var(--sp-5) var(--sp-6);
  text-align: center;
}
.service-card-title {
  font-size: var(--fs-h3); font-weight: 600; color: var(--rose-700);
}
.service-card-body > p:not([class]) {
  font-size: var(--fs-small); line-height: var(--lh-small); color: var(--color-muted);
}
.price { font-size: var(--fs-body); font-weight: 600; color: var(--ink); }
.price-from {
  display: block; font-size: var(--fs-caption); font-weight: 400;
  color: var(--color-muted); letter-spacing: 0.06em; text-transform: uppercase;
}
.service-card .btn { margin-top: auto; }

/* Category card (portrait, gradient overlay) */
.category-card {
  position: relative; display: block; border-radius: var(--r-md);
  overflow: hidden; aspect-ratio: 3 / 4; isolation: isolate;
}
.category-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow); z-index: -2;
}
.category-card::after {
  content: ""; position: absolute; inset: 0;
  background: var(--overlay-card); z-index: -1;
  transition: opacity var(--t);
}
.category-card:hover img { transform: scale(1.05); }
.category-card:hover::after { opacity: 0.92; }
.category-card-body {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: var(--sp-5);
  display: grid; gap: var(--sp-1);
}
.category-name {
  font-family: var(--font-display); font-size: var(--fs-h3);
  font-weight: 600; color: #fff;
}
.category-count { font-size: var(--fs-caption); color: var(--rose-200); letter-spacing: 0.08em; text-transform: uppercase; }
.category-card .link-more { margin-top: var(--sp-2); border-color: var(--rose-300); color: var(--rose-200); }
.category-card .link-more:hover { color: #fff; border-color: var(--rose-200); }
.category-card:focus-visible { outline-offset: 4px; }

/* Category chip nav (services hub anchors) */
.cat-nav {
  position: sticky; top: var(--header-h-sm); z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-block: 1px solid var(--color-border);
}
@media (min-width: 960px) { .cat-nav { top: var(--header-h); } }
.cat-nav-inner {
  display: flex; gap: var(--sp-2); overflow-x: auto; scrollbar-width: none;
  padding-block: var(--sp-3);
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: none; min-height: 40px; display: inline-flex; align-items: center;
  padding: 8px 18px; border: 1px solid var(--color-border-strong);
  border-radius: var(--r-pill);
  font-size: var(--fs-caption); font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft); background: transparent;
  transition: all var(--t);
}
.cat-chip:hover, .cat-chip.is-current {
  background: var(--rose-50); border-color: var(--rose-400); color: var(--rose-800);
}

/* Branch card */
.branch-card {
  display: flex; flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.branch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.branch-media { padding: var(--sp-4) var(--sp-4) 0; }
.branch-media .frame-img { aspect-ratio: 16 / 10; }
.branch-card-body {
  display: grid; gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-6) var(--sp-6);
}
.branch-name { font-size: var(--fs-h2); font-weight: 600; }
.branch-lines { font-size: var(--fs-small); color: var(--color-muted); line-height: 1.7; }
.branch-lines a { color: var(--ink-soft); font-weight: 500; }
.branch-lines a:hover { color: var(--rose-700); }
.branch-hours {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-caption); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--rose-700);
}
.branch-card .actions-row { margin-top: var(--sp-2); }
.branch-card .actions-row .btn { flex: 1; }

/* Length card */
.length-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 960px) { .length-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); } }
.length-card {
  text-align: center; padding-top: var(--sp-5);
  border-top: 1px solid var(--color-border-strong);
  position: relative;
  display: grid; gap: var(--sp-3); justify-items: center;
}
.length-card::before {
  content: ""; position: absolute; top: -5px; left: 50%;
  width: 9px; height: 9px; background: var(--rose-400);
  transform: translateX(-50%) rotate(45deg);
}
.length-card h3 {
  font-size: var(--fs-h3); font-weight: 600;
  text-transform: uppercase; letter-spacing: var(--ls-display);
}
.length-card p { font-size: var(--fs-small); color: var(--color-muted); max-width: 320px; }
.length-card .link-more { margin-top: var(--sp-1); }

/* Article card */
.article-card {
  display: flex; flex-direction: column;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.article-card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.article-card:hover .article-card-img img { transform: scale(1.04); }
.article-card-body { display: grid; gap: var(--sp-3); padding: var(--sp-5); }
.article-card-body h3 { font-size: var(--fs-h3); }
.article-card-body h3 a { color: var(--ink); }
.article-card-body h3 a:hover { color: var(--rose-700); }
.article-card-body p { font-size: var(--fs-small); color: var(--color-muted); }
.article-meta { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-caption); color: var(--color-muted); }
/* Dark variant (learn teaser on .section--dark) */
.section--dark .article-card {
  background: transparent; border-color: var(--on-dark-line);
}
.section--dark .article-card-body h3 a { color: var(--rose-200); }
.section--dark .article-card-body h3 a:hover { color: var(--on-dark); }
.section--dark .article-card-body p { color: var(--on-dark-muted); }
.section--dark .article-meta { color: var(--on-dark-muted); }

/* Testimonial */
.testimonial {
  max-width: 720px; margin-inline: auto; text-align: center;
  display: grid; gap: var(--sp-4); justify-items: center;
}
.rating-stars { display: inline-flex; gap: 4px; color: var(--gold); font-size: 1rem; letter-spacing: 2px; }
.testimonial-quote {
  font-size: var(--fs-lead); font-weight: 300; font-style: italic;
  color: var(--ink-soft); line-height: 1.8;
}
.testimonial-name {
  font-size: var(--fs-caption); letter-spacing: var(--ls-nav); text-transform: uppercase;
  color: var(--ink); font-weight: 600;
}
.testimonial-name span { color: var(--color-muted); font-weight: 400; text-transform: none; letter-spacing: 0; }

/* ---- 7. Crystal frame (signature media treatment) --------------------------- */
.frame { position: relative; border-radius: var(--r-md); }
.frame::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  border: 1px solid var(--rose-300);
  border-radius: var(--r-md);
  transform: translate(var(--frame-offset), var(--frame-offset));
  pointer-events: none;
}
.frame--l::after { transform: translate(calc(-1 * var(--frame-offset)), var(--frame-offset)); }
.frame-img {
  position: relative; z-index: 1;
  border-radius: var(--r-md);
  width: 100%; object-fit: cover;
  aspect-ratio: 4 / 5;
}
.frame-img img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
@media (max-width: 960px) { :root { --frame-offset: 10px; } }

/* ---- 8. Badges, chips, breadcrumbs ------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: rgba(255, 253, 251, 0.92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--rose-200);
  font-size: var(--fs-caption); font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--rose-800);
}
.badge--pill { background: var(--rose-50); border-color: var(--rose-200); }
.badge--success { background: var(--success-soft); border-color: transparent; color: var(--success-text); }
.badge--danger  { background: var(--danger-soft); border-color: transparent; color: var(--danger); }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2);
  font-size: 0.75rem; font-weight: 500; letter-spacing: var(--ls-nav);
  text-transform: uppercase; color: var(--color-muted);
  list-style: none;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: var(--sp-2); }
.breadcrumb li + li::before { content: "/"; color: var(--rose-400); }
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--rose-700); }
.breadcrumb [aria-current="page"] { color: var(--rose-700); }

/* ---- 9. Page hero (inner pages) ------------------------------------------------ */
.page-hero {
  background: var(--color-bg-deep);
  padding-block: var(--sp-9) var(--sp-8);
}
.page-hero .container { display: grid; gap: var(--sp-4); }
.page-hero .lead { max-width: 680px; }

/* Category section (services hub) */
.category-section { display: grid; gap: var(--sp-6); }
.category-section + .category-section { padding-top: var(--sp-8); }
.category-head {
  display: grid; gap: var(--sp-2); justify-items: center; text-align: center;
}
.category-head::before {
  content: ""; width: 9px; height: 9px; background: var(--rose-400);
  transform: rotate(45deg); margin-bottom: var(--sp-1);
}
.category-head .lead { font-size: var(--fs-small); margin-top: 0; }

/* ---- 10. Forms ------------------------------------------------------------------ */
.form { display: grid; gap: var(--sp-5); }
.form-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 760px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-grid .field--full { grid-column: 1 / -1; }

.field { display: grid; gap: var(--sp-2); }
.label {
  font-size: 0.75rem; font-weight: 500; letter-spacing: var(--ls-label);
  text-transform: uppercase; color: var(--ink-soft);
}
.label .req { color: var(--rose-700); }
.input, .select, .textarea {
  width: 100%; background: var(--color-surface);
  border: 1px solid var(--color-border-strong); border-radius: var(--r-pill);
  padding: 14px 22px; min-height: 48px;
  color: var(--ink); transition: border-color var(--t), box-shadow var(--t);
}
.textarea { border-radius: var(--r-md); min-height: 160px; resize: vertical; line-height: var(--lh-small); }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A8574B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center;
  padding-right: 48px;
}
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: 0.7; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--rose-500); box-shadow: var(--ring);
}
.field.is-error .input, .field.is-error .select, .field.is-error .textarea {
  border-color: var(--danger); box-shadow: none;
}
.field-error {
  font-size: var(--fs-caption); color: var(--danger);
  display: inline-flex; gap: 6px; align-items: center;
}
.field-error::before { content: "\26A0"; font-size: 0.9em; }
.field-hint { font-size: var(--fs-caption); color: var(--color-muted); }
.form-actions { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note {
  display: none; padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-sm); font-size: var(--fs-small);
}
.form-note.is-visible { display: block; }
.form-note.is-success { background: var(--success-soft); color: var(--success-text); border: 1px solid rgba(37, 107, 71, 0.25); }
.form-note.is-error   { background: var(--danger-soft); color: var(--danger); border: 1px solid rgba(169, 50, 38, 0.25); }

/* ---- 11. Toasts & alerts ----------------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--bar-clear) + var(--sp-4));
  transform: translateX(-50%);
  z-index: var(--z-toast);
  display: flex; align-items: center; gap: var(--sp-3);
  max-width: min(480px, calc(100vw - 32px));
  padding: var(--sp-4) var(--sp-5);
  background: var(--coal); color: var(--on-dark);
  border-radius: var(--r-sm); box-shadow: var(--shadow-toast);
  font-size: var(--fs-small);
  animation: toast-in 240ms ease;
}
.toast::before {
  content: ""; width: 4px; height: 24px; border-radius: 2px; flex: none;
}
.toast--success::before { background: var(--success); }
.toast--error::before   { background: var(--danger); }
@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
@media (min-width: 760px) { .toast { bottom: var(--sp-6); } }

.alert {
  padding: var(--sp-4) var(--sp-5); border-radius: var(--r-sm);
  font-size: var(--fs-small);
}
.alert--success { background: var(--success-soft); color: var(--success-text); }
.alert--error   { background: var(--danger-soft); color: var(--danger); }

/* ---- 12. Gallery (portfolio) ---------------------------------------------------------- */
.gallery-grid { columns: 1; column-gap: var(--sp-4); }
@media (min-width: 580px) { .gallery-grid { columns: 2; } }
@media (min-width: 960px) { .gallery-grid { columns: 3; } }
.gallery-item {
  break-inside: avoid; margin-bottom: var(--sp-4);
  position: relative; display: block; border-radius: var(--r-md);
  overflow: hidden; cursor: zoom-in;
  border: 0; background: none; padding: 0;  /* reset UA button chrome */
}
.gallery-img { width: 100%; transition: transform var(--t-slow); }
.gallery-item:hover .gallery-img { transform: scale(1.05); }
.gallery-caption {
  position: absolute; left: var(--sp-3); bottom: var(--sp-3);
  padding: 8px 14px; border-radius: var(--r-pill);
  background: rgba(23, 17, 15, 0.78);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--on-dark); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--t), transform var(--t);
}
.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption { opacity: 1; transform: none; }

/* ---- 13. Article (learn) --------------------------------------------------------------- */
.article-hero .frame-img { aspect-ratio: 16 / 9; }
.article { display: grid; gap: var(--sp-5); }
.article-meta { margin-top: var(--sp-2); }
.article-body { display: grid; gap: var(--sp-5); margin-top: var(--sp-4); }
.article-body > p { font-size: 1.0625rem; line-height: 1.85; color: var(--ink-soft); }
.article-body h2 {
  font-size: var(--fs-h2); margin-top: var(--sp-4);
  display: flex; align-items: baseline; gap: var(--sp-3);
}
.article-body h2::before {
  content: ""; width: 8px; height: 8px; background: var(--rose-400);
  transform: rotate(45deg) translateY(-2px); flex: none;
}
.article-body h3 { font-size: var(--fs-h3); margin-top: var(--sp-3); }
.article-body ul { list-style: none; display: grid; gap: var(--sp-3); }
.article-body ul li {
  position: relative; padding-left: var(--sp-5);
  font-size: 1.0625rem; color: var(--ink-soft);
}
.article-body ul li::before {
  content: ""; position: absolute; left: 4px; top: 0.62em;
  width: 7px; height: 7px; background: var(--rose-400); transform: rotate(45deg);
}
.article-body blockquote {
  border-left: 2px solid var(--rose-400);
  background: var(--color-bg-alt);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: var(--sp-5); font-size: 1.0625rem; font-style: italic;
  color: var(--ink-soft);
}
.article-body img { border-radius: var(--r-md); }
.article-body figure figcaption {
  margin-top: var(--sp-2); font-size: var(--fs-caption); color: var(--color-muted); text-align: center;
}
.key-facts {
  background: var(--rose-50); border: 1px solid var(--rose-100);
  border-radius: var(--r-md); padding: var(--sp-6);
  display: grid; gap: var(--sp-3);
}
.key-facts h3 { font-size: var(--fs-h3); }
.key-facts ul { list-style: none; display: grid; gap: var(--sp-2); }
.key-facts li { position: relative; padding-left: var(--sp-5); font-size: var(--fs-small); }
.key-facts li::before {
  content: ""; position: absolute; left: 4px; top: 0.5em;
  width: 7px; height: 7px; background: var(--rose-400); transform: rotate(45deg);
}

/* ---- 14. Contact locations -------------------------------------------------------------- */
.contact-locations { display: grid; gap: var(--sp-6); }
@media (min-width: 960px) { .contact-locations { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---- 15. Footer --------------------------------------------------------------------------- */
.site-footer {
  background: var(--coal); color: var(--on-dark-muted);
  padding-top: var(--sp-10);
}
.footer-grid { display: grid; gap: var(--sp-7); grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1120px) { .footer-grid { grid-template-columns: 2.2fr 1fr 1fr 1.6fr; gap: var(--sp-8); } }
.footer-brand { display: grid; gap: var(--sp-4); align-content: start; max-width: 380px; }
.footer-brand .brand-img { height: 64px; }
.footer-brand p { font-size: var(--fs-small); line-height: 1.8; }
.footer-title {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 500;
  letter-spacing: var(--ls-nav); text-transform: uppercase;
  color: var(--rose-300); margin-bottom: var(--sp-4);
}
.footer-links { list-style: none; display: grid; gap: var(--sp-3); }
.footer-links a { color: var(--rose-300); font-size: var(--fs-small); }
.footer-links a:hover { color: var(--rose-200); text-decoration: underline; text-underline-offset: 4px; }
.footer-contact { display: grid; gap: var(--sp-3); font-size: var(--fs-small); }
.footer-contact a { color: var(--rose-300); }
.footer-contact a:hover { color: var(--rose-200); }

/* WCAG 2.2 target size: the footer's short text links measure ~22px tall, so
   their tap area is extended invisibly instead of padding the visual layout. */
.footer-links a, .footer-contact .line a { position: relative; }
.footer-links a::after, .footer-contact .line a::after {
  content: ""; position: absolute; inset: -12px -4px;
}
.footer-contact .line { display: flex; gap: var(--sp-3); align-items: flex-start; }
.footer-contact .line svg { flex: none; margin-top: 4px; width: 15px; height: 15px; stroke: var(--rose-300); }
.hours-box {
  margin-top: var(--sp-3);
  display: flex; align-items: center; justify-content: center; gap: var(--sp-3);
  border: 1px solid var(--on-dark-line); border-radius: var(--r-sm);
  padding: var(--sp-4); font-family: var(--font-display);
  font-size: var(--fs-h4); color: var(--on-dark);
}
.hours-box svg { width: 18px; height: 18px; stroke: var(--rose-300); }
.social { display: flex; gap: var(--sp-3); }
.social a {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--on-dark-line); border-radius: 50%;
  transition: background var(--t), border-color var(--t);
}
.social a svg { width: 17px; height: 17px; fill: var(--rose-300); transition: fill var(--t); }
.social a:hover { background: var(--rose-700); border-color: var(--rose-700); }
.social a:hover svg { fill: #fff; }
.footer-bottom {
  margin-top: var(--sp-9);
  border-top: 1px solid var(--on-dark-line);
  padding-block: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6);
  align-items: center; justify-content: space-between;
  font-size: var(--fs-small);
}
.footer-bottom p { color: var(--on-dark-muted); }

/* ---- 16. 404 -------------------------------------------------------------------------------- */
.error-page {
  min-height: 60vh; display: grid; place-content: center;
  text-align: center; gap: var(--sp-4); justify-items: center;
  padding-block: var(--sp-10);
}
.error-page .display-1 { font-size: clamp(3rem, 8vw, 5.5rem); }

/* ---- 17. Admin base (minimal-clean, scoped) -------------------------------------------------- */
.admin-shell { background: var(--color-bg); min-height: 100vh; padding-block: var(--sp-6) var(--sp-9); }
.admin-shell .container { display: grid; gap: var(--sp-6); }
.admin-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--r-md); box-shadow: var(--shadow-1);
  padding: var(--sp-6);
}
.admin-card h1, .admin-card h2 { font-size: var(--fs-h2); }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.table th {
  text-align: left; padding: var(--sp-3) var(--sp-4);
  font-size: 0.72rem; font-weight: 500; letter-spacing: var(--ls-nav);
  text-transform: uppercase; color: var(--color-muted);
  border-bottom: 1px solid var(--color-border-strong);
}
.table td { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--color-border); }
.table tbody tr:hover { background: var(--rose-50); }
.table .actions-cell { display: flex; gap: var(--sp-2); }

/* ---- 18. Reduced motion ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .service-card:hover, .branch-card:hover, .article-card:hover { transform: none; }
}
