/* ==========================================================================
   JW Aesthetics & Wellbeing — Global Design System
   All pages extend base.html and use this file only.
   ========================================================================== */

:root {
  --sage-main: #3d5a52;
  --sage-soft: #5a7a6e;
  --sage-muted: #8fa89c;
  --cream-bg: #f7f4ef;
  --cream-card: #faf8f4;
  --gold-soft: #c4a882;
  --gold-light: #e8dcc8;
  --text-main: #2c3e36;
  --text-muted: #55695f;
  --gold-text: #735a32;
  --border-soft: #ddd4c4;
  --white: #ffffff;
  --shadow-soft: 0 4px 24px rgba(44, 62, 54, 0.08);
  --shadow-card: 0 2px 12px rgba(44, 62, 54, 0.06);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-serif: "Cormorant Garamond", "Cormorant Garamond Fallback", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Source Sans 3 Fallback", system-ui, -apple-system, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --container-max: 1140px;
  --header-bar-height: 64px;
  --transition: 0.25s ease;
}

/* Reset & base
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Source Sans 3 Fallback";
  src: local("Arial");
  size-adjust: 100%;
  ascent-override: 105%;
  descent-override: 35%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Cormorant Garamond Fallback";
  src: local("Georgia");
  size-adjust: 94%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--cream-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--sage-main);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--sage-soft);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-main);
  margin-top: 0;
}

p {
  margin-top: 0;
  margin-bottom: var(--space-sm);
}

ul {
  padding-left: 1.25rem;
}

/* Accessibility
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--sage-main);
  color: var(--white);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-sm);
}

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 2px;
}

/* Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

/* Header
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--cream-card);
  border-bottom: 1px solid var(--border-soft);
}

.brand-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.brand-hero:not(.brand-hero--hair) picture,
.brand-hero:not(.brand-hero--hair) > img {
  aspect-ratio: 1920 / 430;
  width: 100%;
  height: auto;
}

.header-socials {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.25rem);
  right: clamp(0.75rem, 3vw, 2rem);
  z-index: 5;
  display: flex;
  gap: 0.5rem;
}

.header-socials__link {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 248, 244, 0.82);
  border: 1px solid rgba(196, 168, 130, 0.45);
  color: var(--sage-main);
  box-shadow: 0 2px 14px rgba(44, 62, 54, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.header-socials__link:hover,
.header-socials__link:focus-visible {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(196, 168, 130, 0.65);
  box-shadow: 0 4px 18px rgba(44, 62, 54, 0.16);
  transform: translateY(-1px);
  outline: none;
}

.header-socials__icon {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}

.header-socials__icon--brand {
  overflow: visible;
}

body.is-hair-page .header-socials__link {
  background: rgba(26, 24, 20, 0.72);
  border-color: rgba(201, 162, 39, 0.42);
  color: #e8c547;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

body.is-hair-page .header-socials__link:hover,
body.is-hair-page .header-socials__link:focus-visible {
  background: rgba(36, 32, 24, 0.88);
  border-color: rgba(232, 197, 71, 0.62);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.34);
}

@media (max-width: 768px) {
  .header-socials {
    display: none;
  }
}

.brand-hero picture,
.brand-hero img {
  display: block;
  width: 100%;
}

.brand-hero:not(.brand-hero--hair) picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-hero > img {
  height: auto;
}

/* Hair header — locked height (matches established responsive header system) */
.brand-hero--hair {
  height: clamp(260px, 32vw, 430px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-hero--hair picture,
.brand-hero--hair > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.brand-hero--hair picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 768px) {
  .brand-hero--hair {
    height: clamp(180px, 45vw, 280px);
  }
}

.site-header__bar {
  background: var(--cream-card);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-card);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-bar-height);
  gap: var(--space-md);
}

