/* =============================================
   THE SANCTUARY — Aesthetic Clinic Demo
   Palette: warm ivory, deep charcoal, soft gold
   ============================================= */

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

:root {
  --bg:          #FAF8F5;
  --bg-warm:     #F3EDE6;
  --bg-dark:     #1C1917;
  --bg-card:     #FFFFFF;
  --ink:         #1C1917;
  --ink-soft:    #44403C;
  --muted:       #78716C;
  --gold:        #C9A96E;
  --gold-light:  #F5EFE0;
  --gold-dark:   #A68B55;
  --sage:        #8B9A8B;
  --sage-light:  #E8EDE8;
  --border:      #E7E5E4;
  --border-lt:   #F5F5F4;
  --white:       #FFFFFF;

  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans:  'Inter', -apple-system, sans-serif;

  --fs-hero:  clamp(2.6rem, 5.5vw, 4.5rem);
  --fs-h2:    clamp(2rem, 4vw, 3rem);
  --fs-h3:    clamp(1.15rem, 2vw, 1.35rem);
  --fs-body:  1.05rem;
  --fs-sm:    0.88rem;
  --fs-xs:    0.78rem;

  --lh-tight: 1.12;
  --lh-body:  1.7;

  --ease: cubic-bezier(.4,0,.2,1);
  --radius: 12px;
  --radius-lg: 20px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Focus ---- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: #fff;
  padding: .6rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 999;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: .5rem; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---- Eyebrow ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  border-radius: 2px;
}

/* ---- Section ---- */
.section {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}
.section--alt {
  background: var(--bg-warm);
}
.section--dark {
  background: var(--bg-dark);
  color: #D6D3D1;
}
.section--dark .eyebrow { color: var(--gold); }
.section--dark .eyebrow::before { background: var(--gold); }
.section--dark h2,
.section--dark h3 { color: #fff; }

/* ---- Section headings ---- */
.sec-head {
  max-width: 540px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section--dark .sec-head { max-width: 540px; }
.sec-head--center {
  text-align: center;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.sec-title {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: var(--lh-tight);
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: .75rem;
  text-wrap: balance;
}
.section--dark .sec-title { color: #fff; }
.sec-lead {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--muted);
  max-width: 480px;
}
.section--dark .sec-lead { color: #A8A29E; }
.sec-head--center .sec-lead { margin-inline: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: .85rem 1.8rem;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  transition: background .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
}
.btn--primary:hover {
  box-shadow: 0 6px 20px rgba(201,169,110,.3);
}
.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn--dark {
  background: var(--bg-dark);
  color: #fff;
}
.btn--dark:hover {
  background: #292524;
  box-shadow: 0 6px 20px rgba(28,25,23,.2);
}
.btn--lg {
  padding: 1rem 2.2rem;
  font-size: .95rem;
}

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--border-lt);
  box-shadow: 0 1px 3px rgba(28,25,23,.03);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.card:hover {
  box-shadow: 0 8px 30px rgba(28,25,23,.07);
  transform: translateY(-2px);
}

/* ---- Treatment card ---- */
.treat-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-lt);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.treat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.treat-card:hover {
  box-shadow: 0 8px 30px rgba(28,25,23,.07);
  transform: translateY(-2px);
  border-color: var(--gold-light);
}
.treat-card:hover::before { opacity: 1; }
.treat-card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--gold-light);
  color: var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}
.treat-card__icon svg {
  width: 22px; height: 22px;
  stroke-width: 1.8;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.treat-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: .5rem;
  color: var(--ink);
}
.treat-card p {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.treat-card__meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--muted);
}
.treat-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.treat-card__meta strong {
  color: var(--ink-soft);
  font-weight: 600;
}

/* ---- Practitioner card ---- */
.prac-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.prac-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  display: block;
  border: 3px solid var(--gold-light);
}
.prac-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: .25rem;
  color: var(--ink);
}
.prac-card .prac-role {
  font-size: var(--fs-sm);
  color: var(--gold);
  font-weight: 500;
  margin-bottom: .5rem;
}
.prac-card .prac-creds {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.6;
}

/* ---- Testimonial ---- */
.testi-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--border-lt);
}
.testi-card__stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: .1em;
  margin-bottom: .75rem;
}
.testi-card__quote {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.65;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.testi-card__author {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink);
}
.testi-card__role {
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* ---- Before / After ---- */
.ba-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-lt);
  background: var(--bg-card);
}
.ba-card__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.ba-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-card__label {
  position: absolute;
  bottom: .75rem;
  left: .75rem;
  background: rgba(28,25,23,.8);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: .35rem .75rem;
  border-radius: 60px;
}
.ba-card__body {
  padding: 1.25rem;
}
.ba-card__body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: .25rem;
}
.ba-card__body p {
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.5;
}

/* ---- Contact / Hours grid ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 700px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.hours-table {
  width: 100%;
  font-size: var(--fs-sm);
}
.hours-table tr { border-bottom: 1px solid rgba(255,255,255,.08); }
.hours-table td {
  padding: .65rem 0;
}
.hours-table td:first-child {
  font-weight: 500;
  color: #fff;
}
.hours-table td:last-child {
  text-align: right;
  color: #A8A29E;
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-dark);
  color: #A8A29E;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: var(--fs-sm);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 700px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
}
.footer__brand { max-width: 300px; }
.footer__logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: -.01em;
}
.footer__logo span { color: var(--gold); }
.footer__desc {
  margin-top: .75rem;
  line-height: 1.65;
  max-width: 280px;
}
.footer__abn {
  font-size: var(--fs-xs);
  color: #57534E;
  margin-top: 1rem;
}
.footer h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #D6D3D1;
  margin-bottom: 1rem;
}
.footer ul li { margin-bottom: .55rem; }
.footer ul a:hover { color: #fff; }
.footer__contact li {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.footer__contact svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  font-size: var(--fs-xs);
  color: #57534E;
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Responsive: mobile nav ---- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__links--open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(28,25,23,.1);
    padding: .5rem 0;
    z-index: 90;
  }
  .nav__links--open a {
    padding: .9rem 1.5rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-lt);
  }
  .nav__links--open a:last-child { border-bottom: none; }
  .nav__cta-desktop { display: none !important; }
  .nav__toggle { display: flex !important; }
}

/* ---- Print ---- */
@media print {
  .banner, .nav, .mobile-booking-bar { display: none; }
}

