/* ============================================================
   MEDIPRO CLINICS - Design System & Stylesheet
   Medical Aesthetics Clinic
   Mobile-first responsive design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
   ------------------------------------------------------------ */

:root {
  /* Brand Colors - Official Brand Guidelines */
  --color-primary: #3C4C3D;
  --color-gold: #B8963E;
  --color-gold-dark: #8B7335;
  --color-sage: #C8D5C9;
  --color-sage-light: #E8EDE9;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-text: #3C4C3D;
  --color-text-light: #5A6B5F;
  --color-border: #D5DDD7;

  /* Derived Colors */
  --color-primary-hover: #4A5D4B;
  --color-primary-active: #2E3B2F;
  --color-overlay: rgba(60, 76, 61, 0.65);
  --color-shadow: rgba(60, 76, 61, 0.08);
  --color-shadow-hover: rgba(60, 76, 61, 0.16);
  --color-focus-ring: rgba(184, 150, 62, 0.3);

  /* Typography - Montserrat (nav/labels) + Cormorant Garamond (display headings) + Lora (body) */
  --font-family: 'Lora', Georgia, 'Times New Roman', serif;
  --font-heading: 'Montserrat', 'Century Gothic', sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-size-base: 16px;
  --font-size-body: 17px;
  --font-size-small: 14px;
  --font-size-h1: 30px;
  --font-size-h2: 24px;
  --font-size-h3: 19px;
  --line-height-body: 1.7;
  --line-height-h1: 1.2;
  --line-height-h2: 1.25;
  --line-height-h3: 1.3;

  /* Spacing */
  --section-padding: 60px;
  --container-max: 1200px;
  --container-padding: 24px;
  --text-max-width: 680px;
  --card-radius: 12px;
  --btn-radius: 7px;

  /* Transitions */
  --transition-base: 0.3s ease;
  --transition-fast: 0.2s ease;

  /* Z-index Scale */
  --z-header: 1000;
  --z-mobile-nav: 1050;
  --z-dropdown: 998;
  --z-overlay: 997;
}

/* Desktop typography overrides */
@media (min-width: 1024px) {
  :root {
    --font-size-body: 17px;
    --font-size-h1: 42px;
    --font-size-h2: 32px;
    --font-size-h3: 22px;
    --section-padding: 100px;
  }
}


/* ------------------------------------------------------------
   2. MODERN CSS RESET
   ------------------------------------------------------------ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-body);
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

p {
  overflow-wrap: break-word;
}

table {
  border-collapse: collapse;
  width: 100%;
}

fieldset {
  border: none;
}

::selection {
  background-color: var(--color-sage);
  color: var(--color-primary);
}

::-moz-selection {
  background-color: var(--color-sage);
  color: var(--color-primary);
}


/* ------------------------------------------------------------
   3. BASE TYPOGRAPHY
   ------------------------------------------------------------ */

h1 {
  font-size: var(--font-size-h1);
  font-weight: 700;
  line-height: var(--line-height-h1);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: 700;
  line-height: var(--line-height-h2);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: 600;
  line-height: var(--line-height-h3);
  margin-bottom: 16px;
}

h4 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}

p {
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  margin-bottom: 16px;
  color: var(--color-text);
}

p:last-child {
  margin-bottom: 0;
}

p.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--color-text-light);
}

@media (min-width: 1024px) {
  p.lead {
    font-size: 21px;
  }
}

small,
.text-small {
  font-size: var(--font-size-small);
  line-height: 1.5;
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

a:not(.btn) {
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

a:not(.btn):hover {
  color: var(--color-primary-hover);
}

a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

blockquote {
  border-left: 3px solid var(--color-sage);
  padding-left: 24px;
  margin: 24px 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-light);
  font-style: italic;
}


/* ------------------------------------------------------------
   4. LAYOUT
   ------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container--narrow {
  max-width: var(--text-max-width);
}

.container--wide {
  max-width: 1400px;
}

.text-column {
  max-width: var(--text-max-width);
}

.text-column--centered {
  max-width: var(--text-max-width);
  margin-left: auto;
  margin-right: auto;
}


/* ------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--btn-radius);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color var(--transition-base),
              color var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-fast);
  white-space: nowrap;
}

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

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

/* Primary Button */
.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: 0 4px 12px var(--color-shadow-hover);
}

.btn--primary:active {
  background-color: var(--color-primary-active);
  border-color: var(--color-primary-active);
}

