/* =========================================================
   ML Cure Health & Wellness Hub / ML Cure Beauty & Aesthetics
   Shared design system
   ========================================================= */

:root {
  /* Brand colours — bright metallic gold matched to the ML Cure logos */
  --gold: #F7B500;
  --gold-hover: #FFC72C;
  --deep-gold: #B8860B; /* reserved for small gold text/borders on white (contrast) */
  --gold-dark-text: #3A3A3A; /* text on bright gold surfaces */
  --gunmetal: #4A4A4A;
  --silver: #8E8E8E;
  --bg-white: #FFFFFF;
  --bg-off-white: #F7F6F3;

  /* Gradients */
  --gradient-gold: linear-gradient(90deg, #E09E00 0%, #FFC72C 100%);
  --gradient-gold-diag: linear-gradient(135deg, #E09E00 0%, #FFC72C 100%);

  /* Type */
  --font-heading: 'Montserrat', Arial, sans-serif;
  --font-body: 'Lato', Arial, sans-serif;
  --font-beauty: 'Playfair Display', Georgia, serif;
  --font-script: 'Great Vibes', cursive;

  /* Radii / shadows */
  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-soft: 0 4px 20px rgba(74, 74, 74, 0.08);
  --shadow-hover: 0 8px 28px rgba(74, 74, 74, 0.14);

  /* Layout */
  --container-width: 1200px;
  --header-height: 76px;
}

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gunmetal);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gunmetal);
  margin: 0 0 0.6em;
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gunmetal);
  color: #fff;
  padding: 12px 20px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* Visible focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--deep-gold);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
  text-align: center;
}
.btn-gold {
  background: var(--gradient-gold);
  color: var(--gold-dark-text);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}
.btn-gold:hover, .btn-gold:focus-visible {
  background: var(--gold-hover);
  color: var(--gold-dark-text);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.btn[disabled] {
  opacity: 0.65;
  cursor: default;
  transform: none;
}
.btn-ghost {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: rgba(255,255,255,0.15);
}
.btn-outline {
  background: transparent;
  border-color: var(--deep-gold);
  color: var(--deep-gold);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--deep-gold);
  color: #fff;
}
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* -------------------- Header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  height: var(--header-height);
}
.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo-block {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gunmetal);
}
.logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-gold-diag);
  color: var(--gold-dark-text);
  font-size: 0.6rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
  flex-shrink: 0;
}
.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  flex-shrink: 0;
}
.card-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow-soft);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav ul {
  display: flex;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gunmetal);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a[aria-current="page"] {
  color: var(--deep-gold);
  border-color: var(--deep-gold);
}
.header-cta { display: flex; align-items: center; gap: 14px; }
.main-nav .nav-book { display: none; }
.hamburger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--gunmetal);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 20px 6px; }
  .main-nav ul li { border-bottom: 1px solid #eee; }
  .main-nav a { display: block; padding: 14px 4px; }
  .header-cta .btn-gold { display: none; }
  .main-nav .nav-book { display: block; padding: 16px 20px; }
  .main-nav .nav-book .btn { width: 100%; }
  .hamburger { display: flex; }
}

/* -------------------- Divider motifs -------------------- */
.divider-ecg {
  width: 100%;
  height: 34px;
  margin: 0 auto;
}
.divider-ecg svg { width: 100%; height: 100%; display: block; }

.divider-arc {
  width: 100%;
  height: 40px;
}
.divider-arc svg { width: 100%; height: 100%; display: block; }

