/* Self-hosted fonts (Latin subset, variable weight) from Google Fonts, SIL Open Font License */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/montserrat-latin.woff2") format("woff2"); }
@font-face { font-family: "Noto Serif"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/noto-serif-latin.woff2") format("woff2"); }
@font-face { font-family: "Noto Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/noto-serif-italic-latin.woff2") format("woff2"); }

:root {
  --purple-900: #2e0a4a;
  --purple-800: #4b0f73;
  --purple-600: #6c2bb0;
  --lavender-300: #c9b8ea;
  --lavender-200: #ddd0f3;
  --lavender-100: #efe8fa;
  --lavender-50: #f8f4fd;
  --pink-100: #fde8f4;
  --aqua-100: #e3fbfb;
  --ink: #241b2f;
  --ink-soft: #564c63;
  --line: #e4dcef;
  --white: #ffffff;
  --whatsapp: #1fa855;
  --gold-light: #e7c460;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(75, 15, 115, 0.06);
  --shadow: 0 14px 34px rgba(75, 15, 115, 0.12);
  --serif: "Noto Serif", Georgia, serif;
  --sans: "Montserrat", "Segoe UI", Arial, sans-serif;
  --max: 1160px;
  --header-h: 84px;
  --gutter: 20px;
  /* Three-petal lotus from the logo, used as a small ornament */
  --lotus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 28'%3E%3Cg fill='%236c2bb0'%3E%3Cpath d='M20 0c5 5 5 14 0 20-5-6-5-15 0-20z'/%3E%3Cpath d='M2 12c7-1 13 3 16 12C10 25 4 20 2 12z'/%3E%3Cpath d='M38 12c-7-1-13 3-16 12 8 1 14-4 16-12z'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-600); text-underline-offset: 3px; }
a:hover { color: var(--purple-800); }
:focus-visible { outline: 3px solid var(--purple-600); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--purple-800);
  line-height: 1.2;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.5rem); letter-spacing: -0.005em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
h2.h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.section { padding: 88px 0; }
.section.tint { background: var(--lavender-50); }
.section.lavender { background: var(--lavender-100); }
.center { text-align: center; }
.mt { margin-top: 2em; }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--purple-600);
  margin-bottom: 0.7em;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.center .lead, .lead.center { margin-left: auto; margin-right: auto; max-width: 720px; }
.ornament::before {
  content: "";
  display: block;
  width: 40px;
  height: 28px;
  margin: 0 0 14px;
  background: var(--lotus) no-repeat center / contain;
  opacity: 0.85;
}
.center .ornament::before, .ornament.center::before { margin-left: auto; margin-right: auto; }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 200; background: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--purple-800);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: center;
  border: 2px solid var(--purple-800);
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { background: var(--purple-600); border-color: var(--purple-600); color: var(--white); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(108, 43, 176, 0.25); }
.btn.ghost { background: transparent; color: var(--purple-800); }
.btn.ghost:hover { background: var(--purple-800); color: var(--white); }
.btn.whatsapp-btn { background: var(--whatsapp); border-color: var(--whatsapp); }
.btn.whatsapp-btn:hover { background: #178a45; border-color: #178a45; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.center .btn-row, .btn-row.center { justify-content: center; }
.text-link { font-weight: 700; color: var(--purple-600); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px var(--gutter); max-width: 1320px; margin: 0 auto; min-height: var(--header-h); }
.brand { flex-shrink: 0; display: block; }
.brand img { height: 64px; width: auto; }
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--lavender-100);
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  min-height: 44px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--purple-800);
  cursor: pointer;
}
.nav-toggle .bars { position: relative; width: 18px; height: 12px; }
.nav-toggle .bars span { position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.25s, opacity 0.2s, top 0.25s; }
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 5px; }
.nav-toggle .bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.main-nav > ul { list-style: none; display: flex; flex-wrap: nowrap; align-items: center; margin: 0; padding: 0; }
.main-nav a {
  display: block;
  white-space: nowrap;
  padding: 8px 9px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--purple-800); background: var(--lavender-100); }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { display: none; }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: 0.6; }