.site-logo {
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__text {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 700;
  color: var(--sage-main);
  letter-spacing: 0.03em;
  line-height: 1.2;
  display: inline-block;
  padding-bottom: 0.125rem;
  border-bottom: 2px solid rgba(196, 168, 130, 0.5);
}

/* Navigation
   -------------------------------------------------------------------------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--sage-main);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-active {
  color: var(--sage-main);
  background: rgba(61, 90, 82, 0.06);
}

.site-nav__cta {
  margin-left: 0.25rem;
}

/* Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn--primary {
  background: var(--sage-main);
  color: var(--white);
  border-color: var(--sage-main);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--sage-soft);
  border-color: var(--sage-soft);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn--secondary {
  background: var(--white);
  color: var(--sage-main);
  border-color: var(--border-soft);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: var(--cream-card);
  border-color: var(--gold-soft);
  color: var(--sage-main);
}

/* Main content sections
   -------------------------------------------------------------------------- */
.site-main {
  min-height: 50vh;
}

.section {
  padding: var(--space-xl) 0;
}

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

.section--soft {
  background: linear-gradient(180deg, var(--cream-bg) 0%, rgba(143, 168, 156, 0.08) 100%);
}

.section--cta {
  background: var(--sage-main);
  color: var(--white);
}

.section--cta .section__title,
.section--cta .section__lead,
.section--cta a:not(.btn) {
  color: var(--white);
}

.section--cta .btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.section--cta .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: var(--space-sm);
}

.section__subtitle {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.section__lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: var(--space-xs);
}

/* Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--cream-card) 0%, rgba(196, 168, 130, 0.12) 100%);
  border-bottom: 1px solid var(--border-soft);
}

.hero.has-sub-header-bg {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream-card) 0%, rgba(196, 168, 130, 0.12) 100%);
  min-height: clamp(18rem, 42vw, 24rem);
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero.has-sub-header-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(247, 244, 239, 0.82), rgba(247, 244, 239, 0.82));
  z-index: 1;
  pointer-events: none;
}

.hero.has-sub-header-bg .hero__inner {
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  max-width: 18ch;
  margin-bottom: var(--space-md);
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero__actions--center {
  justify-content: center;
}

/* Page header
   -------------------------------------------------------------------------- */
.page-header {
  padding: var(--space-lg) 0 var(--space-md);
  background: var(--cream-card);
  border-bottom: 1px solid var(--border-soft);
}

.page-header__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: var(--space-xs);
}

.page-header__lead {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin: 0;
}

/* Trust grid
   -------------------------------------------------------------------------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.trust-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
}

.trust-card__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
  color: var(--sage-main);
}

.trust-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.975rem;
}

/* Preview cards
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.preview-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.preview-card:hover,
.preview-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: var(--gold-soft);
  color: inherit;
}

.preview-card__title {
  font-size: 1.25rem;
  color: var(--sage-main);
  margin-bottom: var(--space-xs);
}

.preview-card p {
  color: var(--text-muted);
  font-size: 0.975rem;
  margin-bottom: var(--space-sm);
}

.preview-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Slideshow
   -------------------------------------------------------------------------- */
.slideshow {
  max-width: 800px;
  margin: var(--space-lg) auto 0;
}

.slideshow__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  background: var(--cream-card);
  min-height: min(480px, 75vw);
}

.slideshow__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  margin: 0 auto;
  opacity: 1;
  transition: opacity 0.75s ease-in-out;
}

.slideshow__image.is-fading {
  opacity: 0;
}

.slideshow__caption {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: var(--space-sm);
}

