/* ==========================================================================
   Construction Skills Professionals — homepage styles
   Palette and type follow the approved "Direction 1a" design.
   ========================================================================== */

:root{
  --navy-deep:#081422;
  --navy:#0B1B2E;
  --navy-mid:#13304F;
  --slate:#16283C;
  --slate-2:#3A4C61;
  --body-text:#51637A;
  /* --muted, --orange-deep and the two --whatsapp-text values below were
     darkened from their original design-file hex values to pass WCAG AA
     (4.5:1) at the small text sizes they're actually used at — see the
     accessibility audit referenced in /accessibility-statement/. Original
     values: --muted #8A99AB (2.9:1), --orange-deep #E8930C (2.4:1),
     --whatsapp-text #1DA851 (3.1:1), --whatsapp-text-hover #128C7E (4.1:1). */
  --muted:#606B77;
  --border:#E4E9F0;
  --panel:#F5F7FA;
  --white:#FFFFFF;
  --orange:#F5A623;
  --orange-hover:#E09612;
  --orange-deep:#965F07;
  --green:#009639;
  --blue:#0072CE;
  --gold:#D4A017;
  --gold-text:#B98A1C;
  --black-card:#1A1A1A;
  --whatsapp:#25D366;
  --whatsapp-hover:#1EBE5A;
  --whatsapp-text:#178640;
  --whatsapp-text-hover:#0F6B32;
  --error-red:#C0392B;
  --header-h:80px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--panel);
  font-family:'Archivo',system-ui,sans-serif;
  color:var(--slate);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
a:hover{color:var(--orange-deep)}
button{font-family:inherit}
h1,h2,h3,p{text-wrap:pretty}
.container{max-width:1240px;margin:0 auto;padding:0 48px}

.skip-link{
  position:absolute;left:-999px;top:auto;
  background:var(--navy);color:#fff;padding:12px 20px;border-radius:0 0 8px 0;z-index:2000;
}
.skip-link:focus{left:0;top:0}