/* Secondary Button */
.btn--secondary {
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--secondary:hover {
  background-color: var(--color-sage-light);
  box-shadow: 0 4px 12px var(--color-shadow);
}

.btn--secondary:active {
  background-color: var(--color-sage);
}

/* White Button (for dark backgrounds) */
.btn--white {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn--white:hover {
  background-color: var(--color-sage-light);
  border-color: var(--color-sage-light);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

/* Small Button */
.btn--small {
  padding: 10px 24px;
  font-size: 13px;
}

/* Large Button */
.btn--large {
  padding: 18px 40px;
  font-size: 16px;
}

/* Full Width Button */
.btn--full {
  width: 100%;
}

/* Button Group */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-group--center {
  justify-content: center;
}

/* Non-BEM button aliases (used in HTML templates) */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: 0 4px 12px var(--color-shadow-hover);
}

.btn-primary:active {
  background-color: var(--color-primary-active);
  border-color: var(--color-primary-active);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-sage-light);
  box-shadow: 0 4px 12px var(--color-shadow);
}

.btn-secondary:active {
  background-color: var(--color-sage);
}

/* Nav CTA button - gold accent */
.nav-cta {
  background-color: var(--color-gold) !important;
  color: var(--color-white) !important;
  border-color: var(--color-gold) !important;
}

.nav-cta:hover {
  background-color: var(--color-gold-dark) !important;
  border-color: var(--color-gold-dark) !important;
  box-shadow: 0 4px 12px rgba(184, 150, 62, 0.25);
}


/* ------------------------------------------------------------
   6. HEADER / NAVIGATION
   ------------------------------------------------------------ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  isolation: isolate;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base);
}


/* ------------------------------------------------------------
   7. HERO SECTIONS
   ------------------------------------------------------------ */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 120px var(--container-padding) 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(60, 76, 61, 0.55) 0%,
    rgba(60, 76, 61, 0.7) 50%,
    rgba(60, 76, 61, 0.8) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.hero h1,
.hero__title {
  color: var(--color-white);
  font-size: var(--font-size-h1);
  font-weight: 700;
  line-height: var(--line-height-h1);
  margin-bottom: 20px;
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 52px;
  }
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 36px;
}

@media (min-width: 1024px) {
  .hero__subtitle {
    font-size: 20px;
  }
}

.hero .btn-group {
  justify-content: center;
}

/* Compact Hero (Inner Pages) */
.hero-compact {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 120px var(--container-padding) 60px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-compact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(60, 76, 61, 0.5) 0%,
    rgba(60, 76, 61, 0.7) 100%
  );
  z-index: 1;
}

.hero-compact .hero-inner {
  position: relative;
  z-index: 2;
}

.hero-compact h1 {
  color: var(--color-white);
  margin-bottom: 12px;
}

.hero-compact p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* Breadcrumb in hero */
.hero__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.hero__breadcrumb a:hover {
  color: var(--color-white);
}

.hero__breadcrumb-separator {
  color: rgba(255, 255, 255, 0.4);
}


/* ------------------------------------------------------------
   8. SECTIONS
   ------------------------------------------------------------ */

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

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

.section--sage {
  background-color: var(--color-sage-light);
}

.section--sage-medium {
  background-color: var(--color-sage);
}

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.85);
}

.section--dark a:not(.btn) {
  color: var(--color-sage);
}

.section--dark a:not(.btn):hover {
  color: var(--color-white);
}

.section__header {
  text-align: center;
  max-width: var(--text-max-width);
  margin: 0 auto 48px;
}

.section__header h2 {
  margin-bottom: 16px;
}

.section__header p {
  color: var(--color-text-light);
  font-size: 17px;
}

.section--dark .section__header p {
  color: rgba(255, 255, 255, 0.8);
}

.section__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 12px;
}

.section--dark .section__label {
  color: var(--color-gold);
}

/* Spacer between header content and section body */
.section + .section {
  border-top: none;
}


/* ------------------------------------------------------------
   9. CARDS
   ------------------------------------------------------------ */

/* Base Card */
.card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 32px;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
  box-shadow: 0 8px 30px var(--color-shadow-hover);
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

.card-grid--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .card-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .card-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Credential Card */
.credential-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.credential-card:hover {
  box-shadow: 0 6px 24px var(--color-shadow-hover);
  transform: translateY(-2px);
}

.credential-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background-color: rgba(184, 150, 62, 0.1);
  border-radius: 50%;
}

.credential-card__icon img,
.credential-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-gold);
}

.credential-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.credential-card__text {
  font-size: var(--font-size-small);
  color: var(--color-text-light);
  line-height: 1.5;
}


/* ------------------------------------------------------------
   10. ABOUT SECTION (TWO-COLUMN LAYOUT)
   ------------------------------------------------------------ */

.about {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .about {
    flex-direction: row;
    gap: 60px;
  }
}

@media (min-width: 1024px) {
  .about {
    gap: 80px;
  }
}

.about__image {
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .about__image {
    width: 45%;
  }
}

.about__image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.about__content {
  width: 100%;
}

@media (min-width: 768px) {
  .about__content {
    width: 55%;
  }
}

.about__content h2 {
  margin-bottom: 20px;
}

.about__content p {
  margin-bottom: 16px;
}

/* Reverse layout variant */
.about--reverse {
  flex-direction: column;
}

@media (min-width: 768px) {
  .about--reverse {
    flex-direction: row-reverse;
  }
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .stats-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat {
  text-align: center;
}

.stat__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-gold-dark);
  line-height: 1.2;
  margin-bottom: 4px;
}

@media (min-width: 1024px) {
  .stat__number {
    font-size: 36px;
  }
}

.stat__label {
  font-size: var(--font-size-small);
  color: var(--color-text-light);
  font-weight: 500;
}


/* ------------------------------------------------------------
   11. TREATMENT CARDS
   ------------------------------------------------------------ */

