/* =========================================================================
   style.css — Design system + components
   Reused across every page. Page/breakpoint-specific overrides live in
   responsive.css, loaded after this file.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. DESIGN TOKENS
   Colours here are DEFAULTS — js/main.js overwrites them at runtime from
   SITE_CONFIG.theme, so a client re-theme happens in ONE file (js/config.js).
   ------------------------------------------------------------------------- */
:root {
  /* Colour */
  --color-primary: #1f6f78;
  --color-primary-dark: #164f56;
  --color-accent: #c9a66b;
  --color-bg: #f8f6f1;
  --color-surface: #ffffff;
  --color-text: #212b2c;
  --color-text-muted: #5b6668;
  --color-border: #e4dfd4;
  --color-success: #3e7a5c;
  --color-error: #b3441e;

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-h1: clamp(2rem, 1.7rem + 3vw, 4.2rem);
  --fs-h2: clamp(1.9rem, 1.5rem + 1.8vw, 2.85rem);
  --fs-h3: clamp(1.35rem, 1.2rem + 0.7vw, 1.7rem);
  --fs-lead: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.8rem;

  /* Spacing scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8.5rem;

  /* Shape / elevation */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(23, 35, 36, 0.06);
  --shadow-md: 0 12px 32px rgba(23, 35, 36, 0.1);
  --shadow-lg: 0 24px 60px rgba(23, 35, 36, 0.14);

  /* Layout */
  --container-width: 1180px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);

  /* Motion */
  --transition-fast: 180ms ease;
  --transition-base: 320ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------------------
   2. RESET
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img,
picture,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
input,
textarea {
  font: inherit;
  color: inherit;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-xs) var(--space-sm);
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

/* -------------------------------------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  color: var(--color-primary-dark);
  letter-spacing: -0.01em;
}
h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
}
h4 {
  font-size: 1.15rem;
}

.lead {
  font-size: var(--fs-lead);
  color: var(--color-text-muted);
  max-width: 46ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--color-accent);
}

.section-heading {
  max-width: 640px;
  margin-bottom: var(--space-xl);
}
.section-heading > .eyebrow {
  margin-bottom: var(--space-sm);
}
.section-heading > h2 {
  margin-top: var(--space-xs);
}
.section-heading > p {
  margin-top: var(--space-sm);
}
.section-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-heading--center .eyebrow::before {
  display: none;
}

.text-muted {
  color: var(--color-text-muted);
}

/* -------------------------------------------------------------------------
   4. LAYOUT UTILITIES
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-2xl);
}
.section--tight {
  padding-block: var(--space-xl);
}
.section--surface {
  background: var(--color-surface);
}
.section--dark {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.92);
}
.section--dark h2,
.section--dark h3 {
  color: #fff;
}
.section--dark .lead {
  color: rgba(255, 255, 255, 0.72);
}

.grid {
  display: grid;
  gap: var(--space-lg);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.split--reverse .split__media {
  order: 2;
}

.divider {
  height: 1px;
  background: var(--color-border);
  border: 0;
  margin-block: var(--space-lg);
}

/* -------------------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition:
    transform var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast);
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid currentColor;
  color: var(--color-primary-dark);
}
.btn-outline:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.btn-whatsapp {
  background: #ffffff;
  color: var(--color-primary-dark);
  border: 1.5px solid var(--color-border);
}
.btn-whatsapp:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-ghost {
  padding: 0;
  border-radius: 0;
  color: var(--color-primary-dark);
  font-weight: 600;
  border-bottom: 1.5px solid var(--color-accent);
}
.btn-ghost:hover {
  color: var(--color-primary);
}

.btn-sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
}

/* -------------------------------------------------------------------------
   6. HEADER / NAVIGATION
   ------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: var(--space-md);
  transition:
    background var(--transition-base),
    box-shadow var(--transition-base),
    padding var(--transition-base);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header--solid {
  background: rgba(248, 246, 241, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding-block: var(--space-xs);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-primary-dark);
}
.brand span {
  color: var(--color-accent);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.site-nav__list a {
  font-size: 0.95rem;
  font-weight: 500;
  padding-block: var(--space-3xs);
  position: relative;
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast);
}
.site-nav__list a:hover::after,
.site-nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
/* The copy of header-actions nested inside .site-nav is mobile-menu-only;
   hidden by default, revealed in responsive.css once the nav becomes a
   slide-out panel. */
