/* Workplace Law Consulting: site styles.
   Brand: the WPL navy of the logo, the gold of their "WPL Certified" seal and the caution tape in their
   training-centre photos, on a warm paper white. Barlow Semi Condensed (signage) for headings, Public Sans
   for text. Signature: the certificate in the home hero, stamped with the gold seal. */

:root {
  --navy: #001c86;
  --navy-2: #0a2aa6;
  --ink: #0d1733;
  --text: #1d2436;
  --muted: #535d72;
  --line: #dcdfe7;
  --paper: #f6f5f0;
  --card: #fff;
  --tint: #eef1f8;
  --gold: #f5b700;
  --gold-2: #ffd34d;
  --gold-ink: #6b4d00;
  --ok: #17663a;
  --err: #b42318;
  --radius: 10px;
  --shadow: 0 1px 2px rgb(13 23 51 / .06), 0 8px 24px rgb(13 23 51 / .08);
  --head: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: 16px;
}
@media (min-width: 700px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .18em; }
a:hover { color: var(--navy-2); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, .h2, .h3 { font-family: var(--head); color: var(--ink); line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { top: 8px; color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.display { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 700; letter-spacing: -.01em; }
.display--page { font-size: clamp(2.1rem, 5vw, 3.3rem); }
.h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 700; }
.h3 { font-size: 1.35rem; font-weight: 700; }
.lead { font-size: clamp(1.1rem, 2vw, 1.28rem); color: var(--muted); max-width: 38em; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font: 600 .82rem/1.2 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--navy); margin: 0 0 1rem; }
.eyebrow::before { content: ""; width: 22px; height: 4px; background: var(--gold); border-radius: 2px; }
.eyebrow--light { color: var(--gold-2); }

/* ---------- icons, buttons, chips ---------- */
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.25em; border-radius: 8px; border: 2px solid transparent; font: 600 1rem/1.1 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-2); color: #fff; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); color: var(--ink); }
.btn--ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--light { border-color: rgb(255 255 255 / .45); color: #fff; background: transparent; }
.btn--light:hover { border-color: #fff; color: #fff; background: rgb(255 255 255 / .08); }
.btn--sm { min-height: 40px; padding: .5em 1em; font-size: .95rem; }
.btn--lg { min-height: 54px; padding: .8em 1.5em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow .ico--arrow { transition: transform .15s; }
.link-arrow:hover .ico--arrow, a:hover > .link-arrow .ico--arrow { transform: translateX(3px); }
.badge { display: inline-flex; align-items: center; gap: .35em; padding: .28em .6em; border-radius: 999px; background: #fff5d6; color: var(--gold-ink); font: 700 .74rem/1 var(--body); letter-spacing: .05em; text-transform: uppercase; border: 1px solid #f2d27a; }
.badge .ico { width: 1em; height: 1em; }
.chip { min-height: 40px; padding: .45em .95em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 600 .95rem/1 var(--body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.stars { display: inline-flex; color: var(--gold); }
.stars .ico { width: 1.05em; height: 1.05em; }

/* ---------- header ---------- */
.topbar { background: var(--ink); color: #c9d0e2; font-size: .86rem; }
.topbar .wrap { display: flex; gap: 18px; align-items: center; justify-content: space-between; min-height: 36px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.topbar a:hover { color: var(--gold-2); }
a[href^="tel:"] { white-space: nowrap; }
@media (max-width: 520px) { .topbar__email span { display: none; } }
.topbar__place { display: none; }
@media (min-width: 760px) { .topbar__place { display: inline; } }
.site-header { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.bar { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.brand { display: block; flex: none; }
.brand img { width: 128px; height: auto; }
@media (min-width: 700px) { .brand img { width: 148px; } }
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: .55em .7em; border-radius: 6px; color: var(--ink); font-weight: 600; font-size: .97rem; text-decoration: none; }
.nav a:hover { background: var(--tint); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 6px 6px 0 0; }
.bar__cta { display: none; }
.menu-btn { margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 8px; background: var(--tint); cursor: pointer; display: grid; place-items: center; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -7px; } .menu-btn__bars::after { top: 7px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-7px) rotate(-45deg); }
.menu { border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - 70px); overflow: auto; }
.menu__list { list-style: none; margin: 0; padding: 8px var(--gutter); }
.menu__list a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font: 600 1.15rem/1.2 var(--head); color: var(--ink); text-decoration: none; }
.menu__foot { display: grid; gap: 10px; padding: 16px var(--gutter) 24px; }
@media (min-width: 1080px) {
  .nav { display: block; }
  .bar__cta { display: inline-flex; }
  .menu-btn, .menu { display: none !important; }
}

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tight { padding: clamp(40px, 6vw, 64px) 0; }
.section--flush { padding-top: 0; }
.section--white { background: #fff; }
.section--tint { background: var(--tint); }
.section--ink { background: var(--ink); color: #d5dbea; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section__head { max-width: 46em; margin-bottom: clamp(28px, 4vw, 44px); }
.section__head p { color: var(--muted); font-size: 1.1rem; }
.section--ink .section__head p { color: #b9c2d8; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; }
.section__head--row > div { max-width: 46em; }
.tape { height: 10px; background: repeating-linear-gradient(-45deg, var(--gold) 0 14px, var(--ink) 14px 28px); }

/* ---------- home hero + certificate (the signature) ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 7vw, 88px); background: linear-gradient(180deg, #fff 0, #fff 55%, var(--paper) 100%); overflow: hidden; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.hero__copy .display em { font-style: normal; color: var(--navy); background: linear-gradient(transparent 72%, rgb(245 183 0 / .55) 72%, rgb(245 183 0 / .55) 92%, transparent 92%); }
.hero__rating { display: inline-flex; align-items: center; gap: .6em; margin-top: 1.6rem; color: var(--muted); text-decoration: none; font-size: .97rem; }
.hero__rating strong { color: var(--ink); }
.hero__art { position: relative; padding: 0 0 70px 0; max-width: 560px; justify-self: center; width: 100%; }
@media (min-width: 960px) { .hero__art { padding: 0 0 60px 60px; } }
.hero__photo { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.4; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.cert { position: absolute; left: 0; bottom: 0; width: min(86%, 380px); background: #fffdf6; border-radius: 6px; padding: 18px 20px 20px; box-shadow: 0 2px 4px rgb(13 23 51 / .1), 0 18px 40px rgb(13 23 51 / .22); border: 1px solid #ece4c8; transform: rotate(-3deg); color: var(--ink); }
@media (min-width: 960px) { .cert { left: 0; } }
.cert::before { content: ""; position: absolute; inset: 7px; border: 1.5px solid #c9b77a; border-radius: 3px; pointer-events: none; }
.cert__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.cert__top img { width: 88px; }
.cert__kind { font: 700 .66rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); text-align: right; }
.cert__small { font-size: .78rem; color: var(--muted); margin: 0; }
.cert__name { font: 700 1.25rem/1.2 var(--head); margin: 2px 0 6px; border-bottom: 1px solid #d9cfae; padding-bottom: 4px; }
.cert__course { font: 700 1.5rem/1.1 var(--head); color: var(--navy); margin: 2px 0 8px; min-height: 1.1em; }
.cert__course span { display: inline-block; animation: course-in .5s ease both; }
.cert__foot { font-size: .74rem; color: var(--muted); margin: 0; padding-right: 86px; }
.cert__seal { position: absolute; right: -14px; bottom: -22px; width: 112px; height: 112px; filter: drop-shadow(0 3px 4px rgb(107 77 0 / .35)); animation: stamp .55s cubic-bezier(.2, 1.4, .4, 1) .55s both; }
.cert__seal::after { content: ""; position: absolute; inset: 10%; border-radius: 50%; border: 3px solid var(--gold); animation: ink 1s ease-out 1s both; }
@keyframes stamp { from { transform: scale(2.2) rotate(-30deg); opacity: 0; } 60% { opacity: 1; } to { transform: scale(1) rotate(-8deg); opacity: 1; } }
@keyframes ink { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
@keyframes course-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .cert__seal, .cert__seal::after, .cert__course span { animation: none; }
  .cert__seal { transform: rotate(-8deg); }
  .cert__seal::after { display: none; }
}

/* ---------- credentials strip ---------- */
.creds { background: #fff; border-block: 1px solid var(--line); }
.creds__list { list-style: none; margin: 0 auto; padding: 18px var(--gutter); display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px 28px; max-width: var(--wrap); }
.creds__list li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--muted); line-height: 1.35; }
.creds__list strong { display: block; color: var(--ink); font-size: 1rem; }
.creds__list img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.creds__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--tint); color: var(--navy); display: grid; place-items: center; flex: none; }
.creds__icon .ico { width: 26px; height: 26px; }

/* ---------- path cards (three ways we help) ---------- */
.paths { display: grid; gap: 20px; }
@media (min-width: 860px) { .paths { grid-template-columns: repeat(3, 1fr); } }
.path { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.path:hover { transform: translateY(-3px); color: var(--text); box-shadow: 0 2px 4px rgb(13 23 51 / .08), 0 16px 36px rgb(13 23 51 / .14); }
.path__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.path__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.path__body .h3 { font-size: 1.55rem; margin: 0; }
.path__body p { color: var(--muted); margin: 0 0 6px; }
.path__list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 4px; font-size: .95rem; }
.path__list li::before { content: "›"; color: var(--gold-ink); font-weight: 700; margin-right: .45em; }
.path .link-arrow { margin-top: auto; }

/* ---------- course cards ---------- */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .15s, transform .2s, box-shadow .2s; }
.card:hover { border-color: #b9c3dc; transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.card__img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--tint); }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__title { font: 700 1.22rem/1.15 var(--head); color: var(--ink); }
.card__text { font-size: .95rem; color: var(--muted); }
.card .badge { position: absolute; top: 12px; left: 12px; box-shadow: 0 2px 6px rgb(0 0 0 / .15); }
.card .link-arrow { margin-top: auto; padding-top: 6px; font-size: .95rem; }
.card--plain .card__body { padding-top: 20px; }

/* ---------- training centre (dark) ---------- */
.centre { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .centre { grid-template-columns: 1fr 1fr; gap: 64px; } }
.centre__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.centre__photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; aspect-ratio: 3 / 4; }
.centre__photos img:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: .65em; align-items: flex-start; }
.ticks .ico { color: var(--gold); margin-top: .22em; }
.ticks--dark .ico { color: var(--navy); }

/* ---------- calendar ---------- */
.calendar { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.event { display: grid; grid-template-columns: 74px 1fr; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
@media (min-width: 760px) { .event { grid-template-columns: 84px 1fr auto; padding: 16px 20px; } }
.event__date { display: grid; place-items: center; text-align: center; background: var(--ink); color: #fff; border-radius: 8px; padding: 8px 4px; line-height: 1; }
.event__date span { font: 600 .74rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.event__date strong { font: 700 2rem/1 var(--head); margin-top: 4px; }
.event__name { font: 700 1.25rem/1.15 var(--head); color: var(--ink); text-decoration: none; }
.event__meta { font-size: .92rem; color: var(--muted); margin: 4px 0 0; }
.event__actions { display: flex; gap: 8px; flex-wrap: wrap; grid-column: 1 / -1; }
@media (min-width: 760px) { .event__actions { grid-column: auto; } }

/* ---------- reviews ---------- */
.reviews { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.review { margin: 0; background: var(--card); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; font-size: 1rem; }
.review figcaption { margin-top: auto; font-weight: 700; color: var(--ink); font-size: .95rem; }
.review figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }
.rating { display: flex; align-items: center; gap: .55em; margin: 0; color: var(--muted); }
.rating strong { color: var(--ink); }
.clients { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.clients img { width: 120px; height: 60px; object-fit: contain; filter: grayscale(1); opacity: .7; margin: 0 auto; }
.clients__label { text-align: center; color: var(--muted); font-size: .9rem; margin: 40px 0 0; }

/* ---------- call-to-action band ---------- */
.cta-band { background: var(--navy); color: #dfe5f6; }
.cta-band__inner { padding: clamp(44px, 6vw, 72px) var(--gutter); display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.4fr 1fr; } }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .actions { margin: 0; }
@media (min-width: 900px) { .cta-band .actions { justify-content: flex-end; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: #fff; padding: clamp(32px, 5vw, 56px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .45em; font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--navy); }
.page-hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: 1.3fr 1fr; gap: 48px; } }
.page-hero__img { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 11; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hub: filter + groups ---------- */
.finder { display: grid; gap: 14px; margin-top: 28px; }
.finder__search { position: relative; max-width: 460px; }
.finder__search input { width: 100%; min-height: 50px; padding: 0 16px 0 44px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.finder__search input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgb(0 28 134 / .15); }
.finder__search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.finder__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.group { margin-top: clamp(40px, 6vw, 64px); }
.group:first-child { margin-top: 0; }
.group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.group__head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.group__head p { margin: 0; color: var(--muted); flex-basis: 100%; }
.finder__empty { padding: 32px; text-align: center; background: #fff; border-radius: var(--radius); border: 1px dashed var(--line); }
.panel { background: var(--ink); color: #d5dbea; border-radius: 14px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 20px; align-items: center; }
@media (min-width: 860px) { .panel { grid-template-columns: 1.5fr auto; } }
.panel h2 { color: #fff; margin-bottom: .3em; }
.panel p { margin: 0; }

/* ---------- course / service page ---------- */
.detail { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .detail { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; } }
.prose { max-width: 44em; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin-top: 1.8em; }
.prose > h2:first-child, .prose > section:first-child h2 { margin-top: 0; }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: 8px; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 1.5em; }
.prose ul li::before { content: ""; position: absolute; left: .2em; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.prose--cols ul { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); column-gap: 28px; }
.aside { display: grid; gap: 16px; }
@media (min-width: 960px) { .aside { position: sticky; top: 96px; } }
.factcard { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.factcard__img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.factcard__body { padding: 20px; }
.facts { margin: 0 0 18px; display: grid; gap: 12px; }
.facts div { display: grid; gap: 2px; }
.facts dt { font: 700 .74rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; }
.factcard .btn + .btn { margin-top: 10px; }
.note { font-size: .92rem; color: var(--muted); background: var(--tint); border-radius: 10px; padding: 14px 16px; margin: 0; display: flex; gap: .6em; }
.note .ico { color: var(--navy); margin-top: .2em; }

/* ---------- online courses ---------- */
.price { font: 700 1.6rem/1 var(--head); color: var(--ink); }
.price small { font: 500 .85rem var(--body); color: var(--muted); margin-left: .3em; }
.how { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.how__item { background: #fff; border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); }
.how__item h3 { font-size: 1.2rem; margin-bottom: .35em; }
.how__item p { margin: 0; color: var(--muted); font-size: .97rem; }
.how__n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--ink); font: 700 1rem var(--head); margin-bottom: 10px; }

/* ---------- products ---------- */
.catalogue { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.catalogue section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.catalogue h2 { font-size: 1.4rem; margin-bottom: .2em; }
.catalogue section > p { color: var(--muted); font-size: .95rem; }
.catalogue ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.catalogue li { font-size: .95rem; border-top: 1px solid var(--line); padding-top: 10px; }
.catalogue li strong { display: block; color: var(--ink); }

/* ---------- about ---------- */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.stats li { background: var(--ink); color: #c9d0e2; border-radius: var(--radius); padding: 20px; }
.stats strong { display: block; font: 700 2.4rem/1 var(--head); color: var(--gold-2); margin-bottom: 6px; }
.split { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.2fr 1fr; gap: 56px; } }
.photo-stack { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.photo-stack img { border-radius: 10px; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.photo-stack img:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
.badges { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 18px; }
.badges img { height: 84px; width: auto; }

/* ---------- articles ---------- */
.article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.article-list a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; text-decoration: none; color: var(--text); }
.article-list a:hover { border-color: #b9c3dc; box-shadow: var(--shadow); }
.article-list h2 { font-size: 1.35rem; margin: 0 0 .3em; }
.article-list p { margin: 0; color: var(--muted); font-size: .97rem; }
.article-list time, .article-meta { font-size: .85rem; color: var(--muted); }
.related { display: grid; gap: 10px; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* ---------- contact + form ---------- */
.contact { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; } }
.formcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.form { display: grid; gap: 18px; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend { padding: 0; }
.form legend, .form label > span { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .97rem; }
.form .opt { font-weight: 400; color: var(--muted); font-size: .88rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #c9cfdc; border-radius: 8px; font: inherit; background: #fff; color: var(--text); }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgb(0 28 134 / .15); }
.form [aria-invalid="true"] { border-color: var(--err); }
.form .row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pills span { display: inline-flex; align-items: center; min-height: 42px; padding: .45em .9em; border-radius: 999px; border: 1.5px solid #c9cfdc; background: #fff; font-size: .95rem; font-weight: 500; color: var(--text); cursor: pointer; }
.pills input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pills input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; font-weight: 600; }
.form__status[data-state="error"] { color: var(--err); }
.form__done { text-align: center; padding: 24px 8px; }
.form__done .ico { width: 56px; height: 56px; color: var(--ok); margin: 0 auto 10px; }
.form__small { font-size: .85rem; color: var(--muted); margin: 0; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-card { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; text-decoration: none; color: var(--text); }
a.contact-card:hover { border-color: var(--navy); color: var(--text); }
.contact-card .ico { grid-row: span 2; width: 26px; height: 26px; color: var(--navy); }
.contact-card strong { color: var(--ink); }
.contact-card span { color: var(--muted); font-size: .95rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b9c2d8; font-size: .95rem; }
.footer__grid { display: grid; gap: 32px; padding: 56px var(--gutter) 36px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__brand img { width: 170px; margin-bottom: 16px; }
.footer__h { font: 700 1.05rem/1.2 var(--head); color: #fff; letter-spacing: .02em; margin: 0 0 12px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #dfe4f1; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); text-decoration: underline; }
.footer__base { border-top: 1px solid rgb(255 255 255 / .1); padding: 18px var(--gutter) 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .86rem; }
.footer__base p { margin: 0; }

/* ---------- 404 ---------- */
.page-hero--404 { text-align: center; padding: 96px 0; }
.page-hero--404 .lead { margin: 0 auto; }
.actions--center { justify-content: center; }
