/* ==================================================================
   HINALL SKILLS brand layer
   Loaded after style.css. Sets the brand colours, type and the shared
   look of the header, hero, buttons, cards and footer on every page.
   Colours follow the HINALL SKILLS brochure: navy, indigo and orange.
   ================================================================== */

:root {
    --hs-navy: #1b2a78;
    --hs-navy-deep: #131d57;
    --hs-indigo: #4a3fc4;
    --hs-orange: #f58220;
    --hs-orange-dark: #d96a0c;
    --hs-sky: #e9ecfb;

    --primary: var(--hs-navy);
    --primary-dark: var(--hs-navy-deep);
    --brand-blue: var(--hs-navy);
    --accent-blue: var(--hs-navy);
    --gradient-brand: linear-gradient(120deg, var(--hs-navy-deep) 0%, var(--hs-navy) 45%, var(--hs-indigo) 100%);
    --text-main: #141a33;
}

body {
    font-family: 'Source Sans 3', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Outfit', system-ui, sans-serif;
    font-weight: 800;
    letter-spacing: -0.01em;
}

h2 { font-size: 2.1rem; }
h3 { font-weight: 700; }

/* ---------- Top bar ---------- */
.hs-topbar {
    background: var(--hs-navy-deep);
    color: #dfe3fb;
    font-size: 0.88rem;
}
.hs-topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 38px;
    flex-wrap: wrap;
}
.hs-topbar a { color: #fff; font-weight: 600; }
.hs-topbar a:hover { color: var(--hs-orange); }
.hs-topbar .hs-topbar-links { display: flex; gap: 20px; align-items: center; }
.hs-topbar i { color: var(--hs-orange); margin-right: 6px; }

/* ---------- Header and wordmark ---------- */
header { border-bottom: 1px solid #e3e6f3; box-shadow: 0 2px 10px rgba(19, 29, 87, 0.05); }
.brand-bar { background: linear-gradient(90deg, #2563eb, #7c3aed, #ef4444, #f58220, #eab308); }

.logo { gap: 10px; }
.hs-wordmark {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.28rem;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--hs-navy);
    white-space: nowrap;
}
.logo .hs-wordmark span { color: var(--hs-orange); }

.nav-links { gap: 26px; }
.nav-links a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2b3152;
}
.nav-links a:hover { color: var(--hs-orange-dark); }

/* ---------- Buttons ---------- */
.btn, .btn-primary, .btn-secondary {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 6px;
}
.btn-primary {
    background: var(--hs-orange);
    color: #fff;
    box-shadow: 0 6px 16px rgba(245, 130, 32, 0.28);
}
.btn-primary:hover { background: var(--hs-orange-dark); filter: none; color: #fff; }
.btn-secondary { border: 2px solid var(--hs-navy); color: var(--hs-navy); }
.btn-secondary:hover { background: var(--hs-sky); border-color: var(--hs-navy); color: var(--hs-navy); }

/* ---------- Hero ---------- */
.hs-hero {
    background: var(--gradient-brand);
    color: #fff;
    text-align: center;
    padding: 96px 0 88px;
    position: relative;
    overflow: hidden;
}
.hs-hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 6px;
    background: linear-gradient(90deg, #2563eb, #7c3aed, #ef4444, #f58220, #eab308);
}
.hs-hero .hs-kicker {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #ffc37a;
    margin-bottom: 18px;
}
.hs-hero h1 {
    color: #fff;
    font-size: 3.4rem;
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    max-width: 960px;
    margin: 0 auto 18px;
}
.hs-hero h1 span { color: var(--hs-orange); }
.hs-hero .hs-lead {
    color: #dfe3fb;
    font-size: 1.22rem;
    line-height: 1.7;
    max-width: 760px;
    margin: 0 auto 30px;
}
.hs-hero .hs-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hs-hero .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.hs-hero .btn-secondary:hover { background: #fff; color: var(--hs-navy); border-color: #fff; }
.hs-hero.hs-hero-small { padding: 64px 0 58px; }
.hs-hero.hs-hero-small h1 { font-size: 2.5rem; }
.hs-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.hs-chip {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 0.95rem;
}
.hs-chip i { color: #ffc37a; }

/* ---------- Section headings: bold word + light accent ---------- */
.hs-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 2rem;
    letter-spacing: 0.01em;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 10px;
}
.hs-heading span { color: var(--hs-orange-dark); font-weight: 500; text-transform: none; }
.hs-sub { text-align: center; max-width: 700px; margin: 0 auto 36px; color: var(--text-muted); }
.text-primary { color: var(--hs-orange-dark); }

/* ---------- Fact strip ---------- */
.stats-section { background: var(--hs-sky); padding: 44px 0; }
.stats-section .stats-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 28px; text-align: center; }
.stats-section .stat-item { opacity: 1; transform: none; border: none !important; padding: 0 12px; }
.stat-item h2 { color: var(--hs-navy); font-size: 2.4rem; margin-bottom: 4px; }
.stat-item p { color: #3a4168; font-weight: 600; }

/* ---------- Cards ---------- */
.app-card {
    border: 1px solid #dfe3f3;
    border-radius: 6px;
    box-shadow: none;
}
.app-card::before { height: 4px; background: linear-gradient(90deg, var(--hs-navy), var(--hs-indigo) 60%, var(--hs-orange)); }
.app-card:hover { border-color: var(--hs-navy); box-shadow: 0 14px 30px rgba(19, 29, 87, 0.12); }
.app-card h3 { font-size: 1.12rem; }

.hs-course-card { padding: 0; text-decoration: none; color: inherit; }
.hs-course-card::before { display: none; }
.hs-course-top {
    width: 100%;
    background: var(--gradient-brand);
    color: #fff;
    padding: 26px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 104px;
}
.hs-course-top i { font-size: 1.9rem; color: #ffc37a; }
.hs-course-top h3 { color: #fff; margin: 0; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.02em; }
.hs-course-body { padding: 20px 24px 24px; }
.hs-course-body p { margin-bottom: 12px; }
.hs-course-meta { font-size: 0.86rem; font-weight: 600; color: var(--hs-navy); }
.hs-course-link { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hs-orange-dark); }

/* ---------- Numbered steps ---------- */
.hs-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: step; }
.hs-step { text-align: center; padding: 8px 12px; }
.hs-step::before {
    counter-increment: step;
    content: counter(step);
    display: flex; align-items: center; justify-content: center;
    width: 54px; height: 54px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--hs-navy);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 0 0 5px var(--hs-sky);
}
.hs-step h3 { color: var(--hs-navy); font-size: 1.1rem; margin-bottom: 8px; }

/* ---------- Call-to-action band ---------- */
.hs-band { background: var(--gradient-brand); color: #fff; text-align: center; padding: 72px 0; }
.hs-band h2 { color: #fff; text-transform: uppercase; }
.hs-band p { color: #dfe3fb; max-width: 640px; margin: 0 auto 28px; }
.hs-band .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.hs-band .btn-secondary:hover { background: #fff; color: var(--hs-navy); }

/* ---------- Footer ---------- */
footer { background: var(--hs-navy-deep); border-top: none; padding: 64px 24px 28px; }
footer .footer-grid { max-width: var(--container-width); margin: 0 auto 44px; }
.footer-brand h3 { color: #fff; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.02em; }
.footer-brand h3 span { color: var(--hs-orange); }
footer .footer-brand p { color: #c3c9ee !important; }
.footer-col h4 { color: #ffc37a; font-size: 0.82rem; letter-spacing: 0.1em; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: #dfe3fb; }
.footer-col ul li a:hover { color: var(--hs-orange); }
.copyright { color: #aab1dd; border-top: 1px solid rgba(255, 255, 255, 0.14); max-width: var(--container-width); margin: 0 auto; }
.copyright p { color: #aab1dd; margin-bottom: 4px; }

/* ---------- Small screens ---------- */
@media (max-width: 968px) {
    .hs-hero { padding: 64px 0 58px; }
    .hs-hero h1 { font-size: 2.1rem; }
    .hs-hero.hs-hero-small h1 { font-size: 1.8rem; }
    .hs-hero .hs-lead { font-size: 1.08rem; }
    .hs-heading { font-size: 1.5rem; }
    h2 { font-size: 1.6rem; }
    .hs-topbar .hs-topbar-note { display: none; }
    .hs-topbar .container { justify-content: center; }
    .hs-wordmark { font-size: 1.05rem; }
}