.site-nav > .header-actions {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2xs);
  z-index: 110;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-primary-dark);
  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast);
}

/* -------------------------------------------------------------------------
   7. HERO
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(7rem, 5rem + 8vw, 10rem);
  padding-bottom: var(--space-2xl);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-2xl);
  align-items: center;
}
.hero__content h1 {
  margin-block: var(--space-md);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.hero__media {
  position: relative;
}
.hero__media img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.hero__shape {
  position: absolute;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.18;
  z-index: -1;
}
.hero__shape--one {
  width: 260px;
  height: 260px;
  top: -60px;
  right: -60px;
}
.hero__shape--two {
  width: 160px;
  height: 160px;
  bottom: -40px;
  left: -40px;
  background: var(--color-primary);
  opacity: 0.12;
}

.floating-card {
  position: absolute;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.floating-card__value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-primary);
  line-height: 1;
}
.floating-card__label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  max-width: 9ch;
}
.floating-card--one {
  bottom: 12%;
  left: -8%;
}
.floating-card--two {
  top: 8%;
  right: -6%;
}

/* -------------------------------------------------------------------------
   8. TRUST STRIP
   ------------------------------------------------------------------------- */
.trust-strip {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
  padding-block: var(--space-lg);
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.trust-item__icon {
  width: 44px;
  height: 44px;
  flex: none;
  color: var(--color-primary);
}
.trust-item__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

/* -------------------------------------------------------------------------
   9. ABOUT / SPLIT SECTIONS
   ------------------------------------------------------------------------- */
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.split__media--wide img {
  aspect-ratio: 16 / 11;
}
.split__eyebrow {
  margin-bottom: var(--space-sm);
}
.split__body {
  margin-block: var(--space-md);
  max-width: 52ch;
}
.split__body p + p {
  margin-top: var(--space-sm);
}
.credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  margin-top: var(--space-md);
}
.credential-pill {
  font-size: var(--fs-small);
  padding: var(--space-3xs) var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text-muted);
}

/* -------------------------------------------------------------------------
   10. TREATMENT CARDS
   ------------------------------------------------------------------------- */
.treatment-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.treatment-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.treatment-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}
.treatment-card h3 {
  margin-bottom: var(--space-2xs);
}
.treatment-card p {
  color: var(--color-text-muted);
  flex-grow: 1;
}
.treatment-card__link {
  margin-top: var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary-dark);
}
.treatment-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}
.treatment-card:hover .treatment-card__link svg {
  transform: translateX(4px);
}

.view-all-row {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
}

/* -------------------------------------------------------------------------
   11. WHY CHOOSE US — editorial list, not generic cards
   ------------------------------------------------------------------------- */
.editorial-list {
  border-top: 1px solid var(--color-border);
}
.editorial-row {
  display: grid;
  grid-template-columns: 120px 1fr 1.3fr;
  gap: var(--space-lg);
  padding-block: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  align-items: baseline;
}
.editorial-row__index {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-accent);
}
.editorial-row__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-primary-dark);
}
.editorial-row__desc {
  color: var(--color-text-muted);
  max-width: 55ch;
}