.treatment-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.treatment-card:hover {
  box-shadow: 0 12px 36px var(--color-shadow-hover);
  transform: translateY(-4px);
}

.treatment-card__image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .treatment-card__image {
    height: 260px;
  }
}

.treatment-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.treatment-card:hover .treatment-card__image img {
  transform: scale(1.04);
}

.treatment-card__body {
  padding: 24px;
}

@media (min-width: 1024px) {
  .treatment-card__body {
    padding: 28px;
  }
}

.treatment-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

@media (min-width: 1024px) {
  .treatment-card__title {
    font-size: 20px;
  }
}

.treatment-card__description {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.treatment-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: gap var(--transition-base), color var(--transition-fast);
}

.treatment-card__link:hover {
  gap: 10px;
  color: var(--color-primary-hover);
}

.treatment-card__link::after {
  content: '\2192';
  font-size: 16px;
  transition: transform var(--transition-base);
}

.treatment-card:hover .treatment-card__link::after {
  transform: translateX(2px);
}


/* ------------------------------------------------------------
   12. PRICE TABLE
   ------------------------------------------------------------ */

/* Price Tables Layout */
.price-tables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .price-tables {
    grid-template-columns: repeat(2, 1fr);
  }
}

.price-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  overflow: hidden;
}

.price-card h3 {
  padding: 20px 24px;
  margin-bottom: 0;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 16px;
  letter-spacing: 0.5px;
}

.price-card .price-table {
  min-width: auto;
}

.price-card .price-table thead th {
  display: none;
}

.price-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
}

.price-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
}

.price-table thead th {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px 20px;
  text-align: left;
  white-space: nowrap;
}

.price-table thead th:last-child {
  text-align: right;
}

.price-table tbody td {
  padding: 14px 20px;
  font-size: 15px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.price-table tbody td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

.price-table tbody tr:nth-child(even) {
  background-color: var(--color-sage-light);
}

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

/* Category Header Row */
.price-table__category td {
  background-color: var(--color-sage);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  padding: 12px 20px;
}

.price-table tbody tr:hover {
  background-color: var(--color-sage-light);
}

/* Mobile Card Layout for Price Table */
@media (max-width: 767px) {
  .price-table-wrapper--responsive {
    overflow-x: visible;
    border: none;
    border-radius: 0;
  }

  .price-table--cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: unset;
  }

  .price-table--cards thead {
    display: none;
  }

  .price-table--cards tbody {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .price-table--cards tbody tr {
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 16px;
  }

  .price-table--cards tbody tr:nth-child(even) {
    background-color: var(--color-white);
  }

  .price-table--cards tbody td {
    padding: 4px 0;
    border-bottom: none;
    text-align: left;
  }

  .price-table--cards tbody td:last-child {
    text-align: left;
    font-size: 17px;
    padding-top: 8px;
    margin-top: 4px;
    border-top: 1px solid var(--color-border);
  }

  .price-table--cards tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
    margin-bottom: 2px;
  }

  .price-table--cards .price-table__category td {
    text-align: center;
    border: none;
    border-radius: 8px;
  }

  .price-table--cards .price-table__category td::before {
    display: none;
  }
}


/* ------------------------------------------------------------
   13. CONTACT FORM
   ------------------------------------------------------------ */

.form {
  max-width: 600px;
}

.form--centered {
  margin-left: auto;
  margin-right: auto;
}

.form__group {
  margin-bottom: 24px;
}

.form__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.form__label--required::after {
  content: ' *';
  color: #C0392B;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-family);
  font-size: 15px;
  color: var(--color-text);
  background-color: var(--color-white);
  border: 1.5px solid var(--color-sage);
  border-radius: 6px;
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form__input:hover,
.form__select:hover,
.form__textarea:hover {
  border-color: var(--color-text-light);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-focus-ring);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-text-light);
  opacity: 0.7;
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232C3E33' d='M1.41 0L6 4.58 10.59 0 12 1.41 6 7.41 0 1.41z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.form__row .form__group {
  margin-bottom: 0;
}

.form__helper {
  display: block;
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 6px;
}

.form__error {
  display: block;
  font-size: 13px;
  color: #C0392B;
  margin-top: 6px;
}

.form__input--error,
.form__textarea--error,
.form__select--error {
  border-color: #C0392B;
}

.form__input--error:focus,
.form__textarea--error:focus,
.form__select--error:focus {
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
}

/* Checkbox / Radio */
.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.form__checkbox input[type="checkbox"],
.form__checkbox input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

.form__checkbox span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
}

/* Submit Button */
.form__submit {
  margin-top: 8px;
}

/* Contact Page Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

/* Simple form classes (used in templates) */
.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.form-group {
  margin-bottom: 24px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-family);
  font-size: 15px;
  color: var(--color-text);
  background-color: var(--color-white);
  border: 1.5px solid var(--color-sage);
  border-radius: 6px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-focus-ring);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-light);
  opacity: 0.7;
}

/* Contact Info Card */
.contact-info-card {
  background-color: var(--color-sage-light);
  border-radius: var(--card-radius);
  padding: 40px 32px;
}

