/* Public site stylesheet. Mobile-first; breakpoints 640px and 1024px.
   Fonts: Bricolage Grotesque (headings: friendly and a little playful, like the rounded logo lettering) over
   Source Sans 3 (body: a highly legible humanist face that stays crisp on low-end phone screens).
   Colours are custom properties. The <style id="site-theme"> block in the head overrides the defaults below from Settings. */

/* ---------- fonts (self-hosted copies of the Google Fonts files; only the subsets a page uses are downloaded) ---------- */
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/source-sans-3-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url("../fonts/bricolage-grotesque-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }

/* ---------- design tokens ---------- */
:root {
  /* colour: defaults sampled from the logo; every value is replaced by the site-theme block when Settings or the logo say otherwise */
  --c-primary: #2E3192; --c-primary-dark: #242672; --c-on-primary: #fff;
  --c-accent: #3AA0E0; --c-accent-ink: #2B76A5; --c-accent-light: #3AA0E0; --c-on-accent: #0F102F;
  --c-ink: #0F102F; --c-muted: #5C5C72; --c-bg: #F9F9FC; --c-surface: #fff;
  --c-tint: #EEEFF6; --c-tint-strong: #D9DAEB; --c-line: #E0E0EF; --c-band: #1E2060; --c-on-band: #fff;
  --c-ok: #17603C; --c-ok-bg: #E2F3EA; --c-warn: #7A3E00; --c-warn-bg: #FFF1DB; --c-error: #B3261E;
  --c-focus: var(--c-primary);

  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* type scale */
  --fs-sm: .875rem; --fs-base: 1.0625rem; --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --fs-2xl: clamp(1.9rem, 1.45rem + 2vw, 3rem);
  --fs-3xl: clamp(2.3rem, 1.6rem + 3.4vw, 4.25rem);
  /* spacing, radius, shadow */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem;
  --r-sm: .5rem; --r-md: .875rem; --r-lg: 1.25rem; --r-pill: 999px;
  --sh-1: 0 1px 2px rgb(15 16 47 / .06), 0 2px 8px rgb(15 16 47 / .06);
  --sh-2: 0 4px 12px rgb(15 16 47 / .08), 0 12px 32px rgb(15 16 47 / .10);
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--c-bg); color: var(--c-ink);
  font: 400 var(--fs-base)/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
main { flex: 1 0 auto; }
main:focus { outline: none; }
img, picture, svg, video, iframe { max-width: 100%; }
img, picture { display: block; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 var(--s-3); text-wrap: balance; }
h1 { font-size: var(--fs-2xl); font-weight: 800; }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--s-4); }
a { color: var(--c-primary); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--c-primary-dark); }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--c-accent); color: var(--c-on-accent); }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s-3); top: -4rem; z-index: 200; padding: var(--s-3) var(--s-5); border-radius: var(--r-pill);
  background: var(--c-primary); color: var(--c-on-primary); font-weight: 700; text-decoration: none; transition: top .15s; }
.skip-link:focus { top: var(--s-3); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--s-4); }
.container--narrow { max-width: 48rem; }
.section { padding-block: var(--s-7); }
.section--tint { background: var(--c-tint); }
.section--band { background: var(--c-band); color: var(--c-on-band); --c-focus: var(--c-accent-light); }
.section--band a { color: inherit; }
.section-head { max-width: 40rem; margin-bottom: var(--s-6); }
.eyebrow { display: inline-block; margin-bottom: var(--s-2); font: 700 var(--fs-sm)/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent-ink); }
.section--band .eyebrow { color: var(--c-accent-light); }
.stack > * + * { margin-top: var(--s-4); }
.grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.lead { font-size: var(--fs-lg); color: var(--c-muted); }
@media (min-width: 640px) { .container { padding-inline: var(--s-5); } .section { padding-block: var(--s-8); } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 44px; padding: .65rem 1.4rem;
  border: 2px solid transparent; border-radius: var(--r-pill); font: 700 1rem/1.2 var(--font-body); text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .12s var(--ease), box-shadow .12s var(--ease), background-color .15s, color .15s; }
