/* ============================================================
   LiD Finance - lidfinance.com.pg
   Hand-built stylesheet · no frameworks · purple #8E4BEB / pink #FFC9C3
   ============================================================ */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/poppins-800-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/poppins-800-italic-latin.woff2") format("woff2");
}

:root {
  --purple: #8e4beb;
  --purple-deep: #7a35d6;
  --purple-ink: #5b23b0;
  --purple-soft: #ab7bf2;
  --purple-tint: #f4edfe;
  --purple-tint-2: #ebdffc;
  --gold: #ffc9c3;
  --gold-deep: #b0564a;

  /* darkened emblem gold (#C4B454 × 0.65) — header slogan, WCAG AA 4.7:1 on white */
  --brand-gold: #7f7537;
  --green-gold: #ffc9c3;
  --green-gold-deep: #8e4beb;
  --gold-tint: #fff2f0;
  --teal: #0d7d77;
  --coral: #c74432;
  --sky: #256fae;
  --leaf: #357a2f;
  --plum: #a04e9e;
  --ink: #241b2e;
  --slate: #5d5668;
  --mist: #75707e;
  --line: #e9ddfa;
  --line-2: #dcc9f7;
  --bg: #ffffff;
  --bg-soft: #fbf7ff;
  --wa: #12833f;
  --shadow-1: none;
  --shadow-2: none;
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1180px;
  --font: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Poppins", "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
/* <picture> is only a format switch - let the <img> keep its place in the layout */
picture { display: contents; }
a { color: var(--purple); }
h1, h2, h3, h4 { line-height: 1.16; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 800; color: var(--purple-ink); }
h1 { font-size: clamp(2.05rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: 1.16rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--purple-ink); }

.wrap { width: min(var(--wrap), 100% - 2.6rem); margin-inline: auto; }
.section { padding: clamp(3.2rem, 7vw, 5.2rem) 0; }
.section-tight { padding: clamp(2.4rem, 5vw, 3.6rem) 0; }
.bg-soft { background: var(--purple-tint); }
.bg-tint { background: var(--purple-tint-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple-ink); margin-bottom: .8rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--gold); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.16rem); color: var(--slate); max-width: 62ch; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.6rem, 3.4vw, 2.6rem); }
.section-head .lead { margin: .35rem 0 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .82rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: .97rem; text-decoration: none; letter-spacing: .01em;
  transition: transform .16s ease, background .16s ease, color .16s ease;
  white-space: nowrap;
}
.btn svg { flex: 0 0 auto; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--purple-ink); }
.btn-gold:hover { background: #ffb5ab; }
.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { background: var(--purple-deep); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0d6b34; }
.btn-ghost { background: transparent; color: var(--purple-ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--purple); background: var(--purple-tint); }
.btn-light { background: #fff; color: var(--purple); }
.btn-sm { padding: .55rem 1.05rem; font-size: .88rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

/* ---------- chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: .38rem .85rem;
  font-size: .82rem; font-weight: 700; color: var(--slate);
}
.chip svg { color: var(--gold-deep); }
.tag {
  display: inline-block; border-radius: 999px; padding: .2rem .65rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
}

/* ---------- top bar ---------- */
.topbar { background: var(--purple-ink); color: #e9def4; font-size: .84rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; flex-wrap: wrap; padding: .3rem 0; }
.topbar a { color: #f3ecfa; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; min-height: 32px; }
.topbar a:hover { color: var(--gold); }
.topbar .tb-group { display: flex; align-items: center; gap: 1.15rem; flex-wrap: wrap; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .42rem; }
.topbar svg { color: var(--gold); }
@media (max-width: 720px) { .topbar .tb-hide-sm { display: none; } }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header.scrolled { border-color: var(--line-2); }
.header .wrap { display: flex; align-items: center; gap: 1.4rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand img { height: 58px; width: auto; flex: 0 0 auto; margin-bottom: 10px; }
.brand .brand-txt { display: flex; flex-direction: column; line-height: 1.02; gap: .22rem; }
.brand .brand-name { font-family: var(--font-brand); font-weight: 800; font-size: 1.42rem; color: var(--purple-ink); letter-spacing: .16em; line-height: 1; }
.brand .brand-name em:first-child { margin-left: 0; }
.brand .brand-tag { font-family: var(--font-brand); font-size: .7rem; font-weight: 800; font-style: italic; letter-spacing: .12em; color: var(--brand-gold); }
.nav { display: flex; align-items: center; gap: .2rem; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem;
  padding: .5rem .95rem; border-radius: 999px; position: relative;
}
.nav a:hover { color: var(--purple-ink); background: var(--purple-tint); }
.nav a[aria-current="page"] { color: #fff; background: var(--purple); }
.header .btn { margin-left: .4rem; }
.nav-toggle {
  display: none; background: none; border: 0; padding: .55rem; margin-left: auto;
  color: var(--purple); border-radius: 8px; min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
@media (max-width: 980px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: .8rem 1.3rem 1.2rem; gap: .1rem;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem .6rem; font-size: 1.02rem; }
  .nav-toggle { display: inline-flex; }
  .header .btn-cta-desktop { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--purple-tint); }
.hero .wrap {
  position: relative;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center; padding: clamp(2.6rem, 5.5vw, 4.6rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero h1 em { font-style: normal; color: var(--purple); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .28em;
  background: rgba(255, 201, 195, .55); z-index: -1; border-radius: 3px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0 1.2rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.hero-chips a.chip { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.hero-media { position: relative; }
.hero-photo {
  border-radius: var(--radius); overflow: hidden;
  border: 6px solid #fff;
}
.hero-photo img { width: 100%; height: clamp(300px, 34vw, 430px); object-fit: cover; }
.hero-float {
  position: absolute; background: #fff; border-radius: var(--radius);
  padding: .72rem 1rem; display: flex; gap: .65rem; align-items: center;
  font-size: .86rem; font-weight: 800; color: var(--purple-ink); line-height: 1.25;
  border: 1px solid var(--line);
}
.hero-float small { display: block; font-weight: 600; color: var(--slate); font-size: .74rem; }
.hero-float .ic {
  width: 38px; height: 38px; border-radius: var(--radius-sm); display: grid; place-items: center; flex: 0 0 auto;
}
.hero-float.f1 { top: -18px; left: -14px; }
.hero-float.f1 .ic { background: var(--gold-tint); color: var(--gold-deep); }
.hero-float.f2 { bottom: -16px; right: -10px; }
.hero-float.f2 .ic { background: #e7f6ef; color: var(--wa); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; margin-inline: auto; }
  .hero-float.f1 { left: 6px; }
  .hero-float.f2 { right: 6px; }
}
/* very small phones (320-359px): let buttons wrap and stack so nothing is clipped */
@media (max-width: 359px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .btn { white-space: normal; }
  .hero-ctas, .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn, .cta-actions .btn { width: 100%; }
}

/* ---------- stat band ---------- */
.statband { background: var(--purple); color: #fff; }
.statband .wrap {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem; padding: clamp(1.7rem, 3.6vw, 2.6rem) 0;
}
.stat { text-align: center; padding: .3rem .6rem; border-left: 1px solid rgba(255, 255, 255, .16); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 800; letter-spacing: -.02em; color: #fff; }
.stat b span { color: var(--gold); }
.stat span.lbl { font-size: .82rem; font-weight: 700; color: #fff; letter-spacing: .04em; }
@media (max-width: 860px) {
  .statband .wrap { grid-template-columns: repeat(2, 1fr); gap: 1.4rem .6rem; }
  .stat:nth-child(3) { border-left: 0; }
}

/* ---------- purpose cards ---------- */
.purposes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.purpose {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.15rem 1.15rem; position: relative; overflow: hidden;
  transition: border-color .18s ease;
}
.purpose::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--pc, var(--gold));
}
.purpose:hover { border-color: var(--purple-soft); }
.purpose .pic {
  width: 46px; height: 46px; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: color-mix(in srgb, var(--pc) 13%, #fff); color: var(--pc); margin-bottom: .8rem;
}
.purpose h3 { margin-bottom: .25rem; font-size: 1.03rem; }
.purpose p { margin: 0; font-size: .88rem; color: var(--slate); line-height: 1.5; }
@media (max-width: 1020px) { .purposes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .purposes { grid-template-columns: 1fr; } }

/* ---------- calculator ---------- */
.calc-shell {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 0;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
}
.calc-form { padding: clamp(1.4rem, 3vw, 2.2rem); }
.calc-out {
  background: var(--purple); color: #fff; padding: clamp(1.4rem, 3vw, 2.2rem);
  display: flex; flex-direction: column; gap: .9rem;
}
.calc-out > * { position: relative; }
.field { margin-bottom: 1.15rem; }
.field-head { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; margin-bottom: .45rem; }
.field-head label { margin-bottom: 0; }
.field-head output { color: var(--purple); font-size: 1.02rem; font-weight: 800; }
.field label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: .9rem; color: var(--purple-ink); margin-bottom: .45rem; }
.field input[type="range"] { width: 100%; accent-color: var(--purple); height: 44px; }
.field .range-scale { display: flex; justify-content: space-between; font-size: .74rem; color: var(--mist); font-weight: 600; margin-top: -.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.field input[type="number"], .field input[type="text"] {
  width: 100%; padding: .68rem .8rem; border-radius: var(--radius-sm);
  border: 1.6px solid var(--line-2); font: inherit; font-weight: 700; color: var(--ink);
  background: var(--bg-soft);
}
.field input:focus { border-color: var(--purple); outline: none; box-shadow: 0 0 0 3px rgba(142, 75, 235, .15); }
.calc-line { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .22); font-size: .93rem; font-weight: 600; color: #fff; }
.calc-line b { font-size: 1.06rem; color: #fff; font-weight: 800; }
/* summary lines that sit on the white form side (50% net check tab) */
.calc-form .calc-line { color: var(--slate); border-bottom-color: var(--line); }
.calc-form .calc-line b { color: var(--purple-ink); }
.calc-hero-num { font-size: clamp(2.2rem, 4.4vw, 3rem); font-weight: 800; color: var(--gold); letter-spacing: -.02em; line-height: 1; }
.calc-hero-lbl { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.calc-note { font-size: .8rem; color: #fff; margin-top: auto; line-height: 1.5; }
.calc-tabs { display: flex; gap: .5rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.calc-tab {
  border: 1.6px solid var(--line-2); background: #fff; border-radius: 999px;
  padding: .45rem 1rem; font-weight: 800; font-size: .86rem; color: var(--slate);
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.calc-tab[aria-selected="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.calc-panel[hidden] { display: none; }
.afford { margin-top: .4rem; border-radius: var(--radius-sm); padding: .7rem .9rem; font-size: .88rem; font-weight: 700; display: none; }
.afford.ok { display: block; background: #e7f6ef; color: #1c7a44; }
.afford.warn { display: block; background: #fdeeeb; color: #b23f2e; }
@media (max-width: 900px) { .calc-shell { grid-template-columns: 1fr; } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.2rem 1.3rem; }
.step .num {
  position: absolute; top: -19px; left: 1.1rem; width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: grid; place-items: center; font-weight: 800; font-size: 1.05rem;
  background: var(--sc, var(--gold)); color: #fff;
}
.step h3 { margin: .5rem 0 .35rem; font-size: 1.05rem; }
.step p { font-size: .9rem; color: var(--slate); margin: 0; }
.step .step-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .7rem; font-weight: 800; font-size: .88rem; text-decoration: none; min-height: 40px; }
.step .step-link:hover { gap: .6rem; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); margin-top: 1rem; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- office band ---------- */
.office-band { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: center; }
.office-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.office-collage figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 4px solid #fff; }
.office-collage figure:nth-child(2) { transform: translateY(14px); }
.office-collage figure:nth-child(3) { transform: translateY(-8px); }
.office-collage img { width: 100%; height: 250px; object-fit: cover; }
.office-collage figcaption { font-size: .72rem; font-weight: 700; color: var(--mist); padding: .45rem .5rem; background: #fff; }
@media (max-width: 900px) {
  .office-band { grid-template-columns: 1fr; }
  .office-collage img { height: 190px; }
}

/* ---------- branches strip ---------- */
.branch-strip { position: relative; color: #fff; background: var(--purple-ink); overflow: hidden; }
.branch-strip .bgimg { display: none; }
.branch-strip .bgimg img { width: 100%; height: 100%; object-fit: cover; }
.branch-strip .wrap { position: relative; padding: clamp(2.6rem, 5.5vw, 4rem) 0; }
.branch-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: 1.6rem; }
.branch-tile {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-sm); padding: .85rem 1rem;
  transition: background .16s ease;
  text-decoration: none; color: #fff; display: block;
}
.branch-tile:hover { background: rgba(255, 201, 195, .18); }
.branch-tile b { display: block; font-size: 1.02rem; font-weight: 800; }
.branch-tile span { font-size: .78rem; color: #f6f2fa; font-weight: 600; }
.branch-tile .hq { color: var(--gold); font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 900px) { .branch-tiles { grid-template-columns: repeat(2, 1fr); } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: .7rem; overflow: hidden; }
.faq-q {
  width: 100%; display: block; position: relative; padding: 1.05rem 3.2rem 1.05rem 1.2rem;
  background: none; border: 0; text-align: left;
  font-weight: 800; font-size: 1rem; color: var(--purple-ink);
}
.faq-q .fx { position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); transition: transform .2s ease; color: var(--gold-deep); }
.faq-q[aria-expanded="true"] .fx { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 1.2rem 1.1rem; color: var(--slate); font-size: .95rem; }
.faq-a[hidden] { display: none; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold); color: var(--purple-ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem 2.4rem; padding: clamp(2.2rem, 4.6vw, 3.4rem) 0; }
.cta-band h2 { margin: 0 0 .3rem; color: var(--purple-ink); }
.cta-band p { margin: 0; font-weight: 600; color: var(--purple-ink); max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- footer ---------- */
.footer { background: var(--purple-ink); color: #cfc0dd; font-size: .92rem; }
.footer .wrap { padding: clamp(2.6rem, 5vw, 3.8rem) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .95fr 1.15fr; gap: 2.2rem; }
.footer .f-head { color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem; }
.footer a { color: #cfc0dd; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer li { margin-bottom: .5rem; }
.footer .f-mark { display: inline-grid; place-items: center; background: #fff; border-radius: 14px; padding: 7px; margin-bottom: 1rem; }
.footer .f-mark img { display: block; height: 40px; width: auto; }
.footer .f-brand-top { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.footer .f-brand-top .f-mark { margin-bottom: 0; }
.footer .f-brand-name { font-family: var(--font-brand); font-weight: 800; font-size: 1.3rem; letter-spacing: .16em; color: #fff; line-height: 1.05; }
.footer .f-brand-name em:first-child { margin-left: 0; }
.footer .f-slogan { font-family: var(--font-brand); font-weight: 800; font-style: italic; letter-spacing: .04em; color: var(--green-gold); }
.footer .f-blurb { max-width: 34ch; }
.footer .f-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer .f-contact svg { flex: 0 0 auto; margin-top: .22rem; color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.4rem; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding: 1.1rem 0; font-size: .8rem; color: #cfc0dd; }
.footer .credit { font-size: .74rem; color: #cfc0dd; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- page hero (sub pages) ---------- */
.page-hero { background: var(--purple); color: #fff; }
.page-hero .wrap { padding: clamp(2.6rem, 5.4vw, 4rem) 0 clamp(2.4rem, 4.6vw, 3.4rem); }
.page-hero .eyebrow { color: #fff; }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero .lead { color: #fff; }
.crumbs { font-size: .8rem; font-weight: 700; color: #f8f6fa; margin-bottom: .9rem; }
.crumbs a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { color: #fff; }

/* ---------- checklists & cards ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.two-col > * { min-width: 0; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.3rem; }
.panel > h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; }
.panel > h3 .pic { width: 38px; height: 38px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--purple-tint); color: var(--purple); flex: 0 0 auto; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; padding: .48rem 0; font-size: .95rem; color: var(--slate); border-bottom: 1px dashed var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks svg { flex: 0 0 auto; margin-top: .28rem; color: var(--leaf); }
.checks.gold svg { color: var(--gold-deep); }
.checks b { color: var(--ink); }

/* fee table */
.fee-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.fee-table th, .fee-table td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.fee-table th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); font-weight: 800; }
.fee-table td:first-child { font-weight: 800; color: var(--purple-ink); white-space: nowrap; }
.fee-table tr:last-child td { border-bottom: 0; }
.fee-table .good { color: var(--leaf); font-weight: 800; }
@media (max-width: 560px) {
  .fee-table th, .fee-table td { padding: .6rem .5rem; }
  .fee-table td:first-child { white-space: normal; }
}

/* At-a-glance: two-column table on desktop, stacked fact cards on mobile */
@media (max-width: 620px) {
  .fee-table.glance, .fee-table.glance tbody, .fee-table.glance tr, .fee-table.glance td { display: block; width: auto; }
  .fee-table.glance { font-size: 1rem; }
  .fee-table.glance tr { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .85rem 1rem; margin-bottom: .7rem; }
  .fee-table.glance tr:last-child { margin-bottom: 0; }
  .fee-table.glance td { border-bottom: 0; padding: 0; }
  .fee-table.glance td:first-child { white-space: normal; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); margin-bottom: .3rem; }
  .fee-table.glance td:last-child { line-height: 1.5; }
}

/* schedule sample table */
.scroll-hint { display: none; }
@media (max-width: 600px) {
  .scroll-hint { display: block; font-size: .78rem; font-weight: 700; color: var(--mist); margin: 0 0 .5rem; }
}
.sched-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); max-width: 100%; -webkit-overflow-scrolling: touch; }
.sched { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 0; }
.sched th, .sched td { padding: .55rem .55rem; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .sched { min-width: 560px; }
}
.sched th:first-child, .sched td:first-child { text-align: left; font-weight: 800; color: var(--purple-ink); position: sticky; left: 0; background: #fff; }
.sched thead th { background: var(--purple-tint); color: var(--purple-ink); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; position: sticky; top: 0; }
.sched tbody tr:hover td { background: var(--gold-tint); }
.sched tbody tr:hover td:first-child { background: var(--gold-tint); }

/* ---------- branches page ---------- */
.region-label { display: flex; align-items: center; gap: .8rem; margin: 2.2rem 0 1.1rem; }
.region-label:first-of-type { margin-top: 0; }
.region-label h2 { margin: 0; font-size: 1.25rem; }
.region-label .rule { flex: 1; height: 2px; background: var(--line); border-radius: 2px; }
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 980px) { .branch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .branch-grid { grid-template-columns: 1fr; } }
.bcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .18s ease; }
.bcard:hover { border-color: var(--purple-soft); }
.bcard .bhead { padding: 1.05rem 1.2rem .8rem; display: flex; justify-content: space-between; align-items: center; gap: .8rem; background: var(--bc-t, var(--purple-tint)); }
.bcard .bhead h3 { margin: 0; font-size: 1.14rem; }
.bcard .bhead .tag { background: var(--bc, var(--purple)); color: #fff; }
.bcard .bbody { padding: .2rem 1.2rem 1.2rem; font-size: .9rem; color: var(--slate); flex: 1; }
.bcard .bmain { display: flex; flex-direction: column; }
.bcard .bbody p { margin-bottom: .5rem; }
.bcard .bline { display: flex; gap: .55rem; align-items: flex-start; margin-bottom: .4rem; }
.bcard .bline svg { flex: 0 0 auto; margin-top: .2rem; color: var(--bc, var(--purple)); }
.bcard .bfoot { display: flex; gap: .6rem; flex-wrap: wrap; padding: 0 1.2rem 1.2rem; margin-top: auto; }
.bcard.hq { grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr .95fr; }
.bcard.hq .bmedia { position: relative; min-height: 260px; }
.bcard.hq .bmedia img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bcard.hq .bmain { padding: 1.4rem 1.5rem; }
@media (max-width: 860px) { .bcard.hq { grid-template-columns: 1fr; } .bcard.hq .bmedia { min-height: 210px; order: -1; } }
.coords-link { font-weight: 800; color: var(--purple); text-decoration: none; border-bottom: 2px solid var(--gold); display: inline-block; padding-block: .15rem; }
.coords-link:hover { color: var(--gold-deep); }

/* ---------- about ---------- */
.vm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 860px) { .vm-grid { grid-template-columns: 1fr; } }
.vm { border-radius: var(--radius); padding: 1.5rem 1.4rem; color: #fff; position: relative; overflow: hidden; }
.vm h3 { color: #fff; font-size: 1.15rem; display: flex; gap: .6rem; align-items: center; }
.vm p { margin: 0; font-size: .95rem; color: #fff; }
.vm.v1 { background: var(--purple); }
.vm.v2 { background: var(--ink); }
.vm.v3 { background: var(--gold); color: var(--purple-ink); }
.vm.v3 h3 { color: var(--purple-ink); }
.vm.v3 p { color: var(--purple-ink); }
.vm::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.values-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 900px) { .values-row { grid-template-columns: repeat(2, 1fr); } }
.value { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--vc, var(--gold)); border-radius: var(--radius-sm); padding: 1rem 1.1rem; font-weight: 700; font-size: .95rem; color: var(--purple-ink); }
.value small { display: block; font-weight: 600; color: var(--slate); margin-top: .25rem; }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
@media (max-width: 1020px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.member { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem .8rem 1.15rem; }
.member .avatar {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto .7rem;
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: #fff;
  background: var(--ac, var(--purple));
}
.member b { display: block; font-size: .95rem; color: var(--purple-ink); }
.member span { font-size: .78rem; color: var(--slate); font-weight: 600; }
.timeline { border-left: 3px solid var(--gold); margin-left: .6rem; padding-left: 1.6rem; }
.timeline li { position: relative; padding-bottom: 1.5rem; }
.timeline li::before {
  content: ""; position: absolute; left: calc(-1.6rem - 8.5px); top: .35rem;
  width: 14px; height: 14px; border-radius: 50%; background: var(--purple); border: 3px solid var(--gold);
}
.timeline b { color: var(--purple); font-size: 1rem; }
.timeline p { margin: .2rem 0 0; color: var(--slate); font-size: .94rem; max-width: 60ch; }

/* ---------- download card ---------- */
.dl-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center;
  background: var(--ink);
  color: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem);
}
.dl-card > * { position: relative; }
.dl-icon { width: 74px; height: 88px; background: #fff; border-radius: var(--radius-sm); display: grid; place-items: center; color: var(--purple); }
.dl-card h2 { color: #fff; font-size: 1.3rem; margin: 0 0 .3rem; line-height: 1.16; }
.dl-card p { margin: 0; color: #fff; font-size: .93rem; max-width: 56ch; }
.dl-meta { display: flex; gap: .5rem; margin-top: .7rem; flex-wrap: wrap; }
.dl-meta .chip { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #fff; }
@media (max-width: 800px) { .dl-card { grid-template-columns: 1fr; text-align: left; } .dl-icon { display: none; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.ccard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.3rem; text-align: center; }
.ccard .pic { width: 52px; height: 52px; border-radius: 14px; margin: 0 auto .8rem; display: grid; place-items: center; background: var(--cc-t, var(--purple-tint)); color: var(--cc, var(--purple)); }
.ccard h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.ccard p { font-size: .9rem; color: var(--slate); margin-bottom: .8rem; }
.ccard a.big { font-weight: 800; font-size: 1.06rem; color: var(--purple); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.ccard a.big:hover { color: var(--gold-deep); }

/* ---------- reveal anim ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 404 ---------- */
.err { text-align: center; padding: 5rem 0 6rem; }
.err .code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; color: var(--purple-tint-2); line-height: 1; }

/* ---------- skip link ---------- */
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--purple-ink); padding: .6rem 1rem; font-weight: 800; border-radius: 0 0 8px 0; z-index: 99; }
.skip:focus { left: 0; }

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }
.photo-frame { border-radius: var(--radius); overflow: hidden; border: 5px solid #fff; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.map-frame { position: relative; display: block; }
.map-tag {
  position: absolute; right: .55rem; bottom: .55rem; z-index: 2; pointer-events: none;
  background: rgba(255, 255, 255, .95); color: var(--purple-ink);
  font-size: .7rem; font-weight: 800; letter-spacing: .02em;
  padding: .32rem .55rem; border-radius: 6px;
}
.attrib { font-size: .74rem; color: var(--mist); }