/* -------------------------------------------------------------------------
   12. STATISTICS
   ------------------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}
.stat-item__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.8rem + 1.5vw, 3rem);
  color: var(--color-accent);
}
.stat-item__label {
  display: block;
  margin-top: var(--space-2xs);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* -------------------------------------------------------------------------
   13. BEFORE / AFTER SLIDER
   ------------------------------------------------------------------------- */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  user-select: none;
  touch-action: none;
}
.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-slider__label {
  position: absolute;
  top: var(--space-sm);
  font-size: var(--fs-small);
  font-weight: 600;
  color: #fff;
  background: rgba(23, 35, 36, 0.55);
  padding: var(--space-3xs) var(--space-sm);
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.ba-slider__label--before {
  left: var(--space-sm);
}
.ba-slider__label--after {
  right: var(--space-sm);
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  cursor: ew-resize;
}
.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-sm);
  background-image: linear-gradient(90deg, transparent 46%, var(--color-primary) 46%, var(--color-primary) 54%, transparent 54%);
}
.ba-disclaimer {
  margin-top: var(--space-md);
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

/* -------------------------------------------------------------------------
   14. TESTIMONIALS
   ------------------------------------------------------------------------- */
.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.testimonial-card__rating {
  color: var(--color-accent);
  letter-spacing: 2px;
}
.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  flex-grow: 1;
}
.testimonial-card__name {
  font-weight: 600;
  font-size: 0.9rem;
}
.testimonial-card__meta {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}
/* Carousel (homepage reviews) */
.tc__track {
  list-style: none;
  margin: 0 calc(var(--container-pad) * -1);
  padding: var(--space-xs) var(--container-pad) var(--space-md);
  scroll-padding-inline: var(--container-pad);
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tc__track::-webkit-scrollbar { display: none; }
.tc__track:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
  border-radius: var(--radius-md);
}
.tc__card {
  flex: 0 0 calc((100% - 2 * var(--space-md)) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-lg) var(--space-md);
  box-shadow: var(--shadow-sm);
}
.tc__quote {
  margin: 0;
  flex-grow: 1;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-primary-dark);
}
.tc__quote::before {
  content: "\201C";
  display: block;
  height: 2.2rem;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--color-accent);
}
.tc__who {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}
.tc__avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.tc__avatar--verified { background: var(--color-accent); color: var(--color-primary-dark); }
.tc__name { display: block; font-weight: 600; font-size: 0.95rem; }
.tc__tag { display: block; font-size: var(--fs-small); color: var(--color-text-muted); }
.tc__controls {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-xs);
}
.tc__progress {
  position: relative;
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: var(--color-border);
  overflow: hidden;
}
.tc__progress-thumb {
  position: absolute;
  inset: 0 auto 0 0;
  width: 30%;
  border-radius: 3px;
  background: var(--color-primary);
  transition: transform 120ms linear;
}
.tc__buttons { display: flex; gap: var(--space-xs); }
.tc__btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-primary-dark);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.tc__btn:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.tc__btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
@media (max-width: 999px) {
  .tc__card { flex-basis: calc((100% - var(--space-md)) / 2); }
}
@media (max-width: 639px) {
  .tc__card { flex-basis: 86%; padding: var(--space-md); }
  .tc__controls { gap: var(--space-md); }
}

.testimonial-note {
  text-align: center;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-top: var(--space-lg);
}

/* -------------------------------------------------------------------------
   15. GALLERY
   ------------------------------------------------------------------------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
.filter-btn {
  padding: var(--space-2xs) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}
.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}
.filter-btn.is-active {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.masonry {
  columns: 3;
  column-gap: var(--space-md);
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}
.masonry-item.is-hidden {
  display: none;
}
.masonry-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform var(--transition-slow);
}
.masonry-item:hover img {
  transform: scale(1.05);
}
.masonry-item:hover {
  box-shadow: var(--shadow-md);
}
.masonry-item__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: var(--space-md) var(--space-sm) var(--space-sm);
  background: linear-gradient(0deg, rgba(22, 79, 86, 0.85), transparent);
  color: #fff;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity var(--transition-base);
}
.masonry-item:hover .masonry-item__caption,
.masonry-item:focus-within .masonry-item__caption {
  opacity: 1;
}

/* -------------------------------------------------------------------------
   16. LIGHTBOX
   ------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 22, 23, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base);
  padding: var(--space-lg);
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox__figure {
  max-width: 900px;
  width: 100%;
  text-align: center;
}
.lightbox__figure img {
  max-height: 78vh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius-sm);
}
.lightbox__caption {
  color: rgba(255, 255, 255, 0.8);
  margin-top: var(--space-sm);
  font-size: 0.9rem;
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  color: #fff;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: background var(--transition-fast);
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.24);
}
.lightbox__close {
  top: var(--space-lg);
  right: var(--space-lg);
}
.lightbox__prev {
  left: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__next {
  right: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
}

/* -------------------------------------------------------------------------
   17. FINAL CTA
   ------------------------------------------------------------------------- */