.btn--primary { background: var(--c-primary); color: var(--c-on-primary); box-shadow: 0 3px 0 var(--c-accent); }
.btn--primary:hover { background: var(--c-primary-dark); color: var(--c-on-primary); transform: translateY(-1px); box-shadow: 0 4px 0 var(--c-accent); }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--c-accent); }
.btn--accent { background: var(--c-accent); color: var(--c-on-accent); box-shadow: 0 3px 0 rgb(0 0 0 / .25); }
.btn--accent:hover { color: var(--c-on-accent); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--c-primary); border-color: currentColor; }
.btn--ghost:hover { background: var(--c-tint); color: var(--c-primary-dark); }
.section--band .btn--ghost { color: var(--c-on-band); }
.section--band .btn--ghost:hover { background: rgb(255 255 255 / .12); color: var(--c-on-band); }
.btn--small { min-height: 44px; padding: .4rem 1rem; font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- header and menu ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.header-bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-primary); text-decoration: none; }
.brand-logo { width: auto; height: 44px; max-width: 11rem; object-fit: contain; }
.brand-name { font: 800 var(--fs-lg)/1.1 var(--font-head); letter-spacing: -.01em; }
.menu-toggle { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; min-width: 44px; padding: 0 var(--s-4); border: 2px solid var(--c-line);
  border-radius: var(--r-pill); background: var(--c-surface); color: var(--c-primary); font: 700 .95rem/1 var(--font-body); cursor: pointer; }
.menu-toggle:hover { background: var(--c-tint); }
.menu-toggle-icon--close, .menu-toggle[aria-expanded="true"] .menu-toggle-icon--open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon--close { display: inline; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: var(--s-3) var(--s-4) var(--s-5);
  background: var(--c-surface); border-bottom: 1px solid var(--c-line); box-shadow: var(--sh-2); max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.site-nav.is-open { display: block; }
.nav-list, .subnav, .footer-links, .contact-list, .social { list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; min-height: 48px; padding: .4rem var(--s-2); color: var(--c-ink); font-weight: 600; text-decoration: none; border-radius: var(--r-sm); }
.nav-link:hover { color: var(--c-primary); background: var(--c-tint); }
.nav-link.is-current { color: var(--c-primary); box-shadow: inset 3px 0 0 var(--c-accent); background: var(--c-tint); }
.has-sub { display: grid; grid-template-columns: 1fr 48px; align-items: center; }
.subnav-toggle { width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: none; color: var(--c-primary); cursor: pointer; border-radius: var(--r-sm); }
.subnav-toggle .icon { transition: transform .2s var(--ease); }
.subnav-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.subnav { display: none; grid-column: 1 / -1; margin: 0 0 var(--s-2) var(--s-4); padding-left: var(--s-2); border-left: 2px solid var(--c-line); }
.subnav.is-open { display: block; }
.nav-item--cta { margin-top: var(--s-3); }
.nav-item--cta .btn { width: 100%; }
.nav-whatsapp { display: flex; align-items: center; gap: var(--s-2); min-height: 48px; margin-top: var(--s-2); padding: 0 var(--s-2); color: var(--c-ink); font-weight: 600; text-decoration: none; }
.nav-whatsapp:hover { color: var(--c-primary); }
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: var(--s-4); position: static; padding: 0; border: 0; box-shadow: none; max-height: none; overflow: visible; background: none; }
  .nav-list { display: flex; align-items: center; gap: var(--s-1); }
  .nav-link { min-height: 44px; padding: .4rem .85rem; }
  .nav-link.is-current { box-shadow: inset 0 -3px 0 var(--c-accent); background: none; border-radius: 0; }
  .has-sub { display: flex; }
  .subnav-toggle { width: 32px; height: 44px; margin-left: -.5rem; }
  .subnav { position: absolute; left: 0; top: 100%; z-index: 10; min-width: 15rem; margin: 0; padding: var(--s-2); background: var(--c-surface);
    border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--sh-2); }
  .has-sub:hover > .subnav, .has-sub:focus-within > .subnav, .subnav.is-open { display: block; }
  .nav-item--cta { margin: 0 0 0 var(--s-2); }
  .nav-item--cta .btn { width: auto; }
  .nav-whatsapp { margin: 0; padding: 0 var(--s-2); }
}