/* -------------------- Hero -------------------- */
.hero {
  background: linear-gradient(180deg, rgba(74,74,74,0.72), rgba(74,74,74,0.72)),
    repeating-linear-gradient(135deg, #6b6b6b 0 40px, #5c5c5c 40px 80px);
  color: #fff;
  padding: 90px 0 70px;
  text-align: center;
}
.hero h1 { color: #fff; }
.hero .subhead {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  color: #f0f0f0;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* -------------------- Two-path selector -------------------- */
.path-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 60px 0;
}
@media (max-width: 800px) {
  .path-selector { grid-template-columns: 1fr; }
}
.path-card {
  border-radius: var(--radius-md);
  padding: 44px 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.path-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.path-card.health {
  background: linear-gradient(160deg, #eef0ef 0%, #ffffff 60%);
  border: 1px solid #e4e4e4;
}
.path-card.beauty {
  background: linear-gradient(160deg, #fbf3df 0%, #fffdf7 60%);
  border: 1px solid #ecd9a3;
}
.path-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
}
.path-card.beauty h3 {
  font-family: var(--font-beauty);
  font-weight: 700;
  color: var(--deep-gold);
}
.path-card p { color: var(--silver); }
/* A path card carrying a photo. The image sits behind the text; a pale
   gradient rises from the bottom so the bottom-aligned copy stays legible
   without darkening the photograph. */
.path-card.has-photo { min-height: 360px; }
.path-card.has-photo > img.path-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  z-index: 0;
}
.path-card.has-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(255,253,247,0) 30%, rgba(255,253,247,0.92) 62%, rgba(255,253,247,0.98) 100%);
}
.path-card.has-photo > :not(img) { position: relative; z-index: 2; }
/* The health card fades to cool white to match its own palette, not cream. */
.path-card.health.has-photo::after {
  background: linear-gradient(180deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.92) 62%, rgba(255,255,255,0.98) 100%);
}

/* -------------------- Trust strip -------------------- */
.trust-strip {
  background: var(--bg-off-white);
  padding: 50px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-item .icon-circle { margin: 0 auto 14px; }
.trust-item h4 { font-size: 1rem; }
.trust-item p { color: var(--silver); font-size: 0.9rem; margin: 0; }

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-gold);
}

/* -------------------- Cards / grids -------------------- */
.section { padding: 70px 0; }
.section-tight { padding: 40px 0; }
.section-off { background: var(--bg-off-white); }
.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.section-heading p { color: var(--silver); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

.card-grid-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .card-grid-2 { grid-template-columns: 1fr; } }
/* Four-up variant for the team, which has four members. */
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .card-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .card-grid-4 { grid-template-columns: 1fr; } }
/* The team grows past four: centre the cards so any count lays out evenly
   (five in a row on desktop, a centred short row below that) instead of
   leaving one card stranded at the left of an empty row. */
.card-grid-4.team-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.team-grid > .team-card { flex: 0 1 calc((100% - 4 * 26px) / 5); min-width: 190px; }
@media (max-width: 560px) { .team-grid > .team-card { flex-basis: 100%; } }

.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e9e9e9, #f7f6f3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  font-size: 0.85rem;
  text-align: center;
  padding: 10px;
}
/* Same slot, but holding a real photo instead of the grey placeholder block.
   Keeps the 4/3 ratio above and crops the image to it. */
img.card-img {
  display: block;
  width: 100%;
  /* height:auto is required. The width/height HTML attributes (kept so the
     browser reserves space and avoids layout shift) otherwise fix the used
     height at 800px and override the 4/3 aspect-ratio above. */
  height: auto;
  object-fit: cover;
  padding: 0;
  background: none;
}
/* Portrait variant for a photo beside a column of text (the two-col intro
   blocks). 4:5 keeps a standing practitioner and a reclining client in frame
   where 4:3 would crop one of them out. */
img.card-img.portrait { aspect-ratio: 4 / 5; border-radius: var(--radius-md); }
/* A 16:9 campaign creative in a 4:3 card slot. The headline sits on the
   left of every creative in the set, so anchor the crop there rather than
   centre and lose the first letters. */
img.card-img.creative { object-position: left center; }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--silver); font-size: 0.95rem; flex: 1; }
.card-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--gradient-gold);
  color: var(--gold-dark-text);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.card-link {
  color: var(--deep-gold);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

/* Beauty-flavoured card */
.card.beauty-card { border-color: #ecd9a3; }
.card.beauty-card h3 { font-family: var(--font-beauty); color: var(--deep-gold); }

/* -------------------- Team -------------------- */
.team-card { text-align: center; }
.team-card .card-body h3 { margin-bottom: 2px; }
.team-card .role { color: var(--deep-gold); font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; }
.team-card .reg { color: var(--silver); font-size: 0.78rem; }

/* -------------------- Testimonials -------------------- */
.testimonial-carousel {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.testimonial-track { overflow: hidden; }
.testimonial-slide {
  display: none;
  background: var(--bg-off-white);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
}
.testimonial-slide.active { display: block; }
.testimonial-slide p.quote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gunmetal);
}
.testimonial-slide .stars { color: var(--gold); margin-bottom: 14px; font-size: 1.1rem; }
.testimonial-slide .author { font-family: var(--font-heading); font-weight: 700; margin-top: 14px; }
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  padding: 0;
}
.carousel-dot.active { background: var(--gold); }
.carousel-dot:focus-visible { outline: 3px solid var(--deep-gold); outline-offset: 2px; }

