/* =============================================================
   Serenity Wellness — Stylesheet
   Australian natural / wellness aesthetic
   ============================================================= */

:root {
  --sage:        #7c8a6b;
  --sage-dark:   #5d6a4f;
  --sage-light:  #a8b495;
  --cream:       #f6f3ec;
  --sand:        #ece4d6;
  --terracotta:  #c8755a;
  --charcoal:    #33352f;
  --muted:       #6b6f63;
  --white:       #ffffff;
  --shadow:      0 12px 40px rgba(51, 53, 47, 0.10);
  --radius:      18px;
  --maxw:        1180px;
  --font-head:   "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:   "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

a { color: inherit; text-decoration: none; transition: color .25s ease; }

img { max-width: 100%; display: block; }

.container { width: 92%; max-width: var(--maxw); margin: 0 auto; }

.section { padding: 90px 0; }
.section--tight { padding: 60px 0; }
.bg-sand  { background: var(--sand); }
.bg-white { background: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 14px;
}

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .3px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .25s ease;
}
.btn--primary { background: var(--sage-dark); color: var(--white); }
.btn--primary:hover { background: #424d39; transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--white); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--charcoal); }
.btn--dark { background: var(--charcoal); color: var(--white); }
.btn--dark:hover { background: #4a4c44; transform: translateY(-2px); }

/* Keep button text readable even inside contexts that restyle links */
.nav__links a.btn--primary,
.nav__links a.btn--primary:hover,
.info-block a.btn,
.footer-links a.btn,
.prose a.btn { color: var(--white); text-decoration: none; }
.btn--ghost:hover { color: var(--charcoal); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(51,53,47,.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand { display: flex; flex-direction: row; align-items: center; gap: 12px; line-height: 1.1; }
.brand__logo { height: 48px; width: auto; display: block; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--font-head); font-size: 1.55rem; font-weight: 600; color: var(--sage-dark); }
.brand__suffix { font-size: .62rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.nav__links { display: flex; gap: 30px; align-items: center; list-style: none; }
.nav__links a { font-size: .92rem; font-weight: 500; color: var(--charcoal); position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--terracotta); transition: width .25s ease;
}
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__links a.active { color: var(--sage-dark); }

.nav__cta { padding: 10px 24px; }

.nav__toggle {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.6rem; color: var(--charcoal);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 86vh;
  display: flex; align-items: center;
  color: var(--white); text-align: center;
  background:
    linear-gradient(rgba(51,53,47,.45), rgba(51,53,47,.45)),
    url("https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}
.hero__inner { max-width: 760px; margin: 0 auto; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p { font-size: 1.15rem; margin-bottom: 34px; opacity: .95; }
.hero .eyebrow { color: #f0d9cf; }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Feature strip ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature { text-align: center; padding: 10px; }
.feature__icon { font-size: 2rem; margin-bottom: 12px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); height: 100%; object-fit: cover; }
.split h2 { margin-bottom: 18px; }
.split p { color: var(--muted); margin-bottom: 16px; }

/* ---------- Cards grid (services / products) ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(51,53,47,.16); }
.card__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__img img { transform: scale(1.06); }
.card__tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--terracotta); color: var(--white);
  font-size: .7rem; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 12px; border-radius: 50px; font-weight: 600;
}
.card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 10px; }
.card__body p { color: var(--muted); font-size: .94rem; margin-bottom: 16px; }
.card__price { font-family: var(--font-head); font-size: 1.5rem; color: var(--sage-dark); font-weight: 600; margin-top: auto; }
.card__list { list-style: none; margin-top: 6px; }
.card__list li { font-size: .9rem; color: var(--muted); padding-left: 22px; position: relative; margin-bottom: 6px; }
.card__list li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 700; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 90px 0 70px; text-align: center;
  background: var(--sand);
}
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-hero p { color: var(--muted); max-width: 620px; margin: 16px auto 0; }

/* ---------- Pricing table ---------- */
.price-group { margin-bottom: 46px; }
.price-group h3 {
  font-size: 1.7rem; color: var(--sage-dark);
  border-bottom: 2px solid var(--sand); padding-bottom: 12px; margin-bottom: 6px;
}
.price-group__note { color: var(--terracotta); font-size: .85rem; font-style: italic; margin: -2px 0 8px; }
.price-row {
  display: flex; align-items: baseline; gap: 14px;
  padding: 16px 4px; border-bottom: 1px dashed rgba(51,53,47,.14);
}
.price-row__name { font-weight: 500; }
.price-row__dur { color: var(--muted); font-size: .88rem; }
.price-row__dots { flex: 1; border-bottom: 1px dotted rgba(51,53,47,.25); transform: translateY(-4px); }
.price-row__price { font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; color: var(--terracotta); }
.price-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 30px; font-style: italic; }

/* ---------- Storefront photo ---------- */
.storefront { margin: 0; }
.storefront img {
  width: 100%; max-height: 460px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.storefront figcaption {
  text-align: center; color: var(--muted); font-size: .92rem;
  margin-top: 14px; font-style: italic;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.info-card { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.info-block { display: flex; gap: 16px; margin-bottom: 26px; }
.info-block:last-child { margin-bottom: 0; }
.info-block__icon { font-size: 1.4rem; flex-shrink: 0; }
.info-block h4 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--terracotta); margin-bottom: 6px; }
.info-block p, .info-block a { color: var(--muted); font-size: .96rem; }
.info-block a:hover { color: var(--sage-dark); }
.hours-list { list-style: none; }
.hours-list li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed rgba(51,53,47,.12); font-size: .95rem; }
.hours-list li span:first-child { color: var(--charcoal); font-weight: 500; }
.hours-list li span:last-child { color: var(--muted); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; color: var(--white);
  background:
    linear-gradient(rgba(92,106,79,.85), rgba(92,106,79,.85)),
    url("https://images.unsplash.com/photo-1515377905703-c4788e51af15?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { opacity: .95; margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #d8d6cd; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--white); font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.footer-brand .brand__logo { height: 58px; width: auto; display: block; margin-bottom: 14px; }
.footer-brand .brand__name { color: var(--white); }
.footer-brand .brand__suffix { color: var(--sage-light); }
.footer-brand p { margin-top: 14px; font-size: .92rem; opacity: .8; max-width: 320px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .92rem; opacity: .85; }
.footer-links a:hover { color: var(--white); opacity: 1; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: grid; place-items: center;
  font-size: 1.1rem; transition: background .25s ease;
}
.footer-social a:hover { background: var(--sage); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; text-align: center; font-size: .82rem; opacity: .6; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.7rem; color: var(--sage-dark); margin: 38px 0 12px; }
.prose h3 { font-size: 1.2rem; margin: 24px 0 8px; }
.prose p { color: var(--muted); margin-bottom: 14px; }
.prose ul { color: var(--muted); margin: 0 0 16px 22px; }
.prose ul li { margin-bottom: 8px; }
.prose a { color: var(--sage-dark); text-decoration: underline; }
.prose .updated { font-size: .85rem; color: var(--muted); font-style: italic; margin-bottom: 8px; }

/* ---------- Popup deal ---------- */
.popup-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(51,53,47,.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
}
.popup-overlay.open { opacity: 1; visibility: visible; }
.popup {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  max-width: 760px; width: 100%; display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  transform: translateY(20px) scale(.97); transition: transform .35s ease;
}
.popup-overlay.open .popup { transform: translateY(0) scale(1); }
.popup__img { background-size: cover; background-position: center; min-height: 320px; }
.popup__body { padding: 40px 36px; position: relative; }
.popup__highlight { font-family: var(--font-head); font-size: 2.6rem; color: var(--terracotta); font-weight: 700; line-height: 1; margin-bottom: 8px; }
.popup__body h3 { font-size: 1.8rem; margin-bottom: 14px; }
.popup__body p { color: var(--muted); margin-bottom: 18px; font-size: .96rem; }
.popup__valid { display: inline-block; background: var(--sand); color: var(--sage-dark); font-size: .8rem; padding: 6px 14px; border-radius: 50px; margin-bottom: 22px; font-weight: 500; }
.popup__close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted);
}
.popup__close:hover { color: var(--charcoal); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; gap: 24px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split img { max-height: 360px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .popup { grid-template-columns: 1fr; }
  .popup__img { min-height: 200px; }

  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid rgba(51,53,47,.1);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav__links.open { max-height: 460px; }
  .nav__links li { width: 100%; text-align: center; }
  .nav__links a { display: block; padding: 16px; border-bottom: 1px solid rgba(51,53,47,.06); }
  .nav__cta { margin: 14px auto; }
  .nav__toggle { display: block; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}