/* ---------- page title band and article text ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: var(--s-6) var(--s-6); background: var(--c-tint);
  background-image: radial-gradient(circle at 100% 0, var(--c-tint-strong) 0 7rem, transparent 7.05rem), radial-gradient(circle at 92% 100%, var(--c-tint-strong) 0 3rem, transparent 3.05rem); }
.page-hero h1 { max-width: 22ch; margin-bottom: 0; }
.page-hero h1::after { content: ""; display: block; width: 4rem; height: .375rem; margin-top: var(--s-4); border-radius: var(--r-pill); background: var(--c-accent); }
.page-body { padding-block: var(--s-6) var(--s-8); }
.page-photo { width: 100%; margin-bottom: var(--s-5); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.article { font-size: var(--fs-base); line-height: 1.7; overflow-wrap: anywhere; }
.article > :last-child { margin-bottom: 0; }
.article h2 { margin-top: var(--s-6); }
.article h3 { margin-top: var(--s-5); }
.article h2:first-child, .article h3:first-child { margin-top: 0; }
.article ul, .article ol { margin: 0 0 var(--s-4); padding-left: 1.4rem; }
.article li { margin-bottom: var(--s-2); padding-left: .25rem; }
.article li::marker { color: var(--c-accent-ink); font-weight: 700; }
.article a { font-weight: 600; }
.article img { border-radius: var(--r-md); }
.article figure { margin: var(--s-5) 0; }
.article figcaption { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--c-muted); }
.article blockquote { margin: var(--s-5) 0; padding: var(--s-4) var(--s-5); border-left: 5px solid var(--c-accent); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--c-tint); font-size: var(--fs-lg); }
.article blockquote p:last-child { margin-bottom: 0; }
.article hr { margin: var(--s-6) 0; border: 0; border-top: 2px solid var(--c-line); }
.table-scroll { margin: var(--s-5) 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); }
.table-scroll:focus-visible { outline-offset: 0; }
.article table { width: 100%; min-width: 30rem; border-collapse: collapse; font-size: .95rem; }
.article th, .article td { padding: .65rem .85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.article th { background: var(--c-tint); font-weight: 700; }
.article tr:last-child td { border-bottom: 0; }
@media (min-width: 1024px) { .page-hero { padding-block: var(--s-7); } .article { font-size: 1.125rem; } }

/* ---------- cards, badges, chips ---------- */
.card { display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
a.card, .card--link { color: inherit; text-decoration: none; }
a.card:hover, .card--link:hover { transform: translateY(-3px); box-shadow: var(--sh-2); color: inherit; }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; gap: var(--s-2); padding: var(--s-5); }
.card-body > :last-child { margin-bottom: 0; }
.card-title { margin: 0; font-size: var(--fs-lg); }
.card-meta { margin: 0; color: var(--c-muted); font-size: var(--fs-sm); }
.badge { display: inline-flex; align-items: center; align-self: flex-start; padding: .2rem .7rem; border-radius: var(--r-pill); background: var(--c-tint); color: var(--c-primary); font: 700 var(--fs-sm)/1.3 var(--font-body); }
.badge--ok { background: var(--c-ok-bg); color: var(--c-ok); }
.badge--warn { background: var(--c-warn-bg); color: var(--c-warn); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-5); padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4); border: 2px solid var(--c-line); border-radius: var(--r-pill); background: var(--c-surface);
  color: var(--c-ink); font: 600 .95rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--c-primary); color: var(--c-primary); }
.chip[aria-pressed="true"], .chip[aria-current="true"] { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on-primary); }
[data-filter-item][hidden] { display: none; }

/* ---------- accordion (native details; site.js keeps one open at a time) ---------- */
.accordion { display: grid; gap: var(--s-3); }
.accordion details { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 56px; padding: var(--s-3) var(--s-5);
  font: 700 1.05rem/1.3 var(--font-head); cursor: pointer; list-style: none; border-radius: var(--r-md); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; flex: none; width: .6rem; height: .6rem; margin-right: .25rem; border: solid var(--c-primary); border-width: 0 3px 3px 0; transform: rotate(45deg); transition: transform .2s var(--ease); }