.contact-info-card h2 {
  margin-bottom: 28px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-info-item:last-of-type {
  margin-bottom: 0;
}

.contact-info-item svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--color-gold);
}

.contact-info-item h4 {
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 15px;
  line-height: 1.6;
}


/* ------------------------------------------------------------
   14. CTA SECTIONS
   ------------------------------------------------------------ */

.cta {
  padding: var(--section-padding) 0;
  text-align: center;
}

.cta--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

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

.cta__inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.cta__title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  line-height: var(--line-height-h2);
  margin-bottom: 16px;
}

.cta--dark .cta__title {
  color: var(--color-white);
}

.cta__text {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.cta--dark .cta__text {
  color: rgba(255, 255, 255, 0.85);
}

.cta .btn-group {
  justify-content: center;
}


/* ------------------------------------------------------------
   15. FOOTER
   ------------------------------------------------------------ */

.footer {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

.footer__heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer__about-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer__logo {
  margin-bottom: 16px;
}

.footer__logo img {
  height: 45px;
  width: auto;
}

/* Footer Links */
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-white);
}

/* Footer Contact */
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer__contact-item svg,
.footer__contact-item img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.7;
}

.footer__contact-item a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer__contact-item a:hover {
  color: var(--color-white);
}

/* Footer Hours */
.footer__hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer__hours-day {
  font-weight: 500;
}

/* Social Icons */
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.footer__social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

/* Footer Bottom Bar */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

.footer__bottom-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer__bottom-link:hover {
  color: rgba(255, 255, 255, 0.8);
}


/* ------------------------------------------------------------
   16. TESTIMONIALS
   ------------------------------------------------------------ */

.testimonial {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 32px;
  position: relative;
}

.testimonial__quote-mark {
  font-size: 48px;
  line-height: 1;
  color: var(--color-sage);
  font-weight: 700;
  margin-bottom: 12px;
}

.testimonial__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
}

.testimonial__role {
  font-size: 13px;
  color: var(--color-text-light);
}

.testimonial__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: #D4A843;
  font-size: 16px;
}


/* ------------------------------------------------------------
   17. FAQ / ACCORDION
   ------------------------------------------------------------ */

.accordion {
  max-width: var(--text-max-width);
  margin: 0 auto;
}

.accordion__item {
  border-bottom: 1px solid var(--color-border);
}

.accordion__item:first-child {
  border-top: 1px solid var(--color-border);
}

.accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.accordion__header:hover {
  color: var(--color-primary-hover);
}

.accordion__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-left: 16px;
  position: relative;
}

.accordion__icon::before,
.accordion__icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-primary);
  transition: transform var(--transition-base);
}

.accordion__icon::before {
  width: 14px;
  height: 2px;
}

.accordion__icon::after {
  width: 2px;
  height: 14px;
}

.accordion__item--active .accordion__icon::after {
  transform: rotate(90deg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion__item--active .accordion__body {
  max-height: 500px;
  padding-bottom: 20px;
}

.accordion__content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-light);
}

.accordion__content p {
  color: var(--color-text-light);
}


/* ------------------------------------------------------------
   18. GALLERY / IMAGE GRID
   ------------------------------------------------------------ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    gap: 20px;
  }
}

.gallery-grid__item {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-grid__item:hover img {
  transform: scale(1.05);
}

.gallery-grid__item--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}


/* ------------------------------------------------------------
   19. BADGES & TAGS
   ------------------------------------------------------------ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge--sage {
  background-color: var(--color-sage-light);
  color: var(--color-primary);
}

.badge--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}


/* ------------------------------------------------------------
   20. DIVIDERS & DECORATIVE
   ------------------------------------------------------------ */

.divider {
  border: none;
  height: 1px;
  background-color: var(--color-border);
  margin: 40px 0;
}

.divider--sage {
  background-color: var(--color-sage);
}

.divider--dark {
  background-color: var(--color-primary);
  opacity: 0.2;
}


/* ------------------------------------------------------------
   21. SCROLL-TO-TOP BUTTON
   ------------------------------------------------------------ */

.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition-base),
              visibility var(--transition-base),
              transform var(--transition-base),
              background-color var(--transition-fast);
  z-index: 50;
  box-shadow: 0 4px 12px rgba(60, 76, 61, 0.2);
}

.scroll-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background-color: var(--color-primary-hover);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}


/* ------------------------------------------------------------
   22. ANIMATIONS
   ------------------------------------------------------------ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animation utility classes - applied via JS IntersectionObserver or scroll triggers */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll--visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll--left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll--left.animate-on-scroll--visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-on-scroll--right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll--right.animate-on-scroll--visible {
  opacity: 1;
  transform: translateX(0);
}