/* -------------------- Banner carousel (campaign creatives) -------------------- */
/* Full-width 16:9 campaign images with their headline baked in. Each slide is a
   link to the booking page, because the image itself carries a "Book your
   appointment" button that would otherwise be a dead pixel. Alt text repeats
   the baked-in copy so it is not lost to screen readers. */
.banner-carousel { position: relative; }
.banner-carousel .carousel-track { overflow: hidden; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.carousel-slide { display: none; }
.carousel-slide.active { display: block; }
.carousel-slide a { display: block; line-height: 0; }
.carousel-slide img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.banner-carousel .carousel-controls { margin-top: 16px; }

/* -------------------- Promo banner (single campaign creative) -------------------- */
.promo-banner a { display: block; line-height: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.promo-banner a:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.promo-banner a:focus-visible { outline: 3px solid var(--deep-gold); outline-offset: 3px; }
.promo-banner img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.promo-banner .promo-caption { text-align: center; color: var(--silver); font-size: 0.9rem; margin-top: 14px; line-height: 1.6; }

/* -------------------- Location strip -------------------- */
.location-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: stretch;
}
@media (max-width: 800px) { .location-strip { grid-template-columns: 1fr; } }
.map-placeholder {
  background: repeating-linear-gradient(45deg, #eee, #eee 12px, #f7f6f3 12px, #f7f6f3 24px);
  border-radius: var(--radius-md);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  font-weight: 600;
  text-align: center;
  padding: 20px;
}
.location-details {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}
.location-details dt { font-family: var(--font-heading); font-weight: 700; margin-top: 14px; color: var(--deep-gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; }
.location-details dd { margin: 4px 0 0; }

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--gunmetal);
  color: #f0f0f0;
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: var(--gold);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.site-footer a { color: #e4e4e4; transition: color 0.2s; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--gold); }
.site-footer li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-logos { display: flex; gap: 14px; margin-bottom: 16px; }
.social-icons { display: flex; gap: 12px; margin-top: 16px; }
.social-icons a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
}
.social-icons a:hover { border-color: var(--gold); }
.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #ccc;
}
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
/* "Cookie settings" reopens the consent banner (js/analytics.js); styled to
   match the links beside it. */
.cookie-settings { background: none; border: 0; padding: 0; font: inherit; color: #e4e4e4; cursor: pointer; transition: color 0.2s; }
.cookie-settings:hover, .cookie-settings:focus-visible { color: var(--gold); }
/* the same control inside body copy (Privacy Policy §8) */
.linkish-inline { background: none; border: 0; padding: 0; font: inherit; color: var(--deep-gold); text-decoration: underline; cursor: pointer; }

/* Cookie consent banner (js/analytics.js). Accept and Decline carry equal
   weight: no pre-ticked choice, no buried "no" (POPIA). Sits above the
   WhatsApp button so neither covers the other. */
.cookie-banner {
  position: fixed; left: 16px; right: 96px; bottom: 16px; z-index: 1500;
  max-width: 760px; margin: 0 auto;
  background: #fff; border: 1px solid #ecd9a3; border-top: 3px solid var(--gold);
  border-radius: var(--radius-md); box-shadow: var(--shadow-hover);
  padding: 18px 20px; display: flex; gap: 18px; align-items: center;
}
.cookie-banner p { margin: 0; font-size: 0.9rem; color: var(--gold-dark-text); flex: 1; }
.cookie-banner a { color: var(--deep-gold); text-decoration: underline; }
/* two equal columns, so Accept and No thanks are always the same size */
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex-shrink: 0; width: 260px; }
.cookie-actions .btn { width: 100%; justify-content: center; text-align: center; }
@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; right: 16px; bottom: 90px; }
  .cookie-actions { width: 100%; }
}
.disclaimer {
  font-size: 0.78rem;
  color: #bbb;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  line-height: 1.6;
}