.accordion details[open] { border-color: var(--c-primary); }
.accordion details[open] > summary::after { transform: rotate(-135deg); }
.accordion-body { padding: 0 var(--s-5) var(--s-5); }

/* ---------- notices ---------- */
.notice { margin: var(--s-4) 0; padding: var(--s-3) var(--s-4); border-left: 5px solid var(--c-primary); border-radius: var(--r-sm); background: var(--c-tint); }
.notice--ok { border-color: var(--c-ok); background: var(--c-ok-bg); color: var(--c-ok); font-weight: 600; }
.notice--warn { border-color: var(--c-warn); background: var(--c-warn-bg); color: var(--c-warn); font-weight: 600; }

/* ---------- how to pay ---------- */
.pay-box { padding: var(--s-5); border: 2px dashed var(--c-accent-ink); border-radius: var(--r-lg); background: var(--c-surface); }
.pay-title { margin-bottom: var(--s-3); }
.pay-list { display: grid; gap: var(--s-3); margin: 0 0 var(--s-4); }
.pay-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-3); }
.pay-row dt { flex: 0 0 100%; color: var(--c-muted); font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.pay-row dd { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-3); margin: 0; font-weight: 700; }
.pay-number { font: 800 var(--fs-xl)/1 var(--font-head); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .pay-row dt { flex-basis: 9rem; } }
.pay-notice { margin: 0; padding-top: var(--s-3); border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: var(--fs-sm); }

/* ---------- forms ---------- */
.form { display: grid; gap: var(--s-4); }
.field-grid { display: grid; gap: var(--s-4); }
.field label:not(.check) { display: block; margin-bottom: var(--s-1); font-weight: 700; }
.field input:not([type="checkbox"]), .field select, .field textarea { display: block; width: 100%; min-height: 48px; padding: .6rem .85rem; border: 2px solid #8A8AA3; border-radius: var(--r-sm);
  background: var(--c-surface); color: var(--c-ink); font: inherit; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-primary); outline: 3px solid var(--c-accent); outline-offset: 1px; }
.field .is-invalid { border-color: var(--c-error); }
.field-hint { margin: var(--s-1) 0 0; color: var(--c-muted); font-size: var(--fs-sm); }
.field-error { margin: var(--s-1) 0 0; color: var(--c-error); font-size: var(--fs-sm); font-weight: 700; }
.check { display: flex; gap: var(--s-3); align-items: flex-start; min-height: 44px; cursor: pointer; }
.check input { flex: none; width: 1.4rem; height: 1.4rem; margin: .15rem 0 0; accent-color: var(--c-primary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: var(--s-4); border-radius: var(--r-md); font-weight: 600; }
.form-status.is-ok { background: var(--c-ok-bg); color: var(--c-ok); }
.form-status.is-error { background: var(--c-warn-bg); color: var(--c-warn); }
.privacy-note { margin: 0; color: var(--c-muted); font-size: var(--fs-sm); }
@media (min-width: 640px) { .field-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- footer ---------- */
.footer-grid { display: grid; gap: var(--s-6); padding-block: var(--s-7) var(--s-5); }
.footer-tagline { margin: var(--s-4) 0 var(--s-2); font: 700 var(--fs-lg)/1.3 var(--font-head); }
.footer-links li { margin-bottom: var(--s-1); }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links ul { list-style: none; padding-left: var(--s-4); margin: 0; }
.contact-list li { display: flex; gap: var(--s-3); align-items: flex-start; min-height: 44px; margin-bottom: var(--s-2); }
.contact-list address { font-style: normal; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -.6rem; }
.download { gap: var(--s-2); flex-wrap: wrap; }
.social { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-5); padding-block: var(--s-4) var(--s-5); border-top: 1px solid rgb(255 255 255 / .18); font-size: var(--fs-sm); }
.footer-base p { margin: 0; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr repeat(3, 1fr); gap: var(--s-7); } }