.sub {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { white-space: normal; padding: 10px 12px; }
.social { display: flex; gap: 8px; }
.social a { display: block; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; transition: transform 0.2s; }
.social a:hover { transform: translateY(-2px); }
.social img { width: 32px; height: 32px; }

.main-nav .nav-cta { margin-left: 10px; }
.main-nav .nav-cta .btn { min-height: 42px; padding: 9px 18px; font-size: 0.86rem; color: var(--white); background: var(--purple-800); }
.main-nav .nav-cta .btn:hover { background: var(--purple-600); color: var(--white); }

/* Mobile and tablet menu: full-height panel under the header */
@media (max-width: 1220px) {
  :root { --header-h: 72px; }
  /* backdrop-filter would make the header the containing block for the fixed menu panel */
  .site-header { backdrop-filter: none; background: var(--white); }
  .brand img { height: 52px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--white);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; max-width: 560px; margin: 0 auto; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a { white-space: normal; font-size: 1.05rem; padding: 14px 8px; border-radius: 10px; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .has-sub > a::after { display: none; }
  .sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 10px;
    background: var(--lavender-50);
    color: var(--purple-800);
    cursor: pointer;
  }
  .sub-toggle::before { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s; }
  .sub-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); }
  .sub {
    position: static;
    flex-basis: 100%;
    min-width: 0;
    padding: 0 0 10px 14px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .sub::before { display: none; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { transform: none; }
  .sub a { font-size: 0.98rem; padding: 11px 10px; color: var(--ink-soft); }
  .main-nav > ul > li.nav-cta { border-bottom: 0; margin: 24px 0 0; }
  .main-nav .nav-cta .btn { display: flex; width: 100%; min-height: 52px; font-size: 1rem; }
  .nav-extra { display: block; max-width: 560px; margin: 20px auto 0; }
  .nav-extra .social { justify-content: center; }
}
@media (min-width: 1221px) {
  .nav-extra { display: none; }
}

/* Home hero */
.hero {
  position: relative;
  background:
    radial-gradient(600px 400px at 85% 15%, rgba(253, 232, 244, 0.9), transparent 70%),
    radial-gradient(500px 380px at 10% 90%, rgba(227, 251, 251, 0.55), transparent 70%),
    linear-gradient(135deg, var(--lavender-300) 0%, #d9c9f2 50%, var(--pink-100) 100%);
  padding: 80px 0 96px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--purple-900); }
.hero .tagline { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 2rem); color: var(--purple-800); margin-bottom: 0.4em; }
.hero .lead { color: #4a3f58; }
.hero-figure { position: relative; justify-self: center; width: 100%; max-width: 440px; }
.hero-photo { border-radius: 50%; overflow: hidden; aspect-ratio: 1; border: 8px solid var(--white); box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.portrait { border-radius: var(--radius); aspect-ratio: 4 / 5; }
.hero-badge {
  position: absolute;
  left: -12px;
  bottom: 28px;
  background: var(--white);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 250px;
}
.hero-badge .dot { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--lavender-100) var(--lotus) no-repeat center / 24px; }
.hero-badge strong { display: block; font-size: 0.9rem; color: var(--purple-800); line-height: 1.3; }
.hero-badge span { font-size: 0.8rem; color: var(--ink-soft); }

/* Home hero with Dr. Monica's portrait and a booking button on the photo */
.portrait-hero { max-width: 420px; align-self: center; }
.hero-photo.portrait img { object-position: center 15%; }
.hero-badge.hero-cta {
  left: 50%;
  right: auto;
  bottom: 22px;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.hero-badge.hero-cta strong { font-size: 0.95rem; }
.hero-badge.hero-cta:hover { box-shadow: 0 16px 36px rgba(75, 15, 115, 0.28); transform: translateX(-50%) translateY(-2px); }
/* fade in with the centring transform intact */
@keyframes cta-in { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%); } }
.hero-badge.hero-cta { animation: cta-in 0.5s var(--ease) 0.5s backwards; }