.final-cta {
  text-align: center;
  padding-block: var(--space-2xl);
}
.final-cta h2 {
  max-width: 24ch;
  margin-inline: auto;
}
.final-cta .lead {
  margin-inline: auto;
  margin-top: var(--space-sm);
}
.final-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* -------------------------------------------------------------------------
   18. FOOTER
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.78);
  padding-block: var(--space-2xl) var(--space-lg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}
.footer-grid .brand {
  color: #fff;
  margin-bottom: var(--space-sm);
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: var(--space-md);
}
.footer-col ul li {
  margin-bottom: var(--space-2xs);
}
.footer-col a:hover {
  color: #fff;
}
.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transition: background var(--transition-fast);
}
.footer-social a:hover {
  background: rgba(255, 255, 255, 0.12);
}
.footer-social svg {
  width: 16px;
  height: 16px;
}
.timings__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: 0.9rem;
  margin-bottom: var(--space-2xs);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.85rem;
}
.footer-bottom nav {
  display: flex;
  gap: var(--space-md);
}
.footer-bottom a:hover {
  color: #fff;
}

/* -------------------------------------------------------------------------
   19. FORMS
   ------------------------------------------------------------------------- */
.form-field {
  margin-bottom: var(--space-md);
}
.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--space-2xs);
  color: var(--color-primary-dark);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  transition: border-color var(--transition-fast);
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);
}
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--color-error);
}
.form-error {
  display: block;
  min-height: 1.2em;
  font-size: 0.8rem;
  color: var(--color-error);
  margin-top: var(--space-3xs);
}
.form-status {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
}
.form-status--success {
  background: rgba(62, 122, 92, 0.12);
  color: var(--color-success);
}
.form-status--error {
  background: rgba(179, 68, 30, 0.1);
  color: var(--color-error);
}
.form-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

.contact-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.contact-card__icon {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  flex: none;
}
.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-3xs);
}

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

/* -------------------------------------------------------------------------
   20. PAGE HERO (interior pages)
   ------------------------------------------------------------------------- */
.page-hero {
  padding-top: clamp(7rem, 5rem + 6vw, 9.5rem);
  padding-bottom: var(--space-xl);
  text-align: center;
}
.page-hero .eyebrow {
  justify-content: center;
}
.page-hero .eyebrow::before {
  display: none;
}
.page-hero h1 {
  margin-block: var(--space-sm);
}
.page-hero .lead {
  margin-inline: auto;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}
.breadcrumb a:hover {
  color: var(--color-primary-dark);
}

/* -------------------------------------------------------------------------
   21. FAQ
   ------------------------------------------------------------------------- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item summary {
  cursor: pointer;
  padding-block: var(--space-md);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-primary-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--color-accent);
  transition: transform var(--transition-fast);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  padding-bottom: var(--space-md);
  color: var(--color-text-muted);
  max-width: 65ch;
}

/* -------------------------------------------------------------------------
   22. SCROLL REVEAL
   ------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] {
  transition-delay: 90ms;
}
[data-reveal-delay="2"] {
  transition-delay: 180ms;
}
[data-reveal-delay="3"] {
  transition-delay: 270ms;
}

/* Homepage treatment cards: 2-column, icon beside text (avoids squeezed 4-up cards) */
.treatment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.treatment-grid .treatment-card { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; align-items: start; }
.treatment-grid .treatment-card__icon { grid-row: 1 / span 3; }
.treatment-grid .treatment-card h3 { margin-top: 0; }
@media (max-width: 768px) { .treatment-grid { grid-template-columns: 1fr; } }
.treatment-jump { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.treatment-jump a { text-decoration: none; }
