/* GMG public website. Brand: portal greens for surfaces, yellow only for buttons and key words,
   sentence case everywhere, Battenburg checks (lime #b8d54c on dark #002b18) used sparingly. */
@font-face { font-family: "Quicksand"; src: url("../fonts/quicksand-latin-700-normal.1527e8240c1f.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("../fonts/quicksand-latin-600-normal.af47dc24d34a.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-400-normal.73aaa95eab31.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-500-normal.96948ea7ac03.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-600-normal.0bf7eadca131.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-700-normal.2a4c97ec45ef.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --brand: #276955; --brand-dark: #1c4d3e; --deep: #10241d; --pill: #ffd31a; --tint: #e9f2ed; --soft: #f4f8f6;
  --ink: #13261f; --text: #2f4740; --muted: #56695f; --line: #e0e9e4; --mint: #9fd6bf;
  --batt-a: #b8d54c; --batt-b: #002b18;
  --display: "Quicksand", "Helvetica Neue", Arial, sans-serif; --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 2.5vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--ink); background: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1.1; text-wrap: balance; color: inherit; }
p { margin: 0; }
.wrap { max-width: none; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--pill); color: var(--ink); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--pill); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 10px;
  font: 700 .98rem/1.2 var(--body); text-decoration: none; text-align: center; border: 2px solid transparent; cursor: pointer; transition: transform .12s, filter .12s; }
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn.y { background: var(--pill); color: var(--ink); border-color: var(--pill); }
.btn.g { background: var(--brand); color: #fff; }
.btn.line { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn.line-w { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.7); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn.full { width: 100%; }

/* preview banner */
.preview { background: #1f5fae; color: #fff; text-align: center; font-size: .88rem; padding: 6px 12px; }

/* header */
.top { background: var(--deep); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.08); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 76px; }
.logo img { height: 40px; width: auto; }
.menu { display: flex; height: 100%; margin: 0 8px 0 auto; }
.menu a { color: #fff; text-decoration: none; font-weight: 600; font-size: .94rem; padding: 0 12px; display: flex; align-items: center; white-space: nowrap; box-shadow: inset 0 -3px 0 transparent; }
.menu a:hover { box-shadow: inset 0 -3px 0 rgba(255,211,26,.5); }
.menu a.on { box-shadow: inset 0 -3px 0 var(--pill); }
.tel { color: #fff; font-weight: 700; font-size: .94rem; text-decoration: none; display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.tel svg { width: 16px; height: 16px; fill: none; stroke: var(--pill); stroke-width: 2.2; }
.top .btn { min-height: 42px; padding: 0 18px; font-size: .9rem; min-width: 112px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 9px; background: rgba(255,255,255,.12); border: 0; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: #fff; position: relative; content: ""; }
.burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }
.mobile { display: none; background: var(--deep); padding: 8px var(--gutter) 20px; border-top: 1px solid rgba(255,255,255,.1); }
.mobile a.link { display: block; color: #fff; text-decoration: none; font-weight: 600; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.05rem; }
.mobile .btns { display: grid; gap: 10px; margin-top: 16px; }
.mobile.open { display: block; }
@media (max-width: 1100px) { .menu a { padding: 0 9px; font-size: .9rem; } .tel span { display: none; } }
@media (max-width: 960px) {
  .menu, .tel, .top .btn.line-w { display: none; }
  .burger { display: inline-flex; }
  .top .wrap { height: 64px; } .logo img { height: 32px; }
  .top .btn.y { margin-left: auto; min-width: 0; padding: 0 14px; }
  .top .burger { margin-left: 8px; }
}

/* Battenburg */
.batt { height: 12px; background: conic-gradient(var(--batt-a) 25%, var(--batt-b) 0 50%, var(--batt-a) 0 75%, var(--batt-b) 0) 0 0 / 12px 12px; }
.batt.thin { height: 8px; background-size: 8px 8px; }

/* hero */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,36,29,.95) 0%, rgba(16,36,29,.8) 50%, rgba(16,36,29,.3) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px; }
.hero .in { max-width: 920px; display: grid; gap: 20px; }
.kick { font-weight: 700; font-size: .95rem; color: var(--mint); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.01em; }
.hl { color: var(--pill); }
.hero p.lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: #e6f2ec; max-width: 56ch; }
.hero .btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin-top: 6px; }
.hero .btns .btn { min-height: 58px; }
.hero.short .wrap { padding-top: 70px; padding-bottom: 70px; }
.hero.short .btns { grid-template-columns: repeat(2, minmax(0, max-content)); }
@media (max-width: 760px) {
  .hero::after { background: rgba(16,36,29,.87); }
  .hero .wrap { padding-top: 44px; padding-bottom: 44px; }
  .hero .btns, .hero.short .btns { grid-template-columns: 1fr; }
}

/* info bar */
.stats { background: var(--brand); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.stats .s { padding: 24px 22px; border-right: 1px solid rgba(255,255,255,.16); }
.stats .s:first-child { padding-left: 0; } .stats .s:last-child { border-right: 0; }
.stats i { display: block; font-style: normal; font-size: .88rem; font-weight: 700; color: #bfe0d2; margin-bottom: 2px; }
.stats b { display: block; font-family: var(--display); font-size: 2.1rem; line-height: 1.15; color: var(--pill); }
.stats b.word { font-size: 1.45rem; padding: 5px 0 3px; white-space: nowrap; }
.stats span { color: #e3f3ec; font-size: .92rem; }
@media (max-width: 900px) {
  .stats .wrap { grid-template-columns: 1fr 1fr; padding: 0; }
  .stats .s, .stats .s:first-child { padding: 16px var(--gutter); border-bottom: 1px solid rgba(255,255,255,.16); }
  .stats .s:last-child { grid-column: 1 / -1; }
  .stats b { font-size: 1.7rem; }
}

/* sections */
.sec { padding: 72px 0; }
.sec.white { background: #fff; } .sec.soft { background: var(--soft); } .sec.tint { background: var(--tint); }
.sec.green { background: var(--brand-dark); color: #fff; }
.sec h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.label { display: block; font-weight: 700; font-size: .95rem; color: var(--brand); margin-bottom: 6px; }
.green .label { color: var(--mint); }
.headrow { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.headrow p { color: var(--muted); margin-top: 6px; max-width: 64ch; }
.green .headrow p { color: #d6ebe1; }
.centre-head { text-align: center; max-width: 780px; margin: 0 auto 40px; display: grid; justify-items: center; gap: 14px; }
.centre-head .rule { width: 56px; height: 5px; border-radius: 3px; background: var(--pill); }
.centre-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.015em; }
.centre-head p { color: var(--muted); font-size: 1.08rem; line-height: 1.65; max-width: 62ch; }
.green .centre-head p { color: #d9ece3; }
@media (max-width: 760px) { .sec { padding: 48px 0; } }

/* services cards */
.svcs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; padding: 12px; display: grid; grid-template-rows: auto 1fr; gap: 14px; }
.svc img { width: 100%; height: 170px; object-fit: cover; border-radius: 12px; }
.svc .bd { padding: 2px 6px 6px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; }
.svc .tag { font-size: .86rem; font-weight: 700; color: var(--mint); }
.svc h3 { font-size: 1.32rem; } .svc h3 a { color: #fff; text-decoration: none; } .svc h3 a:hover { text-decoration: underline; }
.svc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: .92rem; color: #fff; align-self: start; }
.svc li::before { content: "✓  "; color: #8fd3b6; font-weight: 800; }
.svc .btn { width: 100%; margin-top: 8px; }
@media (max-width: 1100px) { .svcs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .svcs { grid-template-columns: 1fr; } }

/* course dates */
.dates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.date { border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(16,36,29,.1); border: 1px solid #e3ece7; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; }
.date .dh { display: flex; gap: 14px; align-items: center; padding: 16px 18px 22px; background: var(--brand); color: #fff; position: relative; }
.date .dh::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: conic-gradient(var(--batt-a) 25%, var(--batt-b) 0 50%, var(--batt-a) 0 75%, var(--batt-b) 0) 0 0 / 6px 6px; }
.date .tile { width: 58px; height: 62px; border-radius: 12px; background: #fff; color: var(--brand); display: grid; place-items: center; align-content: center; line-height: 1; flex: none; }
.date .tile b { font-family: var(--display); font-size: 1.7rem; } .date .tile small { font-size: .82rem; font-weight: 700; margin-top: 3px; }
.date .when b { display: block; font-size: 1rem; } .date .when span { font-size: .85rem; color: #d6ebe1; }
.date .db { padding: 16px 18px 6px; display: grid; gap: 10px; align-content: start; }
.date .c { font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.25; color: var(--ink); text-decoration: none; }
.date .c:hover { text-decoration: underline; }
.date .facts { display: flex; gap: 14px; flex-wrap: wrap; color: #3f544b; font-size: .88rem; }
.date .facts span { display: inline-flex; gap: 5px; align-items: center; }
.date .facts svg { width: 15px; height: 15px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.date .price { font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--ink); }
.date .price small { font-family: var(--body); font-size: .82rem; color: var(--muted); font-weight: 500; }
.date .price s { font-family: var(--body); font-size: .95rem; color: var(--muted); font-weight: 500; margin-right: 4px; }
.places { display: grid; gap: 5px; }
.places .bar { height: 7px; border-radius: 99px; background: #e5ece8; overflow: hidden; } .places .bar i { display: block; height: 100%; border-radius: 99px; }
.places span { font-size: .84rem; font-weight: 700; }
.low i { background: #e5383b; } .low span { color: #c62828; }
.mid i { background: #f0a500; } .mid span { color: #a86a00; }
.ok i { background: #22a35a; } .ok span { color: #1a8a55; }
.date .df { padding: 12px 18px 18px; }
.empty { background: var(--soft); border: 1px dashed #c8d6cf; border-radius: 16px; padding: 28px; text-align: center; color: var(--muted); }
@media (max-width: 1100px) { .dates { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .dates { grid-template-columns: 1fr; } }

/* reviews */
.rv-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; }
.rv { margin: 0; background: #fff; border-radius: 20px; padding: 24px 24px 20px; box-shadow: 0 12px 30px rgba(0,0,0,.18); display: grid; grid-template-rows: auto 1fr auto; gap: 6px; color: var(--ink); }
.rv .qm { font-family: Georgia, serif; font-size: 4rem; line-height: .7; height: 32px; color: var(--brand); }
.rv blockquote { margin: 0; color: #22362e; font-size: .98rem; line-height: 1.6; }
.rv figcaption { display: flex; align-items: center; gap: 10px; padding-top: 14px; margin-top: 8px; border-top: 1px solid #e8efeb; }
.rv .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; flex: none; background: var(--brand); }
.rv .nm { display: grid; flex: 1; } .rv .nm b { font-size: .95rem; } .rv .nm small { color: #6b7d75; font-size: .82rem; }
.rv figcaption svg { width: 22px; height: 22px; flex: none; }
.rv.feat { grid-row: span 2; background: var(--pill); padding: 34px 32px 26px; }
.rv.feat .qm { font-size: 6rem; height: 48px; color: var(--brand-dark); }
.rv.feat blockquote { color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1.22rem; line-height: 1.55; }
.rv.feat figcaption { border-top-color: rgba(19,38,31,.18); } .rv.feat .nm small { color: #4a4520; } .rv.feat .av { background: var(--brand-dark); }
.rv-g { display: inline-flex; gap: 10px; align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 8px 16px 8px 10px; font-weight: 700; font-size: .92rem; color: #fff; }
.rv-g svg { width: 26px; height: 26px; background: #fff; border-radius: 50%; padding: 3px; }
.rv-foot { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 28px; color: #d6ebe1; flex-wrap: wrap; text-align: center; }
@media (max-width: 1000px) { .rv-grid { grid-template-columns: 1fr 1fr; } .rv.feat { grid-row: auto; grid-column: 1 / -1; } }
@media (max-width: 620px) { .rv-grid { grid-template-columns: 1fr; } }

/* accreditations */
.acc-head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: end; margin-bottom: 26px; }
.acc-head p { color: var(--muted); }
.acc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.acc figure { margin: 0; background: #fff; border-radius: 16px; box-shadow: 0 6px 18px rgba(16,36,29,.07); border: 1px solid #e3ece7; padding: 18px 16px 14px; display: grid; grid-template-rows: 96px auto; gap: 10px; justify-items: center; text-align: center; }
.acc img { max-height: 96px; width: auto; object-fit: contain; align-self: center; }
.acc figcaption { font-size: .85rem; color: #3f544b; font-weight: 600; line-height: 1.35; white-space: pre-line; }
.acc figure.big { grid-row: span 2; grid-template-rows: 1fr auto; border: 2px solid var(--brand); }
.acc figure.big img { max-height: 210px; }
@media (max-width: 900px) { .acc-head { grid-template-columns: 1fr; } .acc { grid-template-columns: 1fr 1fr; } .acc figure.big { grid-row: auto; grid-column: 1 / -1; } .acc figure.big img { max-height: 150px; } }

/* call to action band */
.cta { background: var(--brand); color: #fff; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 32px; padding-bottom: 32px; flex-wrap: wrap; }
.cta h2 { font-size: 1.55rem; } .cta p { color: #d6ebe1; margin-top: 4px; } .cta a:not(.btn) { color: #fff; }

/* footer */
.foot { background: var(--deep); color: #c3d8cf; font-size: .92rem; }
.foot .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; padding-top: 44px; padding-bottom: 28px; }
.foot img { height: 36px; width: auto; margin-bottom: 12px; }
.foot b { color: #fff; display: block; margin-bottom: 8px; font-size: 1rem; }
.foot a { color: #c3d8cf; text-decoration: none; display: block; padding: 2px 0; } .foot a:hover { color: #fff; text-decoration: underline; }
.foot .legal { border-top: 1px solid rgba(255,255,255,.1); padding: 16px var(--gutter); text-align: center; font-size: .82rem; color: #8faa9e; max-width: none; }
@media (max-width: 800px) { .foot .wrap { grid-template-columns: 1fr 1fr; } .foot .wrap > div:first-child { grid-column: 1 / -1; } }

/* content pages */
.two { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.two img.ph { width: 100%; border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 16px 40px rgba(16,36,29,.18); }
.prose { display: grid; gap: 14px; color: var(--text); font-size: 1.04rem; }
.prose h2 { color: var(--ink); margin-bottom: 4px; } .green .prose { color: #e2f1ea; } .green .prose h2 { color: #fff; }
.ticks { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ticks li { padding-left: 30px; position: relative; } .ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.green .ticks li::before { background-color: var(--pill); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%2313261f' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid #e3ece7; border-radius: 18px; padding: 24px; box-shadow: 0 8px 24px rgba(16,36,29,.07); display: grid; gap: 10px; align-content: start; }
.card .num { width: 42px; height: 42px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.card h3 { font-size: 1.2rem; } .card p { color: var(--muted); }
.chips2 { display: flex; flex-wrap: wrap; gap: 10px; }
.chips2 span { background: #fff; border: 1px solid #dfe8e3; border-radius: 12px; padding: 10px 14px; font-weight: 600; color: var(--text); }
@media (max-width: 900px) { .two, .cols3 { grid-template-columns: 1fr; gap: 28px; } }

/* training list */
.suite { margin-top: 40px; } .suite h3 { font-size: 1.4rem; margin-bottom: 16px; }
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.course-card { display: grid; grid-template-columns: 110px 1fr; gap: 16px; background: #fff; border: 1px solid #e3ece7; border-radius: 16px; padding: 14px; text-decoration: none; color: inherit; box-shadow: 0 6px 18px rgba(16,36,29,.06); transition: box-shadow .15s, transform .15s; }
.course-card:hover { box-shadow: 0 12px 28px rgba(16,36,29,.14); transform: translateY(-2px); }
.course-card .cv { background: #fff; border: 1px solid #e3ece7; border-radius: 8px; overflow: hidden; align-self: start; }
.course-card .cv img { width: 100%; height: auto; }
.course-card .cv.none { aspect-ratio: 3 / 4; background: var(--brand); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .8rem; padding: 6px; text-align: center; }
.course-card h4 { margin: 0; font-family: var(--display); font-size: 1.05rem; line-height: 1.25; color: var(--ink); }
.course-card p { font-size: .88rem; color: var(--muted); margin-top: 4px; }
.course-card .meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; font-size: .86rem; }
.course-card .meta b { color: var(--ink); } .course-card .next { color: var(--brand); font-weight: 600; }
@media (max-width: 1000px) { .courses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .courses { grid-template-columns: 1fr; } }

/* course page */
.course-top { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.course-side { background: #fff; color: var(--ink); border-radius: 18px; padding: 18px; box-shadow: 0 14px 36px rgba(0,0,0,.25); display: grid; gap: 12px; }
.course-side img { border-radius: 10px; border: 1px solid #e3ece7; }
.course-side .price { font-family: var(--display); font-weight: 700; font-size: 1.9rem; } .course-side .price small { font-family: var(--body); font-size: .85rem; color: var(--muted); font-weight: 500; }
.facts2 { display: grid; gap: 8px; font-size: .92rem; color: var(--text); }
.facts2 div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid #edf2ef; padding-bottom: 6px; } .facts2 b { color: var(--ink); text-align: right; }
.desc { display: grid; gap: 14px; color: var(--text); font-size: 1.03rem; max-width: 72ch; }
.desc h3 { font-size: 1.25rem; color: var(--ink); margin-top: 8px; }
@media (max-width: 900px) { .course-top { grid-template-columns: 1fr; } .course-side { max-width: 420px; } }

/* contact */
.form { display: grid; gap: 14px; background: #fff; border-radius: 18px; padding: 26px; border: 1px solid #e3ece7; box-shadow: 0 10px 28px rgba(16,36,29,.08); }
.form label { font-weight: 600; font-size: .95rem; display: grid; gap: 6px; }
.form input, .form select, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid #cfdcd5; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .hp { position: absolute; left: -9999px; }
.form .err { color: #c62828; font-size: .88rem; font-weight: 600; }
.thanks { background: #e7f6ee; border: 1px solid #b9e2cb; color: #1a6b42; border-radius: 14px; padding: 16px 18px; font-weight: 600; }
.contact-list { display: grid; gap: 14px; } .contact-list a { font-weight: 700; font-size: 1.15rem; text-decoration: none; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }

/* small screens */
@media (max-width: 760px) { .headrow .btn { width: 100%; } }
.course-side img { max-height: 300px; width: auto; margin: 0 auto; }


.fr-band { padding-top: 28px; padding-bottom: 0; }
.fr-link { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 16px; background: var(--tint); border-left: 6px solid var(--pill); color: var(--text); text-decoration: none; }
.fr-link:hover { box-shadow: 0 8px 24px rgba(16,36,29,.09); }
.fr-link b { display: block; font-family: var(--display); color: var(--brand); font-size: 1.2rem; margin-bottom: 2px; }
.fr-link-go { margin-left: auto; font-size: 1.8rem; color: var(--brand); }
.card .fr-link { margin-top: 6px; padding: 14px 16px; }
.card .fr-link b { font-size: 1.05rem; }

/* Routes into FREC: the guide page (includes/_frec_routes_page.html) and the short link (includes/_frec_routes_link.html).
   Colours match the PDF learner checklist: grey = 2-day FREC 3, green = straight to FREC 4, red = important notes. */
.fr { --fr-grey: #eceeed; --fr-grey-line: #d6dbd8; --fr-green: #e3f1e9; --fr-green-line: #c3e0cf; --fr-red: #c62828;
      --fr-red-bg: #fdecec; --fr-deep: #10241d; --fr-brand: #276955; --fr-yellow: #ffd31a; --fr-ink: #13261f; --fr-text: #2f4740; --fr-muted: #56695f; --fr-card: #fff;
      display: grid; gap: 28px; max-width: 1000px; margin: 0 auto; color: var(--fr-text); font-size: 1.02rem; line-height: 1.6; }
.fr h2 { margin: 0; color: var(--fr-ink); }
.fr h3 { margin: 0 0 10px; color: var(--fr-ink); font-size: 1.1rem; }
.fr-num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--fr-deep); color: #fff; display: grid; place-items: center; font-weight: 700; }
.fr-jump { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fr-jump-card { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 16px 18px; border-radius: 14px; text-decoration: none; color: var(--fr-text); border: 1px solid transparent; }
.fr-jump-card .fr-num { grid-row: span 2; }
.fr-jump-card b { color: var(--fr-ink); font-size: 1.08rem; }
.fr-jump-card span:last-child { font-size: .9rem; color: var(--fr-muted); line-height: 1.4; }
.fr-jump-card.grey { background: var(--fr-grey); } .fr-jump-card.green { background: var(--fr-green); } .fr-jump-card.plain { background: var(--fr-card); border-color: var(--fr-grey-line); }
.fr-jump-card:hover { border-color: var(--fr-brand); }
.fr-alert { display: flex; gap: 14px; align-items: baseline; background: var(--fr-red-bg); border-left: 6px solid var(--fr-red); border-radius: 0 12px 12px 0; padding: 14px 18px; }
.fr-alert b { color: var(--fr-red); text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; flex: none; }
.fr-alert p { margin: 0; color: var(--fr-ink); }
.fr-flow { background: var(--fr-card); border: 1px solid var(--fr-grey-line); border-radius: 18px; padding: 26px 20px; }
.fr-flow h2 { text-align: center; margin-bottom: 16px; }
.fr-chart { display: block; width: 100%; max-width: 860px; height: auto; margin: 0 auto; }
.fr-chart text { font-family: inherit; }
.fr-lines path { stroke: var(--fr-ink); } .fr-ah { fill: var(--fr-ink); }
.fr-stack { display: none; }
.fr-node-h { background: var(--fr-deep); color: #fff; font-weight: 600; text-align: center; padding: 12px 14px; border-radius: 8px; }
.fr-node-h.head { background: var(--fr-brand); }
.fr-node-h.end { background: #1c4d3e; box-shadow: inset 0 0 0 3px var(--fr-yellow); }
.fr-pill-h { align-self: center; color: #fff; font-weight: 800; font-size: .85rem; letter-spacing: .06em; padding: 3px 16px; border-radius: 999px; }
.fr-pill-h.yes { background: #1d8a4e; } .fr-pill-h.no { background: var(--fr-red); }
.fr-branch { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--fr-grey-line); }
.fr-arrow { width: 2px; height: 18px; background: var(--fr-ink); margin: 0 auto; }
.fr-group { display: grid; gap: 14px; scroll-margin-top: 90px; }
.fr-group-head { display: flex; gap: 14px; align-items: center; padding: 16px 20px; border-radius: 14px; }
.fr-group-head.grey { background: var(--fr-grey); } .fr-group-head.green { background: var(--fr-green); } .fr-group-head.plain { padding: 0 0 4px; }
.fr-group-head p { margin: 2px 0 0; color: var(--fr-muted); }
.fr-group-head h2 { font-size: 1.45rem; }
.fr-panel { border-radius: 14px; padding: 18px 20px 8px; }
.fr-panel.grey { background: var(--fr-grey); } .fr-panel.green { background: var(--fr-green); }
.fr-list { list-style: none; margin: 0; padding: 0; columns: 2 380px; column-gap: 28px; }
.fr-list li { break-inside: avoid; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--fr-grey-line); color: var(--fr-ink); line-height: 1.45; }
.fr-panel.green .fr-list li { border-bottom-color: var(--fr-green-line); }
.fr-list li span { padding-left: 18px; position: relative; }
.fr-list li span::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--fr-brand); }
.fr-list small { flex: none; font-size: .78rem; color: var(--fr-muted); background: var(--fr-card); border-radius: 6px; padding: 1px 7px; font-variant-numeric: tabular-nums; }
.fr-note { border-left: 6px solid var(--fr-red); background: var(--fr-red-bg); border-radius: 0 12px 12px 0; padding: 12px 18px; color: var(--fr-ink); }
.fr-note b { color: var(--fr-red); }
.fr-who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fr-who-card { background: var(--fr-card); border: 1px solid var(--fr-grey-line); border-top: 5px solid var(--fr-red); border-radius: 12px; padding: 14px 16px; }
.fr-who-card b { color: var(--fr-red); }
.fr-who-card p { margin: 4px 0 0; color: var(--fr-ink); line-height: 1.5; }
.fr-how { background: var(--fr-green); border-radius: 18px; padding: 24px; display: grid; gap: 16px; scroll-margin-top: 90px; }
.fr-steps { list-style: none; counter-reset: fr; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fr-steps li { counter-increment: fr; background: var(--fr-card); border-radius: 12px; padding: 14px 16px 14px 56px; position: relative; display: grid; gap: 2px; }
.fr-steps li::before { content: counter(fr); position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--fr-yellow); color: var(--fr-deep); font-weight: 800; display: grid; place-items: center; }
.fr-steps b { color: var(--fr-ink); } .fr-steps span { color: var(--fr-text); line-height: 1.45; }
.fr-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fr-courses { margin: 0; }
@media (max-width: 800px) {
  .fr-jump, .fr-who, .fr-steps { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .fr-chart { display: none; } .fr-stack { display: flex; flex-direction: column; }
  .fr-list { columns: 1; } .fr-list li { flex-direction: column; gap: 2px; } .fr-list small { margin-left: 18px; }
  .fr-panel { padding: 16px 16px 6px; }
  .fr-alert { flex-direction: column; gap: 4px; }
}

.fr h2 { font-family: var(--display); }
.fr-flow h2 { font-size: 1.8rem; }

/* Work for us */
.wjobs { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.wjobs.closed { opacity: .7; }
.wjob { text-decoration: none; color: var(--text); border-top: 5px solid var(--brand); }
.wjob:hover { box-shadow: 0 10px 28px rgba(16,36,29,.12); }
.wjob-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.wjob-top h3 { margin: 0; }
.wfacts { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9rem; color: var(--muted); }
.wjob-go { font-weight: 700; color: var(--brand); }
.wbadge { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #e6ebe8; color: #44524c; white-space: nowrap; }
.wbadge.open { background: #dff3e7; color: #1d6b3d; }