/* -------------------- WhatsApp float -------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--gold-dark-text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover, .whatsapp-float:focus-visible { transform: scale(1.08); }

/* -------------------- Breadcrumb / page hero -------------------- */
.page-hero {
  background: var(--bg-off-white);
  padding: 50px 0 40px;
  text-align: center;
}
.page-hero.beauty-hero {
  background: linear-gradient(160deg, #fbf3df 0%, #fffdf7 100%);
}
.breadcrumb { font-size: 0.85rem; color: var(--silver); margin-bottom: 10px; }
.breadcrumb a { color: var(--deep-gold); }

/* -------------------- Service page layout -------------------- */
.service-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) { .service-layout { grid-template-columns: 1fr; } }
.service-sidebar {
  background: var(--bg-off-white);
  border-radius: var(--radius-md);
  padding: 26px;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}
.service-sidebar h4 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--deep-gold); }
.service-sidebar .btn { width: 100%; margin-bottom: 12px; }
.credential-block {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 16px;
  font-size: 0.88rem;
}
.credential-block strong { display: block; color: var(--gunmetal); }
.credential-block .reg-num { color: var(--silver); font-size: 0.8rem; }

.info-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
}
.info-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gradient-gold);
}

/* -------------------- FAQ Accordion -------------------- */
.accordion-item {
  border-bottom: 1px solid #e6e6e6;
}
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gunmetal);
}
.accordion-trigger .plus {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--deep-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: transform 0.2s ease;
}
.accordion-trigger[aria-expanded="true"] .plus { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--silver);
  font-size: 0.95rem;
}
.accordion-panel[data-open="true"] { max-height: 600px; }
.accordion-panel .inner { padding: 0 4px 18px; }

/* -------------------- Before/After gallery -------------------- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 800px) { .ba-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .ba-grid { grid-template-columns: 1fr; } }
.ba-pair {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #ecd9a3;
  cursor: pointer;
  background: #fff;
}
.ba-pair .ba-imgs { display: grid; grid-template-columns: 1fr 1fr; }
.ba-pair .ba-imgs div {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #f3e6c2, #fffaf0);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; color: var(--deep-gold); text-align: center; padding: 6px;
}
.ba-pair .ba-caption { padding: 10px 14px; font-size: 0.82rem; color: var(--silver); }
.ba-consent {
  font-size: 0.82rem;
  color: var(--silver);
  background: var(--bg-off-white);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 20px;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-content {
  background: #fff;
  border-radius: var(--radius-md);
  max-width: 700px;
  width: 100%;
  padding: 20px;
  position: relative;
}
.lightbox-close {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--gunmetal);
  color: #fff;
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
}
.lightbox-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.lightbox-imgs div {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #f3e6c2, #fffaf0);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--deep-gold); text-align: center; padding: 10px;
}

/* -------------------- Pricing table -------------------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.price-table caption { text-align: left; font-family: var(--font-beauty); font-size: 1.2rem; color: var(--deep-gold); padding: 16px 20px; background: #fdf6e3; }
.price-table th, .price-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid #f0e6c8;
  font-size: 0.92rem;
}
.price-table thead th {
  background: var(--gradient-gold);
  color: var(--gold-dark-text);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}
.price-table tbody tr:hover { background: #fffaf0; }
.price-table .price { color: var(--deep-gold); font-weight: 700; }
.price-table-wrap { overflow-x: auto; margin-bottom: 36px; }

/* -------------------- Forms -------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-heading); font-weight: 700; font-size: 0.88rem; }
.form-field .required { color: var(--deep-gold); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: var(--radius-sm);
  background: #fff;
}
.form-field input:invalid[data-touched="true"],
.form-field select:invalid[data-touched="true"],
.form-field textarea:invalid[data-touched="true"] {
  border-color: #c0392b;
}
.form-error {
  color: #c0392b;
  font-size: 0.8rem;
  display: none;
}
.form-error.show { display: block; }
/* Booking: opening-hours line under the date/time fields, and the friendly
   notice when a chosen day or time falls outside those hours (js/main.js).
   Warm amber rather than error red: it is guidance, not a mistake. */