/* ---------- floating WhatsApp button (phones and tablets; the header and footer carry the link on desktop) ---------- */
.whatsapp-fab { position: fixed; right: var(--s-4); bottom: calc(var(--s-4) + env(safe-area-inset-bottom, 0px)); z-index: 90; display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 50%; background: #25D366; color: #06281A; box-shadow: var(--sh-2); transition: transform .15s var(--ease); }
.whatsapp-fab:hover { color: #06281A; transform: scale(1.06); }
.whatsapp-fab .icon { width: 30px; height: 30px; }
@media (max-width: 1023px) { body:has(.whatsapp-fab) .site-footer { padding-bottom: 4.5rem; } }   /* the button never covers the last line */
@media (min-width: 1024px) { .whatsapp-fab { display: none; } }

/* ---------- home page ---------- */
/* Sections alternate plain / tinted by position, so a hidden section never leaves two of the same colour side by side */
.home main > .section:nth-of-type(even) { background: var(--c-tint); }
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: var(--s-6); align-items: center; }
.hero-sub { max-width: 36rem; margin-bottom: var(--s-5); }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-2); }
@media (min-width: 1024px) { .hero { padding-block: var(--s-8); } .hero--photo .hero-grid { grid-template-columns: 1.1fr .9fr; gap: var(--s-7); } }

.grid--languages { grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }
.card--language { border-top: 5px solid var(--c-accent); }
.card--language .card-media img { aspect-ratio: 16 / 9; }
.card-summary { margin: 0; color: var(--c-ink); font-size: var(--fs-sm); }
.card-facts { display: grid; gap: var(--s-1); margin: 0; padding: 0; list-style: none; color: var(--c-muted); font-size: var(--fs-sm); }
.card-facts li { display: flex; gap: var(--s-2); align-items: flex-start; }
.card-facts .icon, .card-meta .icon, .badge .icon { margin-top: .1em; }
.card-fee { margin: 0; font: 700 var(--fs-base)/1.3 var(--font-head); color: var(--c-primary); }
.card-more { display: inline-flex; align-items: center; gap: var(--s-2); margin-top: auto; padding-top: var(--s-3); color: var(--c-primary); font-weight: 700; }
a.card:hover .card-more .icon { transform: translateX(3px); }
.card-more .icon { transition: transform .2s var(--ease); }
.section-more { margin: var(--s-6) 0 0; }

.partner-strip { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); margin: 0; padding: 0; list-style: none; }
.partner { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--c-muted); text-decoration: none; }
.partner-logo { width: auto; max-width: 9rem; height: 3rem; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
a.partner:hover .partner-logo, a.partner:focus-visible .partner-logo { filter: none; opacity: 1; }
.partner-name { font: 700 var(--fs-lg)/1.2 var(--font-head); }
a.partner:hover .partner-name { color: var(--c-primary); }

.visit-grid { display: grid; gap: var(--s-7); }
.visit-info { display: grid; gap: var(--s-5); align-content: start; }
.visit-info .section-head { margin-bottom: 0; }
.visit-list { display: grid; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.visit-list li { display: flex; gap: var(--s-3); align-items: flex-start; min-height: 44px; }
.visit-list .icon { margin-top: .3rem; color: var(--c-accent-ink); }
.visit-list address { font-style: normal; }
.visit-list a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -.6rem; overflow-wrap: anywhere; }
.map-frame { aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-tint-strong); }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.visit-form { padding: var(--s-5); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-surface); box-shadow: var(--sh-1); }
.visit-form .field-grid { grid-template-columns: 1fr; }
@media (min-width: 1024px) { .visit-grid:has(.visit-info) { grid-template-columns: 1fr 1fr; align-items: start; } .visit-form { padding: var(--s-6); } }
.visit-grid:not(:has(.visit-info)) .visit-form { max-width: 40rem; }

