/* ═══════════════════════════════════════════════════════════════════
   WELLNESS / SKYN SPA — wellness.css
   Page-specific styles for /wellness.html
   Required: main.css (loaded first)

   Sections:
     1. Welcome strip (walnut bar with intro + 'why us' list)
     2. Sticky category tabs (Foot · Asian · Massage)
     3. Treatment sections (only .active is shown)
     4. Treatment cards (3-col grid, dark variant supported)
     5. Contact / book section (espresso → walnut gradient)
     6. Floating "Call to Book" FAB
     7. Responsive
═══════════════════════════════════════════════════════════════════ */


/* Centered helpers */
.sec-eyebrow.ctr,
.sec-title.ctr   { text-align: center; }
.sec-line.ctr    { margin-left: auto; margin-right: auto; }
.sec-line.bm-20  { margin-bottom: 20px; }


/* ═══ 1. WELCOME STRIP ═══ */
.sec-welcome {
  background: var(--m-surface-alt);
  padding: 52px 60px;
}
.welcome-inner {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px;
  align-items: start;
  max-width: 1100px; margin: 0 auto;
}
.welcome-text { grid-column: 1 / span 2; }
.welcome-intro {
  margin-bottom: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300; font-style: italic;
  color: var(--m-gold-ink);
  line-height: 1.65;
}
.welcome-body {
  font-size: 12.5px; color: var(--m-on-body);
  line-height: 1.9;
}
.why-us       { display: flex; flex-direction: column; gap: 16px; }
.why-us-head  { /* eyebrow wrapper */ }
.why-item     { display: flex; align-items: center; gap: 14px; }
.why-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border: 1px solid rgba(221,185,106,.3);
  display: flex; align-items: center; justify-content: center;
}
.why-icon i { font-size: 16px; color: var(--m-gold-ink); }
.why-text strong {
  display: block; margin-bottom: 2px;
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--m-on-strong);
}
.why-text span { font-size: 11px; color: var(--m-on-body); }


/* ═══ 2. STICKY CATEGORY TABS ═══ */
.sec-tabs {
  background: var(--m-surface);
  padding: 0 20px;
  position: sticky; top: var(--header-h); z-index: 50;
  box-shadow: 0 4px 20px rgba(44,26,14,.12);
}
.tabs-inner {
  display: flex; gap: 4px;
  max-width: 960px; margin: 0 auto;
  overflow-x: auto; scrollbar-width: none;
}
.tabs-inner::-webkit-scrollbar { display: none; }

.tab-btn {
  flex: 1; min-width: 170px;
  padding: 20px 24px 16px;
  background: none; border: none;
  border-bottom: 3px solid transparent;
  font-family: inherit;
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--m-on-mute);
  cursor: pointer; white-space: nowrap;
  position: relative;
  transition: color .25s, border-color .25s, background .25s;
}
.tab-btn i {
  display: block; margin-bottom: 8px;
  font-size: 22px; color: var(--m-bronze);
  transition: color .25s;
}
.tab-btn:hover { color: var(--m-on-strong); background: rgba(255,255,255,.05); }
.tab-btn:hover i { color: var(--m-honey); }
.tab-btn.active {
  color: var(--m-on-strong);
  border-bottom-color: var(--m-gold-ink);
  background: linear-gradient(180deg, rgba(201,150,74,.12) 0%, rgba(201,150,74,.04) 100%);
}
.tab-btn.active i { color: var(--m-honey); }
.tab-btn.active::after {
  content: ''; position: absolute; bottom: -3px; left: 20%; right: 20%;
  height: 3px;
  background: var(--m-honey);
  border-radius: 2px 2px 0 0;
}


/* ═══ 3. TREATMENT SECTIONS ═══ */
.treatment-section {
  padding: 80px 60px;
  display: none;
}
.treatment-section.active { display: block; }
.treatment-section:nth-of-type(odd)  { background: var(--m-parchment); }
.treatment-section:nth-of-type(even) { background: #fff; }

.treatments-header { text-align: center; margin-bottom: 56px; }


/* ═══ 4. TREATMENT CARDS ═══ */
.treatments-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1200px; margin: 0 auto;
}
.treatment-card {
  background: var(--m-white);
  border: 1px solid rgba(123,74,30,.08);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: box-shadow .3s, border-color .3s, transform .3s;
}
.treatment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(44,26,14,.1);
  border-color: rgba(201,150,74,.25);
}
.tc-category {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 10px;
  font-size: 7.5px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--m-gold-ink);
}
.tc-category::before {
  content: '';
  width: 16px; height: 1px;
  background: var(--m-bronze);
}
.tc-name {
  margin-bottom: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 400;
  color: var(--m-espresso); line-height: 1.15;
}
.tc-divider {
  width: 32px; height: 1px;
  background: linear-gradient(to right, var(--m-caramel), transparent);
  margin-bottom: 14px;
}
.tc-desc {
  flex: 1; margin-bottom: 18px;
  font-size: 11.5px; color: var(--m-stone); line-height: 1.85;
}
.tc-pricing {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: auto;
}
.tc-price {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px;
  background: rgba(123,74,30,.07);
  border: 1px solid rgba(123,74,30,.12);
  font-size: 9px; font-weight: 700; letter-spacing: 1px;
  color: var(--m-walnut);
}
.tc-price span { font-size: 8px; color: var(--m-stone); font-weight: 400; }