.slideshow__placeholder {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: var(--white);
  border: 1px dashed var(--border-soft);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

/* Client reviews
   -------------------------------------------------------------------------- */
.reviews-section__intro {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.reviews-summary {
  max-width: 420px;
  margin: var(--space-lg) auto;
  padding: var(--space-lg);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.reviews-summary__score {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--sage-main);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.reviews-stars {
  color: var(--gold-text);
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  line-height: 1;
}

.reviews-summary__count {
  margin: var(--space-sm) 0 var(--space-xs);
  font-weight: 600;
  color: var(--text-main);
}

.reviews-summary__note {
  margin: 0 0 var(--space-md);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.reviews-summary__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.reviews-grid {
  display: none;
}

.reviews-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-width: 0;
}

.reviews-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-soft);
  color: var(--sage-main);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.reviews-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.reviews-card__date {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.reviews-carousel {
  --reviews-per-view: 1;
  --reviews-gap: var(--space-md);
  --reviews-slide-width: 100%;
  max-width: 1080px;
  margin: var(--space-lg) auto 0;
}

@media (min-width: 768px) {
  .reviews-carousel {
    --reviews-per-view: 2;
  }
}

@media (min-width: 1024px) {
  .reviews-carousel {
    --reviews-per-view: 3;
  }
}

.reviews-carousel__viewport {
  overflow: hidden;
  padding-bottom: var(--space-sm);
}

.reviews-carousel__track {
  display: flex;
  gap: var(--reviews-gap);
  align-items: stretch;
  transition: transform 0.65s ease-in-out;
  will-change: transform;
}

.reviews-carousel__slide {
  flex: 0 0 var(--reviews-slide-width);
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  align-self: stretch;
  overflow: visible;
}

.reviews-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.reviews-carousel:not(.is-enhanced) .reviews-carousel__controls {
  display: none;
}

.reviews-carousel.is-enhanced .reviews-carousel__controls {
  display: flex;
}

.reviews-card {
  margin: 0;
  width: 100%;
  min-height: 220px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  background: var(--cream-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.reviews-card--placeholder {
  max-width: 720px;
  margin: var(--space-lg) auto 0;
}

.reviews-card__stars {
  margin-bottom: var(--space-xs);
  flex-shrink: 0;
}

.reviews-card__quote {
  margin: 0 0 var(--space-sm);
  padding: 0;
  border: none;
  flex: 1 1 auto;
  min-height: calc(0.9375rem * 1.55 * 4);
}

.reviews-card__quote p {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--text-main);
  margin: 0;
  overflow-wrap: anywhere;
  min-height: calc(0.9375rem * 1.55 * 4);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.reviews-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs);
  padding-top: var(--space-xs);
  margin-top: auto;
  flex-shrink: 0;
  border-top: 1px solid var(--border-soft);
}

.reviews-card__name {
  font-style: normal;
  font-weight: 600;
  color: var(--sage-main);
  font-size: 0.875rem;
}

.reviews-card__source {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.reviews-carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  background: var(--white);
  color: var(--sage-main);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.reviews-carousel__btn:hover,
.reviews-carousel__btn:focus-visible {
  border-color: var(--gold-soft);
  background: var(--cream-card);
  color: var(--sage-main);
}

.reviews-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.reviews-carousel__dot {
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.reviews-carousel__dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-light);
  transition: background var(--transition), transform var(--transition);
}

.reviews-carousel__dot.is-active::before {
  background: var(--gold-soft);
  transform: scale(1.15);
}

.reviews-carousel__dot:hover::before,
.reviews-carousel__dot:focus-visible::before {
  background: var(--gold-soft);
}

/* Treatments
   -------------------------------------------------------------------------- */
.treatment-group {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-soft);
}

.treatment-group:last-of-type {
  border-bottom: none;
}

.treatment-group__title {
  font-size: 1.75rem;
  color: var(--sage-main);
  margin-bottom: var(--space-md);
  scroll-margin-top: calc(var(--header-bar-height) + 1rem);
}

.treatment-group__subtitle {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: var(--space-md) 0 var(--space-sm);
}

.price-list {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-md);
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-soft);
}

.price-row:last-child {
  border-bottom: none;
}

.price-row:nth-child(even) {
  background: var(--cream-card);
}

.price-row__name {
  flex: 1;
}

.price-row__price {
  font-weight: 600;
  color: var(--sage-main);
  white-space: nowrap;
}

.price-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.975rem;
}

.price-table th,
.price-table td {
  padding: 0.875rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}