/* CSS-only animation using @keyframes for elements that should always animate */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in-up--delay-1 {
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.fade-in-up--delay-2 {
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.fade-in-up--delay-3 {
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

.fade-in-up--delay-4 {
  animation: fadeInUp 0.6s ease 0.4s forwards;
  opacity: 0;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  .animate-on-scroll--left,
  .animate-on-scroll--right {
    opacity: 1;
    transform: none;
  }
}


/* ------------------------------------------------------------
   23. UTILITY CLASSES
   ------------------------------------------------------------ */

/* Text Alignment */
.text-center {
  text-align: center;
}

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

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

/* Margin Top */
.mt-1 {
  margin-top: 16px;
}

.mt-2 {
  margin-top: 32px;
}

.mt-3 {
  margin-top: 48px;
}

.mt-4 {
  margin-top: 64px;
}

/* Margin Bottom */
.mb-1 {
  margin-bottom: 16px;
}

.mb-2 {
  margin-bottom: 32px;
}

.mb-3 {
  margin-bottom: 48px;
}

.mb-4 {
  margin-bottom: 64px;
}

/* Padding Top */
.pt-1 {
  padding-top: 16px;
}

.pt-2 {
  padding-top: 32px;
}

.pt-3 {
  padding-top: 48px;
}

.pt-4 {
  padding-top: 64px;
}

/* Padding Bottom */
.pb-1 {
  padding-bottom: 16px;
}

.pb-2 {
  padding-bottom: 32px;
}

.pb-3 {
  padding-bottom: 48px;
}

.pb-4 {
  padding-bottom: 64px;
}

/* Display Utilities */
.d-none {
  display: none;
}

.d-block {
  display: block;
}

.d-flex {
  display: flex;
}

.d-grid {
  display: grid;
}

/* Flex Utilities */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-1 {
  gap: 8px;
}

.gap-2 {
  gap: 16px;
}

.gap-3 {
  gap: 24px;
}

.gap-4 {
  gap: 32px;
}

/* Width Utilities */
.w-full {
  width: 100%;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Visually Hidden (Screen Reader Only) */
.visually-hidden {
  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 */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  border-radius: var(--btn-radius);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
}

/* Image Cover Utility */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-rounded {
  border-radius: var(--card-radius);
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

/* Relative */
.relative {
  position: relative;
}


/* ------------------------------------------------------------
   24. RESPONSIVE VISIBILITY
   ------------------------------------------------------------ */

/* Hide on mobile, show on tablet+ */
.hide-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: block;
  }
}

/* Show on mobile, hide on tablet+ */
.show-mobile {
  display: block;
}

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

/* Hide on tablet+, show on desktop */
.hide-tablet {
  display: none;
}

@media (min-width: 1024px) {
  .hide-tablet {
    display: block;
  }
}

/* Show on tablet, hide on desktop */
.show-tablet {
  display: block;
}

@media (min-width: 1024px) {
  .show-tablet {
    display: none;
  }
}


/* ------------------------------------------------------------
   25. BEFORE / AFTER GALLERY (TREATMENT RESULTS)
   ------------------------------------------------------------ */

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: var(--card-radius);
  overflow: hidden;
}

.before-after__panel {
  position: relative;
  overflow: hidden;
}

.before-after__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.before-after__label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 12px;
  background-color: rgba(60, 76, 61, 0.8);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
}


/* ------------------------------------------------------------
   26. TEAM MEMBER CARDS
   ------------------------------------------------------------ */

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

.team-card__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--card-radius);
  overflow: hidden;
  margin-bottom: 20px;
}

.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card__image img {
  transform: scale(1.03);
}

.team-card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.team-card__role {
  font-size: var(--font-size-small);
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.team-card__bio {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}


/* ------------------------------------------------------------
   27. NOTICE / ALERT BARS
   ------------------------------------------------------------ */

.notice-bar {
  padding: 12px var(--container-padding);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

.notice-bar--sage {
  background-color: var(--color-sage-light);
  color: var(--color-primary);
}

.notice-bar--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.notice-bar a {
  text-decoration: underline;
  font-weight: 600;
}


/* ------------------------------------------------------------
   28. LOADING / SKELETON STATES
   ------------------------------------------------------------ */

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-sage-light) 25%,
    var(--color-sage) 50%,
    var(--color-sage-light) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 4px;
}

.skeleton--text {
  height: 16px;
  margin-bottom: 8px;
}

.skeleton--heading {
  height: 28px;
  width: 60%;
  margin-bottom: 16px;
}

.skeleton--image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--card-radius);
}

.skeleton--avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}


/* ------------------------------------------------------------
   29. COOKIE BANNER
   ------------------------------------------------------------ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(60, 76, 61, 0.08);
  padding: 20px var(--container-padding);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cookie-banner__inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.cookie-banner__text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.5;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}


/* ------------------------------------------------------------
   30. MAP / EMBED CONTAINERS
   ------------------------------------------------------------ */

.map-container {
  width: 100%;
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

@media (min-width: 768px) {
  .map-container iframe {
    height: 400px;
  }
}

.embed-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--card-radius);
}

.embed-responsive iframe,
.embed-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ------------------------------------------------------------
   31. PRINT STYLES
   ------------------------------------------------------------ */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .header,
  .footer,
  .nav-toggle,
  .nav-overlay,
  .scroll-top,
  .cookie-banner,
  .cta,
  .notice-bar,
  .mobile-book-bar {
    display: none !important;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

  .btn {
    border: 1px solid #000 !important;
    padding: 4px 8px !important;
  }

  .section {
    padding: 24px 0;
  }
}