/* ---------- inner pages: courses, trainings, collaborations, contact ---------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-2); margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--c-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--s-2); color: var(--c-line); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -.75rem; }
.empty-state { padding: var(--s-6) var(--s-5); border: 2px dashed var(--c-tint-strong); border-radius: var(--r-lg); background: var(--c-surface); text-align: center; }
.empty-state h2 { margin-bottom: var(--s-2); }
.empty-state p { color: var(--c-muted); }
.empty-state > :last-child { margin-bottom: 0; }
.article--intro { max-width: 48rem; }
.course-list { margin-top: var(--s-6); }
.card--listing .card-link { color: inherit; text-decoration: none; }
.card--listing .card-link:hover { color: var(--c-primary); text-decoration: underline; }
.card--listing .btn { align-self: flex-start; margin-top: auto; }
.card--listing.is-muted, .card--training.is-muted { filter: grayscale(1); opacity: .72; }
.badge--grey { background: var(--c-tint-strong); color: var(--c-muted); }
.chip-list { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.card-dl { display: grid; gap: var(--s-1); margin: 0; font-size: var(--fs-sm); }
.card-dl div { display: flex; gap: var(--s-2); }
.card-dl dt { flex: 0 0 5.5rem; color: var(--c-muted); font-weight: 700; }
.card-dl dd { margin: 0; }
.facts-table { width: 100%; border-collapse: collapse; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
.facts-table th, .facts-table td { padding: .75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.facts-table th { width: 38%; background: var(--c-tint); font-weight: 700; }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: 0; }
.doc-box { padding: var(--s-5); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-surface); }
.doc-box h2 { font-size: var(--fs-lg); }
.doc-list { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
.doc-list small { color: var(--c-muted); }
.meta-list { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: 0; padding: 0; list-style: none; color: var(--c-muted); }
.meta-list li { display: flex; align-items: center; gap: var(--s-2); }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-5); color: var(--c-muted); font-size: var(--fs-sm); }
.partner-logo-box { display: grid; place-items: center; min-height: 5rem; padding: var(--s-3); border-radius: var(--r-md); background: var(--c-tint); }
.partner-logo--card { max-width: 12rem; height: 4rem; filter: none; opacity: 1; }
.card--partner .card-more { margin-top: auto; }
.page-body .visit-grid { gap: var(--s-6); }

/* ---------- motion ---------- */
/* site.js marks only elements that start below the fold, so nothing above it is ever hidden */
.will-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.will-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .will-reveal { opacity: 1; transform: none; }
  .btn:hover, a.card:hover, .whatsapp-fab:hover { transform: none; }
}
@media print { .site-header, .site-footer, .whatsapp-fab, .skip-link { display: none; } body { background: #fff; } }

/* style guide only (developer page, not served in production) */
.sg-placeholder { background: var(--c-tint-strong); aspect-ratio: 16 / 7; border-radius: var(--r-md); }

/* a page with three or more pictures (the team, the gallery): the pictures sit in a grid, the words between them run full width */
.article--figures { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); align-items: start; }
.article--figures > :not(figure) { grid-column: 1 / -1; max-width: 48rem; margin-block: 0; }
.article--figures > h2 { margin-top: var(--s-5); }
.article--figures figure { margin: 0; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); box-shadow: var(--sh-1); }
.article--figures figure img { width: 100%; height: auto; border-radius: 0; }
.article--figures figcaption { margin: 0; padding: var(--s-3) var(--s-4) var(--s-4); color: var(--c-ink); font-size: var(--fs-sm); line-height: 1.5; }
.article--figures figcaption strong { font-size: var(--fs-base); }
@media (min-width: 1024px) { .article--figures { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); } }

/* the page you are on, in the dark footer menu: keep it readable (the header style would make it dark-on-dark) */

/* the small logo in the footer pill keeps its own width instead of being squeezed (and clipped) by the column */
.brand--footer { flex: none; max-width: 100%; }
.brand--footer picture { display: block; flex: none; }
.brand--footer .brand-logo { flex: none; width: auto; max-width: none; height: 40px; }

/* Matched to the approved design preview (landing/index.html). Later rules win over the base styles above. */
:root { --r-sm: .375rem; --r-md: .5rem; --r-lg: .625rem; --header-h: 72px; --sh-1: none; --sh-2: 0 6px 18px rgb(46 49 146 / .12); }
h1, h2 { letter-spacing: -.02em; }
h2 { font-weight: 800; }
.section-head { max-width: 44rem; }
.section-head h2 { font-size: clamp(1.7rem, 4.2vw, 2.4rem); }
.section-head > :last-child { margin-bottom: 0; }