.price-table th {
  background: var(--sage-main);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.price-table tbody tr:nth-child(even) {
  background: var(--cream-card);
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

.disclaimer-box {
  background: rgba(196, 168, 130, 0.12);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: var(--space-lg) 0;
  color: var(--text-muted);
  font-size: 0.975rem;
}

.disclaimer-box p {
  margin: 0;
}

.disclaimer-box__lead {
  margin-bottom: var(--space-sm);
}

.disclaimer-box__intro {
  margin-bottom: var(--space-md);
  color: var(--text-main);
  line-height: 1.6;
}

.disclaimer-box__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .disclaimer-box__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

.disclaimer-box__card {
  padding: var(--space-sm) var(--space-md);
  background: var(--cream-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
}

.disclaimer-box__card-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--sage-main);
  margin: 0 0 var(--space-xs);
}

.disclaimer-box__card p {
  font-size: 0.9375rem;
  line-height: 1.55;
}

.section-cta-inline {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

/* About page layout
   -------------------------------------------------------------------------- */
.about-layout {
  max-width: 1080px;
}

.about-layout::after {
  content: "";
  display: table;
  clear: both;
}

.about-layout__photo {
  width: 100%;
  max-width: 360px;
  margin: 0 auto var(--space-lg);
}

.about-layout__bio {
  max-width: none;
}

.about-layout__bio.prose p {
  max-width: 72ch;
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.about-layout__bio.prose p:last-of-type {
  margin-bottom: var(--space-lg);
}

.about-layout__actions.section-cta-inline {
  clear: both;
  justify-content: center;
  margin-top: var(--space-md);
}

.about-photo-card {
  background: var(--cream-card);
  border: 1px solid rgba(196, 168, 130, 0.4);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.about-photo-card__image {
  display: block;
  width: 100%;
  height: 480px;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
}

.about-photo-card__caption {
  margin: 0;
  padding: 0.625rem var(--space-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  color: var(--sage-main);
  background: var(--cream-card);
  border-top: 1px solid rgba(196, 168, 130, 0.35);
}

.about-photo-card--placeholder {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9375rem;
  border: 1px dashed var(--border-soft);
  background: var(--cream-card);
}

.about-photo-card--placeholder p {
  margin: 0;
}

@media (min-width: 801px) {
  .about-layout__photo {
    float: right;
    width: min(100%, 400px);
    max-width: clamp(340px, 28vw, 420px);
    margin: 0 0 var(--space-md) clamp(1.5rem, 4vw, 3rem);
  }

  .about-layout__bio.prose p {
    max-width: none;
  }
}

@media (max-width: 800px) {
  .about-layout__photo {
    max-width: 360px;
  }

  .about-photo-card__image {
    height: 420px;
    max-height: 460px;
  }

  .about-layout__bio.prose p {
    max-width: none;
  }
}

/* Prose / legal
   -------------------------------------------------------------------------- */
.prose h2 {
  font-size: 1.375rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--sage-main);
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.legal-note {
  background: var(--cream-card);
  border-left: 3px solid var(--gold-soft);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

/* Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
}

.contact-card--highlight {
  background: linear-gradient(145deg, var(--cream-card) 0%, rgba(143, 168, 156, 0.15) 100%);
  border-color: var(--gold-light);
}

.contact-card__title {
  font-size: 1.125rem;
  color: var(--sage-main);
  margin-bottom: var(--space-xs);
}

.contact-card__link {
  font-weight: 500;
  text-decoration: none;
}

.contact-card__link:hover {
  text-decoration: underline;
}

.contact-snippet {
  margin-top: var(--space-md);
  font-size: 0.975rem;
}

.contact-snippet a {
  color: rgba(255, 255, 255, 0.95);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  margin-top: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
  color: var(--text-main);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--cream-bg);
  color: var(--text-main);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage-soft);
  box-shadow: 0 0 0 3px rgba(61, 90, 82, 0.12);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
  margin-bottom: 0;
}

/* Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--sage-main);
  color: rgba(255, 255, 255, 0.95);
  margin-top: var(--space-xl);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  padding: var(--space-xl) var(--space-md);
}

.site-footer__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.site-footer__location,
.site-footer__contact {
  font-size: 0.9375rem;
  margin-bottom: var(--space-xs);
}

.site-footer__heading {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-sm);
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  font-size: 0.9375rem;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--space-md) 0;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.92);
}

.site-footer__bottom p {
  margin: 0;
}

/* Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-card);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .site-header__bar {
    position: relative;
  }

  .site-header__inner {
    position: relative;
    flex-wrap: wrap;
  }

  .site-nav.is-open {
    max-height: 420px;
    opacity: 1;
    visibility: visible;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-sm) var(--space-md) var(--space-md);
  }

  .site-nav__link {
    padding: 0.75rem 1rem;
  }

  .site-nav__cta {
    margin-left: 0;
    text-align: center;
  }

  .site-logo__text {
    font-size: clamp(1.15rem, 4.8vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 0.025em;
  }

  .hero {
    padding: var(--space-lg) 0;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .price-row {
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
  }

  .price-table {
    font-size: 0.875rem;
  }

  .price-table th,
  .price-table td {
    padding: 0.75rem;
  }
}

@media (min-width: 769px) {
  .site-header__inner {
    position: relative;
  }

  .site-nav {
    position: static;
    max-height: none;
    opacity: 1;
    visibility: visible;
    overflow: visible;
    flex-shrink: 1;
    min-width: 0;
  }

  .site-nav__list {
    flex-wrap: nowrap;
  }

  .site-nav__list > li {
    flex-shrink: 0;
  }

  .site-nav__link {
    white-space: nowrap;
  }

  .site-nav .site-nav__cta.btn {
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
  }
}

/* ==========================================================================
   Hair Health & Restoration — scoped page theme (hair page only)
   ========================================================================== */

.hair-page {
  --hair-bg: #1a1814;
  --hair-bg-alt: #242018;
  --hair-card-bg: rgba(36, 32, 24, 0.85);
  --hair-cream: #f5f0e6;
  --hair-text: #f0ebe0;
  --hair-text-muted: #c4b8a4;
  --hair-gold: #c9a227;
  --hair-gold-light: #e8c547;
  --hair-amber: #d4a017;
  --hair-bronze: #8b6914;
  --hair-border: rgba(201, 162, 39, 0.25);
  --hair-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  background: var(--hair-bg);
  color: var(--hair-text);
}

.hair-page .text-center {
  text-align: center;
}

.hair-hero {
  padding: var(--space-xl) 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 162, 39, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--hair-bg-alt) 0%, var(--hair-bg) 100%);
  border-bottom: 1px solid var(--hair-border);
}

.hair-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: var(--space-xl);
  align-items: center;
}

.hair-hero__content {
  min-width: 0;
}

.hair-hero__promo {
  min-width: 0;
  display: flex;
  justify-content: center;
}

.hair-promo-slider {
  background: var(--hair-card-bg);
  border: 1px solid var(--hair-border);
  border-radius: 12px;
  box-shadow: var(--hair-shadow), 0 0 48px rgba(201, 162, 39, 0.1);
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1535 / 1024;
  height: auto;
}

.hair-promo-slider__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hair-promo-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
  overflow: hidden;
}

.hair-promo-slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.hair-promo-slider--single .hair-promo-slide,
.hair-promo-slide:only-child {
  opacity: 1;
  transition: none;
  z-index: 1;
}

.hair-promo-slide__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  max-width: none;
}

.hair-promo-slider__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: var(--space-lg);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201, 162, 39, 0.08) 0%, transparent 70%),
    var(--hair-card-bg);
  text-align: center;
}