/* Highlights strip under the home hero */
.stats-bar { background: var(--purple-900); color: var(--white); padding: 26px 0; }
.stats-bar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; text-align: center; }
.stats-bar li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 6px; }
.stats-bar .stat-icon { width: 64px; height: 64px; color: var(--gold-light); margin-bottom: 4px; }
.stats-bar .stat-icon .laurel { opacity: 0.9; }
.stats-bar li + li { border-left: 1px solid rgba(255, 255, 255, 0.15); }
.stats-bar strong { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.2; }
.stats-bar span { font-size: 0.82rem; opacity: 0.85; line-height: 1.4; }
@media (max-width: 900px) {
  .stats-bar ul { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
  .stats-bar li + li { border-left: 0; }
  .stats-bar li:last-child { grid-column: 1 / -1; }
}

/* Milestones timeline (About) */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 58px; top: 6px; bottom: 6px; width: 2px; background: var(--lavender-300); }
.timeline li { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 0 0 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .year { font-family: var(--serif); font-weight: 700; color: var(--purple-800); text-align: right; padding-right: 22px; position: relative; }
.timeline .year::after { content: ""; position: absolute; right: -9px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--purple-600); }
.timeline h3 { margin-bottom: 0.2em; font-size: 1.1rem; }
.timeline p { margin: 0; color: var(--ink-soft); }

/* Book showcase */
.book { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; }
.book + .book { margin-top: 72px; }
.book-cover { border-radius: 6px 14px 14px 6px; box-shadow: 0 22px 44px rgba(46, 10, 74, 0.25), inset 4px 0 8px rgba(0, 0, 0, 0.15); overflow: hidden; background: var(--white); }
.book-cover img { width: 100%; }
.book-cover.photo { border-radius: var(--radius); aspect-ratio: 4 / 5; }
.book-cover.photo img { height: 100%; object-fit: cover; }
.book-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.88rem; color: var(--ink-soft); margin: 0 0 1em; padding: 0; list-style: none; }
.award-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff7e0; color: #7a5200; border: 1px solid #f0d68a; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 0.85rem; margin-bottom: 1em; }
@media (max-width: 760px) {
  .book { grid-template-columns: 1fr; gap: 28px; }
  .book-cover { max-width: 240px; margin: 0 auto; }
}

/* Inner page heroes */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-color: var(--purple-800);
  background-image: var(--hero-sm, var(--hero));
  background-size: cover;
  background-position: center;
}
@media (min-width: 801px) {
  .page-hero { background-image: var(--hero); }
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46, 10, 74, 0.2) 0%, rgba(46, 10, 74, 0.82) 100%); }
.page-hero .container { position: relative; padding-top: 96px; padding-bottom: 48px; }
.page-hero h1 { color: var(--white); margin: 0; max-width: 900px; }
.page-hero p { margin: 0.5em 0 0; font-size: 1.15rem; opacity: 0.95; max-width: 720px; }
.page-hero .crumb { margin: 0 0 10px; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; opacity: 0.9; }
.page-hero .crumb a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.5); }
.page-hero.plain { background: linear-gradient(135deg, var(--purple-800), var(--purple-600)); min-height: 260px; }
.page-hero.plain::before { background: radial-gradient(500px 300px at 90% 0%, rgba(201, 184, 234, 0.35), transparent 70%); }

/* Layout helpers */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split > *, .grid > * { min-width: 0; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }
.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.card .card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--lavender-100); }
/* Crop from slightly above centre: people's faces sit in the upper part of most photos */
.card .card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 0.4s ease; }
.card .card-img img.pos-top { object-position: center 12%; }
a.card { text-decoration: none; color: inherit; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--lavender-300); color: inherit; }
a.card:hover .card-img img { transform: scale(1.03); }
.card .card-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card .card-body > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--purple-600); font-size: 0.92rem; }
.card .more::after { content: " \2192"; transition: margin 0.2s; }
a.card:hover .more::after { margin-left: 4px; }

.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 12px 0 12px 36px; position: relative; border-bottom: 1px solid var(--line); }
.list-plain li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 22px; height: 16px; background: var(--lotus) no-repeat center / contain; }
.list-plain li:last-child { border-bottom: 0; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.pills li { background: var(--white); border: 1px solid var(--lavender-300); color: var(--purple-800); border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: 0.92rem; }
.pills.center { justify-content: center; }

.numbered { counter-reset: n; display: grid; gap: 18px; }
.numbered .step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px 24px 88px; position: relative; box-shadow: var(--shadow-sm); }
.numbered .step::before {
  counter-increment: n;
  content: counter(n, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lavender-100);
  color: var(--purple-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
}
.numbered .step h3 { margin-bottom: 0.3em; }
.numbered .step p { margin: 0; color: var(--ink-soft); }
.numbered .step h3:last-child { margin: 10px 0; }

.feature-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lavender-100); color: var(--purple-800); font-family: var(--serif); font-weight: 700; margin-bottom: 14px; }