/* buttons: rectangular with the accent underline */
.btn { border-radius: var(--r-sm); padding: .8rem 1.4rem; }
.btn--primary:hover { transform: none; box-shadow: 0 3px 0 var(--c-accent); }
.btn--ghost { border-color: var(--c-primary); }
.btn--ghost:hover { background: var(--c-primary); color: var(--c-on-primary); }
.btn--small { padding: .5rem 1rem; }

/* header: white bar, accent rule, plain text links, small "Enquire now" button */
.site-header { border-bottom: 3px solid var(--c-accent); }
.brand-logo { height: 52px; max-width: 14rem; }
.menu-toggle { border-radius: var(--r-sm); border-color: var(--c-line); }
.nav-link { font-weight: 600; font-size: .95rem; color: var(--c-muted); }
.nav-link:hover { color: var(--c-ink); background: var(--c-tint); }
.nav-link.is-current { color: var(--c-ink); }
.nav-item--cta .btn { min-height: 0; padding: .55rem 1rem; font-size: .92rem; }
@media (min-width: 1024px) {
  .site-nav { gap: var(--s-3); }
  .nav-list { gap: .25rem 1.1rem; }
  .nav-link { padding: .4rem .1rem; min-height: 44px; }
  .nav-link:hover { background: none; }
  .nav-link.is-current { box-shadow: inset 0 -3px 0 var(--c-accent); }
  .nav-item--cta { margin-left: .4rem; }
}

/* cards */
.card { border-radius: var(--r-lg); }
a.card:hover, .card--link:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.badge { border-radius: var(--r-pill); font-size: .75rem; letter-spacing: .06em; padding: .2rem .65rem; }
.card-fee { font: 800 1.5rem/1.2 var(--font-head); letter-spacing: -.02em; color: var(--c-ink); margin-top: auto; padding-top: var(--s-3); }
.card-facts { gap: .4rem; }
.card-facts li { border-bottom: 1px dashed var(--c-line); padding-bottom: .4rem; }
.card--language { border-top: 4px solid var(--c-accent); }
.card--language .card-body { gap: .75rem; padding: 1.4rem; }
.card-glyph { font: 800 2.6rem/1 var(--font-head); color: var(--c-primary); }
.levels { display: flex; flex-wrap: wrap; gap: .4rem; }
.levels span { padding: .1rem .55rem; border: 1px solid var(--c-line); border-radius: .3rem; color: var(--c-muted); font-size: .82rem; font-weight: 600; }

