/* ============================================================
   CQ Med Spa — Stylesheet
   ============================================================ */

:root {
  --cream:      #faf6f1;
  --cream-2:    #f3e9e0;
  --plum:       #5a3a4d;
  --plum-dark:  #432a3a;
  --rose:       #b07a86;
  --gold:       #c1995b;
  --gold-dark:  #a87f43;
  --ink:        #33292e;
  --muted:      #7a6a70;
  --white:      #ffffff;
  --shadow:     0 10px 30px rgba(67, 42, 58, 0.10);
  --shadow-lg:  0 18px 50px rgba(67, 42, 58, 0.16);
  --radius:     16px;
  --maxw:       1180px;
  --serif:      "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:       "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--plum-dark); margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.45rem; }

a { color: var(--plum); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dark); }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 84px 0; }
.section--tint { background: var(--cream-2); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section__head p { color: var(--muted); font-size: 1.1rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: 14px 30px;
  font-family: var(--sans); font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase;
  border-radius: 50px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .25s ease;
}
.btn--primary { background: var(--plum); color: #fff; }
.btn--primary:hover { background: var(--plum-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn--ghost:hover { background: var(--plum); color: #fff; }
.btn--light { background: #fff; color: var(--plum); }
.btn--light:hover { background: var(--cream-2); color: var(--plum-dark); }
.btn--block { width: 100%; justify-content: center; }
.btn--wa { background: #25D366; color: #fff; }
.btn--wa:hover { background: #1da851; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(90, 58, 77, 0.10);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow); }
.brand__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--plum-dark); line-height: 1; white-space: nowrap; }
.brand__name small { display: block; font-family: var(--sans); font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-dark); margin-top: 4px; }

.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-size: .82rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.nav__links a:hover, .nav__links a.active { color: var(--gold-dark); }
.nav__cta { margin-left: 8px; }

.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--plum-dark); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 84vh;
  display: flex; align-items: center;
  background:
    linear-gradient(rgba(67,42,58,0.55), rgba(67,42,58,0.45)),
    url("../images/swedma.jpeg") center/cover no-repeat;
  color: #fff;
}
.hero__inner { max-width: 720px; padding: 60px 0; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #f0d9b8; }
.hero p { font-size: 1.2rem; max-width: 560px; margin-bottom: 32px; color: rgba(255,255,255,0.92); }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

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

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 100%; object-fit: cover; max-height: 520px; }
.split__text p { color: var(--muted); }

/* ---------- Service cards ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filter-btn {
  padding: 9px 20px; border-radius: 50px; border: 1.5px solid rgba(90,58,77,0.25);
  background: transparent; color: var(--plum); font-family: var(--sans);
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.filter-btn:hover { border-color: var(--plum); }
.filter-btn.active { background: var(--plum); color: #fff; border-color: var(--plum); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__price {
  position: absolute; top: 14px; right: 14px;
  background: var(--gold); color: #fff;
  padding: 6px 14px; border-radius: 50px;
  font-weight: 600; font-size: .8rem; letter-spacing: .03em;
  box-shadow: var(--shadow);
}
.card__cat { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin: 8px 0 10px; font-size: 1.3rem; }
.card__body p { color: var(--muted); font-size: .95rem; margin: 0 0 20px; flex: 1; }
.card__actions { display: flex; gap: 10px; }
.card__actions .btn { padding: 10px 18px; font-size: .72rem; }

/* ---------- Note / enquiry callout ---------- */
.note-card {
  margin-top: 54px; text-align: center;
  background: var(--cream-2); border: 1px solid rgba(193, 153, 91, 0.35);
  border-radius: var(--radius); padding: 40px 32px;
  max-width: 760px; margin-left: auto; margin-right: auto;
}
.note-card h3 { margin-bottom: 12px; }
.note-card p { color: var(--muted); margin: 0 auto 24px; max-width: 560px; }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(67, 42, 58, 0.55); backdrop-filter: blur(4px);
}
.modal.open { display: flex; }
.modal__box {
  background: #fff; border-radius: var(--radius); max-width: 760px; width: 100%;
  max-height: 88vh; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.modal__media { height: 260px; flex: none; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__content { padding: 30px 34px 34px; overflow-y: auto; }
.modal__content h3 { font-size: 1.9rem; margin-bottom: 4px; }
.modal__price { color: var(--gold-dark); font-weight: 600; font-size: 1.05rem; margin-bottom: 18px; }
.modal__content p, .modal__content li { color: var(--muted); }
.modal__content ul { padding-left: 20px; }
.modal__close {
  position: absolute; top: 18px; right: 20px;
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: none; cursor: pointer;
  font-size: 1.4rem; color: var(--plum-dark); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
}
.modal__footer { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { background: #fff; border-radius: 12px; margin-bottom: 14px; box-shadow: var(--shadow); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 26px; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--plum-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__q::after { content: "+"; font-family: var(--sans); font-size: 1.5rem; color: var(--gold-dark); transition: transform .25s; }
.faq__item.open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 26px 24px; margin: 0; color: var(--muted); }

/* ---------- Booking ---------- */
.booking-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: start; }
.form-card { background: #fff; border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--plum-dark); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; font-family: var(--sans); font-size: 1rem;
  border: 1.5px solid rgba(90,58,77,0.20); border-radius: 10px; background: var(--cream);
  color: var(--ink); transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 90px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .9rem; color: var(--muted); margin-top: 4px; }

.booking-aside { background: var(--plum); color: #fff; border-radius: var(--radius); padding: 38px; }
.booking-aside h3 { color: #fff; }
.booking-aside a { color: #f0d9b8; }
.booking-aside .contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.booking-aside .contact-line span:first-child { font-size: 1.3rem; }
.booking-aside p { color: rgba(255,255,255,0.85); margin: 0; }

/* ---------- Contact / CTA banner ---------- */
.cta-banner {
  background: linear-gradient(rgba(67,42,58,0.78), rgba(67,42,58,0.78)), url("../images/radrt.jpeg") center/cover fixed no-repeat;
  color: #fff; text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto 28px; font-size: 1.15rem; }

/* ---------- Footer ---------- */
.footer { background: var(--plum-dark); color: rgba(255,255,255,0.78); padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer a { color: rgba(255,255,255,0.78); }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand img { width: 48px; height: 48px; border-radius: 50%; }
.footer__brand span { font-family: var(--serif); font-size: 1.3rem; color: #fff; }
.socials { display: flex; gap: 14px; margin-top: 8px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
  color: #fff; transition: background .2s;
}
.socials a:hover { background: var(--gold); color: #fff; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; text-align: center; font-size: .85rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(120px);
  background: var(--plum-dark); color: #fff; padding: 16px 26px; border-radius: 50px;
  box-shadow: var(--shadow-lg); z-index: 300; transition: transform .35s ease; font-size: .95rem;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: linear-gradient(rgba(67,42,58,0.62), rgba(67,42,58,0.62)), url("../images/supercwt.jpeg") center/cover no-repeat;
  color: #fff; text-align: center; padding: 100px 0 80px;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto; font-size: 1.15rem; }
.crumb { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #f0d9b8; margin-bottom: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .split, .booking-wrap { grid-template-columns: 1fr; gap: 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav__links {
    position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--cream); padding: 10px 24px 24px;
    box-shadow: var(--shadow); display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links li { width: 100%; padding: 10px 0; border-bottom: 1px solid rgba(90,58,77,0.08); }
  .nav__cta { margin: 12px 0 0; }
  .nav__toggle { display: block; }
  .section { padding: 60px 0; }
  .grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