.quote-band {
  position: relative;
  background: radial-gradient(600px 300px at 15% 0%, rgba(201, 184, 234, 0.25), transparent 70%), var(--purple-800);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
  overflow: hidden;
}
.quote-band h2 { color: var(--white); }
.quote-band p { opacity: 0.92; max-width: 720px; margin: 0 auto 1em; }
.quote-band .btn { background: var(--white); color: var(--purple-800); border-color: var(--white); }
.quote-band .btn:hover { background: var(--lavender-100); color: var(--purple-900); }
.quote-band .btn.ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.quote-band .btn.ghost:hover { background: var(--white); color: var(--purple-800); }
.quote-band .ornament::before { filter: brightness(0) invert(1); opacity: 0.7; }

.motto { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--purple-800); border-left: 4px solid var(--lavender-300); padding-left: 18px; }

.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 16px; align-items: center; }
.logo-wall img { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px; aspect-ratio: 1; object-fit: contain; width: 100%; }
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logo-strip img { width: 96px; height: 96px; object-fit: contain; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px; }

.gallery { columns: 3 280px; column-gap: 18px; }
.gallery figure { margin: 0 0 18px; break-inside: avoid; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; }
.gallery img { border-radius: 14px; width: 100%; transition: transform 0.4s; }
.gallery button:hover img { transform: scale(1.03); }

.lightbox { position: fixed; inset: 0; background: rgba(20, 6, 32, 0.94); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.22s ease, visibility 0.22s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 10px; transform: scale(0.97); transition: transform 0.25s ease, opacity 0.18s ease; }
.lightbox.open img { transform: none; }
.lightbox img.swapping { opacity: 0; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, 0.12); border: 0; color: var(--white); width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

.video-card .card-img { aspect-ratio: 2 / 1; position: relative; }
.video-card .card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(75, 15, 115, 0.88) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E") no-repeat 55% center / 26px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}
a.video-card:hover .card-img::after { transform: scale(1.08); }

.testimonial { background: var(--white); border-radius: var(--radius); padding: 34px 30px; border: 1px solid var(--line); text-align: center; box-shadow: var(--shadow-sm); position: relative; }
.testimonial::before { content: "\201C"; position: absolute; top: 4px; left: 20px; font-family: var(--serif); font-size: 4.5rem; line-height: 1; color: var(--lavender-200); }
.testimonial img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 4px solid var(--lavender-100); position: relative; }
.testimonial blockquote { margin: 0 0 14px; font-family: var(--serif); font-style: italic; color: var(--ink); position: relative; }
.testimonial cite { font-style: normal; font-weight: 700; color: var(--purple-800); }
a.testimonial { color: inherit; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
a.testimonial:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; display: flex; gap: 16px; align-items: center; box-shadow: var(--shadow-sm); }
.contact-card .icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--lavender-100); display: flex; align-items: center; justify-content: center; color: var(--purple-800); }
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 0.78rem; font-family: var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.2em; }
.contact-card p { font-size: 1.08rem; font-weight: 600; margin-bottom: 0; word-break: break-word; }
.contact-card + .contact-card { margin-top: 14px; }

/* Enquiry form */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  min-height: 48px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--lavender-50);
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple-600); background: var(--white); }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 12px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.toc { display: flex; flex-wrap: wrap; gap: 10px; }
.toc a { background: var(--white); border: 1px solid var(--lavender-300); border-radius: 999px; padding: 9px 18px; text-decoration: none; font-weight: 600; font-size: 0.9rem; color: var(--purple-800); white-space: nowrap; }
.toc a:hover { background: var(--purple-800); color: var(--white); }
.toc-bar .toc { justify-content: center; }
.toc-bar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); padding: 12px 0; }
.anchor { scroll-margin-top: calc(var(--header-h) + 72px); }

/* Long-form text pages (privacy, terms, disclaimer) */
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.4em; }
.prose p, .prose li { max-width: 68ch; }