/* ---------------- Header ---------------- */
.site-header{
  position:sticky;top:0;z-index:500;
  display:flex;align-items:center;gap:32px;
  padding:0 48px;height:var(--header-h);
  background:#FFFFFF;border-bottom:1px solid var(--border);
}
.site-header .logo{flex:none;display:flex;align-items:center}
.site-header .logo img{height:54px;width:auto}
.main-nav{display:flex;align-items:center;gap:26px;margin-left:12px;font-size:14.5px;font-weight:600;color:var(--slate-2)}
.main-nav a:hover{color:var(--navy)}
.header-actions{margin-left:auto;display:flex;align-items:center;gap:22px}
.header-phone{font-size:15px;font-weight:700;color:var(--navy);letter-spacing:.01em}
.header-phone:hover{color:var(--orange-deep)}
.header-whatsapp{display:flex;align-items:center;gap:6px;font-size:13.5px;font-weight:700;color:var(--whatsapp-text)}
.header-whatsapp:hover{color:var(--whatsapp-text-hover)}
.dot{width:8px;height:8px;border-radius:50%;background:var(--whatsapp);display:inline-block}
.btn-cta{background:var(--orange);color:#101C2B;font-size:14.5px;font-weight:700;padding:12px 22px;border-radius:9px;border:none;cursor:pointer;display:inline-block}
.btn-cta:hover{background:var(--orange-hover);color:#101C2B}

.hamburger{display:none}

/* ---------------- Hero ---------------- */
.hero{position:relative;background:var(--navy-deep);overflow:hidden}
.hero-bg{position:absolute;inset:0;background:#0d1e30 url("/assets/images/site-briefing.jpg") center/cover no-repeat}
.hero-scrim{position:absolute;inset:0;background:linear-gradient(88deg, rgba(6,16,28,.94) 0%, rgba(6,16,28,.78) 42%, rgba(6,16,28,.30) 78%, rgba(6,16,28,.12) 100%);pointer-events:none}
.hero-inner{position:relative;z-index:2;padding:100px 48px 56px;max-width:760px}
.hero-eyebrow{margin:0 0 18px;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--orange)}
.hero h1{margin:0 0 20px;font-size:64px;line-height:1.04;font-weight:800;letter-spacing:-.015em;color:#fff}
.hero-sub{margin:0 0 34px;font-size:19px;line-height:1.55;color:rgba(255,255,255,.82);max-width:600px}
.hero-ctas{display:flex;align-items:center;gap:26px;margin-bottom:44px;flex-wrap:wrap}
.btn-call{color:#fff;font-size:16px;font-weight:600;border-bottom:2px solid rgba(245,166,35,.6);padding-bottom:2px}
.btn-call:hover{color:var(--orange)}
.hero-picker{display:flex;flex-direction:column;gap:12px;background:rgba(255,255,255,.97);border-radius:12px;padding:14px 18px;box-shadow:0 12px 32px rgba(0,0,0,.35);max-width:560px}
.hero-picker-label{font-size:14px;font-weight:700;color:var(--slate)}
.hero-picker-group{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.hero-picker-group-label{flex:none;min-width:96px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.hero-picker-group-label-plant{color:var(--orange-deep)}
.hero-picker-opts{display:flex;gap:8px;flex-wrap:wrap}
.pill-link{font-size:13.5px;font-weight:600;color:var(--slate-2);background:#EEF2F7;padding:9px 15px;border-radius:8px}
.pill-link:hover{background:var(--navy);color:#fff}
.pill-link-plant{color:#7A4D0F;background:#FDF3DF}
.pill-link-plant:hover{background:var(--orange-deep);color:#fff}

/* ---------------- Trust bar ---------------- */
.trust-bar{display:flex;flex-direction:column;align-items:center;gap:20px;padding:32px 48px;background:#fff;border-bottom:1px solid var(--border)}
.trust-label{margin:0;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.trust-logos{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:16px 18px}
.trust-logo{display:flex;align-items:center;justify-content:center;height:68px;min-width:104px;background:#fff;border:1px solid var(--border);border-radius:8px;box-shadow:0 1px 4px rgba(11,27,46,.08);padding:10px 16px}
.trust-logo img{max-height:100%;max-width:130px;width:auto;height:auto;object-fit:contain}
.trust-fineprint{margin:0;max-width:760px;text-align:center;font-size:12.5px;line-height:1.5;color:var(--muted)}

/* ---------------- Stats ---------------- */
.stats{display:grid;grid-template-columns:repeat(5,1fr);background:var(--navy);padding:40px 48px}
.stat{text-align:center;border-right:1px solid rgba(255,255,255,.09)}
.stat:last-child{border-right:none}
.stat-num{font-size:34px;font-weight:800;color:#fff;letter-spacing:-.01em}
.stat-num.accent{color:var(--orange)}
.stat-label{margin-top:6px;font-size:13px;font-weight:600;color:rgba(255,255,255,.6)}

/* ---------------- Section shells ---------------- */
section{padding:88px 48px 80px}
.section-title{margin:0 0 10px;font-size:38px;font-weight:800;letter-spacing:-.015em;color:var(--navy);text-align:center}
.section-lead{margin:0 auto 48px;font-size:17px;line-height:1.55;color:var(--body-text);max-width:640px;text-align:center}

/* ---------------- Pathways ---------------- */
.pathways-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.pathway-card{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(11,27,46,.05)}
.pathway-bar{height:8px}
.pathway-bar.green{background:var(--green)}
.pathway-bar.blue{background:var(--blue)}
.pathway-bar.gold{background:var(--gold)}
.pathway-bar.black{background:var(--black-card)}
.pathway-body{padding:24px 24px 26px}
.pathway-eyebrow{margin:0 0 4px;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.pathway-eyebrow.green{color:var(--green)}
.pathway-eyebrow.blue{color:var(--blue)}
.pathway-eyebrow.gold{color:var(--gold-text)}
.pathway-eyebrow.black{color:var(--black-card)}
.pathway-card h3{margin:0 0 8px;font-size:20px;font-weight:700;color:var(--navy)}
.pathway-card p{margin:0 0 18px;font-size:14px;line-height:1.55;color:var(--body-text)}
.link-underline{font-size:14px;font-weight:700;color:var(--navy);border-bottom:2px solid var(--orange);padding-bottom:2px}
.link-underline:hover{color:var(--orange-deep)}

/* ---------------- Why us ---------------- */
.why-section{background:#fff;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:44px}
.why-icon{width:44px;height:44px;border-radius:10px;background:var(--navy);display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.why-grid h3{margin:0 0 10px;font-size:19px;font-weight:700;color:var(--navy)}
.why-grid p{margin:0;font-size:15px;line-height:1.6;color:var(--body-text)}

/* ---------------- Funding quiz ---------------- */
.quiz-section{padding:76px 48px 4px}
.quiz-card{max-width:680px;margin:0 auto;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 12px 32px rgba(11,27,46,.09);padding:38px 44px 36px}
.quiz-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}
.quiz-kicker{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--orange-deep)}
.quiz-step-label{font-size:13px;font-weight:600;color:var(--muted)}
.quiz-panel{animation:quizIn .25s ease}
.quiz-panel[hidden]{display:none}
.quiz-panel h2{margin:0 0 10px;font-size:28px;font-weight:800;letter-spacing:-.01em;color:var(--navy)}
.quiz-panel h3{margin:0 0 18px;font-size:21px;font-weight:700;color:var(--navy)}
.quiz-panel > p{margin:0 0 24px;font-size:15.5px;line-height:1.6;color:var(--body-text)}
.quiz-options{display:grid;gap:10px}
.quiz-option{font-family:inherit;text-align:left;background:var(--panel);border:1px solid var(--border);border-radius:10px;padding:14px 18px;font-size:15px;font-weight:600;color:var(--slate);cursor:pointer}
.quiz-option:hover{border-color:var(--orange);background:#FFFDF6}
.quiz-back{margin-top:18px;background:none;border:none;padding:0;font-size:13.5px;font-weight:600;color:var(--muted);cursor:pointer}
.quiz-back:hover{color:var(--navy)}
.quiz-start-btn{font-family:inherit;background:var(--orange);color:#101C2B;font-size:15.5px;font-weight:700;padding:14px 30px;border:none;border-radius:10px;cursor:pointer}
.quiz-start-btn:hover{background:var(--orange-hover)}
.quiz-fineprint{margin:18px 0 0;font-size:12.5px;color:var(--muted)}
.quiz-result-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.quiz-contact-form{margin:4px 0 18px;padding:18px 20px;background:var(--panel);border:1px solid var(--border);border-radius:12px}
.quiz-contact-label{margin:0 0 12px;font-size:14px;font-weight:700;color:var(--slate)}
.quiz-contact-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.quiz-contact-row input{flex:1;min-width:160px;font-family:inherit;background:#fff;border:1px solid var(--border);border-radius:8px;padding:11px 14px;font-size:14px;color:var(--slate)}
.quiz-contact-row input:focus-visible{outline:2px solid var(--orange);outline-offset:1px}
.quiz-contact-error{display:block;margin:0 0 10px;font-size:13px;color:var(--error-red)}
.quiz-contact-success{margin:0 0 18px;font-size:14.5px;font-weight:600;color:var(--green)}
.quiz-restart{font-family:inherit;background:none;border:none;padding:0;font-size:14px;font-weight:600;color:var(--muted);cursor:pointer}
.quiz-restart:hover{color:var(--navy)}
@keyframes quizIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* ---------------- Employers ---------------- */
.employers-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center}
.eyebrow{margin:0 0 14px;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--orange-deep)}
.employers-section h2{margin:0 0 16px;font-size:36px;font-weight:800;letter-spacing:-.015em;color:var(--navy)}
.employers-section > div:first-child > p{margin:0 0 26px;font-size:16.5px;line-height:1.6;color:var(--body-text)}
.check-list{margin:0 0 32px;padding:0;list-style:none;display:flex;flex-direction:column;gap:14px}
.check-list li{display:flex;gap:12px;align-items:baseline;font-size:15.5px;color:var(--slate)}
.check-dot{flex:none;width:8px;height:8px;background:var(--orange);border-radius:2px;position:relative;top:-2px}
.check-icon{flex:none;width:20px;height:20px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;position:relative;top:-1px}
.check-icon svg{width:11px;height:11px;display:block}
.btn-dark{display:inline-block;background:var(--navy);color:#fff;font-size:15.5px;font-weight:700;padding:15px 28px;border-radius:10px}
.btn-dark:hover{background:var(--navy-mid);color:#fff}
.media-frame{min-width:0;width:100%;height:420px;border-radius:14px;overflow:hidden;box-shadow:0 16px 40px rgba(11,27,46,.14)}
.media-frame img{width:100%;height:100%;object-fit:cover;display:block}

/* image placeholders standing in for image-slot components in the design */
.img-placeholder{
  width:100%;height:100%;display:flex;align-items:center;justify-content:center;text-align:center;padding:16px;
  background:linear-gradient(135deg,#dfe6ee,#c8d3e0);color:#5d6b7d;font-size:13px;font-weight:600;line-height:1.4;
}

/* ---------------- Learner journey ---------------- */
.journey-section{background:var(--navy)}
.journey-grid{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:64px;align-items:start}
.journey-media{min-width:0;width:100%;height:500px;border-radius:14px;overflow:hidden;box-shadow:0 20px 48px rgba(0,0,0,.4)}
.journey-media img{width:100%;height:100%;object-fit:cover;display:block}
.journey-section h2{margin:0 0 28px;font-size:38px;font-weight:800;letter-spacing:-.015em;color:#fff}
.journey-eyebrow{color:var(--orange)}
.journey-copy{display:flex;flex-direction:column;gap:18px;font-size:17px;line-height:1.7;color:rgba(255,255,255,.82);max-width:680px}
.journey-copy p{margin:0}
.journey-attribution{margin:22px 0 0;font-size:15.5px;font-weight:700;color:#fff}
.journey-path{display:flex;align-items:center;gap:12px;margin:26px 0 32px;flex-wrap:wrap}
.path-chip{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:8px 15px;font-size:13.5px;font-weight:600;color:rgba(255,255,255,.85)}
.chip-dot{width:10px;height:10px;border-radius:3px}
.path-arrow{color:rgba(255,255,255,.4);font-size:14px}
.btn-orange{display:inline-block;background:var(--orange);color:#101C2B;font-size:15.5px;font-weight:700;padding:15px 28px;border-radius:10px}
.btn-orange:hover{background:var(--orange-hover);color:#101C2B}

/* ---------------- Testimonials ---------------- */
.reviews-section{background:#fff;border-top:1px solid var(--border)}
.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.review-card{margin:0;background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:28px}
.stars{color:var(--orange);font-size:17px;letter-spacing:2px;margin-bottom:14px}
.review-card blockquote{margin:0 0 20px;font-size:15px;line-height:1.6;color:var(--slate)}
.review-card figcaption{font-size:14px;color:var(--body-text)}
.review-card figcaption strong{color:var(--navy);font-weight:700}

/* ---------------- Funding band ---------------- */
.funding-band{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding:56px 48px;border-top:1px solid var(--border)}
.funding-item{display:flex;align-items:center;gap:16px}
.funding-icon{flex:none;width:40px;height:40px;border-radius:50%;background:var(--navy);display:flex;align-items:center;justify-content:center;color:var(--orange);font-weight:800;font-size:16px}
.funding-item h3{margin:0;font-size:16px;font-weight:700;color:var(--navy)}
.funding-item p{margin:2px 0 0;font-size:13.5px;color:var(--body-text)}

/* ---------------- FAQ ---------------- */
.faq-section{background:#fff;border-top:1px solid var(--border)}
.faq-list{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.faq-list details{background:var(--panel);border:1px solid var(--border);border-radius:10px;padding:20px 24px}
.faq-list summary{font-size:16.5px;font-weight:700;color:var(--navy);cursor:pointer}
.faq-list summary::-webkit-details-marker{color:var(--orange)}
.faq-list p{margin:12px 0 0;font-size:15px;line-height:1.6;color:var(--body-text)}

/* ---------------- Blog teasers ---------------- */
.articles-section{border-top:1px solid var(--border)}
.articles-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-bottom:36px}
.article-card{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(11,27,46,.05);display:flex;flex-direction:column}
.article-media{width:100%;height:180px}
.article-media-placeholder{display:flex;align-items:center;justify-content:center;background:var(--panel)}
.article-media-placeholder img{height:56px;width:auto;object-fit:contain;opacity:.85}
.article-body{padding:22px 24px 24px;display:flex;flex-direction:column;gap:10px;flex:1}
.article-tag{align-self:flex-start;font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#B36F00;background:#FDF3DF;border-radius:6px;padding:5px 9px}
.article-tag.guide{color:var(--slate-2);background:#EEF2F7}
.article-body h3{margin:0;font-size:17.5px;line-height:1.35;font-weight:700;color:var(--navy)}
.article-body p{margin:0;font-size:14px;line-height:1.55;color:var(--body-text);flex:1}
.articles-cta{text-align:center}
.btn-outline{display:inline-block;border:1.5px solid var(--navy);color:var(--navy);font-size:15px;font-weight:700;padding:13px 28px;border-radius:10px}
.btn-outline:hover{background:var(--navy);color:#fff}

/* ---------------- Final CTA ---------------- */
.final-cta{background:var(--navy);padding:72px 48px;text-align:center}
.final-cta h2{margin:0 0 12px;font-size:40px;font-weight:800;letter-spacing:-.015em;color:#fff}
.final-cta p{margin:0 0 30px;font-size:17px;color:rgba(255,255,255,.72)}
.btn-final{display:inline-block;background:var(--orange);color:#101C2B;font-size:17px;font-weight:700;padding:17px 36px;border-radius:10px}
.btn-final:hover{background:var(--orange-hover);color:#101C2B}

/* ---------------- Footer ---------------- */
.site-footer{background:var(--navy-deep);padding:56px 48px 32px;color:rgba(255,255,255,.7)}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:48px;margin-bottom:44px}
.footer-logo{height:60px;width:auto;display:block;margin-bottom:16px}
.footer-about p{margin:0 0 20px;font-size:14.5px;line-height:1.6;max-width:340px}
.footer-about address{font-style:normal;font-size:14.5px;line-height:1.8}
.footer-about address a{display:inline-flex;align-items:center;gap:7px}
.footer-about address a:hover{color:var(--orange)}
.footer-phone{color:#fff;font-weight:700}
.footer-nav{display:flex;flex-direction:column;gap:10px;font-size:14.5px}
.footer-heading{margin:0 0 6px;font-size:12.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.45)}
.footer-nav a:hover, .footer-badges + a:hover{color:var(--orange)}
.footer-badges{display:flex;flex-wrap:wrap;gap:8px}
.badge{font-family:ui-monospace,Menlo,monospace;font-size:12.5px;font-weight:700;color:rgba(255,255,255,.75);border:1px solid rgba(255,255,255,.2);border-radius:6px;padding:6px 10px}

.newsletter{border-top:1px solid rgba(255,255,255,.1);padding:26px 0;margin-bottom:2px}
.newsletter-row{display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.newsletter-copy h3{margin:0 0 4px;font-size:16.5px;font-weight:700;color:#fff}
.newsletter-copy p{margin:0;font-size:13.5px;line-height:1.55;color:rgba(255,255,255,.6);max-width:440px}
.newsletter-form{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-start}
.newsletter-field{display:flex;flex-direction:column;gap:4px}
.newsletter-form input[type=email]{
  font-family:inherit;width:260px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);
  border-radius:9px;padding:12px 15px;font-size:14px;color:#fff;outline:none;
}
.newsletter-form input[type=email]:focus-visible{outline:2px solid #fff;outline-offset:1px}
.newsletter-form input[type=email].has-error{border-color:#F26666}
.newsletter-form button{font-family:inherit;background:var(--orange);border:none;color:#101C2B;font-size:14px;font-weight:700;padding:12px 24px;border-radius:9px;cursor:pointer}
.newsletter-form button:hover{background:var(--orange-hover)}
.field-error{font-size:12px;color:#F29C9C;min-height:16px}
.newsletter-note{margin:12px 0 0;font-size:12px;color:rgba(255,255,255,.4)}
.newsletter-note a{text-decoration:underline}
.newsletter-note a:hover{color:var(--orange)}
.newsletter-success{font-size:13.5px;font-weight:600;color:#8FE3A6;margin:0}

.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.1);padding-top:24px;font-size:13px;color:rgba(255,255,255,.45)}
.footer-legal-links{display:flex;gap:20px;flex-wrap:wrap}
.footer-legal-links a:hover{color:var(--orange)}
.footer-disclaimer{margin:16px 0 0;font-size:11.5px;line-height:1.65;color:rgba(255,255,255,.55);max-width:1000px}

/* ---------------- Cookie consent ---------------- */
.cookie-banner{
  position:fixed;left:24px;right:100px;bottom:24px;z-index:1000;
  display:flex;align-items:center;flex-wrap:wrap;gap:18px;
  background:var(--navy);border:1px solid rgba(255,255,255,.12);border-radius:14px;
  padding:18px 24px;box-shadow:0 16px 40px rgba(0,0,0,.35);animation:quizIn .3s ease;
}
.cookie-banner[hidden]{display:none}
.cookie-banner p{margin:0;flex:1;min-width:280px;font-size:14px;line-height:1.55;color:rgba(255,255,255,.85)}
.cookie-banner a{color:var(--orange);text-decoration:underline}
.cookie-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.btn-ghost{background:none;border:1px solid rgba(255,255,255,.35);color:#fff;font-size:13.5px;font-weight:600;padding:11px 18px;border-radius:9px;cursor:pointer}
.btn-ghost:hover{border-color:#fff}
.btn-accept{background:var(--orange);border:none;color:#101C2B;font-size:13.5px;font-weight:700;padding:12px 22px;border-radius:9px;cursor:pointer}
.btn-accept:hover{background:var(--orange-hover)}

.modal-overlay{position:fixed;inset:0;z-index:1100;background:rgba(8,20,34,.6);display:flex;align-items:center;justify-content:center;padding:24px}
.modal-overlay[hidden]{display:none}
.cookie-modal{width:460px;max-width:100%;background:#fff;border-radius:14px;padding:30px 32px;box-shadow:0 24px 60px rgba(0,0,0,.4);animation:quizIn .25s ease}
.cookie-modal h3{margin:0 0 6px;font-size:20px;font-weight:800;color:var(--navy)}
.cookie-modal > p{margin:0 0 22px;font-size:13.5px;line-height:1.55;color:var(--body-text)}
.cookie-rows{display:flex;flex-direction:column;gap:14px;margin-bottom:24px}
.cookie-row{display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--panel);border:1px solid var(--border);border-radius:10px;padding:14px 16px}
.cookie-row-title{font-size:14.5px;font-weight:700;color:var(--navy)}
.cookie-row-desc{font-size:12.5px;color:var(--muted)}
.toggle{flex:none;position:relative;width:44px;height:24px;border-radius:999px;border:none;cursor:pointer;background:#C9D4E0;padding:0}
.toggle.locked{background:var(--muted);opacity:.7;cursor:default}
.toggle-knob{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;transition:left .15s ease}
.toggle[aria-pressed="true"]{background:var(--orange)}
.toggle[aria-pressed="true"] .toggle-knob{left:22px}
.toggle.locked .toggle-knob{left:22px}
.cookie-modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.btn-secondary{font-family:inherit;background:none;border:1px solid #C9D4E0;color:var(--slate);font-size:13.5px;font-weight:600;padding:11px 18px;border-radius:9px;cursor:pointer}
.btn-secondary:hover{border-color:var(--navy)}

/* ---------------- Chat widget & WhatsApp ---------------- */
.chat-fab{
  position:fixed;right:24px;bottom:88px;z-index:980;width:52px;height:52px;border-radius:50%;
  background:var(--navy);border:1px solid rgba(255,255,255,.15);display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 18px rgba(0,0,0,.28);cursor:pointer;
}
.chat-fab:hover{background:var(--navy-mid)}
.chat-panel{
  position:fixed;right:24px;bottom:152px;z-index:980;width:340px;max-width:calc(100vw - 48px);background:#fff;
  border-radius:14px;box-shadow:0 20px 50px rgba(0,0,0,.35);overflow:hidden;animation:quizIn .25s ease;
}
.chat-panel[hidden]{display:none}
.chat-head{background:var(--navy);padding:16px 20px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.chat-title{font-size:15px;font-weight:700;color:#fff}
.chat-subtitle{margin-top:3px;font-size:12.5px;line-height:1.45;color:rgba(255,255,255,.65)}
.chat-close{font-family:inherit;flex:none;background:none;border:none;color:rgba(255,255,255,.6);font-size:18px;line-height:1;cursor:pointer;padding:2px}
.chat-close:hover{color:#fff}
.chat-success{padding:28px 20px;text-align:center}
.chat-success strong{display:block;font-size:15px;font-weight:700;color:var(--navy);margin-bottom:6px}
.chat-success p{margin:0;font-size:13.5px;line-height:1.55;color:var(--body-text)}
.chat-form{padding:18px 20px 20px;display:flex;flex-direction:column;gap:10px}
.chat-form[hidden]{display:none}
.chat-form input,.chat-form textarea{
  font-family:inherit;background:var(--panel);border:1px solid var(--border);border-radius:9px;padding:11px 13px;
  font-size:14px;color:var(--slate);outline:none;resize:none;
}
.chat-form input:focus-visible,.chat-form textarea:focus-visible{outline:2px solid var(--navy);outline-offset:1px}
.chat-form input.has-error,.chat-form textarea.has-error{border-color:var(--error-red)}
.chat-form button{font-family:inherit;background:var(--orange);border:none;color:#101C2B;font-size:14px;font-weight:700;padding:12px;border-radius:9px;cursor:pointer}
.chat-form button:hover{background:var(--orange-hover)}
/* .field-error's base colour (#F29C9C) is tuned for the newsletter form's
   dark navy background — on this white chat panel it fails contrast, so
   scope a darker override here. */
.chat-form .field-error{color:var(--error-red)}

.whatsapp-fab{
  position:fixed;right:24px;bottom:24px;z-index:990;width:52px;height:52px;border-radius:50%;
  background:var(--whatsapp);display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(0,0,0,.28);
}
.whatsapp-fab:hover{background:var(--whatsapp-hover)}

/* ---------------- Legal / info pages ---------------- */
.legal-page-header{background:#fff;border-bottom:1px solid var(--border);padding:64px 48px 44px}
.legal-page-header .container{max-width:820px;margin:0 auto;padding:0}
.legal-eyebrow{margin:0 0 10px;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--orange-deep)}
.legal-page-header h1{margin:0 0 8px;font-size:38px;font-weight:800;letter-spacing:-.015em;color:var(--navy)}
.legal-updated{margin:0;font-size:14px;color:var(--muted);font-style:italic}

.legal-page-main{padding:56px 48px 88px;background:var(--panel)}
.legal-content{max-width:820px;margin:0 auto;background:#fff;border:1px solid var(--border);border-radius:14px;padding:48px 56px;box-shadow:0 2px 8px rgba(11,27,46,.05)}

.legal-content h2{margin:40px 0 16px;font-size:24px;font-weight:800;letter-spacing:-.01em;color:var(--navy)}
.legal-content h2:first-child{margin-top:0}
.legal-content h3{margin:28px 0 12px;font-size:18px;font-weight:700;color:var(--navy)}
.legal-content p{margin:0 0 16px;font-size:15.5px;line-height:1.7;color:var(--slate-2)}
.legal-content ul,.legal-content ol{margin:0 0 16px;padding-left:22px;display:flex;flex-direction:column;gap:8px}
.legal-content li{font-size:15.5px;line-height:1.6;color:var(--slate-2)}
.legal-content li > ul,.legal-content li > ol{margin:8px 0 0}
.legal-content strong{color:var(--navy);font-weight:700}
.legal-content a{color:var(--orange-deep);text-decoration:underline}
.legal-content a:hover{color:var(--orange-hover)}
.legal-content hr{border:none;border-top:1px solid var(--border);margin:32px 0}
.legal-content blockquote{margin:0 0 16px;padding:14px 20px;border-left:3px solid var(--orange);background:var(--panel);border-radius:0 8px 8px 0;color:var(--slate-2);font-size:15px;line-height:1.65}
.legal-content blockquote p:last-child{margin-bottom:0}

.legal-content table{width:100%;border-collapse:collapse;margin:0 0 24px;font-size:14px}
.legal-content caption{caption-side:top;text-align:left;font-weight:700;color:var(--navy);margin-bottom:8px}
.legal-content th,.legal-content td{text-align:left;padding:11px 14px;border:1px solid var(--border);vertical-align:top;line-height:1.5}
.legal-content th{background:var(--panel);font-weight:700;color:var(--navy)}
.legal-content tr:nth-child(even) td{background:#FAFBFD}

/* Highlighted "needs a real value" marker — used on legal pages for [Insert...]
   placeholders, and reused anywhere else on the site an unconfirmed fact needs
   to stand out rather than blend in as finished content. */
mark.placeholder{
  background:#FFF3B0;color:#5A4A00;font-weight:600;font-style:normal;
  padding:1px 6px;border-radius:4px;border:1px solid #E8D27A;
  font-size:0.95em;
}

/* ---------------- Course pathway pages ---------------- */
.course-hero{background:#fff;border-bottom:1px solid var(--border)}
.course-hero-bar{height:8px}
.course-hero-bar.green{background:var(--green)}
.course-hero-bar.blue{background:var(--blue)}
.course-hero-bar.gold{background:var(--gold)}
.course-hero-bar.black{background:var(--black-card)}
.course-hero-inner{max-width:820px;margin:0 auto;padding:56px 48px 44px}
.breadcrumbs{display:block;margin:0 0 18px;font-size:13px;color:var(--muted)}
.breadcrumbs a{color:var(--muted)}
.breadcrumbs a:hover{color:var(--navy);text-decoration:underline}
.breadcrumbs [aria-current="page"]{color:var(--slate);font-weight:600}
.breadcrumb-sep{margin:0 8px;color:var(--border)}
.course-eyebrow{margin:0 0 10px;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.course-eyebrow.green{color:var(--green)}
.course-eyebrow.blue{color:var(--blue)}
.course-eyebrow.gold{color:var(--gold-text)}
.course-eyebrow.black{color:var(--black-card)}
.course-hero-inner h1{margin:0 0 14px;font-size:38px;font-weight:800;letter-spacing:-.015em;color:var(--navy)}
.course-intro{margin:0;font-size:17px;line-height:1.6;color:var(--body-text);max-width:640px}

/* Photo variant — bg_image param on hero_html(). Photo + dark scrim replace
   the flat colour bar; the accent colour lives on in the eyebrow text
   instead (see PHOTO_EYEBROW_* in site_template.py). */
.course-hero--photo{position:relative;overflow:hidden;background:var(--navy-deep);border-bottom:none}
.course-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center}
.course-hero-scrim{position:absolute;inset:0;background:linear-gradient(88deg, rgba(6,16,28,.92) 0%, rgba(6,16,28,.74) 42%, rgba(6,16,28,.38) 78%, rgba(6,16,28,.18) 100%)}
.course-hero--photo .course-hero-inner{position:relative}
.course-hero--photo .course-hero-inner h1{color:#fff}
.course-hero--photo .course-intro{color:rgba(255,255,255,.85)}
.course-hero--photo .breadcrumbs{color:rgba(255,255,255,.65)}
.course-hero--photo .breadcrumbs a{color:rgba(255,255,255,.65)}
.course-hero--photo .breadcrumbs a:hover{color:#fff}
.course-hero--photo .breadcrumbs [aria-current="page"]{color:#fff}
.course-hero--photo .breadcrumb-sep{color:rgba(255,255,255,.35)}

/* ---------------- NVQ price match callout (NVQ pages only) ---------------- */
.price-match-callout{max-width:820px;margin:28px auto 0;background:#FDF3DF;border:1px solid #F0D48A;border-left:4px solid var(--orange);border-radius:10px;padding:24px 28px}
.price-match-eyebrow{margin:0 0 10px;font-size:15px;font-weight:800;color:var(--orange-deep)}
.price-match-callout p{margin:0 0 10px;font-size:14.5px;line-height:1.6;color:var(--slate)}
.price-match-callout p:last-child{margin-bottom:0}

/* ---------------- Small fee/pricing disclosure note, sits just above a final CTA band ---------------- */
.fee-disclaimer{max-width:820px;margin:0 auto 28px;background:#F5F7FA;border:1px solid var(--border);border-left:4px solid var(--slate-2);border-radius:10px;padding:16px 22px}
.fee-disclaimer p{margin:0;font-size:13.5px;line-height:1.6;color:var(--slate-2)}
.fee-disclaimer strong{color:var(--navy)}

/* ---------------- Employer Hub hero (photo variant of course-hero) ---------------- */
.employer-hero{position:relative;overflow:hidden;background:var(--navy-deep)}
.employer-hero-bg{position:absolute;inset:0;background:#0d1e30 url("/assets/images/site-manager-briefing-crew.jpg") center/cover no-repeat}
.employer-hero-scrim{position:absolute;inset:0;background:linear-gradient(88deg, rgba(6,16,28,.94) 0%, rgba(6,16,28,.78) 42%, rgba(6,16,28,.30) 78%, rgba(6,16,28,.12) 100%);pointer-events:none}
.employer-hero-inner{position:relative;max-width:820px;margin:0 auto;padding:56px 48px 44px}
.employer-hero-inner .breadcrumbs{color:rgba(255,255,255,.65)}
.employer-hero-inner .breadcrumbs a{color:rgba(255,255,255,.65)}
.employer-hero-inner .breadcrumbs a:hover{color:#fff}
.employer-hero-inner .breadcrumbs [aria-current="page"]{color:#fff}
.employer-hero-inner .breadcrumb-sep{color:rgba(255,255,255,.35)}
.employer-hero-inner h1{margin:0 0 14px;font-size:38px;font-weight:800;letter-spacing:-.015em;color:#fff}

.course-main{padding:56px 48px 88px;background:var(--panel)}
.course-content{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:32px}
.course-panel{background:#fff;border:1px solid var(--border);border-radius:14px;padding:36px 40px;box-shadow:0 2px 8px rgba(11,27,46,.05)}
.course-panel h2{margin:0 0 20px;font-size:22px;font-weight:800;color:var(--navy);letter-spacing:-.01em}
.course-panel > p{margin:0 0 16px;font-size:15.5px;line-height:1.65;color:var(--slate-2)}
.course-panel .check-list{margin:0}

/* ---------------- Section rhythm pass (Courses/NVQ/Plant/CITB/Employers/Blog index) ----------------
   Scoped under .section-roomy (added to <main> on in-scope pages only) so the
   homepage's more generous whitespace is matched here without touching the
   shared .course-main/.course-panel/.legal-page-* rules used by out-of-scope
   pages (CSCS card pages, legal pages). One place to retune the rhythm. */
.section-roomy .course-main{padding-top:80px}
.section-roomy .course-content{gap:44px}
.section-roomy .course-hero-inner{padding-bottom:52px}
.section-roomy .legal-page-header{padding-bottom:52px}
.section-roomy .legal-page-main{padding-top:80px}

.course-table-wrap{overflow-x:auto}
.course-table{width:100%;border-collapse:collapse;font-size:14px}
.course-table th,.course-table td{text-align:left;padding:12px 16px;border:1px solid var(--border);vertical-align:top;line-height:1.5}
.course-table th{background:var(--panel);font-weight:700;color:var(--navy)}
.course-table tr:nth-child(even) td{background:#FAFBFD}

.next-step{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;background:#fff;border:1px solid var(--border);border-radius:14px;padding:28px 32px;box-shadow:0 2px 8px rgba(11,27,46,.05)}
.next-step-label{margin:0 0 6px;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--orange-deep)}
.next-step-text{margin:0;font-size:16px;color:var(--slate);font-weight:600}
.next-step .link-underline{white-space:nowrap}

.final-cta .cta-group{display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap;margin-top:6px}
.btn-final-secondary{color:#fff;font-size:16px;font-weight:600;border-bottom:2px solid rgba(245,166,35,.6);padding-bottom:2px}
.btn-final-secondary:hover{color:var(--orange)}

/* ---------------- Blog ---------------- */
.article-meta-row{display:flex;align-items:center;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.article-date{font-size:13px;color:var(--muted)}
.article-card .article-meta-row{margin-bottom:0}
.legal-content .article-lead{font-size:17px;color:var(--slate-2)}

/* ---------------- Employer Hub ---------------- */
.how-it-works-step{display:flex;gap:16px;align-items:flex-start;margin-bottom:22px}
.how-it-works-step:last-child{margin-bottom:0}
.how-it-works-num{flex:none;width:36px;height:36px;border-radius:50%;background:var(--navy);color:var(--orange);font-weight:800;font-size:15px;display:flex;align-items:center;justify-content:center}
.how-it-works-step h3{margin:0 0 4px;font-size:16px;font-weight:700;color:var(--navy)}
.how-it-works-step p{margin:0;font-size:14.5px;line-height:1.6;color:var(--body-text)}

.employer-form{display:flex;flex-direction:column;gap:16px;max-width:560px;margin:0 auto}
.employer-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.employer-form-field{display:flex;flex-direction:column;gap:5px}
.employer-form label{font-size:13px;font-weight:600;color:var(--slate)}
.employer-form input,.employer-form textarea{
  font-family:inherit;background:var(--panel);border:1px solid var(--border);border-radius:9px;padding:12px 14px;
  font-size:14px;color:var(--slate);outline:none;resize:none;width:100%;
}
.employer-form input:focus-visible,.employer-form textarea:focus-visible{outline:2px solid var(--navy);outline-offset:1px}
.employer-form input.has-error,.employer-form textarea.has-error{border-color:var(--error-red)}
.employer-form-error{font-size:13px;color:var(--error-red);min-height:16px}
.employer-form button{font-family:inherit;background:var(--orange);border:none;color:#101C2B;font-size:15px;font-weight:700;padding:14px;border-radius:9px;cursor:pointer}
.employer-form button:hover{background:var(--orange-hover)}
.employer-form-success{font-size:15.5px;font-weight:600;color:var(--navy);text-align:center;padding:24px 0}

/* ---------------- Mobile ---------------- */
@media (max-width: 900px){
  .container,.site-header,section,.trust-bar,.stats,.hero-inner,.footer-grid,.funding-band,.chat-panel{padding-left:20px;padding-right:20px}
  .main-nav{display:none}
  .header-phone span,.header-actions .btn-cta{display:none}
  .hamburger{
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
    width:44px;height:44px;border-radius:10px;background:var(--navy);border:none;cursor:pointer;margin-left:auto;
  }
  .hamburger span{width:18px;height:2px;background:#fff;border-radius:2px}
  .hamburger span:last-child{background:var(--orange)}
  .header-actions{gap:8px}
  .call-icon-btn{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;background:#EEF2F7}
  .call-icon-btn:hover{background:#E1E8F0}
  .mobile-nav{
    position:absolute;top:var(--header-h);left:0;right:0;background:#fff;border-bottom:1px solid var(--border);
    box-shadow:0 20px 40px rgba(11,27,46,.15);padding:8px 20px 20px;display:flex;flex-direction:column;animation:quizIn .2s ease;
  }
  .mobile-nav[hidden]{display:none}
  .mobile-nav a{padding:13px 4px;font-size:16px;font-weight:600;color:var(--slate);border-bottom:1px solid #EEF2F7}
  .mobile-nav .btn-cta{margin-top:12px;text-align:center;display:block}
  .mobile-nav-contact{display:flex;justify-content:center;gap:22px;margin-top:14px}

  .hero h1{font-size:38px}
  .hero-inner{padding:52px 20px 28px}
  .hero-sub{font-size:16px}
  .hero-ctas{flex-direction:column;align-items:stretch;gap:14px}
  .btn-cta.hero-find{text-align:center}
  .btn-call{text-align:center;padding:6px}
  .hero-picker-group{flex-direction:column;align-items:stretch;gap:8px}
  .hero-picker-group-label{min-width:0}
  .hero-picker-opts{display:grid;grid-template-columns:1fr 1fr}
  .pill-link{text-align:center}

  .stats{grid-template-columns:1fr 1fr}
  .stat{border-right:none}
  .stat:last-child{grid-column:1 / -1}

  .pathways-grid{grid-template-columns:1fr}
  .why-grid{grid-template-columns:1fr}
  .employers-section{grid-template-columns:1fr}
  .journey-grid{grid-template-columns:1fr}
  .journey-text{order:1}
  .journey-media{order:2}
  .reviews-grid{grid-template-columns:1fr;overflow-x:auto}
  .funding-band{grid-template-columns:1fr}
  .articles-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .footer-nav{display:grid;grid-template-columns:1fr 1fr}

  section{padding:56px 20px 52px}
  .section-title{font-size:28px}

  .newsletter-row{flex-direction:column;align-items:stretch}
  .newsletter-form{flex-direction:column}
  .newsletter-form input[type=email]{width:100%}

  .cookie-banner{left:12px;right:12px;bottom:12px}

  .legal-page-header{padding:40px 20px 32px}
  .legal-page-header h1{font-size:28px}
  .legal-page-main{padding:32px 20px 56px}
  .legal-content{padding:28px 22px}
  .legal-content table{display:block;overflow-x:auto}

  .course-hero-inner{padding:40px 20px 32px}
  .course-hero-inner h1{font-size:28px}
  .employer-hero-inner{padding:40px 20px 32px}
  .employer-hero-inner h1{font-size:28px}
  .course-main{padding:32px 20px 56px}
  .course-panel{padding:26px 22px}
  .next-step{flex-direction:column;align-items:flex-start}
  .employer-form-row{grid-template-columns:1fr}
}