.tc-book {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 18px; padding: 13px 16px;
  background: linear-gradient(135deg, var(--m-walnut) 0%, var(--m-caramel) 100%);
  color: #fff; text-decoration: none;
  font-size: 9px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  transition: opacity .25s, transform .15s, box-shadow .25s;
}
.tc-book:hover {
  opacity: .92;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(123,74,30,.25);
}
.tc-book i { font-size: 11px; }

/* Book Now + Spa Menu side by side at the card foot */
.tc-actions { display: flex; gap: 10px; margin-top: 18px; }
.tc-actions .tc-book { flex: 1; margin-top: 0; }
/* Spa Menu = outline variant so it pairs with the gold Book Now */
.tc-book-pdf {
  background: transparent;
  color: var(--m-walnut);
  box-shadow: 0 0 0 1px rgba(123,74,30,.35) inset;
}
.tc-book-pdf:hover {
  background: rgba(123,74,30,.06);
  box-shadow: 0 0 0 1px rgba(123,74,30,.6) inset;
}
.treatment-section.dark .tc-book-pdf {
  color: var(--m-honey, #ddb96a);
  box-shadow: 0 0 0 1px rgba(221,185,106,.35) inset;
}
.treatment-section.dark .tc-book-pdf:hover {
  background: rgba(221,185,106,.08);
  box-shadow: 0 0 0 1px rgba(221,185,106,.6) inset;
}

/* Dark variant — for any treatment-section with .dark */
.treatment-section.dark { background: var(--m-espresso); display: none; }
.treatment-section.dark.active { display: block; }
.treatment-section.dark .treatment-card {
  background: rgba(255,255,255,.04);
  border-color: rgba(201,150,74,.1);
}
.treatment-section.dark .treatment-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,.3);
  border-color: rgba(201,150,74,.3);
}
.treatment-section.dark .tc-name { color: var(--m-on-strong); }
.treatment-section.dark .tc-desc { color: var(--m-on-body); }
.treatment-section.dark .tc-price {
  color: var(--m-honey);
  background: rgba(221,185,106,.08);
  border-color: rgba(221,185,106,.15);
}
.treatment-section.dark .tc-price span { color: rgba(237,228,213,.45); }
.treatment-section.dark .tc-book { box-shadow: 0 0 0 1px rgba(221,185,106,.2) inset; }


/* ═══ 5. CONTACT / BOOK ═══ */
.sec-contact {
  background: linear-gradient(135deg, var(--m-espresso) 0%, var(--m-walnut) 100%);
  padding: 72px 60px;
  text-align: center;
}
.contact-title {
  margin-bottom: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 48px); font-weight: 300;
  color: #fff; line-height: 1.1;
}
.contact-title em { font-style: italic; color: var(--m-honey); }
.contact-sub {
  margin-bottom: 40px;
  font-size: 12px; color: rgba(237,228,213,.6);
}
.contact-details {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 48px; margin-bottom: 40px;
}
.contact-item {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.ci-icon {
  width: 48px; height: 48px;
  border: 1px solid rgba(201,150,74,.3);
  display: flex; align-items: center; justify-content: center;
}
.ci-icon i { font-size: 18px; color: var(--m-bronze); }
.ci-label {
  font-size: 7.5px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--m-honey);
}
.ci-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px; color: rgba(255,255,255,.85);
  text-align: center; line-height: 1.5;
}
.ci-value a { color: rgba(255,255,255,.85); transition: color .2s; }
.ci-value a:hover { color: var(--m-honey); }
.contact-actions {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 16px;
}


/* ═══ 6. FLOATING "CALL TO BOOK" FAB ═══ */
.spa-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 48px;
  background: linear-gradient(135deg, var(--m-walnut), var(--m-caramel));
  color: #fff; text-decoration: none;
  font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(123,74,30,.4);
  transition: transform .25s, box-shadow .25s;
}
.spa-fab:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 32px rgba(123,74,30,.5);
  color: #fff;
}
.spa-fab i { font-size: 14px; }


/* ═══ 7. RESPONSIVE ═══ */
@media (max-width: 960px) {
  .welcome-inner       { grid-template-columns: 1fr; gap: 32px; }
  .welcome-text        { grid-column: 1; }
  .treatments-grid     { grid-template-columns: 1fr 1fr; }
  /* Narrow cards: stack the two action buttons vertically */
  .tc-actions          { flex-direction: column; }
  .sec-welcome,
  .treatment-section,
  .sec-contact         { padding: 56px 28px; }
}
@media (max-width: 600px) {
  .treatments-grid     { grid-template-columns: 1fr; }
  .contact-details     { gap: 28px; }
  /* Compact FAB to icon-only on phones */
  .spa-fab             { bottom: 16px; right: 16px; padding: 12px 16px; font-size: 0; gap: 0; }
  .spa-fab i           { font-size: 18px; }
  .tab-btn             { min-width: 130px; padding: 16px 14px 12px; font-size: 9.5px; letter-spacing: 2px; }
  .tab-btn i           { font-size: 18px; }
}

/* Wellness hero crop — spa photos are centre-framed; the global
   `object-position: center 40%` clipped the subject. Scoped to this
   page only so other heroes keep the site default. */
.page-hero .page-hero-img { object-position: center center; }