/* Click-to-play YouTube videos: only the thumbnail loads until the visitor presses play */
.yt-lite, .ig-lite { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.yt-lite img, .ig-lite img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: opacity 0.2s, transform 0.4s ease; }
.yt-lite::after, .ig-lite::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(75, 15, 115, 0.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E") no-repeat 55% center / 28px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}
.yt-lite:hover img, .ig-lite:hover img { opacity: 1; transform: scale(1.03); }
.yt-lite:hover::after, .ig-lite:hover::after { transform: scale(1.08); }
.yt-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.yt-lite.is-short, .yt-frame.is-short { aspect-ratio: 9 / 16; }

/* "As featured in" press strip */
.featured-in { padding: 34px 0 30px; border-bottom: 1px solid var(--line); text-align: center; }
.featured-in .eyebrow { margin-bottom: 14px; }
.featured-in ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 36px; }
.featured-in a { display: block; text-decoration: none; transition: opacity 0.2s, transform 0.2s; }
.featured-in a:hover { transform: translateY(-2px); }
.featured-in img { display: block; height: 36px; width: auto; max-width: 180px; }
.featured-in img.logo-wide { height: 20px; }
.featured-in img.logo-sm { height: 28px; }
.featured-in img.logo-tall { height: 44px; }
.featured-in a.word { font-family: var(--serif); font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 700; color: var(--purple-800); opacity: 0.8; letter-spacing: 0.01em; }
.featured-in a.word:hover { opacity: 1; }
@media (max-width: 600px) {
  .featured-in ul { gap: 16px 24px; }
  .featured-in img { height: 30px; max-width: 140px; }
  .featured-in img.logo-wide { height: 16px; }
  .featured-in img.logo-sm { height: 24px; }
  .featured-in img.logo-tall { height: 38px; }
}

/* Home page highlights: latest YouTube shorts and Instagram posts */
.feed-title { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 2em 0 0.9em; font-size: 1.1rem; }
.feed-title img { width: 24px; height: 24px; }
.feed-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 230px; gap: 18px; width: max-content; max-width: 100%; margin: 0 auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.feed-tile { margin: 0; scroll-snap-align: start; min-width: 0; }
.feed-tile .yt-lite, .feed-tile .ig-lite, .feed-tile iframe { border-radius: var(--radius-sm); }
.feed-tile figcaption { padding: 10px 2px 0; font-size: 0.88rem; line-height: 1.4; color: var(--ink-soft); }
.feed-tile figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.ig-lite { aspect-ratio: 9 / 16; }
@media (max-width: 600px) { .feed-strip { grid-auto-columns: 64vw; } }

/* Certifications with their issuing body underneath */
.cred-list li span { display: block; font-size: 0.86rem; color: var(--ink-soft); }

/* Author box at the end of blog posts */
.author-box { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 4px solid var(--lavender-100); }
.author-box .btn-row { margin-top: 1em; }
@media (max-width: 600px) { .author-box { grid-template-columns: 1fr; text-align: center; } .author-box img { margin: 0 auto; } }

/* Callouts: safety notes and disclaimers */
.notice { background: var(--lavender-50); border: 1px solid var(--lavender-300); border-left: 4px solid var(--purple-600); border-radius: var(--radius-sm); padding: 18px 20px; margin: 0 0 1.6em; }
.notice p:last-child { margin-bottom: 0; }
.notice.small { font-size: 0.92rem; color: var(--ink-soft); }

.related { background: var(--lavender-50); padding: 56px 0; border-top: 1px solid var(--line); }
.related h2 { font-size: 1.4rem; }