.hair-promo-slider__placeholder p {
  margin: 0;
  color: var(--hair-text-muted);
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}

.hair-hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hair-gold-light);
  margin-bottom: var(--space-xs);
}

.hair-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--hair-cream);
  max-width: 20ch;
  margin-bottom: var(--space-md);
  line-height: 1.2;
  white-space: pre-line;
}

.hair-hero__lead {
  font-size: 1.125rem;
  color: var(--hair-text-muted);
  max-width: 52ch;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.hair-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hair-hero__actions--center {
  justify-content: center;
}

.hair-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.hair-btn--primary {
  background: linear-gradient(135deg, var(--hair-gold) 0%, var(--hair-amber) 100%);
  color: #1a1814;
  border-color: var(--hair-gold);
}

.hair-btn--primary:hover,
.hair-btn--primary:focus-visible {
  background: linear-gradient(135deg, var(--hair-gold-light) 0%, var(--hair-gold) 100%);
  border-color: var(--hair-gold-light);
  color: #1a1814;
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.35);
}

.hair-btn--secondary {
  background: transparent;
  color: var(--hair-cream);
  border-color: var(--hair-border);
}

.hair-btn--secondary:hover,
.hair-btn--secondary:focus-visible {
  background: rgba(201, 162, 39, 0.1);
  border-color: var(--hair-gold);
  color: var(--hair-gold-light);
}

.hair-section {
  padding: var(--space-xl) 0;
}

.hair-section--alt {
  background: var(--hair-bg-alt);
}

.hair-section--cta {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(201, 162, 39, 0.15) 0%, transparent 55%),
    var(--hair-bg-alt);
  border-top: 1px solid var(--hair-border);
}

.hair-section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
  color: var(--hair-cream);
  margin-bottom: var(--space-sm);
}

.hair-section__lead {
  font-size: 1.0625rem;
  color: var(--hair-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.hair-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.hair-card {
  background: var(--hair-card-bg);
  border: 1px solid var(--hair-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--hair-shadow);
}

.hair-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--hair-gold-light);
  margin-bottom: var(--space-xs);
}

.hair-card p {
  color: var(--hair-text-muted);
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.65;
}

.hair-services-list {
  list-style: none;
  margin: var(--space-lg) auto 0;
  padding: 0;
  max-width: 640px;
  display: grid;
  gap: var(--space-sm);
}