/* ------------------------------------------------------------
   32. LEGACY / COMPAT CLASSES
   Used by existing pages (about, treatments, contact, etc.)
   ------------------------------------------------------------ */

/* Label (uppercase tag above headings) */
.label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 12px;
}

.section--dark .label {
  color: var(--color-gold);
}

/* Section Header */
.section-header {
  max-width: var(--text-max-width);
  margin: 0 auto 48px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-subtext {
  color: var(--color-text-light);
  font-size: 17px;
  line-height: 1.7;
}

/* About Grid (two-column layout) */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    flex-direction: row;
    gap: 60px;
  }
}

.about-content {
  width: 100%;
}

@media (min-width: 768px) {
  .about-content {
    width: 55%;
  }
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 16px;
}

.about-image {
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .about-image {
    width: 45%;
  }
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Check List */
.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--color-text);
}

.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: 700;
}

/* CTA Buttons row */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

/* Button Variants */
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-white);
}

.btn-white:hover {
  background-color: var(--color-sage-light);
  border-color: var(--color-sage-light);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* Link Arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: gap var(--transition-base), color var(--transition-fast);
  text-decoration: none;
}

.link-arrow:hover {
  gap: 10px;
  color: var(--color-gold);
}

/* Treatments Grid (full-width variant) */
.treatments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .treatments-grid--full {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Treatment Card (legacy class names) */
.treatment-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .treatment-card-image {
    height: 260px;
  }
}

.treatment-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.treatment-card:hover .treatment-card-image img {
  transform: scale(1.04);
}

.treatment-card-body {
  padding: 24px;
}

@media (min-width: 1024px) {
  .treatment-card-body {
    padding: 28px;
  }
}

/* Team Grid / Photo */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-photo {
  margin-bottom: 16px;
  border-radius: var(--card-radius);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Gallery Item */
.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.social-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Footer Legacy Classes */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-col ul a:hover {
  color: var(--color-white);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--color-white);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 45px;
  width: auto;
}

.footer-hours {
  margin-top: 12px;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}


/* ------------------------------------------------------------
   33a. TRAINING CARDS
   ------------------------------------------------------------ */

.training-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .training-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .training-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.training-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.training-card:hover {
  box-shadow: 0 8px 30px var(--color-shadow-hover);
  transform: translateY(-3px);
}

.training-card-body {
  padding: 28px 24px;
}

.training-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.training-card p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.6;
}


/* ------------------------------------------------------------
   33b. TREATMENT DETAIL PAGES
   ------------------------------------------------------------ */

/* Treatment content - two-column with image */
.treatment-detail {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .treatment-detail {
    flex-direction: row;
    gap: 60px;
  }
}

.treatment-detail__content {
  width: 100%;
}

@media (min-width: 768px) {
  .treatment-detail__content {
    width: 60%;
  }
}

.treatment-detail__content h2 {
  margin-bottom: 20px;
}

.treatment-detail__content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.treatment-detail__content p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.treatment-detail__sidebar {
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .treatment-detail__sidebar {
    width: 35%;
    position: sticky;
    top: 120px;
  }
}

.treatment-detail__sidebar img {
  width: 100%;
  border-radius: var(--card-radius);
  object-fit: cover;
}

/* Treatment Steps */
.treatment-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 32px 0;
}

@media (min-width: 768px) {
  .treatment-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.treatment-step {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.treatment-step:hover {
  box-shadow: 0 6px 24px var(--color-shadow-hover);
  transform: translateY(-2px);
}

.treatment-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-gold);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.treatment-step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.treatment-step p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Treatment Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background-color: var(--color-sage-light);
  border-radius: 8px;
}

.benefit-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-gold);
  margin-top: 2px;
}

.benefit-item p {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.5;
  margin: 0;
}

/* Treatment Areas List */
.treatment-areas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 16px 0 24px;
}

@media (min-width: 768px) {
  .treatment-areas {
    grid-template-columns: repeat(2, 1fr);
  }
}

.treatment-areas li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.6;
}

.treatment-areas li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: 700;
}

/* Treatment Info Box */
.treatment-info-box {
  background-color: var(--color-sage-light);
  border-radius: var(--card-radius);
  padding: 28px;
  margin: 24px 0;
}

.treatment-info-box h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.treatment-info-box p {
  margin-bottom: 12px;
}

.treatment-info-box p:last-child {
  margin-bottom: 0;
}

/* Treatment Quick Facts */
.treatment-quick-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

@media (min-width: 768px) {
  .treatment-quick-facts {
    grid-template-columns: repeat(4, 1fr);
  }
}

.quick-fact {
  text-align: center;
  padding: 20px 12px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.quick-fact__value {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-gold-dark);
  margin-bottom: 4px;
}

.quick-fact__label {
  font-size: 13px;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* ------------------------------------------------------------
   34. FAQ SECTION (JS-driven with is-open)
   ------------------------------------------------------------ */

.faq-list {
  max-width: var(--text-max-width);
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  font-family: var(--font-family);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-primary-hover);
}

.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform var(--transition-base);
}

.faq-item.is-open .faq-question::after {
  content: '\2212';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}


/* ============================================================
   35. HTML CLASS ALIASES
   Maps HTML class names to styles (fixes naming mismatch)
   ============================================================ */

