/* ============================================================
   The Refresh Clinic — shared styles
   Brand fonts + custom classes layered on top of Tailwind (CDN)
   ============================================================ */

/* ---- Brand display font (kept for reference; logo art already carries it) ---- */
@font-face {
  font-family: "Refresh Clinic";
  src: url("../fonts/RefreshClinic-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---- Heading font: Playfair Display (self-hosted variable font) ---- */
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

/* ---- Body font: Gill Sans (Nova) family ---- */
@font-face {
  font-family: "Gill Sans Nova";
  src: url("../fonts/GillSans-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gill Sans Nova";
  src: url("../fonts/gillsansnova_book.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gill Sans Nova";
  src: url("../fonts/gillsansnova_bookitalic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Gill Sans Nova";
  src: url("../fonts/GillSans-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gill Sans Nova";
  src: url("../fonts/GillSans-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Base ---- */
html { scroll-behavior: smooth; }
body {
  font-family: "Gill Sans Nova", "Gill Sans", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.1875rem;   /* ~19px — comfortable body reading size (up from browser default 16px) */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, .font-heading {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

/* ---- Reusable brand bits ---- */
.eyebrow {
  font-family: "Gill Sans Nova", sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7A5B27; /* darker gold for legible small text on cream (brand gold #BB985E kept for graphics) */
}
/* Thin gold rule that echoes the printed treatment menu */
.rule-gold {
  height: 1px;
  background: linear-gradient(90deg, #BB985E 0%, rgba(187,152,94,0.25) 100%);
}
/* Small gold star divider using the brand mark */
.star-divider {
  width: 20px; height: 20px;
  background: url("../images/star-gold.png") center/contain no-repeat;
  opacity: 0.9;
}
/* Soft placeholder texture for image slots awaiting real photos */
.ph {
  background:
    linear-gradient(135deg, rgba(0,44,65,0.06), rgba(0,44,65,0.02)),
    repeating-linear-gradient(45deg, rgba(0,44,65,0.03) 0 12px, transparent 12px 24px);
}

/* Dotted leader for menu price rows (mirrors the printed menu) */
.menu-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.menu-row .leader {
  flex: 1 1 auto;
  border-bottom: 1px dotted rgba(0,44,65,0.35);
  transform: translateY(-3px);
  margin: 0 2px;
}
.menu-row .price { white-space: nowrap; font-weight: 500; }

/* Mobile menu */
.mobile-menu { display: none; }
.mobile-menu.open { display: block; }

/* Menu price rows — stack cleanly on small screens (drop the dotted leader) */
@media (max-width: 639px) {
  .menu-row { flex-wrap: wrap; row-gap: 2px; }
  .menu-row .leader { display: none; }
  .menu-row .price { margin-left: auto; }
}

/* FAQ accordion (native <details>) */
.faq { border-top: 1px solid rgba(0,44,65,0.12); }
.faq details { border-bottom: 1px solid rgba(0,44,65,0.12); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  flex: none;
  width: 22px; height: 22px;
  position: relative;
  transition: transform 0.25s ease;
  color: #7A5B27;
}
.faq summary .icon::before,
.faq summary .icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
.faq summary .icon::before { top: 10px; left: 3px; right: 3px; height: 2px; }
.faq summary .icon::after { left: 10px; top: 3px; bottom: 3px; width: 2px; transition: transform 0.25s ease; }
.faq details[open] summary .icon::after { transform: scaleY(0); }
.faq details > p { padding: 0 0 1.25rem; color: rgba(0,44,65,0.72); line-height: 1.65; max-width: 60ch; }

/* Nav link underline on hover / active */
.nav-link { position: relative; }
.nav-link::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: #BB985E;
  transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
