/* ============================================================
   MEDSPA MAGNET · styles.css
   Premium, editorial look for the beauty / aesthetics world.
   Palette: warm cream, espresso ink, antique gold, soft blush.
   Type:    Cormorant Garamond (display) + Jost (UI / body).
   ============================================================ */

:root {
  /* Colour */
  --cream:      #FAF6F0;
  --ivory:      #FFFDFB;
  --sand:       #F1E9DF;
  --blush:      #ECDDD5;
  --ink:        #2A2320;
  --ink-soft:   #4E443E;
  --taupe:      #7C7168;
  --gold:       #AE8A5B;
  --gold-deep:  #96754A;
  --gold-soft:  #DEC9A6;
  --espresso:   #211B18;
  --espresso-2: #2C2420;
  --line:       rgba(42, 35, 32, 0.14);
  --line-light: rgba(250, 246, 240, 0.16);

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --container: 1160px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section-alt { background: var(--sand); }

.section-dark {
  background: var(--espresso);
  color: var(--cream);
}

/* scroll offset for sticky header */
section[id] { scroll-margin-top: 92px; }

/* ---------- Shared type blocks ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow-light { color: var(--gold-soft); }
.eyebrow-light::before { background: var(--gold-soft); }

.section-title {
  font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  line-height: 1.08;
  color: var(--ink);
  max-width: 20ch;
}
.section-title-light { color: var(--cream); }

.section-lead {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 1.5rem 0 0;
}
.section-lead-light { color: rgba(250, 246, 240, 0.82); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.05rem 2.1rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease),
    color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn:hover {
  --btn-bg: var(--gold);
  color: #241C14;
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(150, 117, 74, 0.7);
}
.btn-sm { padding: 0.7rem 1.4rem; font-size: 0.74rem; }

.btn-light {
  --btn-bg: var(--cream);
  --btn-fg: var(--ink);
  border-color: var(--cream);
}
.btn-light:hover {
  --btn-bg: var(--gold-soft);
  color: #241C14;
  border-color: var(--gold-soft);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(250, 246, 240, 0.9);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -22px rgba(42, 35, 32, 0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--serif);
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0;
}
.brand-name {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.section-dark .brand-name,
.site-footer .brand-name { color: var(--cream); }

.nav {
  display: flex;
  gap: 2.1rem;
  margin-left: auto;
  margin-right: 2rem;
}
.nav a {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding-block: 0.25rem;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 8.5rem) clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(236, 221, 213, 0.9) 0%, rgba(236, 221, 213, 0) 45%),
    radial-gradient(100% 90% at 5% 110%, rgba(222, 201, 166, 0.5) 0%, rgba(222, 201, 166, 0) 50%),
    var(--cream);
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 55% at 78% 30%, rgba(174, 138, 91, 0.14) 0%, rgba(174, 138, 91, 0) 70%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 62rem; }

.hero-title {
  font-size: clamp(2.75rem, 1.6rem + 5.4vw, 5.75rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin: 0.4rem 0 0;
  max-width: 16ch;
}
.accent-word {
  display: block;
  font-style: italic;
  color: var(--gold-deep);
}

.hero-sub {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.32rem);
  color: var(--ink-soft);
  max-width: 54ch;
  margin: 1.9rem 0 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.35rem;
  margin-top: 2.6rem;
}
.hero-note {
  font-size: 0.95rem;
  color: var(--taupe);
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.trust-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.4rem;
  padding: 0;
  margin: 3.4rem 0 0;
  border-top: 1px solid var(--line);
  padding-top: 1.7rem;
}
.trust-strip li {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.trust-strip li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ============================================================
   PAIN GRID
   ============================================================ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.pain-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem 2rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.pain-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-soft);
  box-shadow: 0 26px 50px -34px rgba(42, 35, 32, 0.5);
}
.pain-num {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold);
  font-style: italic;
}
.pain-card h3 {
  font-size: 1.5rem;
  margin: 0.7rem 0 0.6rem;
  line-height: 1.2;
}
.pain-card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ============================================================
   STEP GRID
   ============================================================ */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  counter-reset: step;
}
.step-card {
  position: relative;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 2rem 2.2rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -34px rgba(42, 35, 32, 0.5);
}
.step-index {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
}
.step-card h3 {
  font-size: 1.85rem;
  margin: 0.9rem 0 0.7rem;
}
.step-card p { margin: 0; color: var(--ink-soft); }

.included {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
  padding-top: 2.2rem;
}
.included-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 1.2rem;
}
.included-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem 2rem;
}
.included-list li {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}
.included-list li::before {
  content: "·";
  color: var(--gold);
  font-family: var(--sans);
  font-size: 1.4em;
  line-height: 0;
}

/* ============================================================
   COMPLIANCE
   ============================================================ */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.compliance-card {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  background: rgba(255, 253, 251, 0.03);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    background-color 0.4s var(--ease);
}
.compliance-card:hover {
  transform: translateY(-4px);
  border-color: rgba(222, 201, 166, 0.55);
  background: rgba(255, 253, 251, 0.05);
}
.compliance-card h3 {
  font-size: 1.55rem;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 0.7rem;
  padding-left: 1.3rem;
  position: relative;
}
.compliance-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.6rem;
  height: 1px;
  background: var(--gold-soft);
}
.compliance-card p {
  margin: 0;
  color: rgba(250, 246, 240, 0.74);
  font-size: 0.98rem;
}
.compliance-disclaimer {
  margin: clamp(2.2rem, 4vw, 3rem) 0 0;
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(250, 246, 240, 0.55);
  max-width: 70ch;
  font-family: var(--serif);
  font-size: 1.05rem;
}