/* hero: light, with the greeting cards on the right */
.hero { color: var(--c-ink); padding-block: 2.2rem 2.5rem; border-bottom: 1px solid var(--c-line);
  background: radial-gradient(60% 80% at 100% 0, rgb(143 211 244 / .45), transparent 70%), linear-gradient(180deg, #fff, var(--c-tint)); }
.hero h1 { font-size: clamp(2.3rem, 6.2vw, 4rem); letter-spacing: -.03em; line-height: 1.05; max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--c-primary); background: linear-gradient(transparent 68%, #8FD3F4 68%); }
.hero-sub { color: var(--c-muted); font-size: 1.12rem; opacity: 1; }
.hero .btn--accent { background: var(--c-primary); color: var(--c-on-primary); box-shadow: 0 3px 0 var(--c-accent); }
.hero .btn--accent:hover { background: var(--c-primary-dark); color: var(--c-on-primary); }
.hero-grid { gap: 1.75rem; }
.hello { display: grid; gap: .65rem; min-width: 0; }
.hello > div { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding: .85rem 1.1rem; background: var(--c-surface);
  border: 1px solid var(--c-line); border-left: 5px solid var(--c-accent); border-radius: var(--r-md); box-shadow: 0 6px 18px rgb(46 49 146 / .08); }
.hello b { font: 800 clamp(1.6rem, 4vw, 2.3rem)/1.1 var(--font-head); letter-spacing: -.02em; color: var(--c-primary); }
.hello > div:nth-child(2) b { color: var(--c-accent-ink); }
.hello small { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); white-space: nowrap; }
@media (min-width: 1024px) {
  .hero { padding-block: 3.5rem 4rem; }
  .hero-grid:has(.hello) { grid-template-columns: 1.15fr .85fr; gap: 2.5rem; }
}

/* sections */
@media (min-width: 640px) { .section { padding-block: 3.5rem; } }
.section-more { margin-top: var(--s-5); }

/* why: heading on the left, numbered points on the right */
.why-grid { display: grid; gap: var(--s-5); align-items: start; }
.why-grid .section-head { margin: 0; }
.why-grid .article ul { list-style: none; margin: 0; padding: 0; counter-reset: why; }
.why-grid .article li { counter-increment: why; display: grid; grid-template-columns: 2.1rem 1fr; gap: .75rem; margin: 0; padding: 1.1rem 0; border-top: 1px solid var(--c-line); }
.why-grid .article li:last-child { border-bottom: 1px solid var(--c-line); }
.why-grid .article li::before { content: counter(why); font: 800 1rem/1.6 var(--font-head); color: var(--c-accent-ink); }
@media (min-width: 900px) { .why-grid { grid-template-columns: .8fr 1.2fr; gap: 2.75rem; } }

/* visit: dark band on the home page, with the white form card */
.home #visit { background: var(--c-band); color: var(--c-on-band); --c-focus: var(--c-accent-light); }
.home #visit .eyebrow { color: var(--c-accent-light); }
.home #visit .visit-info a { color: inherit; }
.home #visit .visit-list .icon { color: var(--c-accent-light); }
.home #visit .map-frame { border-color: rgb(255 255 255 / .3); }
.home #visit .pay-box { background: transparent; border: 1px solid rgb(255 255 255 / .35); color: inherit; }
.home #visit .pay-row dt { color: inherit; opacity: .75; }
.home #visit .pay-notice { color: inherit; opacity: .92; border-top-color: rgb(255 255 255 / .25); }
.home #visit .pay-box .btn--ghost { color: var(--c-on-band); border-color: rgb(255 255 255 / .6); }
.home #visit .pay-box .btn--ghost:hover { background: rgb(255 255 255 / .15); color: var(--c-on-band); }
.home #visit .visit-form { background: var(--c-surface); color: var(--c-ink); border: 0; border-radius: .75rem; --c-focus: var(--c-primary); }
.home #visit .visit-form a { color: var(--c-primary); }
.home #visit .visit-form h2 { font-size: 1.4rem; }
.field input:not([type="checkbox"]), .field select, .field textarea { border: 1px solid #8A8AA3; }

/* footer: light, with the accent rule on top */
.site-footer { background: var(--c-surface); color: var(--c-muted); border-top: 3px solid var(--c-accent); --c-focus: var(--c-primary); }
.site-footer a { color: var(--c-muted); text-decoration: none; }
.site-footer a:hover { color: var(--c-ink); text-decoration: underline; }
.footer-grid { padding-block: var(--s-6) var(--s-4); }
.brand--footer { padding: 0; background: none; border-radius: 0; }
.brand--footer .brand-logo { height: 56px; }
.footer-tagline { color: var(--c-ink); }
.footer-note { color: var(--c-muted); }
.footer-title { color: var(--c-accent-ink); }
.contact-list .icon { color: var(--c-accent-ink); }
.download small { color: var(--c-muted); }
.social a { color: var(--c-primary); }
.social a:hover { border-color: var(--c-accent); background: var(--c-tint); }
.footer-base { border-top-color: var(--c-line); }
.footer-links .nav-link.is-current { color: var(--c-ink); text-decoration-color: var(--c-accent); }
.footer-links .nav-link, .footer-links .nav-link:hover { background: none; }

.site-footer { margin-top: auto; }
.footer-note { margin: 0 0 var(--s-4); font-size: var(--fs-sm); }
.footer-title { margin-bottom: var(--s-3); font-size: var(--fs-sm); letter-spacing: .12em; text-transform: uppercase; }
.contact-list .icon { margin-top: .25rem; }
.download small { display: inline-block; flex-basis: 100%; padding-left: calc(1.25em + var(--s-2)); }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--c-line); border-radius: 50%; }
.footer-links .nav-link.is-current { background: none; box-shadow: none; text-decoration: underline; text-underline-offset: .3em; }

/* page title band on inner pages */
.page-hero { background-image: radial-gradient(60% 120% at 100% 0, rgb(143 211 244 / .45), transparent 70%); }