.hair-services-list__item {
  background: var(--hair-card-bg);
  border: 1px solid var(--hair-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: var(--hair-text);
  font-size: 1rem;
  position: relative;
  padding-left: 2.5rem;
}

.hair-services-list__item::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hair-gold);
  box-shadow: 0 0 8px rgba(201, 162, 39, 0.5);
}

.hair-services-note {
  margin-top: var(--space-md);
  font-size: 0.9375rem;
  color: var(--hair-text-muted);
  font-style: italic;
}

.hair-norwood {
  margin-top: var(--space-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hair-norwood__image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--hair-border);
  box-shadow: var(--hair-shadow);
}

.hair-norwood__placeholder {
  background: var(--hair-card-bg);
  border: 1px dashed var(--hair-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
}

.hair-norwood__placeholder p {
  margin: 0;
  color: var(--hair-text-muted);
  font-size: 1rem;
}

.hair-page .container.narrow {
  max-width: 720px;
}

@media (min-width: 769px) {
  .hair-hero__promo .hair-promo-slider {
    margin-left: auto;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .site-nav.is-open {
    max-height: 480px;
  }

  .hair-hero {
    padding: var(--space-lg) 0;
  }

  .hair-hero__layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hair-section {
    padding: var(--space-lg) 0;
  }

  .hair-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hair-promo-slider__frame,
  .hair-promo-slider__placeholder {
    min-height: 0;
    height: 100%;
  }

  .hair-btn {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   Hair page shell — nav, footer & header bar (body.is-hair-page only)
   ========================================================================== */

body.is-hair-page {
  --hair-shell-bg: #1a1814;
  --hair-shell-bg-alt: #242018;
  --hair-shell-cream: #f5f0e6;
  --hair-shell-text: #f0ebe0;
  --hair-shell-text-muted: #c4b8a4;
  --hair-shell-gold: #c9a227;
  --hair-shell-gold-light: #e8c547;
  --hair-shell-amber: #d4a017;
  --hair-shell-border: rgba(201, 162, 39, 0.25);
}

body.is-hair-page .site-header__bar {
  background: var(--hair-shell-bg-alt);
  border-bottom-color: var(--hair-shell-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

body.is-hair-page .site-logo__text {
  color: var(--hair-shell-cream);
  border-bottom-color: rgba(201, 162, 39, 0.55);
}

body.is-hair-page .nav-toggle {
  background: var(--hair-shell-bg);
  border-color: var(--hair-shell-border);
}

body.is-hair-page .nav-toggle__bar {
  background: var(--hair-shell-gold-light);
}

body.is-hair-page .site-nav__link {
  color: var(--hair-shell-text-muted);
}

body.is-hair-page .site-nav__link:hover,
body.is-hair-page .site-nav__link:focus-visible,
body.is-hair-page .site-nav__link.is-active {
  color: var(--hair-shell-gold-light);
  background: rgba(201, 162, 39, 0.12);
}

body.is-hair-page .site-nav .site-nav__cta.btn {
  background: linear-gradient(135deg, var(--hair-shell-gold) 0%, var(--hair-shell-amber) 100%);
  color: var(--hair-shell-bg);
  border-color: var(--hair-shell-gold);
}

body.is-hair-page .site-nav .site-nav__cta.btn:hover,
body.is-hair-page .site-nav .site-nav__cta.btn:focus-visible {
  background: linear-gradient(135deg, var(--hair-shell-gold-light) 0%, var(--hair-shell-gold) 100%);
  border-color: var(--hair-shell-gold-light);
  color: var(--hair-shell-bg);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.3);
}

body.is-hair-page .site-footer {
  background: var(--hair-shell-bg);
  color: var(--hair-shell-text-muted);
  margin-top: 0;
}

body.is-hair-page .site-footer a {
  color: var(--hair-shell-cream);
}

body.is-hair-page .site-footer a:hover,
body.is-hair-page .site-footer a:focus-visible {
  color: var(--hair-shell-gold-light);
}

body.is-hair-page .site-footer__name {
  color: var(--hair-shell-cream);
}

body.is-hair-page .site-footer__heading {
  color: var(--hair-shell-gold-light);
}

body.is-hair-page .site-footer__bottom {
  border-top-color: var(--hair-shell-border);
  color: var(--hair-shell-text-muted);
}

@media (max-width: 768px) {
  body.is-hair-page .site-nav {
    background: var(--hair-shell-bg-alt);
    border-bottom-color: var(--hair-shell-border);
  }
}