/* ============================================================
   CREATIVE / REELS
   ============================================================ */
.reel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  max-width: 940px;
}
.reel-frame {
  border-radius: 10px;
  overflow: hidden;
}
.reel-placeholder {
  aspect-ratio: 9 / 16;
  border: 1px dashed var(--gold-soft);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(236, 221, 213, 0.5), rgba(241, 233, 223, 0.5));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 1.5rem;
}
.reel-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

/* shared placeholder text */
.placeholder-label {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0;
  font-weight: 500;
}
.placeholder-text {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin: 0.2rem 0 0;
}

/* ============================================================
   PROOF
   ============================================================ */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.proof-card {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(174, 138, 91, 0.04) 0,
      rgba(174, 138, 91, 0.04) 12px,
      transparent 12px,
      transparent 24px
    ),
    var(--ivory);
}
.proof-tag {
  display: inline-block;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border: 1px solid var(--gold-soft);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1.1rem;
}
.proof-card h3 { font-size: 1.5rem; margin: 0 0 0.55rem; }
.proof-card p { margin: 0; color: var(--taupe); font-size: 0.96rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-media { position: relative; }
.image-placeholder {
  aspect-ratio: 4 / 5;
  border: 1px dashed var(--gold-soft);
  border-radius: 6px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(236, 221, 213, 0.7), rgba(241, 233, 223, 0.6));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
  padding: 1.5rem;
}
.about-copy .section-title { margin-bottom: 1.4rem; }
.about-copy p { color: var(--ink-soft); margin: 0 0 1.15rem; max-width: 52ch; }
.about-copy .btn { margin-top: 0.8rem; }

/* ============================================================
   BOOKING
   ============================================================ */
.booking .section-lead { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.booking-embed {
  background: rgba(250, 246, 240, 0.04);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
}
/* once booking.js injects the real scheduler, give it a clean light card */
.booking-embed.is-live {
  display: block;
  background: var(--ivory);
  border-color: transparent;
  min-height: 0;
  box-shadow: 0 30px 70px -40px rgba(42, 35, 32, 0.7);
}
.booking-embed.is-live iframe { display: block; border-radius: 8px; }

/* setup card, shown until the scheduler link is added */
.booking-setup {
  flex: 1;
  border: 1px dashed rgba(222, 201, 166, 0.4);
  margin: 12px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.75rem, 4vw, 3rem);
}
.booking-setup .placeholder-label { color: var(--gold-soft); }
.setup-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.95rem);
  color: var(--cream);
  margin: 0.1rem 0 0;
  line-height: 1.2;
}
.setup-sub {
  color: rgba(250, 246, 240, 0.72);
  margin: 0;
  max-width: 62ch;
}
.setup-fields {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: grid;
  gap: 0.65rem;
}
.setup-fields li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--cream);
  font-size: 1rem;
}
.setup-fields li span {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
}
.setup-fields li em {
  color: rgba(250, 246, 240, 0.5);
  font-style: italic;
  font-size: 0.85rem;
}

/* sticky "Book a call" that follows the scroll */
.sticky-cta {
  position: fixed;
  right: clamp(1rem, 3vw, 2.2rem);
  bottom: clamp(1rem, 3vw, 2.2rem);
  z-index: 60;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  box-shadow: 0 18px 40px -14px rgba(42, 35, 32, 0.65);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
    background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.sticky-cta.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
@media (max-width: 560px) {
  .sticky-cta {
    left: clamp(0.85rem, 4vw, 2rem);
    right: clamp(0.85rem, 4vw, 2rem);
    bottom: clamp(0.85rem, 4vw, 2rem);
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--espresso-2);
  color: rgba(250, 246, 240, 0.72);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-light);
}
.footer-tag {
  margin: 1rem 0 0;
  max-width: 32ch;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: rgba(250, 246, 240, 0.7);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
}
.footer-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 246, 240, 0.72);
  transition: color 0.3s var(--ease);
}
.footer-nav a:hover { color: var(--gold-soft); }
.footer-contact a {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--cream);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease);
}
.footer-contact a:hover { color: var(--gold-soft); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
}
.footer-legal p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(250, 246, 240, 0.45);
  max-width: 68ch;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav { display: none; }
  .about-inner { grid-template-columns: 1fr; }
  .about-media { max-width: 360px; }
}

@media (max-width: 560px) {
  .header-cta { padding: 0.6rem 1.1rem; }
  .brand-name { font-size: 1.15rem; }
  .hero-actions { gap: 1rem; }
  .hero-note { font-size: 1.05rem; }
  .btn { width: 100%; }
  .hero-actions .btn { width: auto; }
  .footer-legal { flex-direction: column; }
}

/* ============================================================
   MOTION PREFERENCE
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
