/* ===== COLOUR + TYPE TOKENS: edit here to rebrand ===== */
:root {
  --black: #000000;
  --ink: #15110b;
  --gold: #c9a24b;
  --gold-light: #e6c97a;
  --cream: #f6efe0;
  --cream-deep: #ebe0c8;
  --text-dark: #241d12;
  --text-light: #efe6d2;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", system-ui, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--font-body); font-size: 1.05rem; line-height: 1.65; color: var(--text-dark); background: var(--cream); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ===== LAYOUT ===== */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.cream { background: var(--cream); color: var(--text-dark); }
.dark { background: var(--black); color: var(--text-light); }
.dark h2, .dark h3 { color: var(--gold-light); }
.lead { font-size: 1.2rem; margin-bottom: 2rem; }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
#contact .split { grid-template-columns: 1fr 1fr; align-items: center; }

/* ===== BUTTONS ===== */
.btn { display: inline-block; padding: .8rem 1.6rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: var(--gold); color: var(--gold-light); }
.btn-outline:hover { background: var(--gold); color: var(--black); }
.btn-dark { background: var(--black); color: var(--gold-light); }
.btn-dark:hover { background: var(--ink); }

/* ===== HEADER ===== */
.site-header { position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 0 1.25rem; background: rgba(0,0,0,.92); border-bottom: 1px solid rgba(201,162,75,.4); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--gold-light); font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--text-light); text-decoration: none; font-size: .95rem; }
.nav a:not(.btn):hover, .nav a.active { color: var(--gold-light); }
.nav .nav-cta { color: var(--black); padding: .5rem 1.1rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--gold); margin: 6px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== HERO ===== */
/* HERO BACKGROUND PLACEHOLDER: add images/hero.jpg (the black overlay keeps text readable) */
.hero { min-height: 100vh; display: flex; align-items: center; text-align: center; padding: calc(var(--header-h) + 2rem) 1.25rem 3rem;
  background: linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.85)), url("images/hero.jpeg") center/cover no-repeat, var(--black); color: var(--text-light); }
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero-logo { width: clamp(150px, 22vw, 220px); height: auto; margin: 0 auto 1.5rem; }
.hero h1 { color: var(--gold-light); }
.hero p { margin-left: auto; margin-right: auto; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1.5rem; }

/* ===== IMAGE PLACEHOLDERS: shows a labelled box until the image file exists ===== */
.ph { position: relative; background: var(--cream-deep); border: 2px dashed var(--gold); border-radius: 6px; overflow: hidden; min-height: 240px; }
.ph::after { content: attr(data-ph); position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; text-align: center; font-size: .85rem; color: #7a6330; z-index: 0; }
.ph img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.ph:has(img) { border-style: solid; }
.dark .ph { background: #1b160c; }
.dark .ph::after { color: var(--gold); }

/* ===== ABOUT ===== */
#about .ph { aspect-ratio: 4/5; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0; padding: 1.5rem 0; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.ticks { list-style: none; margin: 0 0 1rem; padding: 0; }
.ticks li { position: relative; padding-left: 1.5rem; margin-bottom: .45rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .6rem; height: .6rem; background: var(--gold); transform: rotate(45deg); }
.ticks.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); column-gap: 2rem; }
.values { font-style: italic; }
.reg { font-size: .85rem; opacity: .75; }

/* ===== SERVICES ===== */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
.services li { display: grid; grid-template-columns: 110px 1fr; gap: 1.25rem; align-items: center; padding: 1.25rem 0; border-top: 1px solid rgba(201,162,75,.45); }
.services h3 { margin-bottom: .15em; }
.services p { margin: 0; }
.ph-sm { min-height: 0; aspect-ratio: 1; }
.ph-sm::after { font-size: .65rem; padding: .3rem; }

/* ===== ACADEMY ===== */
.courses { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.course { background: #fffaf0; border: 1px solid var(--gold); border-top: 6px solid var(--gold); border-radius: 4px; padding: 1.5rem; display: flex; flex-direction: column; }
.course dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; margin: 0 0 1.25rem; flex: 1; }
.course dt { font-weight: 600; }
.course dd { margin: 0; }
.receive { background: var(--black); color: var(--text-light); padding: 2rem; border-radius: 4px; margin-bottom: 3rem; }
.receive h3 { color: var(--gold-light); }
.receive p { margin: 1rem 0 0; }

/* ===== WHY ===== */
.why { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.why li { border-left: 3px solid var(--gold); padding-left: 1.25rem; }
.why p { margin: 0; }

/* ===== GALLERY ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.gallery figure { margin: 0; aspect-ratio: 1; min-height: 0; }
.gallery figure:nth-child(1), .gallery figure:nth-child(6) { grid-column: span 2; grid-row: span 2; }

/* ===== CONTACT ===== */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 1rem 0; border-bottom: 1px solid rgba(201,162,75,.45); display: grid; gap: .15rem; }
.contact-list strong { color: var(--gold-light); font-family: var(--font-display); font-size: 1.25rem; }
.contact-list a { text-decoration: underline; text-underline-offset: 3px; }

/* ===== FOOTER + FLOATING WHATSAPP ===== */
.site-footer { background: var(--ink); color: var(--text-light); text-align: center; padding: 2.5rem 1.25rem 5rem; font-size: .9rem; }
.site-footer p { margin: 0 auto .6rem; }
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.25rem 1.5rem; background: var(--black); border-bottom: 1px solid var(--gold); transform: translateY(-120%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .nav.open { transform: none; visibility: visible; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid rgba(201,162,75,.25); }
  .nav .nav-cta { margin-top: 1rem; text-align: center; border-bottom: 0; }
  .split, #contact .split, .vm, .services { grid-template-columns: 1fr; }
  #about .ph { position: static; aspect-ratio: 4/3; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 3.5rem 0; }
}
@media (max-width: 480px) {
  .brand span { font-size: 1.15rem; }
  .services li { grid-template-columns: 80px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