/* --- Header / Navigation --- */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

@media (min-width: 1024px) {
  .header-inner {
    height: 90px;
  }
}

.header.is-scrolled {
  box-shadow: 0 2px 20px rgba(60, 76, 61, 0.06);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2000;
}

.logo img {
  height: 70px;
  width: auto;
}

@media (min-width: 1024px) {
  .logo img {
    height: 80px;
  }
}

/* Nav Toggle (hamburger) */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
  z-index: 2000;
  background: none;
  border: none;
  padding: 0;
  gap: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
  margin: 3px 0;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Nav Menu */
.nav-menu {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
}

/* Mobile: full-screen overlay
   NOTE: We expand the .header itself to cover the viewport instead of
   using position:fixed on .nav-menu, because backdrop-filter on .header
   creates a containing block on iOS/WebKit that traps fixed children. */

@media (max-width: 1023px) {
  .header.nav-is-open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-header);
    background-color: var(--color-white);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow-y: auto;
  }

  .header.nav-is-open .header-inner {
    flex-wrap: wrap;
    height: auto;
    align-content: flex-start;
    padding-top: 20px;
  }

  .nav-menu.is-open {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 20px 24px 40px;
    gap: 0;
    order: 3;
  }
}

@media (min-width: 1024px) {
  .nav-menu.is-open {
    position: static;
    flex-direction: row;
    padding: 0;
    background: none;
    overflow: visible;
  }
}

/* Nav List */
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu.is-open .nav-list {
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

@media (min-width: 1024px) {
  .nav-menu.is-open .nav-list {
    flex-direction: row;
    gap: 4px;
    text-align: left;
  }
}

/* Nav Links */
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 4px;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-primary-hover);
  background-color: var(--color-sage-light);
}

.nav-link.active {
  background-color: var(--color-sage-light);
}

.nav-menu.is-open .nav-link {
  font-size: 18px;
  padding: 12px 24px;
}

@media (min-width: 1024px) {
  .nav-menu.is-open .nav-link {
    font-size: 13px;
    padding: 8px 14px;
  }
}

/* Dropdown Toggle Arrow */
.nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 4px;
  transition: transform var(--transition-fast);
}

/* Nav Dropdown */
.nav-item-dropdown {
  position: relative;
  list-style: none;
}

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

/* Desktop: hover-activated dropdown */
@media (min-width: 1024px) {
  .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    padding: 12px 0;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(60, 76, 61, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base);
    z-index: var(--z-dropdown);
  }

  .nav-item-dropdown:hover .nav-dropdown,
  .nav-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-item-dropdown:hover .nav-dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

.nav-dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.nav-dropdown li a:hover {
  background-color: var(--color-sage-light);
  color: var(--color-primary);
}

/* Mobile: show dropdown items inline when parent nav is open */
.nav-menu.is-open .nav-dropdown {
  display: block;
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: none;
  background: none;
  padding: 4px 0 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nav-menu.is-open .nav-dropdown.is-open {
  max-height: 800px;
}

.nav-menu.is-open .nav-dropdown li a {
  font-size: 15px;
  padding: 8px 24px;
  text-align: center;
  color: var(--color-text-light);
}

/* Nav Overlay */
.nav-overlay {
  display: none;
}

.nav-overlay.is-visible {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: calc(var(--z-mobile-nav) - 1);
}

@media (min-width: 1024px) {
  .nav-overlay.is-visible {
    display: none;
  }
}


/* --- Hero Content --- */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.hero-subtext {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 36px;
}

@media (min-width: 1024px) {
  .hero-subtext {
    font-size: 20px;
  }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}


/* --- Stat Boxes --- */
.stat-box {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-gold-dark);
  line-height: 1.2;
  margin-bottom: 4px;
}

@media (min-width: 1024px) {
  .stat-number {
    font-size: 36px;
  }
}

.stat-label {
  font-size: var(--font-size-small);
  color: var(--color-text-light);
  font-weight: 500;
}


/* --- Credentials Grid --- */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .credentials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* --- Trending Grid --- */
.trending-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .trending-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trending-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trending-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.trending-card:hover {
  box-shadow: 0 6px 24px var(--color-shadow-hover);
  transform: translateY(-2px);
}

.trending-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background-color: rgba(184, 150, 62, 0.1);
  border-radius: 50%;
  color: var(--color-gold);
}

