/* Maahiigaan — Kit 01 "Established gemstone"
   Palette (Brand Color Palette v1): Gemstone Green #028408, Gemstone Red #C20105,
   Signature Gold #C68317, Crystal #F6F4F2, Black #000000, White #FFFFFF.
   Type: Source Serif 4 (headings) + Source Sans 3 (body). OFL 1.1, see /assets/fonts/. */

@font-face { font-family: 'Source Serif 4'; src: url('../fonts/SourceSerif4-Semibold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('../fonts/SourceSerif4-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('../fonts/SourceSans3-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('../fonts/SourceSans3-Semibold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --green: #028408;
  --green-deep: #03422c;      /* band colour used across the brochures */
  --green-ink: #01300f;
  --red: #C20105;
  --gold: #C68317;
  --gold-ink: #8a5a0f;        /* darker gold for small text, AA on white */
  --gold-soft: #ead9b3;
  --crystal: #F6F4F2;
  --paper: #fdf9f2;
  --ink: #000;
  --ink-soft: #222;
  --muted: #555;
  --line: #e2ddd6;
  --white: #fff;
  --heading: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --body: 'Source Sans 3', Arial, Helvetica, sans-serif;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--ink);
  background: var(--white); font-synthesis: none; text-rendering: optimizeLegibility;
}
@media (min-width: 760px) { body { font-size: 18px; } }
img { max-width: 100%; height: auto; display: block; }
svg { width: 1.1em; height: 1.1em; vertical-align: -.2em; fill: currentColor; flex: none; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-ink); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; color: var(--ink); }
h1, h2 { font-family: var(--heading); font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: clamp(34px, 5.5vw, 56px); line-height: 1.08; }
h2 { font-size: clamp(27px, 3.4vw, 36px); line-height: 1.18; }
h3 { font-family: var(--body); font-weight: 600; font-size: 22px; }
h4 { font-family: var(--body); font-weight: 600; font-size: 18px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
strong { font-weight: 600; }
small, .small { font-size: .88em; }
.muted { color: var(--muted); }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green-deep); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--green-deep); color: #fff; font-size: 14.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 36px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 3px; }
.topbar .place { display: none; }
@media (min-width: 640px) { .topbar .place { display: inline; } }
.topbar .lang { border: 1px solid rgba(255,255,255,.45); padding: 2px 10px; border-radius: 999px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(140%) blur(6px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand img { height: 46px; width: auto; }
@media (min-width: 900px) { .brand img { height: 56px; } .header .wrap { min-height: 84px; } }
.nav { display: none; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 12px; border-radius: 6px; }
.nav a:hover { background: var(--crystal); color: var(--green-ink); }
.nav a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.header .header-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; }
@media (min-width: 1000px) {
  .nav { display: flex; gap: 2px; }
  .menu-btn { display: none; }
  .header .header-cta { display: inline-flex; }
}
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0; }
.mobile-nav a { display: block; padding: 13px 0; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav a[aria-current="page"] { color: var(--green); }
.mobile-nav .mobile-cta { padding: 14px 0 8px; display: grid; gap: 10px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border-radius: 8px; font-weight: 600; font-size: 16.5px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--body); line-height: 1.2; transition: background .15s, color .15s, border-color .15s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-ink); color: #fff; }
.btn-outline { background: #fff; color: var(--green-ink); border-color: var(--green); }
.btn-outline:hover { background: var(--crystal); }
.btn-gold { background: #fff; color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--paper); }
.btn-white { background: #fff; color: var(--green-deep); }
.btn-white:hover { background: var(--crystal); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-sm { padding: 9px 14px; font-size: 15px; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tint { background: var(--crystal); }
.section-deep { background: var(--green-deep); color: #fff; }
.section-deep h2, .section-deep h3, .section-deep p { color: #fff; }
.section-deep a:not(.btn) { color: #fff; }
.eyebrow { display: inline-block; color: var(--green); font-size: 14.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; }
.section-deep .eyebrow { color: var(--gold-soft); }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink-soft); max-width: 62ch; }
.section-deep .lead { color: rgba(255,255,255,.9); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.rule { width: 72px; height: 3px; background: var(--gold); border: 0; margin: 1.1rem 0 1.4rem; }
.center .rule { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero { background: var(--crystal); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; gap: 2rem; padding: clamp(2.6rem, 6vw, 5rem) 0 clamp(2.4rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 860px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: 3rem; } }
.hero h1 { margin-bottom: 1rem; }
.hero-emblem { display: grid; place-items: center; }
.hero-emblem img { width: min(78%, 360px); filter: drop-shadow(0 18px 30px rgba(0,0,0,.18)); }
@media (min-width: 860px) { .hero-emblem img { width: min(100%, 420px); } }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.badges li { background: #fff; border: 1px solid var(--gold-soft); color: var(--ink-soft); border-radius: 999px; padding: 6px 13px; font-size: 14.5px; font-weight: 600; }
.badges li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 8px; vertical-align: 1px; }
.footnote { font-size: 14px; color: var(--muted); margin-top: .8rem; }

/* ---------- Notice ---------- */
.notice { background: var(--paper); border-top: 1px solid var(--gold-soft); border-bottom: 1px solid var(--gold-soft); }
.notice .wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; justify-content: center; padding: 11px 0; font-size: 15.5px; text-align: center; }
.notice .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); display: inline-block; flex: none; }
.notice a { font-weight: 600; white-space: nowrap; }
.notice[hidden] { display: none; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.card h3 { margin-top: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card-top { border-top: 4px solid var(--gold); }
.card-link { text-decoration: none; color: inherit; display: block; transition: transform .15s, box-shadow .15s; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.num { font-family: var(--heading); font-weight: 600; font-size: 34px; color: var(--green); line-height: 1; }
.num-gold { color: var(--gold); }
.icon-circle { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--crystal); border: 1px solid var(--gold-soft); color: var(--green); margin-bottom: .8rem; }
.icon-circle svg { width: 22px; height: 22px; }
.more { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin-top: .6rem; }
.more::after { content: "→"; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.5rem 1.5rem; position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--heading); font-weight: 600; color: var(--gold); font-size: 30px; display: block; margin-bottom: .5rem; }
.steps h3 { font-size: 20px; }

/* Media + text rows (services) */
.feature { display: grid; gap: 1.5rem; align-items: start; padding: clamp(2rem, 4vw, 3rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.feature:first-of-type { border-top: 0; }
@media (min-width: 860px) { .feature { grid-template-columns: 1.3fr .7fr; gap: 3rem; } .feature.flip { grid-template-columns: .7fr 1.3fr; } .feature.flip .feature-media { order: -1; } }
.kicker { color: var(--gold-ink); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 13.5px; }
.feature h2 { font-size: clamp(26px, 3vw, 34px); margin: .3rem 0 .4rem; }
.feature .time { font-weight: 600; color: var(--green); margin-bottom: 1rem; }
.feature-media figure { margin: 0; }
.feature-media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.feature-media figcaption { font-size: 14px; color: var(--muted); margin-top: .5rem; }
.feature-media figcaption a { font-weight: 600; }
.testlist { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 8px; }
@media (min-width: 640px) { .testlist { grid-template-columns: 1fr 1fr; } }
.testlist li { display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: baseline; background: var(--crystal); border-radius: 8px; padding: 10px 12px; }
.testlist li b { font-family: var(--heading); color: var(--green); font-size: 22px; font-weight: 600; }
.note { background: var(--paper); border-left: 4px solid var(--gold); padding: .9rem 1.1rem; border-radius: 0 8px 8px 0; margin: 0 0 .8rem; font-size: 16px; }
.note strong { color: var(--gold-ink); }
.note p:last-child { margin: 0; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 1.4rem; font-size: 15px; }
.jump a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; text-decoration: none; color: var(--ink); font-weight: 600; }
.jump a:hover { border-color: var(--gold); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--gold-soft); border-top: 5px solid var(--gold); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-size: 14px; color: var(--muted); margin-top: 5px; }
.req { color: var(--red); }
input[type=text], input[type=tel], input[type=date], select, textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #bbb; border-radius: 8px; background: #fff; color: var(--ink); min-height: 50px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(2,132,8,.3); border-color: var(--green); }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.error { color: var(--red); font-size: 14.5px; margin-top: 5px; display: none; }
.field.invalid .error { display: block; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { border: 1px solid #bbb; border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.radio-row input { accent-color: var(--green); }
.radio-row label:has(input:checked) { border-color: var(--green); background: var(--crystal); }
.form-foot { font-size: 14.5px; color: var(--muted); margin-top: 1rem; }

/* ---------- Learn ---------- */
details.faq { border-bottom: 1px solid var(--line); padding: .3rem 0; }
details.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; padding: .9rem 2rem .9rem 0; list-style: none; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 2px; top: .7rem; font-family: var(--heading); font-size: 26px; color: var(--gold); }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 0 0 1rem; color: var(--ink-soft); max-width: 70ch; }
.lesson { display: grid; gap: 1.2rem; align-items: start; scroll-margin-top: 110px; }
@media (min-width: 760px) { .lesson { grid-template-columns: 300px 1fr; gap: 2rem; } }
.lesson img { border-radius: var(--radius); border: 1px solid var(--line); }
.lesson + .lesson { margin-top: 2.2rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.lesson h3 { font-family: var(--heading); font-size: 24px; }

/* ---------- Contact ---------- */
.contact-card { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
.contact-card .value { font-size: 20px; font-weight: 600; word-break: break-word; }
.contact-card .value a { text-decoration: none; color: var(--ink); }
.contact-card .value a:hover { color: var(--green); }
.address { font-style: normal; line-height: 1.6; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--crystal); padding: 1.5rem; }

/* ---------- Footer ---------- */
.footer { background: var(--green-deep); color: rgba(255,255,255,.9); padding: 3rem 0 2rem; margin-top: 0; }
.footer a { color: #fff; }
.footer .cols { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .brand img { height: 56px; }
.footer h4 { color: var(--gold-soft); letter-spacing: .1em; text-transform: uppercase; font-size: 13.5px; margin: 0 0 .8rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 .5rem; }
.footer .tagline { font-family: var(--heading); font-size: 20px; color: #fff; margin: 1rem 0 .8rem; }
.footer .legal { border-top: 1px solid rgba(255,255,255,.2); margin-top: 2.2rem; padding-top: 1.2rem; font-size: 14px; color: rgba(255,255,255,.75); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a, .social span { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 7px 13px; text-decoration: none; font-size: 15px; }
.social span { color: rgba(255,255,255,.65); }
.social svg { width: 18px; height: 18px; }
.share-btn { background: none; border: 1px solid var(--gold); color: var(--ink); border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.footer .share-btn { color: #fff; border-color: rgba(255,255,255,.5); }
.share-btn svg { width: 18px; height: 18px; }

/* ---------- WhatsApp floating button ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; background: var(--green); color: #fff; border-radius: 999px; padding: 12px 16px 12px 14px; display: inline-flex; align-items: center; gap: 9px; font-weight: 600; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.25); font-size: 15px; }
.wa-float:hover { background: var(--green-ink); color: #fff; }
.wa-float svg { width: 22px; height: 22px; }
@media (min-width: 1000px) { .wa-float { display: none; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.two-col { display: grid; gap: 2rem; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.pill { display: inline-block; background: var(--crystal); border: 1px solid var(--gold-soft); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; }
.cta-band { background: var(--green); color: #fff; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band .wrap { padding: clamp(2.5rem, 5vw, 4rem) 0; text-align: center; }
.cta-band .actions { justify-content: center; }
.values li { padding: 1.2rem 1.3rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); border-left: 4px solid var(--gold); }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .values { grid-template-columns: 1fr 1fr; } }
.values h3 { font-size: 19px; margin-bottom: .3rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { padding-left: 32px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.6-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.6-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E") center/contain no-repeat; }
.breadcrumb-page { padding-top: clamp(2.2rem, 5vw, 4rem); }
.page-head { padding: clamp(2.4rem, 6vw, 4.5rem) 0 clamp(1.8rem, 4vw, 3rem); background: var(--crystal); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .8rem; }
.page-head .lead { margin-bottom: 0; }

@media print {
  .topbar, .header-cta, .menu-btn, .wa-float, .footer .social, .share-btn { display: none !important; }
  .section { padding: 1.2rem 0; }
  a { color: #000; }
}