/* Footer */
.site-footer { background: var(--purple-900); color: #e9dcf7; padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 0.95rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .footer-title { color: var(--white); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1em; }
.site-footer .footer-place { margin: 14px 0 0; opacity: 0.85; }
.footer-note { margin-top: 36px; font-size: 0.85rem; opacity: 0.8; max-width: 760px; }
.footer-note a { text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { text-decoration: none; padding: 4px 0; }
.footer-legal a:hover { text-decoration: underline; }
body[data-page="contact"] .whatsapp { display: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-block; padding: 5px 0; text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.footer-logo { background: var(--white); border-radius: 14px; padding: 10px 14px; display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 56px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 44px; padding-top: 20px; font-size: 0.85rem; opacity: 0.8; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 999px;
  padding: 12px 20px 12px 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  font-size: 0.92rem;
  transition: transform 0.2s, background 0.2s;
}
.whatsapp svg { width: 26px; height: 26px; }
.whatsapp:hover { color: var(--white); background: #178a45; transform: translateY(-2px); }
body.nav-open .whatsapp { display: none; }

@media (max-width: 900px) {
  .hero-grid, .split, .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
  .split .media-first { order: -1; }
  .grid.three, .grid.four { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .hero-figure { max-width: 320px; }
  .hero-figure.portrait-fig { max-width: 360px; order: -1; }
  .page-hero { min-height: 260px; }
  .page-hero .container { padding-top: 72px; padding-bottom: 36px; }
}
@media (max-width: 600px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; gap: 18px; }
  .grid.compact { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid.compact .card-body { padding: 14px 14px 16px; }
  .grid.compact h3 { font-size: 1rem; }
  .grid.compact .card-img { aspect-ratio: 1; }
  .card .card-body { padding: 20px 20px 22px; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -18px; max-width: 260px; width: max-content; }
  .hero-figure { margin-bottom: 18px; }
  .numbered .step { padding: 20px 20px 20px 78px; }
  .numbered .step::before { left: 16px; top: 18px; width: 44px; height: 44px; font-size: 0.95rem; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery figure { margin-bottom: 10px; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .logo-strip img { width: 76px; height: 76px; }
  .form-card { padding: 22px 18px; }
  .quote-band { padding: 60px 0; }
  .whatsapp { padding: 0; width: 58px; height: 58px; justify-content: center; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .whatsapp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .whatsapp svg { width: 30px; height: 30px; }
  .site-footer li a { padding: 8px 0; }
  .footer-bottom { padding-bottom: 64px; }
  .toc-bar .toc { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .toc-bar .toc::-webkit-scrollbar { display: none; }
}

/* Motion: calm, short, opacity/transform only. Everything here is switched off
   for visitors who ask for reduced motion (see the block at the end). */
:root { --ease: cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
@keyframes soft-in { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes ring { from { box-shadow: 0 0 0 0 rgba(31, 168, 85, 0.45); } to { box-shadow: 0 0 0 16px rgba(31, 168, 85, 0); } }
@keyframes nudge { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* Page entrance: the main heading only rises (never starts invisible) so it stays the first thing painted */
.hero h1, .page-hero h1 { animation: rise 0.6s var(--ease) both; }
.hero .eyebrow, .hero .tagline, .hero .lead, .hero .btn-row,
.page-hero .crumb, .page-hero p { animation: fade-up 0.6s var(--ease) both; }
.hero .tagline { animation-delay: 0.08s; }
.hero .lead, .page-hero p { animation-delay: 0.16s; }
.hero .btn-row { animation-delay: 0.24s; }
.hero-photo { animation: soft-in 0.8s var(--ease) both; }
.hero-badge { animation: fade-up 0.5s var(--ease) 0.5s both; }

/* Scroll reveal: site.js adds .reveal only to content below the first screen */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Press feedback on buttons */
.btn:active { transform: translateY(0) scale(0.98); box-shadow: none; }

/* WhatsApp button: arrives after a moment, pulses twice, then rests */
/* "backwards" (not "both") so the hover lift still works once the entrance is over */
.whatsapp { animation: fade-up 0.5s var(--ease) 1.2s backwards; }
.whatsapp::after { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: ring 1.8s ease-out 1.9s 2; pointer-events: none; }

/* Form feedback after a submit attempt */
.was-validated .field :invalid { border-color: #b3261e; background: #fff6f5; }
.was-validated .field :invalid:focus { border-color: #b3261e; }
.form-card.shake { animation: nudge 0.3s ease; }
.btn.is-busy { opacity: 0.85; pointer-events: none; }

/* Header gains a soft shadow once the page scrolls */
.site-header { transition: box-shadow 0.25s ease; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(46, 10, 74, 0.08); }

/* Partner logos: muted until hovered (devices with a mouse only) */
@media (hover: hover) {
  .logo-strip img { filter: grayscale(0.6); opacity: 0.85; transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s var(--ease); }
  .logo-strip img:hover { filter: none; opacity: 1; transform: translateY(-2px); }
  .pills li { transition: background 0.2s, border-color 0.2s; }
  .pills li:hover { background: var(--lavender-100); border-color: var(--lavender-300); }
}

/* Soft cross-fade between pages in browsers that support it */
@view-transition { navigation: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}