.form-hint { grid-column: 1 / -1; margin: -6px 0 0; font-size: 0.85rem; color: var(--silver); }
.form-error.form-friendly { color: #6b4a00; background: #fdf3dc; border-radius: var(--radius-md); padding: 8px 12px; font-size: 0.85rem; margin-top: 6px; }
.form-field input[aria-invalid="true"] { border-color: #d39b1f; }
.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--bg-off-white);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.form-consent input { margin-top: 3px; }
.form-note {
  background: #fdf6e3;
  border: 1px dashed var(--gold);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 0.85rem;
  color: var(--gunmetal);
  margin-top: 20px;
}
.form-success {
  display: none;
  background: #eaf7ee;
  border: 1px solid #b9e3c4;
  color: #1f7a3d;
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 20px;
  font-weight: 700;
}
.form-success.show { display: block; }
.fallback-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* Two ways to send the same request: email (submit) or WhatsApp (opens
   wa.me with the fields pre-filled). Equal weight, side by side, stacking
   on narrow screens. */
.send-choice-label { font-size: 0.9rem; color: var(--silver); margin: 22px 0 12px; }
.send-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .send-choice { grid-template-columns: 1fr; } }
.btn-whatsapp { border-color: #25D366; color: #128C7E; }
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { background: #25D366; border-color: #25D366; color: #fff; }
.whatsapp-note {
  display: none;
  background: #e9f9ef;
  border: 1px solid #b6e8c6;
  color: #1f6f45;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 16px;
  font-size: 0.9rem;
}
.whatsapp-note.show { display: block; }
.whatsapp-note a { color: inherit; text-decoration: underline; }

/* -------------------- Tabs (Patient Info) -------------------- */
.tabs-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; border-bottom: 2px solid #eee; }
.tabs-nav button {
  background: none; border: none;
  padding: 12px 18px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--silver);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.tabs-nav button[aria-selected="true"] { color: var(--deep-gold); border-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid #eee;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: #fff;
}

/* -------------------- Utility -------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.gold-text { color: var(--deep-gold); }
.script-accent { font-family: var(--font-script); font-size: 1.8rem; color: var(--deep-gold); display: block; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--deep-gold);
  margin-bottom: 10px;
}
.pill {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--gold);
  color: var(--deep-gold);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 700px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
.gallery-grid img.card-img, .two-col img.card-img { border-radius: var(--radius-md); }
/* Service-page blocks: an anchor target clears the sticky header, and a
   partner logo sits under the block heading at a modest size (Discovery
   Vitality: never larger than ML Cure's own name or logo). */
.block-anchor { scroll-margin-top: 110px; }
.block-logo { display: block; width: 180px; max-width: 50%; height: auto; border-radius: var(--radius-md); margin: 6px 0 14px; }
/* A picture beside a block's text: right-hand float on wide screens, full
   width on phones. The next image-carrying heading clears it. */
.block-figure { float: right; width: 40%; max-width: 320px; height: auto; margin: 4px 0 16px 24px; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.block-clear, .block-figure ~ h3 { clear: both; }
@media (max-width: 600px) { .block-figure { float: none; width: 100%; max-width: none; margin: 8px 0 16px; } }

/* -------------------- Beauty section overrides -------------------- */
.beauty-section h1, .beauty-section h2, .beauty-section h3 { font-family: var(--font-beauty); }
.beauty-section .eyebrow { font-family: var(--font-script); font-size: 1.6rem; text-transform: none; letter-spacing: 0; }

/* -------------------- Scroll-reveal animation -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* -------------------- Blog -------------------- */
.blog-post-header { text-align: center; max-width: 760px; margin: 0 auto; }
.blog-post-meta { color: var(--silver); font-size: 0.85rem; margin-bottom: 10px; }
.blog-article { max-width: 760px; margin: 0 auto; }
.blog-article h2 { margin-top: 1.6em; }
.author-block {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--bg-off-white);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 40px auto;
  max-width: 760px;
}
.author-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gradient-gold-diag);
  flex-shrink: 0;
}

/* Table used for hours */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td, .hours-table th { padding: 10px 14px; border-bottom: 1px solid #eee; text-align: left; font-size: 0.92rem; }

@media print {
  .site-header, .whatsapp-float, .site-footer { display: none; }
}