.trending-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.trending-card p {
  font-size: var(--font-size-small);
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.trending-card .link-arrow {
  font-size: var(--font-size-small);
}

/* --- Gallery Large Item --- */
.gallery-item--large {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}


/* --- Social Icons (footer) --- */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.social-icons a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.social-icons a svg {
  width: 18px;
  height: 18px;
}


/* --- CTA Content --- */
.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-phone {
  margin-top: 20px;
  font-size: 18px;
}

.cta-phone a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.cta-phone a:hover {
  color: var(--color-white);
}


/* --- Fade-in with IntersectionObserver --- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  animation: none;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}



/* --- Hero .label color override --- */
.hero .label {
  color: var(--color-gold);
}

.hero h1 {
  color: var(--color-white);
}

.hero-compact .label {
  color: var(--color-gold);
}

.hero-compact .hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-compact .hero-inner h1 {
  color: var(--color-white);
}

.hero-compact .hero-inner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================================
   36. DESIGN ENHANCEMENTS
   Premium micro-interactions, typography, and polish
   ============================================================ */

/* --- 1. HERO: text shadow + stronger overlay --- */
.hero::before {
  background: linear-gradient(
    180deg,
    rgba(22, 45, 31, 0.78) 0%,
    rgba(22, 45, 31, 0.82) 40%,
    rgba(22, 45, 31, 0.9) 100%
  );
}

.hero {
  background-position: center top;
}

.hero h1,
.hero-content h1 {
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 0.01em;
}

.hero .label {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
  font-size: 14px;
  letter-spacing: 4px;
}

.hero-subtext,
.hero__subtitle {
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.25);
}


/* --- 2. TYPOGRAPHY: Cormorant Garamond for section H2s + editorial labels --- */
.section-header h2,
.about-content h2,
.section h2:not(.footer h2):not(.header h2) {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: calc(var(--font-size-h2) * 1.15);
}

@media (min-width: 1024px) {
  .section-header h2,
  .about-content h2,
  .section h2:not(.footer h2):not(.header h2) {
    font-size: 40px;
  }
}

/* Increase label letter-spacing for editorial feel */
.label {
  letter-spacing: 0.15em;
  font-size: 11px;
  text-transform: uppercase;
  background: linear-gradient(to right, #B8963E, #D4AF37, #C9A84C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section--dark .label {
  background: linear-gradient(to right, #D4AF37, #F0D060, #D4AF37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .label {
  background: linear-gradient(to right, #D4AF37, #F5E02F, #D4AF37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* --- 3. TREATMENT CARDS: enhanced hover + consistent aspect ratios --- */
.treatment-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.treatment-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.treatment-card-body .link-arrow {
  margin-top: auto;
  padding-top: 12px;
}

.treatment-card-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.treatment-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.treatment-card:hover .treatment-card-image img {
  transform: scale(1.06);
}

.treatment-card-body .treatment-card-link,
.treatment-card__link {
  transition: gap 0.3s ease, color 0.2s ease, letter-spacing 0.3s ease;
}

.treatment-card:hover .treatment-card-link,
.treatment-card:hover .treatment-card__link {
  color: var(--color-gold-dark);
  gap: 10px;
  letter-spacing: 1px;
}


/* --- 4. CREDENTIALS: grayscale-to-color on partner logos --- */
.credential-card img,
.credential-card svg {
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.4s ease, transform 0.3s ease;
}

.credential-card:hover img,
.credential-card:hover svg {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}


/* --- 5. STATS SECTION: distinct background --- */
.stats-row {
  background-color: #f7f9f7;
  border-radius: var(--card-radius);
  padding: 32px 24px;
  border-top: none;
  margin-top: 40px;
}


/* --- 6. GLASSMORPHISM HEADER on scroll --- */
.header {
  transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(60, 76, 61, 0.08);
  border-bottom-color: transparent;
}

/* Ensure interactive children stay clickable above glassmorphism layer */
.header.is-scrolled .nav-toggle,
.header.is-scrolled .logo,
.header.is-scrolled .nav-menu,
.header.is-scrolled .nav-cta {
  pointer-events: auto;
}


/* --- 7. GHOST BUTTON for secondary actions --- */
.btn-outline-white,
.hero-buttons .btn:not(.btn-primary):not([class*="btn-white"]) {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--color-white);
  backdrop-filter: blur(4px);
}

.btn-outline-white:hover,
.hero-buttons .btn:not(.btn-primary):not([class*="btn-white"]):hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--color-white);
}

/* Ghost buttons in CTA dark section */
.section--dark .btn-white {
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.section--dark .btn-white:hover {
  border-color: rgba(255, 255, 255, 0.85);
}


/* --- 8. BUTTON HOVER ENHANCEMENTS --- */
.btn-primary:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(60, 76, 61, 0.25);
}

.btn:hover {
  transform: translateY(-1px);
}


/* --- 9. GALLERY: enhanced grid with hover --- */
.gallery-grid {
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--card-radius);
}

.gallery-item img {
  filter: grayscale(30%) brightness(0.95);
  transition: transform 0.6s ease, filter 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: grayscale(0%) brightness(1);
}


/* --- 10. MOBILE: Fixed "Book Now" bar --- */
.mobile-book-bar {
  display: none;
}

@media (max-width: 767px) {
  .mobile-book-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    padding: 12px 20px;
    background-color: var(--color-primary);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  }

  .mobile-book-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    background-color: var(--color-gold);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--btn-radius);
    transition: background-color var(--transition-fast);
  }

  .mobile-book-bar a:hover {
    background-color: var(--color-gold-dark);
  }

  /* Add bottom padding to body so footer isn't hidden behind bar */
  body {
    padding-bottom: 72px;
  }

  /* Hide the nav CTA on mobile since we have the fixed bar */
  .nav-cta {
    display: none;
  }
}


/* --- 11. SMOOTH FADE-IN STAGGER (kept for backwards compat) --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
